2008-05-23 Kai Tietz <kai.tietz@onevison.com>
[official-gcc.git] / libstdc++-v3 / configure
blob0343427e4e99b224f7d77a432f40d3284915cd01
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.
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 ## --------------------- ##
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
22 DUALCASE=1; export DUALCASE # for MKS sh
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
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
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
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
49 done
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
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
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'`
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
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=:
96 rm -f conf$$.sh
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
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
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
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; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
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
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
154 esac
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 '
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; }; }
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
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
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
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'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
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
225 as_executable_p="test -f"
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'"
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'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
248 case X$lt_ECHO in
249 X*--fallback-echo)
250 # Remove one level of quotation (which was required for Make).
251 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
253 esac
255 ECHO=${lt_ECHO-echo}
256 if test "X$1" = X--no-reexec; then
257 # Discard the --no-reexec flag, and continue.
258 shift
259 elif test "X$1" = X--fallback-echo; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
265 else
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo; then
271 # used as fallback echo
272 shift
273 cat <<_LT_EOF
275 _LT_EOF
276 exit 0
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
280 # if CDPATH is set.
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
290 then
291 break
293 done
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
300 else
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308 for dir in $PATH /usr/ucb; do
309 IFS="$lt_save_ifs"
310 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
314 ECHO="$dir/echo"
315 break
317 done
318 IFS="$lt_save_ifs"
320 if test "X$ECHO" = Xecho; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
326 ECHO='print -r'
327 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X/bin/ksh; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL=/bin/ksh
333 export CONFIG_SHELL
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
335 else
336 # Try using printf.
337 ECHO='printf %s\n'
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
341 # Cool, printf works
343 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
348 export CONFIG_SHELL
349 SHELL="$CONFIG_SHELL"
350 export SHELL
351 ECHO="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO="$CONFIG_SHELL $0 --fallback-echo"
357 else
358 # maybe with a smaller string...
359 prev=:
361 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
363 then
364 break
366 prev="$cmd"
367 done
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
373 else
374 # Oops. We lost completely, so just stick with echo.
375 ECHO=echo
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
385 lt_ECHO=$ECHO
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
393 # Name of the host.
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
398 exec 6>&1
401 # Initializations.
403 ac_default_prefix=/usr/local
404 ac_config_libobj_dir=.
405 cross_compiling=no
406 subdirs=
407 MFLAGS=
408 MAKEFLAGS=
409 SHELL=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
417 PACKAGE_NAME='package-unused'
418 PACKAGE_TARNAME='libstdc++'
419 PACKAGE_VERSION='version-unused'
420 PACKAGE_STRING='package-unused version-unused'
421 PACKAGE_BUGREPORT=''
423 ac_unique_file="src/ios.cc"
424 # Factoring default headers for most tests.
425 ac_includes_default="\
426 #include <stdio.h>
427 #if HAVE_SYS_TYPES_H
428 # include <sys/types.h>
429 #endif
430 #if HAVE_SYS_STAT_H
431 # include <sys/stat.h>
432 #endif
433 #if STDC_HEADERS
434 # include <stdlib.h>
435 # include <stddef.h>
436 #else
437 # if HAVE_STDLIB_H
438 # include <stdlib.h>
439 # endif
440 #endif
441 #if HAVE_STRING_H
442 # if !STDC_HEADERS && HAVE_MEMORY_H
443 # include <memory.h>
444 # endif
445 # include <string.h>
446 #endif
447 #if HAVE_STRINGS_H
448 # include <strings.h>
449 #endif
450 #if HAVE_INTTYPES_H
451 # include <inttypes.h>
452 #else
453 # if HAVE_STDINT_H
454 # include <stdint.h>
455 # endif
456 #endif
457 #if HAVE_UNISTD_H
458 # include <unistd.h>
459 #endif"
461 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM lt_ECHO LDFLAGS CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS glibcxx_thread_h WERROR SECTION_FLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_C_GLOBAL_TRUE GLIBCXX_C_HEADERS_C_GLOBAL_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE GLIBCXX_C_HEADERS_EXTRA_TRUE GLIBCXX_C_HEADERS_EXTRA_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE ENABLE_PARALLEL_TRUE ENABLE_PARALLEL_FALSE EXTRA_CXX_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV LTLIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ATOMIC_FLAGS CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR ERROR_CONSTANTS_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
462 ac_subst_files=''
464 # Initialize some variables set by options.
465 ac_init_help=
466 ac_init_version=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
469 cache_file=/dev/null
470 exec_prefix=NONE
471 no_create=
472 no_recursion=
473 prefix=NONE
474 program_prefix=NONE
475 program_suffix=NONE
476 program_transform_name=s,x,x,
477 silent=
478 site=
479 srcdir=
480 verbose=
481 x_includes=NONE
482 x_libraries=NONE
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir='${exec_prefix}/bin'
490 sbindir='${exec_prefix}/sbin'
491 libexecdir='${exec_prefix}/libexec'
492 datadir='${prefix}/share'
493 sysconfdir='${prefix}/etc'
494 sharedstatedir='${prefix}/com'
495 localstatedir='${prefix}/var'
496 libdir='${exec_prefix}/lib'
497 includedir='${prefix}/include'
498 oldincludedir='/usr/include'
499 infodir='${prefix}/info'
500 mandir='${prefix}/man'
502 ac_prev=
503 for ac_option
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
508 ac_prev=
509 continue
512 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514 # Accept the important Cygnus configure options, so we can diagnose typos.
516 case $ac_option in
518 -bindir | --bindir | --bindi | --bind | --bin | --bi)
519 ac_prev=bindir ;;
520 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
521 bindir=$ac_optarg ;;
523 -build | --build | --buil | --bui | --bu)
524 ac_prev=build_alias ;;
525 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
526 build_alias=$ac_optarg ;;
528 -cache-file | --cache-file | --cache-fil | --cache-fi \
529 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
530 ac_prev=cache_file ;;
531 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
532 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
533 cache_file=$ac_optarg ;;
535 --config-cache | -C)
536 cache_file=config.cache ;;
538 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
539 ac_prev=datadir ;;
540 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
541 | --da=*)
542 datadir=$ac_optarg ;;
544 -disable-* | --disable-*)
545 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
553 -enable-* | --enable-*)
554 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560 case $ac_option in
561 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
562 *) ac_optarg=yes ;;
563 esac
564 eval "enable_$ac_feature='$ac_optarg'" ;;
566 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
567 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
568 | --exec | --exe | --ex)
569 ac_prev=exec_prefix ;;
570 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
571 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
572 | --exec=* | --exe=* | --ex=*)
573 exec_prefix=$ac_optarg ;;
575 -gas | --gas | --ga | --g)
576 # Obsolete; use --with-gas.
577 with_gas=yes ;;
579 -help | --help | --hel | --he | -h)
580 ac_init_help=long ;;
581 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
582 ac_init_help=recursive ;;
583 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
584 ac_init_help=short ;;
586 -host | --host | --hos | --ho)
587 ac_prev=host_alias ;;
588 -host=* | --host=* | --hos=* | --ho=*)
589 host_alias=$ac_optarg ;;
591 -includedir | --includedir | --includedi | --included | --include \
592 | --includ | --inclu | --incl | --inc)
593 ac_prev=includedir ;;
594 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
595 | --includ=* | --inclu=* | --incl=* | --inc=*)
596 includedir=$ac_optarg ;;
598 -infodir | --infodir | --infodi | --infod | --info | --inf)
599 ac_prev=infodir ;;
600 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
601 infodir=$ac_optarg ;;
603 -libdir | --libdir | --libdi | --libd)
604 ac_prev=libdir ;;
605 -libdir=* | --libdir=* | --libdi=* | --libd=*)
606 libdir=$ac_optarg ;;
608 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
609 | --libexe | --libex | --libe)
610 ac_prev=libexecdir ;;
611 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
612 | --libexe=* | --libex=* | --libe=*)
613 libexecdir=$ac_optarg ;;
615 -localstatedir | --localstatedir | --localstatedi | --localstated \
616 | --localstate | --localstat | --localsta | --localst \
617 | --locals | --local | --loca | --loc | --lo)
618 ac_prev=localstatedir ;;
619 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
620 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
621 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
622 localstatedir=$ac_optarg ;;
624 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
625 ac_prev=mandir ;;
626 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
627 mandir=$ac_optarg ;;
629 -nfp | --nfp | --nf)
630 # Obsolete; use --without-fp.
631 with_fp=no ;;
633 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
634 | --no-cr | --no-c | -n)
635 no_create=yes ;;
637 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
638 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
639 no_recursion=yes ;;
641 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
642 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
643 | --oldin | --oldi | --old | --ol | --o)
644 ac_prev=oldincludedir ;;
645 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
646 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
647 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
648 oldincludedir=$ac_optarg ;;
650 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
651 ac_prev=prefix ;;
652 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
653 prefix=$ac_optarg ;;
655 -program-prefix | --program-prefix | --program-prefi | --program-pref \
656 | --program-pre | --program-pr | --program-p)
657 ac_prev=program_prefix ;;
658 -program-prefix=* | --program-prefix=* | --program-prefi=* \
659 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
660 program_prefix=$ac_optarg ;;
662 -program-suffix | --program-suffix | --program-suffi | --program-suff \
663 | --program-suf | --program-su | --program-s)
664 ac_prev=program_suffix ;;
665 -program-suffix=* | --program-suffix=* | --program-suffi=* \
666 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
667 program_suffix=$ac_optarg ;;
669 -program-transform-name | --program-transform-name \
670 | --program-transform-nam | --program-transform-na \
671 | --program-transform-n | --program-transform- \
672 | --program-transform | --program-transfor \
673 | --program-transfo | --program-transf \
674 | --program-trans | --program-tran \
675 | --progr-tra | --program-tr | --program-t)
676 ac_prev=program_transform_name ;;
677 -program-transform-name=* | --program-transform-name=* \
678 | --program-transform-nam=* | --program-transform-na=* \
679 | --program-transform-n=* | --program-transform-=* \
680 | --program-transform=* | --program-transfor=* \
681 | --program-transfo=* | --program-transf=* \
682 | --program-trans=* | --program-tran=* \
683 | --progr-tra=* | --program-tr=* | --program-t=*)
684 program_transform_name=$ac_optarg ;;
686 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
687 | -silent | --silent | --silen | --sile | --sil)
688 silent=yes ;;
690 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
691 ac_prev=sbindir ;;
692 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
693 | --sbi=* | --sb=*)
694 sbindir=$ac_optarg ;;
696 -sharedstatedir | --sharedstatedir | --sharedstatedi \
697 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
698 | --sharedst | --shareds | --shared | --share | --shar \
699 | --sha | --sh)
700 ac_prev=sharedstatedir ;;
701 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
702 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
703 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
704 | --sha=* | --sh=*)
705 sharedstatedir=$ac_optarg ;;
707 -site | --site | --sit)
708 ac_prev=site ;;
709 -site=* | --site=* | --sit=*)
710 site=$ac_optarg ;;
712 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
713 ac_prev=srcdir ;;
714 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
715 srcdir=$ac_optarg ;;
717 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
718 | --syscon | --sysco | --sysc | --sys | --sy)
719 ac_prev=sysconfdir ;;
720 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
721 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
722 sysconfdir=$ac_optarg ;;
724 -target | --target | --targe | --targ | --tar | --ta | --t)
725 ac_prev=target_alias ;;
726 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
727 target_alias=$ac_optarg ;;
729 -v | -verbose | --verbose | --verbos | --verbo | --verb)
730 verbose=yes ;;
732 -version | --version | --versio | --versi | --vers | -V)
733 ac_init_version=: ;;
735 -with-* | --with-*)
736 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package=`echo $ac_package| sed 's/-/_/g'`
742 case $ac_option in
743 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
744 *) ac_optarg=yes ;;
745 esac
746 eval "with_$ac_package='$ac_optarg'" ;;
748 -without-* | --without-*)
749 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
757 --x)
758 # Obsolete; use --with-x.
759 with_x=yes ;;
761 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
762 | --x-incl | --x-inc | --x-in | --x-i)
763 ac_prev=x_includes ;;
764 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
765 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
766 x_includes=$ac_optarg ;;
768 -x-libraries | --x-libraries | --x-librarie | --x-librari \
769 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
770 ac_prev=x_libraries ;;
771 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
772 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
773 x_libraries=$ac_optarg ;;
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
780 *=*)
781 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
788 export $ac_envvar ;;
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
798 esac
799 done
801 if test -n "$ac_prev"; then
802 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
807 # Be sure to have absolute paths.
808 for ac_var in exec_prefix prefix
810 eval ac_val=$`echo $ac_var`
811 case $ac_val in
812 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
815 esac
816 done
818 # Be sure to have absolute paths.
819 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
822 eval ac_val=$`echo $ac_var`
823 case $ac_val in
824 [\\/$]* | ?:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
827 esac
828 done
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
833 build=$build_alias
834 host=$host_alias
835 target=$target_alias
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x; then
839 if test "x$build_alias" = x; then
840 cross_compiling=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
844 cross_compiling=yes
848 ac_tool_prefix=
849 test -n "$host_alias" && ac_tool_prefix=$host_alias-
851 test "$silent" = yes && exec 6>/dev/null
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
864 echo X"$0" |
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
869 s/.*/./; q'`
870 srcdir=$ac_confdir
871 if test ! -r $srcdir/$ac_unique_file; then
872 srcdir=..
874 else
875 ac_srcdir_defaulted=no
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
881 else
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
886 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set=${build_alias+set}
891 ac_env_build_alias_value=$build_alias
892 ac_cv_env_build_alias_set=${build_alias+set}
893 ac_cv_env_build_alias_value=$build_alias
894 ac_env_host_alias_set=${host_alias+set}
895 ac_env_host_alias_value=$host_alias
896 ac_cv_env_host_alias_set=${host_alias+set}
897 ac_cv_env_host_alias_value=$host_alias
898 ac_env_target_alias_set=${target_alias+set}
899 ac_env_target_alias_value=$target_alias
900 ac_cv_env_target_alias_set=${target_alias+set}
901 ac_cv_env_target_alias_value=$target_alias
902 ac_env_CPP_set=${CPP+set}
903 ac_env_CPP_value=$CPP
904 ac_cv_env_CPP_set=${CPP+set}
905 ac_cv_env_CPP_value=$CPP
906 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
907 ac_env_CPPFLAGS_value=$CPPFLAGS
908 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
909 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
910 ac_env_CXX_set=${CXX+set}
911 ac_env_CXX_value=$CXX
912 ac_cv_env_CXX_set=${CXX+set}
913 ac_cv_env_CXX_value=$CXX
914 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
915 ac_env_CXXFLAGS_value=$CXXFLAGS
916 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
917 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
918 ac_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_env_LDFLAGS_value=$LDFLAGS
920 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value=$LDFLAGS
922 ac_env_CXXCPP_set=${CXXCPP+set}
923 ac_env_CXXCPP_value=$CXXCPP
924 ac_cv_env_CXXCPP_set=${CXXCPP+set}
925 ac_cv_env_CXXCPP_value=$CXXCPP
928 # Report the --help message.
930 if test "$ac_init_help" = "long"; then
931 # Omit some internal or obsolete options to make the list less imposing.
932 # This message is too long to be a string in the A/UX 3.1 sh.
933 cat <<_ACEOF
934 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
936 Usage: $0 [OPTION]... [VAR=VALUE]...
938 To assign environment variables (e.g., CC, CFLAGS...), specify them as
939 VAR=VALUE. See below for descriptions of some of the useful variables.
941 Defaults for the options are specified in brackets.
943 Configuration:
944 -h, --help display this help and exit
945 --help=short display options specific to this package
946 --help=recursive display the short help of all the included packages
947 -V, --version display version information and exit
948 -q, --quiet, --silent do not print \`checking...' messages
949 --cache-file=FILE cache test results in FILE [disabled]
950 -C, --config-cache alias for \`--cache-file=config.cache'
951 -n, --no-create do not create output files
952 --srcdir=DIR find the sources in DIR [configure dir or \`..']
954 _ACEOF
956 cat <<_ACEOF
957 Installation directories:
958 --prefix=PREFIX install architecture-independent files in PREFIX
959 [$ac_default_prefix]
960 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
961 [PREFIX]
963 By default, \`make install' will install all the files in
964 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
965 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
966 for instance \`--prefix=\$HOME'.
968 For better control, use the options below.
970 Fine tuning of the installation directories:
971 --bindir=DIR user executables [EPREFIX/bin]
972 --sbindir=DIR system admin executables [EPREFIX/sbin]
973 --libexecdir=DIR program executables [EPREFIX/libexec]
974 --datadir=DIR read-only architecture-independent data [PREFIX/share]
975 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
976 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
977 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
978 --libdir=DIR object code libraries [EPREFIX/lib]
979 --includedir=DIR C header files [PREFIX/include]
980 --oldincludedir=DIR C header files for non-gcc [/usr/include]
981 --infodir=DIR info documentation [PREFIX/info]
982 --mandir=DIR man documentation [PREFIX/man]
983 _ACEOF
985 cat <<\_ACEOF
987 Program names:
988 --program-prefix=PREFIX prepend PREFIX to installed program names
989 --program-suffix=SUFFIX append SUFFIX to installed program names
990 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
992 System types:
993 --build=BUILD configure for building on BUILD [guessed]
994 --host=HOST cross-compile to build programs to run on HOST [BUILD]
995 --target=TARGET configure for building compilers for TARGET [HOST]
996 _ACEOF
999 if test -n "$ac_init_help"; then
1000 case $ac_init_help in
1001 short | recursive ) echo "Configuration of package-unused version-unused:";;
1002 esac
1003 cat <<\_ACEOF
1005 Optional Features:
1006 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1007 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1008 --enable-multilib build many library versions (default)
1009 --enable-maintainer-mode enable make rules and dependencies not useful
1010 (and sometimes confusing) to the casual installer
1011 --enable-shared[=PKGS]
1012 build shared libraries [default=yes]
1013 --enable-static[=PKGS]
1014 build static libraries [default=yes]
1015 --enable-fast-install[=PKGS]
1016 optimize for fast installation [default=yes]
1017 --disable-libtool-lock avoid locking (might break parallel builds)
1018 --disable-hosted-libstdcxx
1019 only build freestanding C++ runtime support
1020 --enable-sjlj-exceptions
1021 force use of builtin_setjmp for exceptions
1022 [default=auto]
1023 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1024 [default=$is_hosted]
1025 --enable-cstdio=PACKAGE use target-specific I/O package
1026 [default=stdio]
1027 --enable-clocale[=MODEL]
1028 use MODEL for target locale package
1029 [default=auto]
1030 --enable-nls use Native Language Support (default)
1031 --enable-libstdcxx-allocator=KIND
1032 use KIND for target std::allocator base
1033 [default=auto]
1034 --enable-cheaders=KIND construct "C" headers for g++
1035 [default=$c_model]
1036 --enable-long-long enable template specializations for 'long long'
1037 [default=yes]
1038 --enable-wchar_t enable template specializations for 'wchar_t'
1039 [default=yes]
1040 --enable-c99 turns on ISO/IEC 9899:1999 support
1041 [default=yes]
1042 --enable-concept-checks use Boost-derived template checks [default=no]
1043 --enable-libstdcxx-debug-flags=FLAGS
1044 pass compiler FLAGS when building debug library
1045 [default="-g3 -O0"]
1046 --enable-libstdcxx-debug
1047 build extra debug library [default=no]
1048 --enable-cxx-flags=FLAGS
1049 pass compiler FLAGS when building library
1050 [default=]
1051 --enable-fully-dynamic-string
1052 do not put empty strings in per-process static
1053 memory [default=no]
1054 --enable-tls Use thread-local storage [default=yes]
1055 --disable-rpath do not hardcode runtime library paths
1056 --enable-linux-futex use the Linux futex system call
1057 [default=default]
1058 --enable-symvers=STYLE enables symbol versioning of the shared library
1059 [default=yes]
1060 --enable-visibility enables visibility safe usage [default=yes]
1061 --enable-version-specific-runtime-libs
1062 Specify that runtime libraries should be installed
1063 in a compiler-specific directory
1065 Optional Packages:
1066 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1067 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1068 --with-target-subdir=SUBDIR
1069 configuring in a subdirectory
1070 --with-cross-host=HOST configuring with a cross compiler
1071 --with-newlib assume newlib as a system C library
1072 --with-pic try to use only PIC/non-PIC objects [default=use
1073 both]
1074 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1075 --with-gnu-ld assume the C compiler uses GNU ld default=no
1076 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1077 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1078 --with-gxx-include-dir=DIR
1079 installation directory for include files
1081 Some influential environment variables:
1082 CC C compiler command
1083 CFLAGS C compiler flags
1084 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1085 nonstandard directory <lib dir>
1086 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1087 headers in a nonstandard directory <include dir>
1088 CXX C++ compiler command
1089 CXXFLAGS C++ compiler flags
1090 CPP C preprocessor
1091 CXXCPP C++ preprocessor
1093 Use these variables to override the choices made by `configure' or to help
1094 it to find libraries and programs with nonstandard names/locations.
1096 _ACEOF
1099 if test "$ac_init_help" = "recursive"; then
1100 # If there are subdirs, report their specific --help.
1101 ac_popdir=`pwd`
1102 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1103 test -d $ac_dir || continue
1104 ac_builddir=.
1106 if test "$ac_dir" != .; then
1107 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1108 # A "../" for each directory in $ac_dir_suffix.
1109 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1110 else
1111 ac_dir_suffix= ac_top_builddir=
1114 case $srcdir in
1115 .) # No --srcdir option. We are building in place.
1116 ac_srcdir=.
1117 if test -z "$ac_top_builddir"; then
1118 ac_top_srcdir=.
1119 else
1120 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1121 fi ;;
1122 [\\/]* | ?:[\\/]* ) # Absolute path.
1123 ac_srcdir=$srcdir$ac_dir_suffix;
1124 ac_top_srcdir=$srcdir ;;
1125 *) # Relative path.
1126 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1127 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1128 esac
1130 # Do not use `cd foo && pwd` to compute absolute paths, because
1131 # the directories may not exist.
1132 case `pwd` in
1133 .) ac_abs_builddir="$ac_dir";;
1135 case "$ac_dir" in
1136 .) ac_abs_builddir=`pwd`;;
1137 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1138 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1139 esac;;
1140 esac
1141 case $ac_abs_builddir in
1142 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1144 case ${ac_top_builddir}. in
1145 .) ac_abs_top_builddir=$ac_abs_builddir;;
1146 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1147 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1148 esac;;
1149 esac
1150 case $ac_abs_builddir in
1151 .) ac_abs_srcdir=$ac_srcdir;;
1153 case $ac_srcdir in
1154 .) ac_abs_srcdir=$ac_abs_builddir;;
1155 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1156 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1157 esac;;
1158 esac
1159 case $ac_abs_builddir in
1160 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1162 case $ac_top_srcdir in
1163 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1164 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1165 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1166 esac;;
1167 esac
1169 cd $ac_dir
1170 # Check for guested configure; otherwise get Cygnus style configure.
1171 if test -f $ac_srcdir/configure.gnu; then
1172 echo
1173 $SHELL $ac_srcdir/configure.gnu --help=recursive
1174 elif test -f $ac_srcdir/configure; then
1175 echo
1176 $SHELL $ac_srcdir/configure --help=recursive
1177 elif test -f $ac_srcdir/configure.ac ||
1178 test -f $ac_srcdir/configure.in; then
1179 echo
1180 $ac_configure --help
1181 else
1182 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1184 cd $ac_popdir
1185 done
1188 test -n "$ac_init_help" && exit 0
1189 if $ac_init_version; then
1190 cat <<\_ACEOF
1191 package-unused configure version-unused
1192 generated by GNU Autoconf 2.59
1194 Copyright (C) 2003 Free Software Foundation, Inc.
1195 This configure script is free software; the Free Software Foundation
1196 gives unlimited permission to copy, distribute and modify it.
1197 _ACEOF
1198 exit 0
1200 exec 5>config.log
1201 cat >&5 <<_ACEOF
1202 This file contains any messages produced by compilers while
1203 running configure, to aid debugging if configure makes a mistake.
1205 It was created by package-unused $as_me version-unused, which was
1206 generated by GNU Autoconf 2.59. Invocation command line was
1208 $ $0 $@
1210 _ACEOF
1212 cat <<_ASUNAME
1213 ## --------- ##
1214 ## Platform. ##
1215 ## --------- ##
1217 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1218 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1219 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1220 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1221 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1223 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1224 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1226 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1227 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1228 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1229 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1230 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1231 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1232 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1234 _ASUNAME
1236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1237 for as_dir in $PATH
1239 IFS=$as_save_IFS
1240 test -z "$as_dir" && as_dir=.
1241 echo "PATH: $as_dir"
1242 done
1244 } >&5
1246 cat >&5 <<_ACEOF
1249 ## ----------- ##
1250 ## Core tests. ##
1251 ## ----------- ##
1253 _ACEOF
1256 # Keep a trace of the command line.
1257 # Strip out --no-create and --no-recursion so they do not pile up.
1258 # Strip out --silent because we don't want to record it for future runs.
1259 # Also quote any args containing shell meta-characters.
1260 # Make two passes to allow for proper duplicate-argument suppression.
1261 ac_configure_args=
1262 ac_configure_args0=
1263 ac_configure_args1=
1264 ac_sep=
1265 ac_must_keep_next=false
1266 for ac_pass in 1 2
1268 for ac_arg
1270 case $ac_arg in
1271 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1272 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1273 | -silent | --silent | --silen | --sile | --sil)
1274 continue ;;
1275 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1277 esac
1278 case $ac_pass in
1279 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1281 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1282 if test $ac_must_keep_next = true; then
1283 ac_must_keep_next=false # Got value, back to normal.
1284 else
1285 case $ac_arg in
1286 *=* | --config-cache | -C | -disable-* | --disable-* \
1287 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1288 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1289 | -with-* | --with-* | -without-* | --without-* | --x)
1290 case "$ac_configure_args0 " in
1291 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1292 esac
1294 -* ) ac_must_keep_next=true ;;
1295 esac
1297 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1298 # Get rid of the leading space.
1299 ac_sep=" "
1301 esac
1302 done
1303 done
1304 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1305 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1307 # When interrupted or exit'd, cleanup temporary files, and complete
1308 # config.log. We remove comments because anyway the quotes in there
1309 # would cause problems or look ugly.
1310 # WARNING: Be sure not to use single quotes in there, as some shells,
1311 # such as our DU 5.0 friend, will then `close' the trap.
1312 trap 'exit_status=$?
1313 # Save into config.log some information that might help in debugging.
1315 echo
1317 cat <<\_ASBOX
1318 ## ---------------- ##
1319 ## Cache variables. ##
1320 ## ---------------- ##
1321 _ASBOX
1322 echo
1323 # The following way of writing the cache mishandles newlines in values,
1325 (set) 2>&1 |
1326 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1327 *ac_space=\ *)
1328 sed -n \
1329 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1330 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1333 sed -n \
1334 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1336 esac;
1338 echo
1340 cat <<\_ASBOX
1341 ## ----------------- ##
1342 ## Output variables. ##
1343 ## ----------------- ##
1344 _ASBOX
1345 echo
1346 for ac_var in $ac_subst_vars
1348 eval ac_val=$`echo $ac_var`
1349 echo "$ac_var='"'"'$ac_val'"'"'"
1350 done | sort
1351 echo
1353 if test -n "$ac_subst_files"; then
1354 cat <<\_ASBOX
1355 ## ------------- ##
1356 ## Output files. ##
1357 ## ------------- ##
1358 _ASBOX
1359 echo
1360 for ac_var in $ac_subst_files
1362 eval ac_val=$`echo $ac_var`
1363 echo "$ac_var='"'"'$ac_val'"'"'"
1364 done | sort
1365 echo
1368 if test -s confdefs.h; then
1369 cat <<\_ASBOX
1370 ## ----------- ##
1371 ## confdefs.h. ##
1372 ## ----------- ##
1373 _ASBOX
1374 echo
1375 sed "/^$/d" confdefs.h | sort
1376 echo
1378 test "$ac_signal" != 0 &&
1379 echo "$as_me: caught signal $ac_signal"
1380 echo "$as_me: exit $exit_status"
1381 } >&5
1382 rm -f core *.core &&
1383 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1384 exit $exit_status
1386 for ac_signal in 1 2 13 15; do
1387 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1388 done
1389 ac_signal=0
1391 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1392 rm -rf conftest* confdefs.h
1393 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1394 echo >confdefs.h
1396 # Predefined preprocessor variables.
1398 cat >>confdefs.h <<_ACEOF
1399 #define PACKAGE_NAME "$PACKAGE_NAME"
1400 _ACEOF
1403 cat >>confdefs.h <<_ACEOF
1404 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1405 _ACEOF
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1410 _ACEOF
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_STRING "$PACKAGE_STRING"
1415 _ACEOF
1418 cat >>confdefs.h <<_ACEOF
1419 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1420 _ACEOF
1423 # Let the site file select an alternate cache file if it wants to.
1424 # Prefer explicitly selected file to automatically selected ones.
1425 if test -z "$CONFIG_SITE"; then
1426 if test "x$prefix" != xNONE; then
1427 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1428 else
1429 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1432 for ac_site_file in $CONFIG_SITE; do
1433 if test -r "$ac_site_file"; then
1434 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1435 echo "$as_me: loading site script $ac_site_file" >&6;}
1436 sed 's/^/| /' "$ac_site_file" >&5
1437 . "$ac_site_file"
1439 done
1441 if test -r "$cache_file"; then
1442 # Some versions of bash will fail to source /dev/null (special
1443 # files actually), so we avoid doing that.
1444 if test -f "$cache_file"; then
1445 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1446 echo "$as_me: loading cache $cache_file" >&6;}
1447 case $cache_file in
1448 [\\/]* | ?:[\\/]* ) . $cache_file;;
1449 *) . ./$cache_file;;
1450 esac
1452 else
1453 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1454 echo "$as_me: creating cache $cache_file" >&6;}
1455 >$cache_file
1458 # Check that the precious variables saved in the cache have kept the same
1459 # value.
1460 ac_cache_corrupted=false
1461 for ac_var in `(set) 2>&1 |
1462 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1463 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1464 eval ac_new_set=\$ac_env_${ac_var}_set
1465 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1466 eval ac_new_val="\$ac_env_${ac_var}_value"
1467 case $ac_old_set,$ac_new_set in
1468 set,)
1469 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1470 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1471 ac_cache_corrupted=: ;;
1472 ,set)
1473 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1474 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1475 ac_cache_corrupted=: ;;
1476 ,);;
1478 if test "x$ac_old_val" != "x$ac_new_val"; then
1479 # differences in whitespace do not lead to failure.
1480 ac_old_val_w=`echo x $ac_old_val`
1481 ac_new_val_w=`echo x $ac_new_val`
1482 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1483 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1484 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1485 ac_cache_corrupted=:
1486 else
1487 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1488 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1489 eval $ac_var=\$ac_old_val
1491 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1492 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1493 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1494 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1495 fi;;
1496 esac
1497 # Pass precious variables to config.status.
1498 if test "$ac_new_set" = set; then
1499 case $ac_new_val in
1500 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1501 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1502 *) ac_arg=$ac_var=$ac_new_val ;;
1503 esac
1504 case " $ac_configure_args " in
1505 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1506 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1507 esac
1509 done
1510 if $ac_cache_corrupted; then
1511 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1512 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1513 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1514 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1515 { (exit 1); exit 1; }; }
1518 ac_ext=c
1519 ac_cpp='$CPP $CPPFLAGS'
1520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1551 ac_config_headers="$ac_config_headers config.h"
1554 # This works around the fact that libtool configuration may change LD
1555 # for this particular configuration, but some shells, instead of
1556 # keeping the changes in LD private, export them just because LD is
1557 # exported. Only used at the end of this file.
1558 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1560 # For libtool versioning info, format is CURRENT:REVISION:AGE
1561 libtool_VERSION=6:11:0
1564 # Find the rest of the source tree framework.
1565 # Default to --enable-multilib
1566 # Check whether --enable-multilib or --disable-multilib was given.
1567 if test "${enable_multilib+set}" = set; then
1568 enableval="$enable_multilib"
1569 case "$enableval" in
1570 yes) multilib=yes ;;
1571 no) multilib=no ;;
1572 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1573 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1574 { (exit 1); exit 1; }; } ;;
1575 esac
1576 else
1577 multilib=yes
1580 # We may get other options which we leave undocumented:
1581 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1582 # See config-ml.in if you want the gory details.
1584 if test "$srcdir" = "."; then
1585 if test "$with_target_subdir" != "."; then
1586 multi_basedir="$srcdir/$with_multisrctop../.."
1587 else
1588 multi_basedir="$srcdir/$with_multisrctop.."
1590 else
1591 multi_basedir="$srcdir/.."
1595 # Even if the default multilib is not a cross compilation,
1596 # it may be that some of the other multilibs are.
1597 if test $cross_compiling = no && test $multilib = yes \
1598 && test "x${with_multisubdir}" != x ; then
1599 cross_compiling=maybe
1602 ac_config_commands="$ac_config_commands default-1"
1605 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1607 # You will slowly go insane if you do not grok the following fact: when
1608 # building v3 as part of the compiler, the top-level /target/ becomes the
1609 # library's /host/. configure then causes --target to default to --host,
1610 # exactly like any other package using autoconf. Therefore, 'target' and
1611 # 'host' will always be the same. This makes sense both for native and
1612 # cross compilers, just think about it for a little while. :-)
1614 # Also, if v3 is being configured as part of a cross compiler, the top-level
1615 # configure script will pass the "real" host as $with_cross_host.
1617 # Do not delete or change the following two lines. For why, see
1618 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1619 ac_aux_dir=
1620 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1621 if test -f $ac_dir/install-sh; then
1622 ac_aux_dir=$ac_dir
1623 ac_install_sh="$ac_aux_dir/install-sh -c"
1624 break
1625 elif test -f $ac_dir/install.sh; then
1626 ac_aux_dir=$ac_dir
1627 ac_install_sh="$ac_aux_dir/install.sh -c"
1628 break
1629 elif test -f $ac_dir/shtool; then
1630 ac_aux_dir=$ac_dir
1631 ac_install_sh="$ac_aux_dir/shtool install -c"
1632 break
1634 done
1635 if test -z "$ac_aux_dir"; then
1636 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1637 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1638 { (exit 1); exit 1; }; }
1640 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1641 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1642 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1644 # Make sure we can run config.sub.
1645 $ac_config_sub sun4 >/dev/null 2>&1 ||
1646 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1647 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1648 { (exit 1); exit 1; }; }
1650 echo "$as_me:$LINENO: checking build system type" >&5
1651 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1652 if test "${ac_cv_build+set}" = set; then
1653 echo $ECHO_N "(cached) $ECHO_C" >&6
1654 else
1655 ac_cv_build_alias=$build_alias
1656 test -z "$ac_cv_build_alias" &&
1657 ac_cv_build_alias=`$ac_config_guess`
1658 test -z "$ac_cv_build_alias" &&
1659 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1660 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1661 { (exit 1); exit 1; }; }
1662 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1663 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1664 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1665 { (exit 1); exit 1; }; }
1668 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1669 echo "${ECHO_T}$ac_cv_build" >&6
1670 build=$ac_cv_build
1671 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1672 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1673 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1676 echo "$as_me:$LINENO: checking host system type" >&5
1677 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1678 if test "${ac_cv_host+set}" = set; then
1679 echo $ECHO_N "(cached) $ECHO_C" >&6
1680 else
1681 ac_cv_host_alias=$host_alias
1682 test -z "$ac_cv_host_alias" &&
1683 ac_cv_host_alias=$ac_cv_build_alias
1684 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1685 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1686 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1687 { (exit 1); exit 1; }; }
1690 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1691 echo "${ECHO_T}$ac_cv_host" >&6
1692 host=$ac_cv_host
1693 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1694 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1695 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1698 echo "$as_me:$LINENO: checking target system type" >&5
1699 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1700 if test "${ac_cv_target+set}" = set; then
1701 echo $ECHO_N "(cached) $ECHO_C" >&6
1702 else
1703 ac_cv_target_alias=$target_alias
1704 test "x$ac_cv_target_alias" = "x" &&
1705 ac_cv_target_alias=$ac_cv_host_alias
1706 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1707 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1708 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1709 { (exit 1); exit 1; }; }
1712 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1713 echo "${ECHO_T}$ac_cv_target" >&6
1714 target=$ac_cv_target
1715 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1716 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1717 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1720 # The aliases save the names the user supplied, while $host etc.
1721 # will get canonicalized.
1722 test -n "$target_alias" &&
1723 test "$program_prefix$program_suffix$program_transform_name" = \
1724 NONENONEs,x,x, &&
1725 program_prefix=${target_alias}-
1726 target_alias=${target_alias-$host_alias}
1728 # Handy for debugging:
1729 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1731 if test "$build" != "$host"; then
1732 # We are being configured with some form of cross compiler.
1733 GLIBCXX_IS_NATIVE=false
1734 case "$host","$target" in
1735 # Darwin crosses can use the host system's libraries and headers,
1736 # because of the fat library support. Of course, it must be the
1737 # same version of Darwin on both sides. Allow the user to
1738 # just say --target=foo-darwin without a version number to mean
1739 # "the version on this system".
1740 *-*-darwin*,*-*-darwin*)
1741 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1742 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1743 if test $hostos = $targetos -o $targetos = darwin ; then
1744 GLIBCXX_IS_NATIVE=true
1751 esac
1752 else
1753 GLIBCXX_IS_NATIVE=true
1756 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1757 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1758 # 1.x: minimum required version
1759 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1760 # of other PACKAGE_* variables will, however, and there's nothing
1761 # we can do about that; they come from AC_INIT).
1762 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1763 # file in the top srcdir, etc, etc), so stop complaining.
1764 # no-dependencies: turns off auto dependency generation (just for now)
1765 # -Wall: turns on all automake warnings...
1766 # -Wno-portability: ...except this one, since GNU make is now required.
1767 am__api_version="1.9"
1768 # Find a good install program. We prefer a C program (faster),
1769 # so one script is as good as another. But avoid the broken or
1770 # incompatible versions:
1771 # SysV /etc/install, /usr/sbin/install
1772 # SunOS /usr/etc/install
1773 # IRIX /sbin/install
1774 # AIX /bin/install
1775 # AmigaOS /C/install, which installs bootblocks on floppy discs
1776 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1777 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1778 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1779 # OS/2's system install, which has a completely different semantic
1780 # ./install, which can be erroneously created by make from ./install.sh.
1781 # Reject install programs that cannot install multiple files.
1782 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1783 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1784 if test -z "$INSTALL"; then
1785 if test "${ac_cv_path_install+set}" = set; then
1786 echo $ECHO_N "(cached) $ECHO_C" >&6
1787 else
1788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1789 for as_dir in $PATH
1791 IFS=$as_save_IFS
1792 test -z "$as_dir" && as_dir=.
1793 # Account for people who put trailing slashes in PATH elements.
1794 case $as_dir/ in
1795 ./ | .// | /cC/* | \
1796 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1797 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1798 /usr/ucb/* ) ;;
1800 # OSF1 and SCO ODT 3.0 have their own names for install.
1801 # Don't use installbsd from OSF since it installs stuff as root
1802 # by default.
1803 for ac_prog in ginstall scoinst install; do
1804 for ac_exec_ext in '' $ac_executable_extensions; do
1805 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1806 if test $ac_prog = install &&
1807 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1808 # AIX install. It has an incompatible calling convention.
1810 elif test $ac_prog = install &&
1811 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1812 # program-specific install script used by HP pwplus--don't use.
1814 else
1815 rm -rf conftest.one conftest.two conftest.dir
1816 echo one > conftest.one
1817 echo two > conftest.two
1818 mkdir conftest.dir
1819 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1820 test -s conftest.one && test -s conftest.two &&
1821 test -s conftest.dir/conftest.one &&
1822 test -s conftest.dir/conftest.two
1823 then
1824 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1825 break 3
1829 done
1830 done
1832 esac
1833 done
1835 rm -rf conftest.one conftest.two conftest.dir
1838 if test "${ac_cv_path_install+set}" = set; then
1839 INSTALL=$ac_cv_path_install
1840 else
1841 # As a last resort, use the slow shell script. Don't cache a
1842 # value for INSTALL within a source directory, because that will
1843 # break other packages using the cache if that directory is
1844 # removed, or if the value is a relative name.
1845 INSTALL=$ac_install_sh
1848 echo "$as_me:$LINENO: result: $INSTALL" >&5
1849 echo "${ECHO_T}$INSTALL" >&6
1851 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1852 # It thinks the first close brace ends the variable substitution.
1853 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1855 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1857 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1859 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1860 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1861 # Just in case
1862 sleep 1
1863 echo timestamp > conftest.file
1864 # Do `set' in a subshell so we don't clobber the current shell's
1865 # arguments. Must try -L first in case configure is actually a
1866 # symlink; some systems play weird games with the mod time of symlinks
1867 # (eg FreeBSD returns the mod time of the symlink's containing
1868 # directory).
1869 if (
1870 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1871 if test "$*" = "X"; then
1872 # -L didn't work.
1873 set X `ls -t $srcdir/configure conftest.file`
1875 rm -f conftest.file
1876 if test "$*" != "X $srcdir/configure conftest.file" \
1877 && test "$*" != "X conftest.file $srcdir/configure"; then
1879 # If neither matched, then we have a broken ls. This can happen
1880 # if, for instance, CONFIG_SHELL is bash and it inherits a
1881 # broken ls alias from the environment. This has actually
1882 # happened. Such a system could not be considered "sane".
1883 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1884 alias in your environment" >&5
1885 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1886 alias in your environment" >&2;}
1887 { (exit 1); exit 1; }; }
1890 test "$2" = conftest.file
1892 then
1893 # Ok.
1895 else
1896 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1897 Check your system clock" >&5
1898 echo "$as_me: error: newly created file is older than distributed files!
1899 Check your system clock" >&2;}
1900 { (exit 1); exit 1; }; }
1902 echo "$as_me:$LINENO: result: yes" >&5
1903 echo "${ECHO_T}yes" >&6
1904 test "$program_prefix" != NONE &&
1905 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1906 # Use a double $ so make ignores it.
1907 test "$program_suffix" != NONE &&
1908 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1909 # Double any \ or $. echo might interpret backslashes.
1910 # By default was `s,x,x', remove it if useless.
1911 cat <<\_ACEOF >conftest.sed
1912 s/[\\$]/&&/g;s/;s,x,x,$//
1913 _ACEOF
1914 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1915 rm conftest.sed
1917 # expand $ac_aux_dir to an absolute path
1918 am_aux_dir=`cd $ac_aux_dir && pwd`
1920 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1921 # Use eval to expand $SHELL
1922 if eval "$MISSING --run true"; then
1923 am_missing_run="$MISSING --run "
1924 else
1925 am_missing_run=
1926 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1927 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1930 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1931 # We used to keeping the `.' as first argument, in order to
1932 # allow $(mkdir_p) to be used without argument. As in
1933 # $(mkdir_p) $(somedir)
1934 # where $(somedir) is conditionally defined. However this is wrong
1935 # for two reasons:
1936 # 1. if the package is installed by a user who cannot write `.'
1937 # make install will fail,
1938 # 2. the above comment should most certainly read
1939 # $(mkdir_p) $(DESTDIR)$(somedir)
1940 # so it does not work when $(somedir) is undefined and
1941 # $(DESTDIR) is not.
1942 # To support the latter case, we have to write
1943 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1944 # so the `.' trick is pointless.
1945 mkdir_p='mkdir -p --'
1946 else
1947 # On NextStep and OpenStep, the `mkdir' command does not
1948 # recognize any option. It will interpret all options as
1949 # directories to create, and then abort because `.' already
1950 # exists.
1951 for d in ./-p ./--version;
1953 test -d $d && rmdir $d
1954 done
1955 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1956 if test -f "$ac_aux_dir/mkinstalldirs"; then
1957 mkdir_p='$(mkinstalldirs)'
1958 else
1959 mkdir_p='$(install_sh) -d'
1963 for ac_prog in gawk mawk nawk awk
1965 # Extract the first word of "$ac_prog", so it can be a program name with args.
1966 set dummy $ac_prog; ac_word=$2
1967 echo "$as_me:$LINENO: checking for $ac_word" >&5
1968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1969 if test "${ac_cv_prog_AWK+set}" = set; then
1970 echo $ECHO_N "(cached) $ECHO_C" >&6
1971 else
1972 if test -n "$AWK"; then
1973 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1974 else
1975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1976 for as_dir in $PATH
1978 IFS=$as_save_IFS
1979 test -z "$as_dir" && as_dir=.
1980 for ac_exec_ext in '' $ac_executable_extensions; do
1981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1982 ac_cv_prog_AWK="$ac_prog"
1983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1984 break 2
1986 done
1987 done
1991 AWK=$ac_cv_prog_AWK
1992 if test -n "$AWK"; then
1993 echo "$as_me:$LINENO: result: $AWK" >&5
1994 echo "${ECHO_T}$AWK" >&6
1995 else
1996 echo "$as_me:$LINENO: result: no" >&5
1997 echo "${ECHO_T}no" >&6
2000 test -n "$AWK" && break
2001 done
2003 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2004 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2005 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2006 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2007 echo $ECHO_N "(cached) $ECHO_C" >&6
2008 else
2009 cat >conftest.make <<\_ACEOF
2010 all:
2011 @echo 'ac_maketemp="$(MAKE)"'
2012 _ACEOF
2013 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2014 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2015 if test -n "$ac_maketemp"; then
2016 eval ac_cv_prog_make_${ac_make}_set=yes
2017 else
2018 eval ac_cv_prog_make_${ac_make}_set=no
2020 rm -f conftest.make
2022 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2023 echo "$as_me:$LINENO: result: yes" >&5
2024 echo "${ECHO_T}yes" >&6
2025 SET_MAKE=
2026 else
2027 echo "$as_me:$LINENO: result: no" >&5
2028 echo "${ECHO_T}no" >&6
2029 SET_MAKE="MAKE=${MAKE-make}"
2032 rm -rf .tst 2>/dev/null
2033 mkdir .tst 2>/dev/null
2034 if test -d .tst; then
2035 am__leading_dot=.
2036 else
2037 am__leading_dot=_
2039 rmdir .tst 2>/dev/null
2041 # test to see if srcdir already configured
2042 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2043 test -f $srcdir/config.status; then
2044 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2045 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2046 { (exit 1); exit 1; }; }
2049 # test whether we have cygpath
2050 if test -z "$CYGPATH_W"; then
2051 if (cygpath --version) >/dev/null 2>/dev/null; then
2052 CYGPATH_W='cygpath -w'
2053 else
2054 CYGPATH_W=echo
2059 # Define the identity of the package.
2060 PACKAGE='libstdc++'
2061 VERSION='version-unused'
2064 # Some tools Automake needs.
2066 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2069 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2072 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2075 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2078 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2080 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2082 # Installed binaries are usually stripped using `strip' when the user
2083 # run `make install-strip'. However `strip' might not be the right
2084 # tool to use in cross-compilation environments, therefore Automake
2085 # will honor the `STRIP' environment variable to overrule this program.
2086 if test "$cross_compiling" != no; then
2087 if test -n "$ac_tool_prefix"; then
2088 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2089 set dummy ${ac_tool_prefix}strip; ac_word=$2
2090 echo "$as_me:$LINENO: checking for $ac_word" >&5
2091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2092 if test "${ac_cv_prog_STRIP+set}" = set; then
2093 echo $ECHO_N "(cached) $ECHO_C" >&6
2094 else
2095 if test -n "$STRIP"; then
2096 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2097 else
2098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2099 for as_dir in $PATH
2101 IFS=$as_save_IFS
2102 test -z "$as_dir" && as_dir=.
2103 for ac_exec_ext in '' $ac_executable_extensions; do
2104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2105 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2107 break 2
2109 done
2110 done
2114 STRIP=$ac_cv_prog_STRIP
2115 if test -n "$STRIP"; then
2116 echo "$as_me:$LINENO: result: $STRIP" >&5
2117 echo "${ECHO_T}$STRIP" >&6
2118 else
2119 echo "$as_me:$LINENO: result: no" >&5
2120 echo "${ECHO_T}no" >&6
2124 if test -z "$ac_cv_prog_STRIP"; then
2125 ac_ct_STRIP=$STRIP
2126 # Extract the first word of "strip", so it can be a program name with args.
2127 set dummy strip; ac_word=$2
2128 echo "$as_me:$LINENO: checking for $ac_word" >&5
2129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2130 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2132 else
2133 if test -n "$ac_ct_STRIP"; then
2134 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2135 else
2136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2137 for as_dir in $PATH
2139 IFS=$as_save_IFS
2140 test -z "$as_dir" && as_dir=.
2141 for ac_exec_ext in '' $ac_executable_extensions; do
2142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2143 ac_cv_prog_ac_ct_STRIP="strip"
2144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2145 break 2
2147 done
2148 done
2150 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2153 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2154 if test -n "$ac_ct_STRIP"; then
2155 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2156 echo "${ECHO_T}$ac_ct_STRIP" >&6
2157 else
2158 echo "$as_me:$LINENO: result: no" >&5
2159 echo "${ECHO_T}no" >&6
2162 STRIP=$ac_ct_STRIP
2163 else
2164 STRIP="$ac_cv_prog_STRIP"
2168 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2170 # We need awk for the "check" target. The system "awk" is bad on
2171 # some platforms.
2172 # Always define AMTAR for backward compatibility.
2174 AMTAR=${AMTAR-"${am_missing_run}tar"}
2176 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2187 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
2188 # up critical shell variables.
2190 ac_ext=c
2191 ac_cpp='$CPP $CPPFLAGS'
2192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2195 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2196 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2197 # On Suns, sometimes $CPP names a directory.
2198 if test -n "$CPP" && test -d "$CPP"; then
2199 CPP=
2201 if test -z "$CPP"; then
2202 if test "${ac_cv_prog_CPP+set}" = set; then
2203 echo $ECHO_N "(cached) $ECHO_C" >&6
2204 else
2205 # Double quotes because CPP needs to be expanded
2206 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2208 ac_preproc_ok=false
2209 for ac_c_preproc_warn_flag in '' yes
2211 # Use a header file that comes with gcc, so configuring glibc
2212 # with a fresh cross-compiler works.
2213 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2214 # <limits.h> exists even on freestanding compilers.
2215 # On the NeXT, cc -E runs the code through the compiler's parser,
2216 # not just through cpp. "Syntax error" is here to catch this case.
2217 cat >conftest.$ac_ext <<_ACEOF
2218 /* confdefs.h. */
2219 _ACEOF
2220 cat confdefs.h >>conftest.$ac_ext
2221 cat >>conftest.$ac_ext <<_ACEOF
2222 /* end confdefs.h. */
2223 #ifdef __STDC__
2224 # include <limits.h>
2225 #else
2226 # include <assert.h>
2227 #endif
2228 Syntax error
2229 _ACEOF
2230 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2231 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2232 ac_status=$?
2233 grep -v '^ *+' conftest.er1 >conftest.err
2234 rm -f conftest.er1
2235 cat conftest.err >&5
2236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2237 (exit $ac_status); } >/dev/null; then
2238 if test -s conftest.err; then
2239 ac_cpp_err=$ac_c_preproc_warn_flag
2240 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2241 else
2242 ac_cpp_err=
2244 else
2245 ac_cpp_err=yes
2247 if test -z "$ac_cpp_err"; then
2249 else
2250 echo "$as_me: failed program was:" >&5
2251 sed 's/^/| /' conftest.$ac_ext >&5
2253 # Broken: fails on valid input.
2254 continue
2256 rm -f conftest.err conftest.$ac_ext
2258 # OK, works on sane cases. Now check whether non-existent headers
2259 # can be detected and how.
2260 cat >conftest.$ac_ext <<_ACEOF
2261 /* confdefs.h. */
2262 _ACEOF
2263 cat confdefs.h >>conftest.$ac_ext
2264 cat >>conftest.$ac_ext <<_ACEOF
2265 /* end confdefs.h. */
2266 #include <ac_nonexistent.h>
2267 _ACEOF
2268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2269 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2270 ac_status=$?
2271 grep -v '^ *+' conftest.er1 >conftest.err
2272 rm -f conftest.er1
2273 cat conftest.err >&5
2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275 (exit $ac_status); } >/dev/null; then
2276 if test -s conftest.err; then
2277 ac_cpp_err=$ac_c_preproc_warn_flag
2278 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2279 else
2280 ac_cpp_err=
2282 else
2283 ac_cpp_err=yes
2285 if test -z "$ac_cpp_err"; then
2286 # Broken: success on invalid input.
2287 continue
2288 else
2289 echo "$as_me: failed program was:" >&5
2290 sed 's/^/| /' conftest.$ac_ext >&5
2292 # Passes both tests.
2293 ac_preproc_ok=:
2294 break
2296 rm -f conftest.err conftest.$ac_ext
2298 done
2299 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2300 rm -f conftest.err conftest.$ac_ext
2301 if $ac_preproc_ok; then
2302 break
2305 done
2306 ac_cv_prog_CPP=$CPP
2309 CPP=$ac_cv_prog_CPP
2310 else
2311 ac_cv_prog_CPP=$CPP
2313 echo "$as_me:$LINENO: result: $CPP" >&5
2314 echo "${ECHO_T}$CPP" >&6
2315 ac_preproc_ok=false
2316 for ac_c_preproc_warn_flag in '' yes
2318 # Use a header file that comes with gcc, so configuring glibc
2319 # with a fresh cross-compiler works.
2320 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2321 # <limits.h> exists even on freestanding compilers.
2322 # On the NeXT, cc -E runs the code through the compiler's parser,
2323 # not just through cpp. "Syntax error" is here to catch this case.
2324 cat >conftest.$ac_ext <<_ACEOF
2325 /* confdefs.h. */
2326 _ACEOF
2327 cat confdefs.h >>conftest.$ac_ext
2328 cat >>conftest.$ac_ext <<_ACEOF
2329 /* end confdefs.h. */
2330 #ifdef __STDC__
2331 # include <limits.h>
2332 #else
2333 # include <assert.h>
2334 #endif
2335 Syntax error
2336 _ACEOF
2337 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2338 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2339 ac_status=$?
2340 grep -v '^ *+' conftest.er1 >conftest.err
2341 rm -f conftest.er1
2342 cat conftest.err >&5
2343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344 (exit $ac_status); } >/dev/null; then
2345 if test -s conftest.err; then
2346 ac_cpp_err=$ac_c_preproc_warn_flag
2347 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2348 else
2349 ac_cpp_err=
2351 else
2352 ac_cpp_err=yes
2354 if test -z "$ac_cpp_err"; then
2356 else
2357 echo "$as_me: failed program was:" >&5
2358 sed 's/^/| /' conftest.$ac_ext >&5
2360 # Broken: fails on valid input.
2361 continue
2363 rm -f conftest.err conftest.$ac_ext
2365 # OK, works on sane cases. Now check whether non-existent headers
2366 # can be detected and how.
2367 cat >conftest.$ac_ext <<_ACEOF
2368 /* confdefs.h. */
2369 _ACEOF
2370 cat confdefs.h >>conftest.$ac_ext
2371 cat >>conftest.$ac_ext <<_ACEOF
2372 /* end confdefs.h. */
2373 #include <ac_nonexistent.h>
2374 _ACEOF
2375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2376 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2377 ac_status=$?
2378 grep -v '^ *+' conftest.er1 >conftest.err
2379 rm -f conftest.er1
2380 cat conftest.err >&5
2381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382 (exit $ac_status); } >/dev/null; then
2383 if test -s conftest.err; then
2384 ac_cpp_err=$ac_c_preproc_warn_flag
2385 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2386 else
2387 ac_cpp_err=
2389 else
2390 ac_cpp_err=yes
2392 if test -z "$ac_cpp_err"; then
2393 # Broken: success on invalid input.
2394 continue
2395 else
2396 echo "$as_me: failed program was:" >&5
2397 sed 's/^/| /' conftest.$ac_ext >&5
2399 # Passes both tests.
2400 ac_preproc_ok=:
2401 break
2403 rm -f conftest.err conftest.$ac_ext
2405 done
2406 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2407 rm -f conftest.err conftest.$ac_ext
2408 if $ac_preproc_ok; then
2410 else
2411 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2412 See \`config.log' for more details." >&5
2413 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2414 See \`config.log' for more details." >&2;}
2415 { (exit 1); exit 1; }; }
2418 ac_ext=c
2419 ac_cpp='$CPP $CPPFLAGS'
2420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2425 echo "$as_me:$LINENO: checking for egrep" >&5
2426 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2427 if test "${ac_cv_prog_egrep+set}" = set; then
2428 echo $ECHO_N "(cached) $ECHO_C" >&6
2429 else
2430 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2431 then ac_cv_prog_egrep='grep -E'
2432 else ac_cv_prog_egrep='egrep'
2435 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2436 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2437 EGREP=$ac_cv_prog_egrep
2441 # Keep these sync'd with the list in Makefile.am. The first provides an
2442 # expandable list at autoconf time; the second provides an expandable list
2443 # (i.e., shell variable) at configure time.
2445 SUBDIRS='include libmath libsupc++ src doc po testsuite'
2447 # These need to be absolute paths, yet at the same time need to
2448 # canonicalize only relative paths, because then amd will not unmount
2449 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2450 glibcxx_builddir=`${PWDCMD-pwd}`
2451 case $srcdir in
2452 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2453 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2454 esac
2455 toplevel_srcdir=${glibcxx_srcdir}/..
2460 # We use these options to decide which functions to include. They are
2461 # set from the top level.
2463 # Check whether --with-target-subdir or --without-target-subdir was given.
2464 if test "${with_target_subdir+set}" = set; then
2465 withval="$with_target_subdir"
2470 # Check whether --with-cross-host or --without-cross-host was given.
2471 if test "${with_cross_host+set}" = set; then
2472 withval="$with_cross_host"
2477 # Check whether --with-newlib or --without-newlib was given.
2478 if test "${with_newlib+set}" = set; then
2479 withval="$with_newlib"
2483 # We're almost certainly being configured before anything else which uses
2484 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2485 # we not cache the value of CXX that we "discover" here, because it's set
2486 # to something unique for us and libjava. Other target libraries need to
2487 # find CXX for themselves. We yank the rug out from under the normal AC_*
2488 # process by sneakily renaming the cache variable. This also lets us debug
2489 # the value of "our" CXX in postmortems.
2491 # We must also force CXX to /not/ be a precious variable, otherwise the
2492 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2493 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2494 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2495 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2497 # -fno-builtin must be present here so that a non-conflicting form of
2498 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2503 save_CXXFLAGS="$CXXFLAGS"
2504 CXXFLAGS="$CXXFLAGS -fno-builtin"
2505 ac_ext=c
2506 ac_cpp='$CPP $CPPFLAGS'
2507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2510 if test -n "$ac_tool_prefix"; then
2511 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2512 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2513 echo "$as_me:$LINENO: checking for $ac_word" >&5
2514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2515 if test "${ac_cv_prog_CC+set}" = set; then
2516 echo $ECHO_N "(cached) $ECHO_C" >&6
2517 else
2518 if test -n "$CC"; then
2519 ac_cv_prog_CC="$CC" # Let the user override the test.
2520 else
2521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2522 for as_dir in $PATH
2524 IFS=$as_save_IFS
2525 test -z "$as_dir" && as_dir=.
2526 for ac_exec_ext in '' $ac_executable_extensions; do
2527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2528 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2530 break 2
2532 done
2533 done
2537 CC=$ac_cv_prog_CC
2538 if test -n "$CC"; then
2539 echo "$as_me:$LINENO: result: $CC" >&5
2540 echo "${ECHO_T}$CC" >&6
2541 else
2542 echo "$as_me:$LINENO: result: no" >&5
2543 echo "${ECHO_T}no" >&6
2547 if test -z "$ac_cv_prog_CC"; then
2548 ac_ct_CC=$CC
2549 # Extract the first word of "gcc", so it can be a program name with args.
2550 set dummy gcc; ac_word=$2
2551 echo "$as_me:$LINENO: checking for $ac_word" >&5
2552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2553 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2554 echo $ECHO_N "(cached) $ECHO_C" >&6
2555 else
2556 if test -n "$ac_ct_CC"; then
2557 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2558 else
2559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2560 for as_dir in $PATH
2562 IFS=$as_save_IFS
2563 test -z "$as_dir" && as_dir=.
2564 for ac_exec_ext in '' $ac_executable_extensions; do
2565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2566 ac_cv_prog_ac_ct_CC="gcc"
2567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2568 break 2
2570 done
2571 done
2575 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2576 if test -n "$ac_ct_CC"; then
2577 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2578 echo "${ECHO_T}$ac_ct_CC" >&6
2579 else
2580 echo "$as_me:$LINENO: result: no" >&5
2581 echo "${ECHO_T}no" >&6
2584 CC=$ac_ct_CC
2585 else
2586 CC="$ac_cv_prog_CC"
2589 if test -z "$CC"; then
2590 if test -n "$ac_tool_prefix"; then
2591 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2592 set dummy ${ac_tool_prefix}cc; ac_word=$2
2593 echo "$as_me:$LINENO: checking for $ac_word" >&5
2594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2595 if test "${ac_cv_prog_CC+set}" = set; then
2596 echo $ECHO_N "(cached) $ECHO_C" >&6
2597 else
2598 if test -n "$CC"; then
2599 ac_cv_prog_CC="$CC" # Let the user override the test.
2600 else
2601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2602 for as_dir in $PATH
2604 IFS=$as_save_IFS
2605 test -z "$as_dir" && as_dir=.
2606 for ac_exec_ext in '' $ac_executable_extensions; do
2607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2608 ac_cv_prog_CC="${ac_tool_prefix}cc"
2609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2610 break 2
2612 done
2613 done
2617 CC=$ac_cv_prog_CC
2618 if test -n "$CC"; then
2619 echo "$as_me:$LINENO: result: $CC" >&5
2620 echo "${ECHO_T}$CC" >&6
2621 else
2622 echo "$as_me:$LINENO: result: no" >&5
2623 echo "${ECHO_T}no" >&6
2627 if test -z "$ac_cv_prog_CC"; then
2628 ac_ct_CC=$CC
2629 # Extract the first word of "cc", so it can be a program name with args.
2630 set dummy cc; ac_word=$2
2631 echo "$as_me:$LINENO: checking for $ac_word" >&5
2632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2633 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2634 echo $ECHO_N "(cached) $ECHO_C" >&6
2635 else
2636 if test -n "$ac_ct_CC"; then
2637 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2638 else
2639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2640 for as_dir in $PATH
2642 IFS=$as_save_IFS
2643 test -z "$as_dir" && as_dir=.
2644 for ac_exec_ext in '' $ac_executable_extensions; do
2645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2646 ac_cv_prog_ac_ct_CC="cc"
2647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2648 break 2
2650 done
2651 done
2655 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2656 if test -n "$ac_ct_CC"; then
2657 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2658 echo "${ECHO_T}$ac_ct_CC" >&6
2659 else
2660 echo "$as_me:$LINENO: result: no" >&5
2661 echo "${ECHO_T}no" >&6
2664 CC=$ac_ct_CC
2665 else
2666 CC="$ac_cv_prog_CC"
2670 if test -z "$CC"; then
2671 # Extract the first word of "cc", so it can be a program name with args.
2672 set dummy cc; ac_word=$2
2673 echo "$as_me:$LINENO: checking for $ac_word" >&5
2674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2675 if test "${ac_cv_prog_CC+set}" = set; then
2676 echo $ECHO_N "(cached) $ECHO_C" >&6
2677 else
2678 if test -n "$CC"; then
2679 ac_cv_prog_CC="$CC" # Let the user override the test.
2680 else
2681 ac_prog_rejected=no
2682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2683 for as_dir in $PATH
2685 IFS=$as_save_IFS
2686 test -z "$as_dir" && as_dir=.
2687 for ac_exec_ext in '' $ac_executable_extensions; do
2688 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2689 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2690 ac_prog_rejected=yes
2691 continue
2693 ac_cv_prog_CC="cc"
2694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2695 break 2
2697 done
2698 done
2700 if test $ac_prog_rejected = yes; then
2701 # We found a bogon in the path, so make sure we never use it.
2702 set dummy $ac_cv_prog_CC
2703 shift
2704 if test $# != 0; then
2705 # We chose a different compiler from the bogus one.
2706 # However, it has the same basename, so the bogon will be chosen
2707 # first if we set CC to just the basename; use the full file name.
2708 shift
2709 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2714 CC=$ac_cv_prog_CC
2715 if test -n "$CC"; then
2716 echo "$as_me:$LINENO: result: $CC" >&5
2717 echo "${ECHO_T}$CC" >&6
2718 else
2719 echo "$as_me:$LINENO: result: no" >&5
2720 echo "${ECHO_T}no" >&6
2724 if test -z "$CC"; then
2725 if test -n "$ac_tool_prefix"; then
2726 for ac_prog in cl
2728 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2729 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2730 echo "$as_me:$LINENO: checking for $ac_word" >&5
2731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2732 if test "${ac_cv_prog_CC+set}" = set; then
2733 echo $ECHO_N "(cached) $ECHO_C" >&6
2734 else
2735 if test -n "$CC"; then
2736 ac_cv_prog_CC="$CC" # Let the user override the test.
2737 else
2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2739 for as_dir in $PATH
2741 IFS=$as_save_IFS
2742 test -z "$as_dir" && as_dir=.
2743 for ac_exec_ext in '' $ac_executable_extensions; do
2744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2745 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 break 2
2749 done
2750 done
2754 CC=$ac_cv_prog_CC
2755 if test -n "$CC"; then
2756 echo "$as_me:$LINENO: result: $CC" >&5
2757 echo "${ECHO_T}$CC" >&6
2758 else
2759 echo "$as_me:$LINENO: result: no" >&5
2760 echo "${ECHO_T}no" >&6
2763 test -n "$CC" && break
2764 done
2766 if test -z "$CC"; then
2767 ac_ct_CC=$CC
2768 for ac_prog in cl
2770 # Extract the first word of "$ac_prog", so it can be a program name with args.
2771 set dummy $ac_prog; ac_word=$2
2772 echo "$as_me:$LINENO: checking for $ac_word" >&5
2773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2774 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2775 echo $ECHO_N "(cached) $ECHO_C" >&6
2776 else
2777 if test -n "$ac_ct_CC"; then
2778 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2779 else
2780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2781 for as_dir in $PATH
2783 IFS=$as_save_IFS
2784 test -z "$as_dir" && as_dir=.
2785 for ac_exec_ext in '' $ac_executable_extensions; do
2786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2787 ac_cv_prog_ac_ct_CC="$ac_prog"
2788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2789 break 2
2791 done
2792 done
2796 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2797 if test -n "$ac_ct_CC"; then
2798 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2799 echo "${ECHO_T}$ac_ct_CC" >&6
2800 else
2801 echo "$as_me:$LINENO: result: no" >&5
2802 echo "${ECHO_T}no" >&6
2805 test -n "$ac_ct_CC" && break
2806 done
2808 CC=$ac_ct_CC
2814 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2815 See \`config.log' for more details." >&5
2816 echo "$as_me: error: no acceptable C compiler found in \$PATH
2817 See \`config.log' for more details." >&2;}
2818 { (exit 1); exit 1; }; }
2820 # Provide some information about the compiler.
2821 echo "$as_me:$LINENO:" \
2822 "checking for C compiler version" >&5
2823 ac_compiler=`set X $ac_compile; echo $2`
2824 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2825 (eval $ac_compiler --version </dev/null >&5) 2>&5
2826 ac_status=$?
2827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2828 (exit $ac_status); }
2829 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2830 (eval $ac_compiler -v </dev/null >&5) 2>&5
2831 ac_status=$?
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); }
2834 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2835 (eval $ac_compiler -V </dev/null >&5) 2>&5
2836 ac_status=$?
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); }
2840 cat >conftest.$ac_ext <<_ACEOF
2841 /* confdefs.h. */
2842 _ACEOF
2843 cat confdefs.h >>conftest.$ac_ext
2844 cat >>conftest.$ac_ext <<_ACEOF
2845 /* end confdefs.h. */
2848 main ()
2852 return 0;
2854 _ACEOF
2855 # FIXME: Cleanup?
2856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2857 (eval $ac_link) 2>&5
2858 ac_status=$?
2859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860 (exit $ac_status); }; then
2861 gcc_no_link=no
2862 else
2863 gcc_no_link=yes
2866 if test x$gcc_no_link = xyes; then
2867 # Setting cross_compile will disable run tests; it will
2868 # also disable AC_CHECK_FILE but that's generally
2869 # correct if we can't link.
2870 cross_compiling=yes
2871 EXEEXT=
2872 else
2873 cat >conftest.$ac_ext <<_ACEOF
2874 /* confdefs.h. */
2875 _ACEOF
2876 cat confdefs.h >>conftest.$ac_ext
2877 cat >>conftest.$ac_ext <<_ACEOF
2878 /* end confdefs.h. */
2881 main ()
2885 return 0;
2887 _ACEOF
2888 ac_clean_files_save=$ac_clean_files
2889 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2890 # Try to create an executable without -o first, disregard a.out.
2891 # It will help us diagnose broken compilers, and finding out an intuition
2892 # of exeext.
2893 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2894 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2895 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2896 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2897 (eval $ac_link_default) 2>&5
2898 ac_status=$?
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); }; then
2901 # Find the output, starting from the most likely. This scheme is
2902 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2903 # resort.
2905 # Be careful to initialize this variable, since it used to be cached.
2906 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2907 ac_cv_exeext=
2908 # b.out is created by i960 compilers.
2909 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2911 test -f "$ac_file" || continue
2912 case $ac_file in
2913 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2915 conftest.$ac_ext )
2916 # This is the source file.
2918 [ab].out )
2919 # We found the default executable, but exeext='' is most
2920 # certainly right.
2921 break;;
2922 *.* )
2923 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2924 # FIXME: I believe we export ac_cv_exeext for Libtool,
2925 # but it would be cool to find out if it's true. Does anybody
2926 # maintain Libtool? --akim.
2927 export ac_cv_exeext
2928 break;;
2930 break;;
2931 esac
2932 done
2933 else
2934 echo "$as_me: failed program was:" >&5
2935 sed 's/^/| /' conftest.$ac_ext >&5
2937 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2938 See \`config.log' for more details." >&5
2939 echo "$as_me: error: C compiler cannot create executables
2940 See \`config.log' for more details." >&2;}
2941 { (exit 77); exit 77; }; }
2944 ac_exeext=$ac_cv_exeext
2945 echo "$as_me:$LINENO: result: $ac_file" >&5
2946 echo "${ECHO_T}$ac_file" >&6
2948 # Check the compiler produces executables we can run. If not, either
2949 # the compiler is broken, or we cross compile.
2950 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2951 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2952 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2953 # If not cross compiling, check that we can run a simple program.
2954 if test "$cross_compiling" != yes; then
2955 if { ac_try='./$ac_file'
2956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2957 (eval $ac_try) 2>&5
2958 ac_status=$?
2959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960 (exit $ac_status); }; }; then
2961 cross_compiling=no
2962 else
2963 if test "$cross_compiling" = maybe; then
2964 cross_compiling=yes
2965 else
2966 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2967 If you meant to cross compile, use \`--host'.
2968 See \`config.log' for more details." >&5
2969 echo "$as_me: error: cannot run C compiled programs.
2970 If you meant to cross compile, use \`--host'.
2971 See \`config.log' for more details." >&2;}
2972 { (exit 1); exit 1; }; }
2976 echo "$as_me:$LINENO: result: yes" >&5
2977 echo "${ECHO_T}yes" >&6
2979 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2980 ac_clean_files=$ac_clean_files_save
2981 # Check the compiler produces executables we can run. If not, either
2982 # the compiler is broken, or we cross compile.
2983 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2984 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2985 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2986 echo "${ECHO_T}$cross_compiling" >&6
2988 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2989 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2991 (eval $ac_link) 2>&5
2992 ac_status=$?
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); }; then
2995 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2996 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2997 # work properly (i.e., refer to `conftest.exe'), while it won't with
2998 # `rm'.
2999 for ac_file in conftest.exe conftest conftest.*; do
3000 test -f "$ac_file" || continue
3001 case $ac_file in
3002 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3003 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3004 export ac_cv_exeext
3005 break;;
3006 * ) break;;
3007 esac
3008 done
3009 else
3010 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3011 See \`config.log' for more details." >&5
3012 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3013 See \`config.log' for more details." >&2;}
3014 { (exit 1); exit 1; }; }
3017 rm -f conftest$ac_cv_exeext
3018 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3019 echo "${ECHO_T}$ac_cv_exeext" >&6
3021 rm -f conftest.$ac_ext
3022 EXEEXT=$ac_cv_exeext
3023 ac_exeext=$EXEEXT
3025 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3026 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3027 if test "${ac_cv_objext+set}" = set; then
3028 echo $ECHO_N "(cached) $ECHO_C" >&6
3029 else
3030 cat >conftest.$ac_ext <<_ACEOF
3031 /* confdefs.h. */
3032 _ACEOF
3033 cat confdefs.h >>conftest.$ac_ext
3034 cat >>conftest.$ac_ext <<_ACEOF
3035 /* end confdefs.h. */
3038 main ()
3042 return 0;
3044 _ACEOF
3045 rm -f conftest.o conftest.obj
3046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3047 (eval $ac_compile) 2>&5
3048 ac_status=$?
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); }; then
3051 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3052 case $ac_file in
3053 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3054 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3055 break;;
3056 esac
3057 done
3058 else
3059 echo "$as_me: failed program was:" >&5
3060 sed 's/^/| /' conftest.$ac_ext >&5
3062 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3063 See \`config.log' for more details." >&5
3064 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3065 See \`config.log' for more details." >&2;}
3066 { (exit 1); exit 1; }; }
3069 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3071 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3072 echo "${ECHO_T}$ac_cv_objext" >&6
3073 OBJEXT=$ac_cv_objext
3074 ac_objext=$OBJEXT
3075 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3076 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3077 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3078 echo $ECHO_N "(cached) $ECHO_C" >&6
3079 else
3080 cat >conftest.$ac_ext <<_ACEOF
3081 /* confdefs.h. */
3082 _ACEOF
3083 cat confdefs.h >>conftest.$ac_ext
3084 cat >>conftest.$ac_ext <<_ACEOF
3085 /* end confdefs.h. */
3088 main ()
3090 #ifndef __GNUC__
3091 choke me
3092 #endif
3095 return 0;
3097 _ACEOF
3098 rm -f conftest.$ac_objext
3099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3100 (eval $ac_compile) 2>conftest.er1
3101 ac_status=$?
3102 grep -v '^ *+' conftest.er1 >conftest.err
3103 rm -f conftest.er1
3104 cat conftest.err >&5
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); } &&
3107 { ac_try='test -z "$ac_c_werror_flag"
3108 || test ! -s conftest.err'
3109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3110 (eval $ac_try) 2>&5
3111 ac_status=$?
3112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113 (exit $ac_status); }; } &&
3114 { ac_try='test -s conftest.$ac_objext'
3115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3116 (eval $ac_try) 2>&5
3117 ac_status=$?
3118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119 (exit $ac_status); }; }; then
3120 ac_compiler_gnu=yes
3121 else
3122 echo "$as_me: failed program was:" >&5
3123 sed 's/^/| /' conftest.$ac_ext >&5
3125 ac_compiler_gnu=no
3127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3128 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3131 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3132 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3133 GCC=`test $ac_compiler_gnu = yes && echo yes`
3134 ac_test_CFLAGS=${CFLAGS+set}
3135 ac_save_CFLAGS=$CFLAGS
3136 CFLAGS="-g"
3137 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3138 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3139 if test "${ac_cv_prog_cc_g+set}" = set; then
3140 echo $ECHO_N "(cached) $ECHO_C" >&6
3141 else
3142 cat >conftest.$ac_ext <<_ACEOF
3143 /* confdefs.h. */
3144 _ACEOF
3145 cat confdefs.h >>conftest.$ac_ext
3146 cat >>conftest.$ac_ext <<_ACEOF
3147 /* end confdefs.h. */
3150 main ()
3154 return 0;
3156 _ACEOF
3157 rm -f conftest.$ac_objext
3158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3159 (eval $ac_compile) 2>conftest.er1
3160 ac_status=$?
3161 grep -v '^ *+' conftest.er1 >conftest.err
3162 rm -f conftest.er1
3163 cat conftest.err >&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); } &&
3166 { ac_try='test -z "$ac_c_werror_flag"
3167 || test ! -s conftest.err'
3168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3169 (eval $ac_try) 2>&5
3170 ac_status=$?
3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172 (exit $ac_status); }; } &&
3173 { ac_try='test -s conftest.$ac_objext'
3174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3175 (eval $ac_try) 2>&5
3176 ac_status=$?
3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178 (exit $ac_status); }; }; then
3179 ac_cv_prog_cc_g=yes
3180 else
3181 echo "$as_me: failed program was:" >&5
3182 sed 's/^/| /' conftest.$ac_ext >&5
3184 ac_cv_prog_cc_g=no
3186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3188 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3189 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3190 if test "$ac_test_CFLAGS" = set; then
3191 CFLAGS=$ac_save_CFLAGS
3192 elif test $ac_cv_prog_cc_g = yes; then
3193 if test "$GCC" = yes; then
3194 CFLAGS="-g -O2"
3195 else
3196 CFLAGS="-g"
3198 else
3199 if test "$GCC" = yes; then
3200 CFLAGS="-O2"
3201 else
3202 CFLAGS=
3205 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3206 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3207 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3208 echo $ECHO_N "(cached) $ECHO_C" >&6
3209 else
3210 ac_cv_prog_cc_stdc=no
3211 ac_save_CC=$CC
3212 cat >conftest.$ac_ext <<_ACEOF
3213 /* confdefs.h. */
3214 _ACEOF
3215 cat confdefs.h >>conftest.$ac_ext
3216 cat >>conftest.$ac_ext <<_ACEOF
3217 /* end confdefs.h. */
3218 #include <stdarg.h>
3219 #include <stdio.h>
3220 #include <sys/types.h>
3221 #include <sys/stat.h>
3222 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3223 struct buf { int x; };
3224 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3225 static char *e (p, i)
3226 char **p;
3227 int i;
3229 return p[i];
3231 static char *f (char * (*g) (char **, int), char **p, ...)
3233 char *s;
3234 va_list v;
3235 va_start (v,p);
3236 s = g (p, va_arg (v,int));
3237 va_end (v);
3238 return s;
3241 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3242 function prototypes and stuff, but not '\xHH' hex character constants.
3243 These don't provoke an error unfortunately, instead are silently treated
3244 as 'x'. The following induces an error, until -std1 is added to get
3245 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3246 array size at least. It's necessary to write '\x00'==0 to get something
3247 that's true only with -std1. */
3248 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3250 int test (int i, double x);
3251 struct s1 {int (*f) (int a);};
3252 struct s2 {int (*f) (double a);};
3253 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3254 int argc;
3255 char **argv;
3257 main ()
3259 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3261 return 0;
3263 _ACEOF
3264 # Don't try gcc -ansi; that turns off useful extensions and
3265 # breaks some systems' header files.
3266 # AIX -qlanglvl=ansi
3267 # Ultrix and OSF/1 -std1
3268 # HP-UX 10.20 and later -Ae
3269 # HP-UX older versions -Aa -D_HPUX_SOURCE
3270 # SVR4 -Xc -D__EXTENSIONS__
3271 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3273 CC="$ac_save_CC $ac_arg"
3274 rm -f conftest.$ac_objext
3275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3276 (eval $ac_compile) 2>conftest.er1
3277 ac_status=$?
3278 grep -v '^ *+' conftest.er1 >conftest.err
3279 rm -f conftest.er1
3280 cat conftest.err >&5
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); } &&
3283 { ac_try='test -z "$ac_c_werror_flag"
3284 || test ! -s conftest.err'
3285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3286 (eval $ac_try) 2>&5
3287 ac_status=$?
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); }; } &&
3290 { ac_try='test -s conftest.$ac_objext'
3291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3292 (eval $ac_try) 2>&5
3293 ac_status=$?
3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); }; }; then
3296 ac_cv_prog_cc_stdc=$ac_arg
3297 break
3298 else
3299 echo "$as_me: failed program was:" >&5
3300 sed 's/^/| /' conftest.$ac_ext >&5
3303 rm -f conftest.err conftest.$ac_objext
3304 done
3305 rm -f conftest.$ac_ext conftest.$ac_objext
3306 CC=$ac_save_CC
3310 case "x$ac_cv_prog_cc_stdc" in
3311 x|xno)
3312 echo "$as_me:$LINENO: result: none needed" >&5
3313 echo "${ECHO_T}none needed" >&6 ;;
3315 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3316 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3317 CC="$CC $ac_cv_prog_cc_stdc" ;;
3318 esac
3320 # Some people use a C++ compiler to compile C. Since we use `exit',
3321 # in C++ we need to declare it. In case someone uses the same compiler
3322 # for both compiling C and C++ we need to have the C++ compiler decide
3323 # the declaration of exit, since it's the most demanding environment.
3324 cat >conftest.$ac_ext <<_ACEOF
3325 #ifndef __cplusplus
3326 choke me
3327 #endif
3328 _ACEOF
3329 rm -f conftest.$ac_objext
3330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3331 (eval $ac_compile) 2>conftest.er1
3332 ac_status=$?
3333 grep -v '^ *+' conftest.er1 >conftest.err
3334 rm -f conftest.er1
3335 cat conftest.err >&5
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); } &&
3338 { ac_try='test -z "$ac_c_werror_flag"
3339 || test ! -s conftest.err'
3340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3341 (eval $ac_try) 2>&5
3342 ac_status=$?
3343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344 (exit $ac_status); }; } &&
3345 { ac_try='test -s conftest.$ac_objext'
3346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3347 (eval $ac_try) 2>&5
3348 ac_status=$?
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); }; }; then
3351 for ac_declaration in \
3352 '' \
3353 'extern "C" void std::exit (int) throw (); using std::exit;' \
3354 'extern "C" void std::exit (int); using std::exit;' \
3355 'extern "C" void exit (int) throw ();' \
3356 'extern "C" void exit (int);' \
3357 'void exit (int);'
3359 cat >conftest.$ac_ext <<_ACEOF
3360 /* confdefs.h. */
3361 _ACEOF
3362 cat confdefs.h >>conftest.$ac_ext
3363 cat >>conftest.$ac_ext <<_ACEOF
3364 /* end confdefs.h. */
3365 $ac_declaration
3366 #include <stdlib.h>
3368 main ()
3370 exit (42);
3372 return 0;
3374 _ACEOF
3375 rm -f conftest.$ac_objext
3376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3377 (eval $ac_compile) 2>conftest.er1
3378 ac_status=$?
3379 grep -v '^ *+' conftest.er1 >conftest.err
3380 rm -f conftest.er1
3381 cat conftest.err >&5
3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); } &&
3384 { ac_try='test -z "$ac_c_werror_flag"
3385 || test ! -s conftest.err'
3386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3387 (eval $ac_try) 2>&5
3388 ac_status=$?
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); }; } &&
3391 { ac_try='test -s conftest.$ac_objext'
3392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3393 (eval $ac_try) 2>&5
3394 ac_status=$?
3395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396 (exit $ac_status); }; }; then
3398 else
3399 echo "$as_me: failed program was:" >&5
3400 sed 's/^/| /' conftest.$ac_ext >&5
3402 continue
3404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3405 cat >conftest.$ac_ext <<_ACEOF
3406 /* confdefs.h. */
3407 _ACEOF
3408 cat confdefs.h >>conftest.$ac_ext
3409 cat >>conftest.$ac_ext <<_ACEOF
3410 /* end confdefs.h. */
3411 $ac_declaration
3413 main ()
3415 exit (42);
3417 return 0;
3419 _ACEOF
3420 rm -f conftest.$ac_objext
3421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3422 (eval $ac_compile) 2>conftest.er1
3423 ac_status=$?
3424 grep -v '^ *+' conftest.er1 >conftest.err
3425 rm -f conftest.er1
3426 cat conftest.err >&5
3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428 (exit $ac_status); } &&
3429 { ac_try='test -z "$ac_c_werror_flag"
3430 || test ! -s conftest.err'
3431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3432 (eval $ac_try) 2>&5
3433 ac_status=$?
3434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3435 (exit $ac_status); }; } &&
3436 { ac_try='test -s conftest.$ac_objext'
3437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3438 (eval $ac_try) 2>&5
3439 ac_status=$?
3440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441 (exit $ac_status); }; }; then
3442 break
3443 else
3444 echo "$as_me: failed program was:" >&5
3445 sed 's/^/| /' conftest.$ac_ext >&5
3448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3449 done
3450 rm -f conftest*
3451 if test -n "$ac_declaration"; then
3452 echo '#ifdef __cplusplus' >>confdefs.h
3453 echo $ac_declaration >>confdefs.h
3454 echo '#endif' >>confdefs.h
3457 else
3458 echo "$as_me: failed program was:" >&5
3459 sed 's/^/| /' conftest.$ac_ext >&5
3462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3463 ac_ext=c
3464 ac_cpp='$CPP $CPPFLAGS'
3465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3469 ac_ext=cc
3470 ac_cpp='$CXXCPP $CPPFLAGS'
3471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3474 if test -n "$ac_tool_prefix"; then
3475 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3477 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3478 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3479 echo "$as_me:$LINENO: checking for $ac_word" >&5
3480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3481 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3482 echo $ECHO_N "(cached) $ECHO_C" >&6
3483 else
3484 if test -n "$CXX"; then
3485 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3486 else
3487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3488 for as_dir in $PATH
3490 IFS=$as_save_IFS
3491 test -z "$as_dir" && as_dir=.
3492 for ac_exec_ext in '' $ac_executable_extensions; do
3493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3494 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3496 break 2
3498 done
3499 done
3503 CXX=$glibcxx_cv_prog_CXX
3504 if test -n "$CXX"; then
3505 echo "$as_me:$LINENO: result: $CXX" >&5
3506 echo "${ECHO_T}$CXX" >&6
3507 else
3508 echo "$as_me:$LINENO: result: no" >&5
3509 echo "${ECHO_T}no" >&6
3512 test -n "$CXX" && break
3513 done
3515 if test -z "$CXX"; then
3516 ac_ct_CXX=$CXX
3517 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3519 # Extract the first word of "$ac_prog", so it can be a program name with args.
3520 set dummy $ac_prog; ac_word=$2
3521 echo "$as_me:$LINENO: checking for $ac_word" >&5
3522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3523 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3524 echo $ECHO_N "(cached) $ECHO_C" >&6
3525 else
3526 if test -n "$ac_ct_CXX"; then
3527 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3528 else
3529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3530 for as_dir in $PATH
3532 IFS=$as_save_IFS
3533 test -z "$as_dir" && as_dir=.
3534 for ac_exec_ext in '' $ac_executable_extensions; do
3535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3536 ac_cv_prog_ac_ct_CXX="$ac_prog"
3537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3538 break 2
3540 done
3541 done
3545 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3546 if test -n "$ac_ct_CXX"; then
3547 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3548 echo "${ECHO_T}$ac_ct_CXX" >&6
3549 else
3550 echo "$as_me:$LINENO: result: no" >&5
3551 echo "${ECHO_T}no" >&6
3554 test -n "$ac_ct_CXX" && break
3555 done
3556 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3558 CXX=$ac_ct_CXX
3562 # Provide some information about the compiler.
3563 echo "$as_me:$LINENO:" \
3564 "checking for C++ compiler version" >&5
3565 ac_compiler=`set X $ac_compile; echo $2`
3566 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3567 (eval $ac_compiler --version </dev/null >&5) 2>&5
3568 ac_status=$?
3569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570 (exit $ac_status); }
3571 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3572 (eval $ac_compiler -v </dev/null >&5) 2>&5
3573 ac_status=$?
3574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575 (exit $ac_status); }
3576 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3577 (eval $ac_compiler -V </dev/null >&5) 2>&5
3578 ac_status=$?
3579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580 (exit $ac_status); }
3582 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3583 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3584 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3585 echo $ECHO_N "(cached) $ECHO_C" >&6
3586 else
3587 cat >conftest.$ac_ext <<_ACEOF
3588 /* confdefs.h. */
3589 _ACEOF
3590 cat confdefs.h >>conftest.$ac_ext
3591 cat >>conftest.$ac_ext <<_ACEOF
3592 /* end confdefs.h. */
3595 main ()
3597 #ifndef __GNUC__
3598 choke me
3599 #endif
3602 return 0;
3604 _ACEOF
3605 rm -f conftest.$ac_objext
3606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3607 (eval $ac_compile) 2>conftest.er1
3608 ac_status=$?
3609 grep -v '^ *+' conftest.er1 >conftest.err
3610 rm -f conftest.er1
3611 cat conftest.err >&5
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); } &&
3614 { ac_try='test -z "$ac_cxx_werror_flag"
3615 || test ! -s conftest.err'
3616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3617 (eval $ac_try) 2>&5
3618 ac_status=$?
3619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3620 (exit $ac_status); }; } &&
3621 { ac_try='test -s conftest.$ac_objext'
3622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3623 (eval $ac_try) 2>&5
3624 ac_status=$?
3625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3626 (exit $ac_status); }; }; then
3627 ac_compiler_gnu=yes
3628 else
3629 echo "$as_me: failed program was:" >&5
3630 sed 's/^/| /' conftest.$ac_ext >&5
3632 ac_compiler_gnu=no
3634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3635 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3638 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3639 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3640 GXX=`test $ac_compiler_gnu = yes && echo yes`
3641 ac_test_CXXFLAGS=${CXXFLAGS+set}
3642 ac_save_CXXFLAGS=$CXXFLAGS
3643 CXXFLAGS="-g"
3644 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3645 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3646 if test "${ac_cv_prog_cxx_g+set}" = set; then
3647 echo $ECHO_N "(cached) $ECHO_C" >&6
3648 else
3649 cat >conftest.$ac_ext <<_ACEOF
3650 /* confdefs.h. */
3651 _ACEOF
3652 cat confdefs.h >>conftest.$ac_ext
3653 cat >>conftest.$ac_ext <<_ACEOF
3654 /* end confdefs.h. */
3657 main ()
3661 return 0;
3663 _ACEOF
3664 rm -f conftest.$ac_objext
3665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3666 (eval $ac_compile) 2>conftest.er1
3667 ac_status=$?
3668 grep -v '^ *+' conftest.er1 >conftest.err
3669 rm -f conftest.er1
3670 cat conftest.err >&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); } &&
3673 { ac_try='test -z "$ac_cxx_werror_flag"
3674 || test ! -s conftest.err'
3675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3676 (eval $ac_try) 2>&5
3677 ac_status=$?
3678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3679 (exit $ac_status); }; } &&
3680 { ac_try='test -s conftest.$ac_objext'
3681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3682 (eval $ac_try) 2>&5
3683 ac_status=$?
3684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3685 (exit $ac_status); }; }; then
3686 ac_cv_prog_cxx_g=yes
3687 else
3688 echo "$as_me: failed program was:" >&5
3689 sed 's/^/| /' conftest.$ac_ext >&5
3691 ac_cv_prog_cxx_g=no
3693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3695 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3696 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3697 if test "$ac_test_CXXFLAGS" = set; then
3698 CXXFLAGS=$ac_save_CXXFLAGS
3699 elif test $ac_cv_prog_cxx_g = yes; then
3700 if test "$GXX" = yes; then
3701 CXXFLAGS="-g -O2"
3702 else
3703 CXXFLAGS="-g"
3705 else
3706 if test "$GXX" = yes; then
3707 CXXFLAGS="-O2"
3708 else
3709 CXXFLAGS=
3712 for ac_declaration in \
3713 '' \
3714 'extern "C" void std::exit (int) throw (); using std::exit;' \
3715 'extern "C" void std::exit (int); using std::exit;' \
3716 'extern "C" void exit (int) throw ();' \
3717 'extern "C" void exit (int);' \
3718 'void exit (int);'
3720 cat >conftest.$ac_ext <<_ACEOF
3721 /* confdefs.h. */
3722 _ACEOF
3723 cat confdefs.h >>conftest.$ac_ext
3724 cat >>conftest.$ac_ext <<_ACEOF
3725 /* end confdefs.h. */
3726 $ac_declaration
3727 #include <stdlib.h>
3729 main ()
3731 exit (42);
3733 return 0;
3735 _ACEOF
3736 rm -f conftest.$ac_objext
3737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3738 (eval $ac_compile) 2>conftest.er1
3739 ac_status=$?
3740 grep -v '^ *+' conftest.er1 >conftest.err
3741 rm -f conftest.er1
3742 cat conftest.err >&5
3743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3744 (exit $ac_status); } &&
3745 { ac_try='test -z "$ac_cxx_werror_flag"
3746 || test ! -s conftest.err'
3747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3748 (eval $ac_try) 2>&5
3749 ac_status=$?
3750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3751 (exit $ac_status); }; } &&
3752 { ac_try='test -s conftest.$ac_objext'
3753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3754 (eval $ac_try) 2>&5
3755 ac_status=$?
3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757 (exit $ac_status); }; }; then
3759 else
3760 echo "$as_me: failed program was:" >&5
3761 sed 's/^/| /' conftest.$ac_ext >&5
3763 continue
3765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3766 cat >conftest.$ac_ext <<_ACEOF
3767 /* confdefs.h. */
3768 _ACEOF
3769 cat confdefs.h >>conftest.$ac_ext
3770 cat >>conftest.$ac_ext <<_ACEOF
3771 /* end confdefs.h. */
3772 $ac_declaration
3774 main ()
3776 exit (42);
3778 return 0;
3780 _ACEOF
3781 rm -f conftest.$ac_objext
3782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3783 (eval $ac_compile) 2>conftest.er1
3784 ac_status=$?
3785 grep -v '^ *+' conftest.er1 >conftest.err
3786 rm -f conftest.er1
3787 cat conftest.err >&5
3788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); } &&
3790 { ac_try='test -z "$ac_cxx_werror_flag"
3791 || test ! -s conftest.err'
3792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3793 (eval $ac_try) 2>&5
3794 ac_status=$?
3795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796 (exit $ac_status); }; } &&
3797 { ac_try='test -s conftest.$ac_objext'
3798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3799 (eval $ac_try) 2>&5
3800 ac_status=$?
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); }; }; then
3803 break
3804 else
3805 echo "$as_me: failed program was:" >&5
3806 sed 's/^/| /' conftest.$ac_ext >&5
3809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3810 done
3811 rm -f conftest*
3812 if test -n "$ac_declaration"; then
3813 echo '#ifdef __cplusplus' >>confdefs.h
3814 echo $ac_declaration >>confdefs.h
3815 echo '#endif' >>confdefs.h
3818 ac_ext=c
3819 ac_cpp='$CPP $CPPFLAGS'
3820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3824 CXXFLAGS="$save_CXXFLAGS"
3829 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3830 # available). Uncomment the next line to force a particular method.
3831 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3832 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3833 LN_S=$as_ln_s
3834 if test "$LN_S" = "ln -s"; then
3835 echo "$as_me:$LINENO: result: yes" >&5
3836 echo "${ECHO_T}yes" >&6
3837 else
3838 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3839 echo "${ECHO_T}no, using $LN_S" >&6
3842 #LN_S='cp -p'
3844 if test -n "$ac_tool_prefix"; then
3845 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3846 set dummy ${ac_tool_prefix}as; ac_word=$2
3847 echo "$as_me:$LINENO: checking for $ac_word" >&5
3848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3849 if test "${ac_cv_prog_AS+set}" = set; then
3850 echo $ECHO_N "(cached) $ECHO_C" >&6
3851 else
3852 if test -n "$AS"; then
3853 ac_cv_prog_AS="$AS" # Let the user override the test.
3854 else
3855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3856 for as_dir in $PATH
3858 IFS=$as_save_IFS
3859 test -z "$as_dir" && as_dir=.
3860 for ac_exec_ext in '' $ac_executable_extensions; do
3861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3862 ac_cv_prog_AS="${ac_tool_prefix}as"
3863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3864 break 2
3866 done
3867 done
3871 AS=$ac_cv_prog_AS
3872 if test -n "$AS"; then
3873 echo "$as_me:$LINENO: result: $AS" >&5
3874 echo "${ECHO_T}$AS" >&6
3875 else
3876 echo "$as_me:$LINENO: result: no" >&5
3877 echo "${ECHO_T}no" >&6
3881 if test -z "$ac_cv_prog_AS"; then
3882 ac_ct_AS=$AS
3883 # Extract the first word of "as", so it can be a program name with args.
3884 set dummy as; ac_word=$2
3885 echo "$as_me:$LINENO: checking for $ac_word" >&5
3886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3887 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3888 echo $ECHO_N "(cached) $ECHO_C" >&6
3889 else
3890 if test -n "$ac_ct_AS"; then
3891 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3892 else
3893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3894 for as_dir in $PATH
3896 IFS=$as_save_IFS
3897 test -z "$as_dir" && as_dir=.
3898 for ac_exec_ext in '' $ac_executable_extensions; do
3899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3900 ac_cv_prog_ac_ct_AS="as"
3901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3902 break 2
3904 done
3905 done
3909 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3910 if test -n "$ac_ct_AS"; then
3911 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3912 echo "${ECHO_T}$ac_ct_AS" >&6
3913 else
3914 echo "$as_me:$LINENO: result: no" >&5
3915 echo "${ECHO_T}no" >&6
3918 AS=$ac_ct_AS
3919 else
3920 AS="$ac_cv_prog_AS"
3923 if test -n "$ac_tool_prefix"; then
3924 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3925 set dummy ${ac_tool_prefix}ar; ac_word=$2
3926 echo "$as_me:$LINENO: checking for $ac_word" >&5
3927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3928 if test "${ac_cv_prog_AR+set}" = set; then
3929 echo $ECHO_N "(cached) $ECHO_C" >&6
3930 else
3931 if test -n "$AR"; then
3932 ac_cv_prog_AR="$AR" # Let the user override the test.
3933 else
3934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3935 for as_dir in $PATH
3937 IFS=$as_save_IFS
3938 test -z "$as_dir" && as_dir=.
3939 for ac_exec_ext in '' $ac_executable_extensions; do
3940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3941 ac_cv_prog_AR="${ac_tool_prefix}ar"
3942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3943 break 2
3945 done
3946 done
3950 AR=$ac_cv_prog_AR
3951 if test -n "$AR"; then
3952 echo "$as_me:$LINENO: result: $AR" >&5
3953 echo "${ECHO_T}$AR" >&6
3954 else
3955 echo "$as_me:$LINENO: result: no" >&5
3956 echo "${ECHO_T}no" >&6
3960 if test -z "$ac_cv_prog_AR"; then
3961 ac_ct_AR=$AR
3962 # Extract the first word of "ar", so it can be a program name with args.
3963 set dummy ar; ac_word=$2
3964 echo "$as_me:$LINENO: checking for $ac_word" >&5
3965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3966 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3967 echo $ECHO_N "(cached) $ECHO_C" >&6
3968 else
3969 if test -n "$ac_ct_AR"; then
3970 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3971 else
3972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3973 for as_dir in $PATH
3975 IFS=$as_save_IFS
3976 test -z "$as_dir" && as_dir=.
3977 for ac_exec_ext in '' $ac_executable_extensions; do
3978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3979 ac_cv_prog_ac_ct_AR="ar"
3980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3981 break 2
3983 done
3984 done
3988 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3989 if test -n "$ac_ct_AR"; then
3990 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3991 echo "${ECHO_T}$ac_ct_AR" >&6
3992 else
3993 echo "$as_me:$LINENO: result: no" >&5
3994 echo "${ECHO_T}no" >&6
3997 AR=$ac_ct_AR
3998 else
3999 AR="$ac_cv_prog_AR"
4002 if test -n "$ac_tool_prefix"; then
4003 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4004 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4005 echo "$as_me:$LINENO: checking for $ac_word" >&5
4006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4007 if test "${ac_cv_prog_RANLIB+set}" = set; then
4008 echo $ECHO_N "(cached) $ECHO_C" >&6
4009 else
4010 if test -n "$RANLIB"; then
4011 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4012 else
4013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4014 for as_dir in $PATH
4016 IFS=$as_save_IFS
4017 test -z "$as_dir" && as_dir=.
4018 for ac_exec_ext in '' $ac_executable_extensions; do
4019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4020 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4022 break 2
4024 done
4025 done
4029 RANLIB=$ac_cv_prog_RANLIB
4030 if test -n "$RANLIB"; then
4031 echo "$as_me:$LINENO: result: $RANLIB" >&5
4032 echo "${ECHO_T}$RANLIB" >&6
4033 else
4034 echo "$as_me:$LINENO: result: no" >&5
4035 echo "${ECHO_T}no" >&6
4039 if test -z "$ac_cv_prog_RANLIB"; then
4040 ac_ct_RANLIB=$RANLIB
4041 # Extract the first word of "ranlib", so it can be a program name with args.
4042 set dummy ranlib; ac_word=$2
4043 echo "$as_me:$LINENO: checking for $ac_word" >&5
4044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4045 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4046 echo $ECHO_N "(cached) $ECHO_C" >&6
4047 else
4048 if test -n "$ac_ct_RANLIB"; then
4049 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4050 else
4051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4052 for as_dir in $PATH
4054 IFS=$as_save_IFS
4055 test -z "$as_dir" && as_dir=.
4056 for ac_exec_ext in '' $ac_executable_extensions; do
4057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4058 ac_cv_prog_ac_ct_RANLIB="ranlib"
4059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4060 break 2
4062 done
4063 done
4065 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4068 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4069 if test -n "$ac_ct_RANLIB"; then
4070 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4071 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4072 else
4073 echo "$as_me:$LINENO: result: no" >&5
4074 echo "${ECHO_T}no" >&6
4077 RANLIB=$ac_ct_RANLIB
4078 else
4079 RANLIB="$ac_cv_prog_RANLIB"
4083 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4084 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4085 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4086 if test "${enable_maintainer_mode+set}" = set; then
4087 enableval="$enable_maintainer_mode"
4088 USE_MAINTAINER_MODE=$enableval
4089 else
4090 USE_MAINTAINER_MODE=no
4092 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4093 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4096 if test $USE_MAINTAINER_MODE = yes; then
4097 MAINTAINER_MODE_TRUE=
4098 MAINTAINER_MODE_FALSE='#'
4099 else
4100 MAINTAINER_MODE_TRUE='#'
4101 MAINTAINER_MODE_FALSE=
4104 MAINT=$MAINTAINER_MODE_TRUE
4108 # Set up safe default values for all subsequent AM_CONDITIONAL tests
4109 # which are themselves conditionally expanded.
4110 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4111 ## other macros from doing the same. This should be automated.) -pme
4112 need_libmath=no
4114 # Check for uClibc since Linux platforms use different configuration
4115 # directories depending on the C library in use.
4116 cat >conftest.$ac_ext <<_ACEOF
4117 /* confdefs.h. */
4118 _ACEOF
4119 cat confdefs.h >>conftest.$ac_ext
4120 cat >>conftest.$ac_ext <<_ACEOF
4121 /* end confdefs.h. */
4123 #include <stdio.h>
4124 #if __UCLIBC__
4125 _using_uclibc
4126 #endif
4128 _ACEOF
4129 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4130 $EGREP "_using_uclibc" >/dev/null 2>&1; then
4131 uclibc=yes
4132 else
4133 uclibc=no
4135 rm -f conftest*
4138 # Find platform-specific directories containing configuration info.
4139 # Also possibly modify flags used elsewhere, as needed by the platform.
4141 . $glibcxx_srcdir/configure.host
4142 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4143 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4144 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4145 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4149 if test "x${with_newlib}" != "xyes"; then
4150 enable_dlopen=yes
4157 macro_version='2.1a'
4158 macro_revision='1.2435'
4171 ltmain="$ac_aux_dir/ltmain.sh"
4173 # Set options
4176 enable_win32_dll=no
4179 # Check whether --enable-shared or --disable-shared was given.
4180 if test "${enable_shared+set}" = set; then
4181 enableval="$enable_shared"
4182 p=${PACKAGE-default}
4183 case $enableval in
4184 yes) enable_shared=yes ;;
4185 no) enable_shared=no ;;
4187 enable_shared=no
4188 # Look at the argument we got. We use all the common list separators.
4189 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4190 for pkg in $enableval; do
4191 IFS="$lt_save_ifs"
4192 if test "X$pkg" = "X$p"; then
4193 enable_shared=yes
4195 done
4196 IFS="$lt_save_ifs"
4198 esac
4199 else
4200 enable_shared=yes
4210 # Check whether --enable-static or --disable-static was given.
4211 if test "${enable_static+set}" = set; then
4212 enableval="$enable_static"
4213 p=${PACKAGE-default}
4214 case $enableval in
4215 yes) enable_static=yes ;;
4216 no) enable_static=no ;;
4218 enable_static=no
4219 # Look at the argument we got. We use all the common list separators.
4220 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4221 for pkg in $enableval; do
4222 IFS="$lt_save_ifs"
4223 if test "X$pkg" = "X$p"; then
4224 enable_static=yes
4226 done
4227 IFS="$lt_save_ifs"
4229 esac
4230 else
4231 enable_static=yes
4242 # Check whether --with-pic or --without-pic was given.
4243 if test "${with_pic+set}" = set; then
4244 withval="$with_pic"
4245 pic_mode="$withval"
4246 else
4247 pic_mode=default
4250 test -z "$pic_mode" && pic_mode=default
4258 # Check whether --enable-fast-install or --disable-fast-install was given.
4259 if test "${enable_fast_install+set}" = set; then
4260 enableval="$enable_fast_install"
4261 p=${PACKAGE-default}
4262 case $enableval in
4263 yes) enable_fast_install=yes ;;
4264 no) enable_fast_install=no ;;
4266 enable_fast_install=no
4267 # Look at the argument we got. We use all the common list separators.
4268 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4269 for pkg in $enableval; do
4270 IFS="$lt_save_ifs"
4271 if test "X$pkg" = "X$p"; then
4272 enable_fast_install=yes
4274 done
4275 IFS="$lt_save_ifs"
4277 esac
4278 else
4279 enable_fast_install=yes
4289 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4290 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4291 if test "${lt_cv_path_SED+set}" = set; then
4292 echo $ECHO_N "(cached) $ECHO_C" >&6
4293 else
4294 # Loop through the user's path and test for sed and gsed.
4295 # Then use that list of sed's as ones to test for truncation.
4296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4297 for as_dir in $PATH
4299 IFS=$as_save_IFS
4300 test -z "$as_dir" && as_dir=.
4301 for lt_ac_prog in sed gsed; do
4302 for ac_exec_ext in '' $ac_executable_extensions; do
4303 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4304 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4306 done
4307 done
4308 done
4309 IFS=$as_save_IFS
4310 lt_ac_max=0
4311 lt_ac_count=0
4312 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4313 # along with /bin/sed that truncates output.
4314 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4315 test ! -f $lt_ac_sed && continue
4316 cat /dev/null > conftest.in
4317 lt_ac_count=0
4318 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4319 # Check for GNU sed and select it if it is found.
4320 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4321 lt_cv_path_SED=$lt_ac_sed
4322 break
4324 while true; do
4325 cat conftest.in conftest.in >conftest.tmp
4326 mv conftest.tmp conftest.in
4327 cp conftest.in conftest.nl
4328 echo >>conftest.nl
4329 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4330 cmp -s conftest.out conftest.nl || break
4331 # 10000 chars as input seems more than enough
4332 test $lt_ac_count -gt 10 && break
4333 lt_ac_count=`expr $lt_ac_count + 1`
4334 if test $lt_ac_count -gt $lt_ac_max; then
4335 lt_ac_max=$lt_ac_count
4336 lt_cv_path_SED=$lt_ac_sed
4338 done
4339 done
4343 SED=$lt_cv_path_SED
4345 echo "$as_me:$LINENO: result: $SED" >&5
4346 echo "${ECHO_T}$SED" >&6
4348 test -z "$SED" && SED=sed
4349 Xsed="$SED -e 1s/^X//"
4361 echo "$as_me:$LINENO: checking for fgrep" >&5
4362 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4363 if test "${ac_cv_prog_fgrep+set}" = set; then
4364 echo $ECHO_N "(cached) $ECHO_C" >&6
4365 else
4366 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4367 then ac_cv_prog_fgrep='grep -F'
4368 else ac_cv_prog_fgrep='fgrep'
4371 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4372 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4373 FGREP=$ac_cv_prog_fgrep
4376 test -z "$GREP" && GREP=grep
4396 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4397 if test "${with_gnu_ld+set}" = set; then
4398 withval="$with_gnu_ld"
4399 test "$withval" = no || with_gnu_ld=yes
4400 else
4401 with_gnu_ld=no
4403 ac_prog=ld
4404 if test "$GCC" = yes; then
4405 # Check if gcc -print-prog-name=ld gives a path.
4406 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4407 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4408 case $host in
4409 *-*-mingw*)
4410 # gcc leaves a trailing carriage return which upsets mingw
4411 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4413 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4414 esac
4415 case $ac_prog in
4416 # Accept absolute paths.
4417 [\\/]* | ?:[\\/]*)
4418 re_direlt='/[^/][^/]*/\.\./'
4419 # Canonicalize the pathname of ld
4420 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4421 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4422 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4423 done
4424 test -z "$LD" && LD="$ac_prog"
4427 # If it fails, then pretend we aren't using GCC.
4428 ac_prog=ld
4431 # If it is relative, then search for the first ld in PATH.
4432 with_gnu_ld=unknown
4434 esac
4435 elif test "$with_gnu_ld" = yes; then
4436 echo "$as_me:$LINENO: checking for GNU ld" >&5
4437 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4438 else
4439 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4440 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4442 if test "${lt_cv_path_LD+set}" = set; then
4443 echo $ECHO_N "(cached) $ECHO_C" >&6
4444 else
4445 if test -z "$LD"; then
4446 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4447 for ac_dir in $PATH; do
4448 IFS="$lt_save_ifs"
4449 test -z "$ac_dir" && ac_dir=.
4450 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4451 lt_cv_path_LD="$ac_dir/$ac_prog"
4452 # Check to see if the program is GNU ld. I'd rather use --version,
4453 # but apparently some variants of GNU ld only accept -v.
4454 # Break only if it was the GNU/non-GNU ld that we prefer.
4455 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4456 *GNU* | *'with BFD'*)
4457 test "$with_gnu_ld" != no && break
4460 test "$with_gnu_ld" != yes && break
4462 esac
4464 done
4465 IFS="$lt_save_ifs"
4466 else
4467 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4471 LD="$lt_cv_path_LD"
4472 if test -n "$LD"; then
4473 echo "$as_me:$LINENO: result: $LD" >&5
4474 echo "${ECHO_T}$LD" >&6
4475 else
4476 echo "$as_me:$LINENO: result: no" >&5
4477 echo "${ECHO_T}no" >&6
4479 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4480 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4481 { (exit 1); exit 1; }; }
4482 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4483 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4484 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4485 echo $ECHO_N "(cached) $ECHO_C" >&6
4486 else
4487 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4488 case `$LD -v 2>&1 </dev/null` in
4489 *GNU* | *'with BFD'*)
4490 lt_cv_prog_gnu_ld=yes
4493 lt_cv_prog_gnu_ld=no
4495 esac
4497 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4498 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4499 with_gnu_ld=$lt_cv_prog_gnu_ld
4510 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4511 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4512 if test "${lt_cv_path_NM+set}" = set; then
4513 echo $ECHO_N "(cached) $ECHO_C" >&6
4514 else
4515 if test -n "$NM"; then
4516 # Let the user override the test.
4517 lt_cv_path_NM="$NM"
4518 else
4519 lt_nm_to_check="${ac_tool_prefix}nm"
4520 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4521 lt_nm_to_check="$lt_nm_to_check nm"
4523 for lt_tmp_nm in $lt_nm_to_check; do
4524 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4525 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4526 IFS="$lt_save_ifs"
4527 test -z "$ac_dir" && ac_dir=.
4528 tmp_nm="$ac_dir/$lt_tmp_nm"
4529 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4530 # Check to see if the nm accepts a BSD-compat flag.
4531 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4532 # nm: unknown option "B" ignored
4533 # Tru64's nm complains that /dev/null is an invalid object file
4534 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4535 */dev/null* | *'Invalid file or object type'*)
4536 lt_cv_path_NM="$tmp_nm -B"
4537 break
4540 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4541 */dev/null*)
4542 lt_cv_path_NM="$tmp_nm -p"
4543 break
4546 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4547 continue # so that we can try to find one that supports BSD flags
4549 esac
4551 esac
4553 done
4554 IFS="$lt_save_ifs"
4555 done
4556 : ${lt_cv_path_NM=no}
4559 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4560 echo "${ECHO_T}$lt_cv_path_NM" >&6
4561 if test "$lt_cv_path_NM" != "no"; then
4562 NM="$lt_cv_path_NM"
4563 else
4564 # Didn't find any BSD compatible name lister, look for dumpbin.
4565 if test -n "$ac_tool_prefix"; then
4566 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4568 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4569 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4570 echo "$as_me:$LINENO: checking for $ac_word" >&5
4571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4572 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4573 echo $ECHO_N "(cached) $ECHO_C" >&6
4574 else
4575 if test -n "$DUMPBIN"; then
4576 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4577 else
4578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4579 for as_dir in $PATH
4581 IFS=$as_save_IFS
4582 test -z "$as_dir" && as_dir=.
4583 for ac_exec_ext in '' $ac_executable_extensions; do
4584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4585 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4587 break 2
4589 done
4590 done
4594 DUMPBIN=$ac_cv_prog_DUMPBIN
4595 if test -n "$DUMPBIN"; then
4596 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4597 echo "${ECHO_T}$DUMPBIN" >&6
4598 else
4599 echo "$as_me:$LINENO: result: no" >&5
4600 echo "${ECHO_T}no" >&6
4603 test -n "$DUMPBIN" && break
4604 done
4606 if test -z "$DUMPBIN"; then
4607 ac_ct_DUMPBIN=$DUMPBIN
4608 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4610 # Extract the first word of "$ac_prog", so it can be a program name with args.
4611 set dummy $ac_prog; ac_word=$2
4612 echo "$as_me:$LINENO: checking for $ac_word" >&5
4613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4614 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4615 echo $ECHO_N "(cached) $ECHO_C" >&6
4616 else
4617 if test -n "$ac_ct_DUMPBIN"; then
4618 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4619 else
4620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4621 for as_dir in $PATH
4623 IFS=$as_save_IFS
4624 test -z "$as_dir" && as_dir=.
4625 for ac_exec_ext in '' $ac_executable_extensions; do
4626 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4627 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4629 break 2
4631 done
4632 done
4636 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4637 if test -n "$ac_ct_DUMPBIN"; then
4638 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4639 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4640 else
4641 echo "$as_me:$LINENO: result: no" >&5
4642 echo "${ECHO_T}no" >&6
4645 test -n "$ac_ct_DUMPBIN" && break
4646 done
4647 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4649 DUMPBIN=$ac_ct_DUMPBIN
4653 if test "$DUMPBIN" != ":"; then
4654 NM="$DUMPBIN"
4657 test -z "$NM" && NM=nm
4664 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4665 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4666 if test "${lt_cv_nm_interface+set}" = set; then
4667 echo $ECHO_N "(cached) $ECHO_C" >&6
4668 else
4669 lt_cv_nm_interface="BSD nm"
4670 echo "int some_variable = 0;" > conftest.$ac_ext
4671 (eval echo "\"\$as_me:4671: $ac_compile\"" >&5)
4672 (eval "$ac_compile" 2>conftest.err)
4673 cat conftest.err >&5
4674 (eval echo "\"\$as_me:4674: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4675 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4676 cat conftest.err >&5
4677 (eval echo "\"\$as_me:4677: output\"" >&5)
4678 cat conftest.out >&5
4679 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4680 lt_cv_nm_interface="MS dumpbin"
4682 rm -f conftest*
4684 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4685 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4687 # find the maximum length of command line arguments
4688 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4689 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4690 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4691 echo $ECHO_N "(cached) $ECHO_C" >&6
4692 else
4694 teststring="ABCD"
4696 case $build_os in
4697 msdosdjgpp*)
4698 # On DJGPP, this test can blow up pretty badly due to problems in libc
4699 # (any single argument exceeding 2000 bytes causes a buffer overrun
4700 # during glob expansion). Even if it were fixed, the result of this
4701 # check would be larger than it should be.
4702 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4705 gnu*)
4706 # Under GNU Hurd, this test is not required because there is
4707 # no limit to the length of command line arguments.
4708 # Libtool will interpret -1 as no limit whatsoever
4709 lt_cv_sys_max_cmd_len=-1;
4712 cygwin* | mingw*)
4713 # On Win9x/ME, this test blows up -- it succeeds, but takes
4714 # about 5 minutes as the teststring grows exponentially.
4715 # Worse, since 9x/ME are not pre-emptively multitasking,
4716 # you end up with a "frozen" computer, even though with patience
4717 # the test eventually succeeds (with a max line length of 256k).
4718 # Instead, let's just punt: use the minimum linelength reported by
4719 # all of the supported platforms: 8192 (on NT/2K/XP).
4720 lt_cv_sys_max_cmd_len=8192;
4723 amigaos*)
4724 # On AmigaOS with pdksh, this test takes hours, literally.
4725 # So we just punt and use a minimum line length of 8192.
4726 lt_cv_sys_max_cmd_len=8192;
4729 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4730 # This has been around since 386BSD, at least. Likely further.
4731 if test -x /sbin/sysctl; then
4732 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4733 elif test -x /usr/sbin/sysctl; then
4734 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4735 else
4736 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4738 # And add a safety zone
4739 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4740 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4743 interix*)
4744 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4745 lt_cv_sys_max_cmd_len=196608
4748 osf*)
4749 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4750 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4751 # nice to cause kernel panics so lets avoid the loop below.
4752 # First set a reasonable default.
4753 lt_cv_sys_max_cmd_len=16384
4755 if test -x /sbin/sysconfig; then
4756 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4757 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4758 esac
4761 sco3.2v5*)
4762 lt_cv_sys_max_cmd_len=102400
4764 sysv5* | sco5v6* | sysv4.2uw2*)
4765 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4766 if test -n "$kargmax"; then
4767 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4768 else
4769 lt_cv_sys_max_cmd_len=32768
4773 lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4774 if test -n $lt_cv_sys_max_cmd_len; then
4775 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4776 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4777 else
4778 # Make teststring a little bigger before we do anything with it.
4779 # a 1K string should be a reasonable start.
4780 for i in 1 2 3 4 5 6 7 8 ; do
4781 teststring=$teststring$teststring
4782 done
4783 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4784 # If test is not a shell built-in, we'll probably end up computing a
4785 # maximum length that is only half of the actual maximum length, but
4786 # we can't tell.
4787 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4788 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4789 test $i != 17 # 1/2 MB should be enough
4791 i=`expr $i + 1`
4792 teststring=$teststring$teststring
4793 done
4794 # Only check the string length outside the loop.
4795 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4796 teststring=
4797 # Add a significant safety factor because C++ compilers can tack on
4798 # massive amounts of additional arguments before passing them to the
4799 # linker. It appears as though 1/2 is a usable value.
4800 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4803 esac
4807 if test -n $lt_cv_sys_max_cmd_len ; then
4808 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4809 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4810 else
4811 echo "$as_me:$LINENO: result: none" >&5
4812 echo "${ECHO_T}none" >&6
4814 max_cmd_len=$lt_cv_sys_max_cmd_len
4822 : ${CP="cp -f"}
4823 : ${MV="mv -f"}
4824 : ${RM="rm -f"}
4826 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4827 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4828 # Try some XSI features
4829 xsi_shell=no
4830 ( _lt_dummy="a/b/c"
4831 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4832 = c,a/b,, ) >/dev/null 2>&1 \
4833 && xsi_shell=yes
4834 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4835 echo "${ECHO_T}$xsi_shell" >&6
4838 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4839 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4840 lt_shell_append=no
4841 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4842 >/dev/null 2>&1 \
4843 && lt_shell_append=yes
4844 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4845 echo "${ECHO_T}$lt_shell_append" >&6
4848 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4849 lt_unset=unset
4850 else
4851 lt_unset=false
4858 # test EBCDIC or ASCII
4859 case `echo X|tr X '\101'` in
4860 A) # ASCII based system
4861 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4862 lt_SP2NL='tr \040 \012'
4863 lt_NL2SP='tr \015\012 \040\040'
4865 *) # EBCDIC based system
4866 lt_SP2NL='tr \100 \n'
4867 lt_NL2SP='tr \r\n \100\100'
4869 esac
4879 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4880 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4881 if test "${lt_cv_ld_reload_flag+set}" = set; then
4882 echo $ECHO_N "(cached) $ECHO_C" >&6
4883 else
4884 lt_cv_ld_reload_flag='-r'
4886 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4887 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4888 reload_flag=$lt_cv_ld_reload_flag
4889 case $reload_flag in
4890 "" | " "*) ;;
4891 *) reload_flag=" $reload_flag" ;;
4892 esac
4893 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4894 case $host_os in
4895 darwin*)
4896 if test "$GCC" = yes; then
4897 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4898 else
4899 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4902 esac
4913 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4914 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4915 if test "${lt_cv_deplibs_check_method+set}" = set; then
4916 echo $ECHO_N "(cached) $ECHO_C" >&6
4917 else
4918 lt_cv_file_magic_cmd='$MAGIC_CMD'
4919 lt_cv_file_magic_test_file=
4920 lt_cv_deplibs_check_method='unknown'
4921 # Need to set the preceding variable on all platforms that support
4922 # interlibrary dependencies.
4923 # 'none' -- dependencies not supported.
4924 # `unknown' -- same as none, but documents that we really don't know.
4925 # 'pass_all' -- all dependencies passed with no checks.
4926 # 'test_compile' -- check by making test program.
4927 # 'file_magic [[regex]]' -- check by looking for files in library path
4928 # which responds to the $file_magic_cmd with a given extended regex.
4929 # If you have `file' or equivalent on your system and you're not sure
4930 # whether `pass_all' will *always* work, you probably want this one.
4932 case $host_os in
4933 aix[4-9]*)
4934 lt_cv_deplibs_check_method=pass_all
4937 beos*)
4938 lt_cv_deplibs_check_method=pass_all
4941 bsdi[45]*)
4942 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4943 lt_cv_file_magic_cmd='/usr/bin/file -L'
4944 lt_cv_file_magic_test_file=/shlib/libc.so
4947 cygwin*)
4948 # func_win32_libid is a shell function defined in ltmain.sh
4949 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4950 lt_cv_file_magic_cmd='func_win32_libid'
4953 mingw* | pw32*)
4954 # Base MSYS/MinGW do not provide the 'file' command needed by
4955 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4956 # unless we find 'file', for example because we are cross-compiling.
4957 if ( file / ) >/dev/null 2>&1; then
4958 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4959 lt_cv_file_magic_cmd='func_win32_libid'
4960 else
4961 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4962 lt_cv_file_magic_cmd='$OBJDUMP -f'
4966 darwin* | rhapsody*)
4967 lt_cv_deplibs_check_method=pass_all
4970 freebsd* | dragonfly*)
4971 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4972 case $host_cpu in
4973 i*86 )
4974 # Not sure whether the presence of OpenBSD here was a mistake.
4975 # Let's accept both of them until this is cleared up.
4976 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4977 lt_cv_file_magic_cmd=/usr/bin/file
4978 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4980 esac
4981 else
4982 lt_cv_deplibs_check_method=pass_all
4986 gnu*)
4987 lt_cv_deplibs_check_method=pass_all
4990 hpux10.20* | hpux11*)
4991 lt_cv_file_magic_cmd=/usr/bin/file
4992 case $host_cpu in
4993 ia64*)
4994 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4995 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4997 hppa*64*)
4998 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4999 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5002 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5003 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5005 esac
5008 interix[3-9]*)
5009 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5010 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5013 irix5* | irix6* | nonstopux*)
5014 case $LD in
5015 *-32|*"-32 ") libmagic=32-bit;;
5016 *-n32|*"-n32 ") libmagic=N32;;
5017 *-64|*"-64 ") libmagic=64-bit;;
5018 *) libmagic=never-match;;
5019 esac
5020 lt_cv_deplibs_check_method=pass_all
5023 # This must be Linux ELF.
5024 linux* | k*bsd*-gnu)
5025 lt_cv_deplibs_check_method=pass_all
5028 netbsd*)
5029 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5030 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5031 else
5032 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5036 newos6*)
5037 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5038 lt_cv_file_magic_cmd=/usr/bin/file
5039 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5042 *nto* | *qnx*)
5043 lt_cv_deplibs_check_method=pass_all
5046 openbsd*)
5047 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5048 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5049 else
5050 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5054 osf3* | osf4* | osf5*)
5055 lt_cv_deplibs_check_method=pass_all
5058 rdos*)
5059 lt_cv_deplibs_check_method=pass_all
5062 solaris*)
5063 lt_cv_deplibs_check_method=pass_all
5066 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5067 lt_cv_deplibs_check_method=pass_all
5070 sysv4 | sysv4.3*)
5071 case $host_vendor in
5072 motorola)
5073 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]'
5074 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5076 ncr)
5077 lt_cv_deplibs_check_method=pass_all
5079 sequent)
5080 lt_cv_file_magic_cmd='/bin/file'
5081 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5083 sni)
5084 lt_cv_file_magic_cmd='/bin/file'
5085 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5086 lt_cv_file_magic_test_file=/lib/libc.so
5088 siemens)
5089 lt_cv_deplibs_check_method=pass_all
5092 lt_cv_deplibs_check_method=pass_all
5094 esac
5097 tpf*)
5098 lt_cv_deplibs_check_method=pass_all
5100 esac
5103 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5104 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5105 file_magic_cmd=$lt_cv_file_magic_cmd
5106 deplibs_check_method=$lt_cv_deplibs_check_method
5107 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5120 if test -n "$ac_tool_prefix"; then
5121 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5122 set dummy ${ac_tool_prefix}ar; ac_word=$2
5123 echo "$as_me:$LINENO: checking for $ac_word" >&5
5124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5125 if test "${ac_cv_prog_AR+set}" = set; then
5126 echo $ECHO_N "(cached) $ECHO_C" >&6
5127 else
5128 if test -n "$AR"; then
5129 ac_cv_prog_AR="$AR" # Let the user override the test.
5130 else
5131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5132 for as_dir in $PATH
5134 IFS=$as_save_IFS
5135 test -z "$as_dir" && as_dir=.
5136 for ac_exec_ext in '' $ac_executable_extensions; do
5137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5138 ac_cv_prog_AR="${ac_tool_prefix}ar"
5139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5140 break 2
5142 done
5143 done
5147 AR=$ac_cv_prog_AR
5148 if test -n "$AR"; then
5149 echo "$as_me:$LINENO: result: $AR" >&5
5150 echo "${ECHO_T}$AR" >&6
5151 else
5152 echo "$as_me:$LINENO: result: no" >&5
5153 echo "${ECHO_T}no" >&6
5157 if test -z "$ac_cv_prog_AR"; then
5158 ac_ct_AR=$AR
5159 # Extract the first word of "ar", so it can be a program name with args.
5160 set dummy ar; ac_word=$2
5161 echo "$as_me:$LINENO: checking for $ac_word" >&5
5162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5163 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5164 echo $ECHO_N "(cached) $ECHO_C" >&6
5165 else
5166 if test -n "$ac_ct_AR"; then
5167 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5168 else
5169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5170 for as_dir in $PATH
5172 IFS=$as_save_IFS
5173 test -z "$as_dir" && as_dir=.
5174 for ac_exec_ext in '' $ac_executable_extensions; do
5175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5176 ac_cv_prog_ac_ct_AR="ar"
5177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5178 break 2
5180 done
5181 done
5183 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5186 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5187 if test -n "$ac_ct_AR"; then
5188 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5189 echo "${ECHO_T}$ac_ct_AR" >&6
5190 else
5191 echo "$as_me:$LINENO: result: no" >&5
5192 echo "${ECHO_T}no" >&6
5195 AR=$ac_ct_AR
5196 else
5197 AR="$ac_cv_prog_AR"
5200 test -z "$AR" && AR=ar
5201 test -z "$AR_FLAGS" && AR_FLAGS=cru
5213 if test -n "$ac_tool_prefix"; then
5214 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5215 set dummy ${ac_tool_prefix}strip; ac_word=$2
5216 echo "$as_me:$LINENO: checking for $ac_word" >&5
5217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5218 if test "${ac_cv_prog_STRIP+set}" = set; then
5219 echo $ECHO_N "(cached) $ECHO_C" >&6
5220 else
5221 if test -n "$STRIP"; then
5222 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5223 else
5224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5225 for as_dir in $PATH
5227 IFS=$as_save_IFS
5228 test -z "$as_dir" && as_dir=.
5229 for ac_exec_ext in '' $ac_executable_extensions; do
5230 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5231 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5233 break 2
5235 done
5236 done
5240 STRIP=$ac_cv_prog_STRIP
5241 if test -n "$STRIP"; then
5242 echo "$as_me:$LINENO: result: $STRIP" >&5
5243 echo "${ECHO_T}$STRIP" >&6
5244 else
5245 echo "$as_me:$LINENO: result: no" >&5
5246 echo "${ECHO_T}no" >&6
5250 if test -z "$ac_cv_prog_STRIP"; then
5251 ac_ct_STRIP=$STRIP
5252 # Extract the first word of "strip", so it can be a program name with args.
5253 set dummy strip; ac_word=$2
5254 echo "$as_me:$LINENO: checking for $ac_word" >&5
5255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5256 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5257 echo $ECHO_N "(cached) $ECHO_C" >&6
5258 else
5259 if test -n "$ac_ct_STRIP"; then
5260 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5261 else
5262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5263 for as_dir in $PATH
5265 IFS=$as_save_IFS
5266 test -z "$as_dir" && as_dir=.
5267 for ac_exec_ext in '' $ac_executable_extensions; do
5268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5269 ac_cv_prog_ac_ct_STRIP="strip"
5270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5271 break 2
5273 done
5274 done
5276 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5279 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5280 if test -n "$ac_ct_STRIP"; then
5281 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5282 echo "${ECHO_T}$ac_ct_STRIP" >&6
5283 else
5284 echo "$as_me:$LINENO: result: no" >&5
5285 echo "${ECHO_T}no" >&6
5288 STRIP=$ac_ct_STRIP
5289 else
5290 STRIP="$ac_cv_prog_STRIP"
5293 test -z "$STRIP" && STRIP=:
5300 if test -n "$ac_tool_prefix"; then
5301 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5302 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5303 echo "$as_me:$LINENO: checking for $ac_word" >&5
5304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5305 if test "${ac_cv_prog_RANLIB+set}" = set; then
5306 echo $ECHO_N "(cached) $ECHO_C" >&6
5307 else
5308 if test -n "$RANLIB"; then
5309 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5310 else
5311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5312 for as_dir in $PATH
5314 IFS=$as_save_IFS
5315 test -z "$as_dir" && as_dir=.
5316 for ac_exec_ext in '' $ac_executable_extensions; do
5317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5318 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5320 break 2
5322 done
5323 done
5327 RANLIB=$ac_cv_prog_RANLIB
5328 if test -n "$RANLIB"; then
5329 echo "$as_me:$LINENO: result: $RANLIB" >&5
5330 echo "${ECHO_T}$RANLIB" >&6
5331 else
5332 echo "$as_me:$LINENO: result: no" >&5
5333 echo "${ECHO_T}no" >&6
5337 if test -z "$ac_cv_prog_RANLIB"; then
5338 ac_ct_RANLIB=$RANLIB
5339 # Extract the first word of "ranlib", so it can be a program name with args.
5340 set dummy ranlib; ac_word=$2
5341 echo "$as_me:$LINENO: checking for $ac_word" >&5
5342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5343 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5344 echo $ECHO_N "(cached) $ECHO_C" >&6
5345 else
5346 if test -n "$ac_ct_RANLIB"; then
5347 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5348 else
5349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5350 for as_dir in $PATH
5352 IFS=$as_save_IFS
5353 test -z "$as_dir" && as_dir=.
5354 for ac_exec_ext in '' $ac_executable_extensions; do
5355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5356 ac_cv_prog_ac_ct_RANLIB="ranlib"
5357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5358 break 2
5360 done
5361 done
5363 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5366 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5367 if test -n "$ac_ct_RANLIB"; then
5368 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5369 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5370 else
5371 echo "$as_me:$LINENO: result: no" >&5
5372 echo "${ECHO_T}no" >&6
5375 RANLIB=$ac_ct_RANLIB
5376 else
5377 RANLIB="$ac_cv_prog_RANLIB"
5380 test -z "$RANLIB" && RANLIB=:
5387 # Determine commands to create old-style static archives.
5388 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5389 old_postinstall_cmds='chmod 644 $oldlib'
5390 old_postuninstall_cmds=
5392 if test -n "$RANLIB"; then
5393 case $host_os in
5394 openbsd*)
5395 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5398 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5400 esac
5401 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5437 # If no C compiler was specified, use CC.
5438 LTCC=${LTCC-"$CC"}
5440 # If no C compiler flags were specified, use CFLAGS.
5441 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5443 # Allow CC to be a program name with arguments.
5444 compiler=$CC
5447 # Check for command to grab the raw symbol name followed by C symbol from nm.
5448 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5449 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5450 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5451 echo $ECHO_N "(cached) $ECHO_C" >&6
5452 else
5454 # These are sane defaults that work on at least a few old systems.
5455 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5457 # Character class describing NM global symbol codes.
5458 symcode='[BCDEGRST]'
5460 # Regexp to match symbols that can be accessed directly from C.
5461 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5463 # Define system-specific variables.
5464 case $host_os in
5465 aix*)
5466 symcode='[BCDT]'
5468 cygwin* | mingw* | pw32*)
5469 symcode='[ABCDGISTW]'
5471 hpux*)
5472 if test "$host_cpu" = ia64; then
5473 symcode='[ABCDEGRST]'
5476 irix* | nonstopux*)
5477 symcode='[BCDEGRST]'
5479 osf*)
5480 symcode='[BCDEGQRST]'
5482 solaris*)
5483 symcode='[BDRT]'
5485 sco3.2v5*)
5486 symcode='[DT]'
5488 sysv4.2uw2*)
5489 symcode='[DT]'
5491 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5492 symcode='[ABDT]'
5494 sysv4)
5495 symcode='[DFNSTU]'
5497 esac
5499 # If we're using GNU nm, then use its standard symbol codes.
5500 case `$NM -V 2>&1` in
5501 *GNU* | *'with BFD'*)
5502 symcode='[ABCDGIRSTW]' ;;
5503 esac
5505 # Transform an extracted symbol line into a proper C declaration.
5506 # Some systems (esp. on ia64) link data and code symbols differently,
5507 # so use this general approach.
5508 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5510 # Transform an extracted symbol line into symbol name and symbol address
5511 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5513 # Handle CRLF in mingw tool chain
5514 opt_cr=
5515 case $build_os in
5516 mingw*)
5517 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5519 esac
5521 # Try without a prefix underscore, then with it.
5522 for ac_symprfx in "" "_"; do
5524 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5525 symxfrm="\\1 $ac_symprfx\\2 \\2"
5527 # Write the raw and C identifiers.
5528 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5529 # Fake it for dumpbin and say T for any non-static function
5530 # and D for any global variable.
5531 # Also find C++ and __fastcall symbols from MSVC++,
5532 # which start with @ or ?.
5533 lt_cv_sys_global_symbol_pipe="$AWK '"\
5534 " {last_section=section; section=\$ 3};"\
5535 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5536 " \$ 0!~/External *\|/{next};"\
5537 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5538 " {if(hide[section]) next};"\
5539 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5540 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5541 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5542 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5543 " ' prfx=^$ac_symprfx"
5544 else
5545 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5548 # Check to see that the pipe works correctly.
5549 pipe_works=no
5551 rm -f conftest*
5552 cat > conftest.$ac_ext <<_LT_EOF
5553 #ifdef __cplusplus
5554 extern "C" {
5555 #endif
5556 char nm_test_var;
5557 void nm_test_func(void);
5558 void nm_test_func(void){}
5559 #ifdef __cplusplus
5561 #endif
5562 int main(){nm_test_var='a';nm_test_func();return(0);}
5563 _LT_EOF
5565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5566 (eval $ac_compile) 2>&5
5567 ac_status=$?
5568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5569 (exit $ac_status); }; then
5570 # Now try to grab the symbols.
5571 nlist=conftest.nm
5572 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5573 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5574 ac_status=$?
5575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 (exit $ac_status); } && test -s "$nlist"; then
5577 # Try sorting and uniquifying the output.
5578 if sort "$nlist" | uniq > "$nlist"T; then
5579 mv -f "$nlist"T "$nlist"
5580 else
5581 rm -f "$nlist"T
5584 # Make sure that we snagged all the symbols we need.
5585 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5586 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5587 cat <<_LT_EOF > conftest.$ac_ext
5588 #ifdef __cplusplus
5589 extern "C" {
5590 #endif
5592 _LT_EOF
5593 # Now generate the symbol file.
5594 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5596 cat <<_LT_EOF >> conftest.$ac_ext
5598 /* The mapping between symbol names and symbols. */
5599 const struct {
5600 const char *name;
5601 void *address;
5603 lt__PROGRAM__LTX_preloaded_symbols[] =
5605 { "@PROGRAM@", (void *) 0 },
5606 _LT_EOF
5607 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5608 cat <<\_LT_EOF >> conftest.$ac_ext
5609 {0, (void *) 0}
5612 /* This works around a problem in FreeBSD linker */
5613 #ifdef FREEBSD_WORKAROUND
5614 static const void *lt_preloaded_setup() {
5615 return lt__PROGRAM__LTX_preloaded_symbols;
5617 #endif
5619 #ifdef __cplusplus
5621 #endif
5622 _LT_EOF
5623 # Now try linking the two files.
5624 mv conftest.$ac_objext conftstm.$ac_objext
5625 lt_save_LIBS="$LIBS"
5626 lt_save_CFLAGS="$CFLAGS"
5627 LIBS="conftstm.$ac_objext"
5628 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5630 (eval $ac_link) 2>&5
5631 ac_status=$?
5632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5634 pipe_works=yes
5636 LIBS="$lt_save_LIBS"
5637 CFLAGS="$lt_save_CFLAGS"
5638 else
5639 echo "cannot find nm_test_func in $nlist" >&5
5641 else
5642 echo "cannot find nm_test_var in $nlist" >&5
5644 else
5645 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5647 else
5648 echo "$progname: failed program was:" >&5
5649 cat conftest.$ac_ext >&5
5651 rm -f conftest* conftst*
5653 # Do not use the global_symbol_pipe unless it works.
5654 if test "$pipe_works" = yes; then
5655 break
5656 else
5657 lt_cv_sys_global_symbol_pipe=
5659 done
5663 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5664 lt_cv_sys_global_symbol_to_cdecl=
5666 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5667 echo "$as_me:$LINENO: result: failed" >&5
5668 echo "${ECHO_T}failed" >&6
5669 else
5670 echo "$as_me:$LINENO: result: ok" >&5
5671 echo "${ECHO_T}ok" >&6
5690 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5691 if test "${enable_libtool_lock+set}" = set; then
5692 enableval="$enable_libtool_lock"
5695 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5697 # Some flags need to be propagated to the compiler or linker for good
5698 # libtool support.
5699 case $host in
5700 ia64-*-hpux*)
5701 # Find out which ABI we are using.
5702 echo 'int i;' > conftest.$ac_ext
5703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5704 (eval $ac_compile) 2>&5
5705 ac_status=$?
5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707 (exit $ac_status); }; then
5708 case `/usr/bin/file conftest.$ac_objext` in
5709 *ELF-32*)
5710 HPUX_IA64_MODE="32"
5712 *ELF-64*)
5713 HPUX_IA64_MODE="64"
5715 esac
5717 rm -rf conftest*
5719 *-*-irix6*)
5720 # Find out which ABI we are using.
5721 echo '#line 5721 "configure"' > conftest.$ac_ext
5722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5723 (eval $ac_compile) 2>&5
5724 ac_status=$?
5725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5726 (exit $ac_status); }; then
5727 if test "$lt_cv_prog_gnu_ld" = yes; then
5728 case `/usr/bin/file conftest.$ac_objext` in
5729 *32-bit*)
5730 LD="${LD-ld} -melf32bsmip"
5732 *N32*)
5733 LD="${LD-ld} -melf32bmipn32"
5735 *64-bit*)
5736 LD="${LD-ld} -melf64bmip"
5738 esac
5739 else
5740 case `/usr/bin/file conftest.$ac_objext` in
5741 *32-bit*)
5742 LD="${LD-ld} -32"
5744 *N32*)
5745 LD="${LD-ld} -n32"
5747 *64-bit*)
5748 LD="${LD-ld} -64"
5750 esac
5753 rm -rf conftest*
5756 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5757 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5758 # Find out which ABI we are using.
5759 echo 'int i;' > conftest.$ac_ext
5760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5761 (eval $ac_compile) 2>&5
5762 ac_status=$?
5763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764 (exit $ac_status); }; then
5765 case `/usr/bin/file conftest.o` in
5766 *32-bit*)
5767 case $host in
5768 x86_64-*kfreebsd*-gnu)
5769 LD="${LD-ld} -m elf_i386_fbsd"
5771 x86_64-*linux*)
5772 LD="${LD-ld} -m elf_i386"
5774 ppc64-*linux*|powerpc64-*linux*)
5775 LD="${LD-ld} -m elf32ppclinux"
5777 s390x-*linux*)
5778 LD="${LD-ld} -m elf_s390"
5780 sparc64-*linux*)
5781 LD="${LD-ld} -m elf32_sparc"
5783 esac
5785 *64-bit*)
5786 case $host in
5787 x86_64-*kfreebsd*-gnu)
5788 LD="${LD-ld} -m elf_x86_64_fbsd"
5790 x86_64-*linux*)
5791 LD="${LD-ld} -m elf_x86_64"
5793 ppc*-*linux*|powerpc*-*linux*)
5794 LD="${LD-ld} -m elf64ppc"
5796 s390*-*linux*|s390*-*tpf*)
5797 LD="${LD-ld} -m elf64_s390"
5799 sparc*-*linux*)
5800 LD="${LD-ld} -m elf64_sparc"
5802 esac
5804 esac
5806 rm -rf conftest*
5809 *-*-sco3.2v5*)
5810 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5811 SAVE_CFLAGS="$CFLAGS"
5812 CFLAGS="$CFLAGS -belf"
5813 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5814 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5815 if test "${lt_cv_cc_needs_belf+set}" = set; then
5816 echo $ECHO_N "(cached) $ECHO_C" >&6
5817 else
5818 ac_ext=c
5819 ac_cpp='$CPP $CPPFLAGS'
5820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5824 if test x$gcc_no_link = xyes; then
5825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5827 { (exit 1); exit 1; }; }
5829 cat >conftest.$ac_ext <<_ACEOF
5830 /* confdefs.h. */
5831 _ACEOF
5832 cat confdefs.h >>conftest.$ac_ext
5833 cat >>conftest.$ac_ext <<_ACEOF
5834 /* end confdefs.h. */
5837 main ()
5841 return 0;
5843 _ACEOF
5844 rm -f conftest.$ac_objext conftest$ac_exeext
5845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5846 (eval $ac_link) 2>conftest.er1
5847 ac_status=$?
5848 grep -v '^ *+' conftest.er1 >conftest.err
5849 rm -f conftest.er1
5850 cat conftest.err >&5
5851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852 (exit $ac_status); } &&
5853 { ac_try='test -z "$ac_c_werror_flag"
5854 || test ! -s conftest.err'
5855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5856 (eval $ac_try) 2>&5
5857 ac_status=$?
5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859 (exit $ac_status); }; } &&
5860 { ac_try='test -s conftest$ac_exeext'
5861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5862 (eval $ac_try) 2>&5
5863 ac_status=$?
5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865 (exit $ac_status); }; }; then
5866 lt_cv_cc_needs_belf=yes
5867 else
5868 echo "$as_me: failed program was:" >&5
5869 sed 's/^/| /' conftest.$ac_ext >&5
5871 lt_cv_cc_needs_belf=no
5873 rm -f conftest.err conftest.$ac_objext \
5874 conftest$ac_exeext conftest.$ac_ext
5875 ac_ext=c
5876 ac_cpp='$CPP $CPPFLAGS'
5877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5882 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5883 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5884 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5885 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5886 CFLAGS="$SAVE_CFLAGS"
5889 sparc*-*solaris*)
5890 # Find out which ABI we are using.
5891 echo 'int i;' > conftest.$ac_ext
5892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5893 (eval $ac_compile) 2>&5
5894 ac_status=$?
5895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5896 (exit $ac_status); }; then
5897 case `/usr/bin/file conftest.o` in
5898 *64-bit*)
5899 case $lt_cv_prog_gnu_ld in
5900 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5901 *) LD="${LD-ld} -64" ;;
5902 esac
5904 esac
5906 rm -rf conftest*
5908 esac
5910 need_locks="$enable_libtool_lock"
5912 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5913 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5914 if test "${ac_cv_header_stdc+set}" = set; then
5915 echo $ECHO_N "(cached) $ECHO_C" >&6
5916 else
5917 cat >conftest.$ac_ext <<_ACEOF
5918 /* confdefs.h. */
5919 _ACEOF
5920 cat confdefs.h >>conftest.$ac_ext
5921 cat >>conftest.$ac_ext <<_ACEOF
5922 /* end confdefs.h. */
5923 #include <stdlib.h>
5924 #include <stdarg.h>
5925 #include <string.h>
5926 #include <float.h>
5929 main ()
5933 return 0;
5935 _ACEOF
5936 rm -f conftest.$ac_objext
5937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5938 (eval $ac_compile) 2>conftest.er1
5939 ac_status=$?
5940 grep -v '^ *+' conftest.er1 >conftest.err
5941 rm -f conftest.er1
5942 cat conftest.err >&5
5943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944 (exit $ac_status); } &&
5945 { ac_try='test -z "$ac_c_werror_flag"
5946 || test ! -s conftest.err'
5947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5948 (eval $ac_try) 2>&5
5949 ac_status=$?
5950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5951 (exit $ac_status); }; } &&
5952 { ac_try='test -s conftest.$ac_objext'
5953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5954 (eval $ac_try) 2>&5
5955 ac_status=$?
5956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957 (exit $ac_status); }; }; then
5958 ac_cv_header_stdc=yes
5959 else
5960 echo "$as_me: failed program was:" >&5
5961 sed 's/^/| /' conftest.$ac_ext >&5
5963 ac_cv_header_stdc=no
5965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5967 if test $ac_cv_header_stdc = yes; then
5968 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5969 cat >conftest.$ac_ext <<_ACEOF
5970 /* confdefs.h. */
5971 _ACEOF
5972 cat confdefs.h >>conftest.$ac_ext
5973 cat >>conftest.$ac_ext <<_ACEOF
5974 /* end confdefs.h. */
5975 #include <string.h>
5977 _ACEOF
5978 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5979 $EGREP "memchr" >/dev/null 2>&1; then
5981 else
5982 ac_cv_header_stdc=no
5984 rm -f conftest*
5988 if test $ac_cv_header_stdc = yes; then
5989 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5990 cat >conftest.$ac_ext <<_ACEOF
5991 /* confdefs.h. */
5992 _ACEOF
5993 cat confdefs.h >>conftest.$ac_ext
5994 cat >>conftest.$ac_ext <<_ACEOF
5995 /* end confdefs.h. */
5996 #include <stdlib.h>
5998 _ACEOF
5999 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6000 $EGREP "free" >/dev/null 2>&1; then
6002 else
6003 ac_cv_header_stdc=no
6005 rm -f conftest*
6009 if test $ac_cv_header_stdc = yes; then
6010 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6011 if test "$cross_compiling" = yes; then
6013 else
6014 cat >conftest.$ac_ext <<_ACEOF
6015 /* confdefs.h. */
6016 _ACEOF
6017 cat confdefs.h >>conftest.$ac_ext
6018 cat >>conftest.$ac_ext <<_ACEOF
6019 /* end confdefs.h. */
6020 #include <ctype.h>
6021 #if ((' ' & 0x0FF) == 0x020)
6022 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6023 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6024 #else
6025 # define ISLOWER(c) \
6026 (('a' <= (c) && (c) <= 'i') \
6027 || ('j' <= (c) && (c) <= 'r') \
6028 || ('s' <= (c) && (c) <= 'z'))
6029 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6030 #endif
6032 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6034 main ()
6036 int i;
6037 for (i = 0; i < 256; i++)
6038 if (XOR (islower (i), ISLOWER (i))
6039 || toupper (i) != TOUPPER (i))
6040 exit(2);
6041 exit (0);
6043 _ACEOF
6044 rm -f conftest$ac_exeext
6045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6046 (eval $ac_link) 2>&5
6047 ac_status=$?
6048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6049 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6051 (eval $ac_try) 2>&5
6052 ac_status=$?
6053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6054 (exit $ac_status); }; }; then
6056 else
6057 echo "$as_me: program exited with status $ac_status" >&5
6058 echo "$as_me: failed program was:" >&5
6059 sed 's/^/| /' conftest.$ac_ext >&5
6061 ( exit $ac_status )
6062 ac_cv_header_stdc=no
6064 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6068 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6069 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6070 if test $ac_cv_header_stdc = yes; then
6072 cat >>confdefs.h <<\_ACEOF
6073 #define STDC_HEADERS 1
6074 _ACEOF
6078 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6088 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6089 inttypes.h stdint.h unistd.h
6091 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6092 echo "$as_me:$LINENO: checking for $ac_header" >&5
6093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6095 echo $ECHO_N "(cached) $ECHO_C" >&6
6096 else
6097 cat >conftest.$ac_ext <<_ACEOF
6098 /* confdefs.h. */
6099 _ACEOF
6100 cat confdefs.h >>conftest.$ac_ext
6101 cat >>conftest.$ac_ext <<_ACEOF
6102 /* end confdefs.h. */
6103 $ac_includes_default
6105 #include <$ac_header>
6106 _ACEOF
6107 rm -f conftest.$ac_objext
6108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6109 (eval $ac_compile) 2>conftest.er1
6110 ac_status=$?
6111 grep -v '^ *+' conftest.er1 >conftest.err
6112 rm -f conftest.er1
6113 cat conftest.err >&5
6114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115 (exit $ac_status); } &&
6116 { ac_try='test -z "$ac_c_werror_flag"
6117 || test ! -s conftest.err'
6118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6119 (eval $ac_try) 2>&5
6120 ac_status=$?
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); }; } &&
6123 { ac_try='test -s conftest.$ac_objext'
6124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6125 (eval $ac_try) 2>&5
6126 ac_status=$?
6127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6128 (exit $ac_status); }; }; then
6129 eval "$as_ac_Header=yes"
6130 else
6131 echo "$as_me: failed program was:" >&5
6132 sed 's/^/| /' conftest.$ac_ext >&5
6134 eval "$as_ac_Header=no"
6136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6139 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6140 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6141 cat >>confdefs.h <<_ACEOF
6142 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6143 _ACEOF
6147 done
6151 for ac_header in dlfcn.h
6153 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6154 echo "$as_me:$LINENO: checking for $ac_header" >&5
6155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6157 echo $ECHO_N "(cached) $ECHO_C" >&6
6158 else
6159 cat >conftest.$ac_ext <<_ACEOF
6160 /* confdefs.h. */
6161 _ACEOF
6162 cat confdefs.h >>conftest.$ac_ext
6163 cat >>conftest.$ac_ext <<_ACEOF
6164 /* end confdefs.h. */
6165 $ac_includes_default
6167 #include <$ac_header>
6168 _ACEOF
6169 rm -f conftest.$ac_objext
6170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6171 (eval $ac_compile) 2>conftest.er1
6172 ac_status=$?
6173 grep -v '^ *+' conftest.er1 >conftest.err
6174 rm -f conftest.er1
6175 cat conftest.err >&5
6176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177 (exit $ac_status); } &&
6178 { ac_try='test -z "$ac_c_werror_flag"
6179 || test ! -s conftest.err'
6180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6181 (eval $ac_try) 2>&5
6182 ac_status=$?
6183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184 (exit $ac_status); }; } &&
6185 { ac_try='test -s conftest.$ac_objext'
6186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6187 (eval $ac_try) 2>&5
6188 ac_status=$?
6189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6190 (exit $ac_status); }; }; then
6191 eval "$as_ac_Header=yes"
6192 else
6193 echo "$as_me: failed program was:" >&5
6194 sed 's/^/| /' conftest.$ac_ext >&5
6196 eval "$as_ac_Header=no"
6198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6201 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6202 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6203 cat >>confdefs.h <<_ACEOF
6204 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6205 _ACEOF
6209 done
6213 ac_ext=cc
6214 ac_cpp='$CXXCPP $CPPFLAGS'
6215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6218 if test -n "$ac_tool_prefix"; then
6219 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6221 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6222 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6223 echo "$as_me:$LINENO: checking for $ac_word" >&5
6224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6225 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6226 echo $ECHO_N "(cached) $ECHO_C" >&6
6227 else
6228 if test -n "$CXX"; then
6229 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6230 else
6231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6232 for as_dir in $PATH
6234 IFS=$as_save_IFS
6235 test -z "$as_dir" && as_dir=.
6236 for ac_exec_ext in '' $ac_executable_extensions; do
6237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6238 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6240 break 2
6242 done
6243 done
6247 CXX=$glibcxx_cv_prog_CXX
6248 if test -n "$CXX"; then
6249 echo "$as_me:$LINENO: result: $CXX" >&5
6250 echo "${ECHO_T}$CXX" >&6
6251 else
6252 echo "$as_me:$LINENO: result: no" >&5
6253 echo "${ECHO_T}no" >&6
6256 test -n "$CXX" && break
6257 done
6259 if test -z "$CXX"; then
6260 ac_ct_CXX=$CXX
6261 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6263 # Extract the first word of "$ac_prog", so it can be a program name with args.
6264 set dummy $ac_prog; ac_word=$2
6265 echo "$as_me:$LINENO: checking for $ac_word" >&5
6266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6267 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6268 echo $ECHO_N "(cached) $ECHO_C" >&6
6269 else
6270 if test -n "$ac_ct_CXX"; then
6271 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6272 else
6273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6274 for as_dir in $PATH
6276 IFS=$as_save_IFS
6277 test -z "$as_dir" && as_dir=.
6278 for ac_exec_ext in '' $ac_executable_extensions; do
6279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6280 ac_cv_prog_ac_ct_CXX="$ac_prog"
6281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6282 break 2
6284 done
6285 done
6289 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6290 if test -n "$ac_ct_CXX"; then
6291 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6292 echo "${ECHO_T}$ac_ct_CXX" >&6
6293 else
6294 echo "$as_me:$LINENO: result: no" >&5
6295 echo "${ECHO_T}no" >&6
6298 test -n "$ac_ct_CXX" && break
6299 done
6300 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6302 CXX=$ac_ct_CXX
6306 # Provide some information about the compiler.
6307 echo "$as_me:$LINENO:" \
6308 "checking for C++ compiler version" >&5
6309 ac_compiler=`set X $ac_compile; echo $2`
6310 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6311 (eval $ac_compiler --version </dev/null >&5) 2>&5
6312 ac_status=$?
6313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6314 (exit $ac_status); }
6315 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6316 (eval $ac_compiler -v </dev/null >&5) 2>&5
6317 ac_status=$?
6318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6319 (exit $ac_status); }
6320 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6321 (eval $ac_compiler -V </dev/null >&5) 2>&5
6322 ac_status=$?
6323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6324 (exit $ac_status); }
6326 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6327 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6328 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6329 echo $ECHO_N "(cached) $ECHO_C" >&6
6330 else
6331 cat >conftest.$ac_ext <<_ACEOF
6332 /* confdefs.h. */
6333 _ACEOF
6334 cat confdefs.h >>conftest.$ac_ext
6335 cat >>conftest.$ac_ext <<_ACEOF
6336 /* end confdefs.h. */
6339 main ()
6341 #ifndef __GNUC__
6342 choke me
6343 #endif
6346 return 0;
6348 _ACEOF
6349 rm -f conftest.$ac_objext
6350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6351 (eval $ac_compile) 2>conftest.er1
6352 ac_status=$?
6353 grep -v '^ *+' conftest.er1 >conftest.err
6354 rm -f conftest.er1
6355 cat conftest.err >&5
6356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6357 (exit $ac_status); } &&
6358 { ac_try='test -z "$ac_cxx_werror_flag"
6359 || test ! -s conftest.err'
6360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6361 (eval $ac_try) 2>&5
6362 ac_status=$?
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); }; } &&
6365 { ac_try='test -s conftest.$ac_objext'
6366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6367 (eval $ac_try) 2>&5
6368 ac_status=$?
6369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370 (exit $ac_status); }; }; then
6371 ac_compiler_gnu=yes
6372 else
6373 echo "$as_me: failed program was:" >&5
6374 sed 's/^/| /' conftest.$ac_ext >&5
6376 ac_compiler_gnu=no
6378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6379 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6382 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6383 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6384 GXX=`test $ac_compiler_gnu = yes && echo yes`
6385 ac_test_CXXFLAGS=${CXXFLAGS+set}
6386 ac_save_CXXFLAGS=$CXXFLAGS
6387 CXXFLAGS="-g"
6388 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6389 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6390 if test "${ac_cv_prog_cxx_g+set}" = set; then
6391 echo $ECHO_N "(cached) $ECHO_C" >&6
6392 else
6393 cat >conftest.$ac_ext <<_ACEOF
6394 /* confdefs.h. */
6395 _ACEOF
6396 cat confdefs.h >>conftest.$ac_ext
6397 cat >>conftest.$ac_ext <<_ACEOF
6398 /* end confdefs.h. */
6401 main ()
6405 return 0;
6407 _ACEOF
6408 rm -f conftest.$ac_objext
6409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6410 (eval $ac_compile) 2>conftest.er1
6411 ac_status=$?
6412 grep -v '^ *+' conftest.er1 >conftest.err
6413 rm -f conftest.er1
6414 cat conftest.err >&5
6415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6416 (exit $ac_status); } &&
6417 { ac_try='test -z "$ac_cxx_werror_flag"
6418 || test ! -s conftest.err'
6419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6420 (eval $ac_try) 2>&5
6421 ac_status=$?
6422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423 (exit $ac_status); }; } &&
6424 { ac_try='test -s conftest.$ac_objext'
6425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6426 (eval $ac_try) 2>&5
6427 ac_status=$?
6428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429 (exit $ac_status); }; }; then
6430 ac_cv_prog_cxx_g=yes
6431 else
6432 echo "$as_me: failed program was:" >&5
6433 sed 's/^/| /' conftest.$ac_ext >&5
6435 ac_cv_prog_cxx_g=no
6437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6439 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6440 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6441 if test "$ac_test_CXXFLAGS" = set; then
6442 CXXFLAGS=$ac_save_CXXFLAGS
6443 elif test $ac_cv_prog_cxx_g = yes; then
6444 if test "$GXX" = yes; then
6445 CXXFLAGS="-g -O2"
6446 else
6447 CXXFLAGS="-g"
6449 else
6450 if test "$GXX" = yes; then
6451 CXXFLAGS="-O2"
6452 else
6453 CXXFLAGS=
6456 for ac_declaration in \
6457 '' \
6458 'extern "C" void std::exit (int) throw (); using std::exit;' \
6459 'extern "C" void std::exit (int); using std::exit;' \
6460 'extern "C" void exit (int) throw ();' \
6461 'extern "C" void exit (int);' \
6462 'void exit (int);'
6464 cat >conftest.$ac_ext <<_ACEOF
6465 /* confdefs.h. */
6466 _ACEOF
6467 cat confdefs.h >>conftest.$ac_ext
6468 cat >>conftest.$ac_ext <<_ACEOF
6469 /* end confdefs.h. */
6470 $ac_declaration
6471 #include <stdlib.h>
6473 main ()
6475 exit (42);
6477 return 0;
6479 _ACEOF
6480 rm -f conftest.$ac_objext
6481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6482 (eval $ac_compile) 2>conftest.er1
6483 ac_status=$?
6484 grep -v '^ *+' conftest.er1 >conftest.err
6485 rm -f conftest.er1
6486 cat conftest.err >&5
6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488 (exit $ac_status); } &&
6489 { ac_try='test -z "$ac_cxx_werror_flag"
6490 || test ! -s conftest.err'
6491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6492 (eval $ac_try) 2>&5
6493 ac_status=$?
6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 (exit $ac_status); }; } &&
6496 { ac_try='test -s conftest.$ac_objext'
6497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6498 (eval $ac_try) 2>&5
6499 ac_status=$?
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); }; }; then
6503 else
6504 echo "$as_me: failed program was:" >&5
6505 sed 's/^/| /' conftest.$ac_ext >&5
6507 continue
6509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6510 cat >conftest.$ac_ext <<_ACEOF
6511 /* confdefs.h. */
6512 _ACEOF
6513 cat confdefs.h >>conftest.$ac_ext
6514 cat >>conftest.$ac_ext <<_ACEOF
6515 /* end confdefs.h. */
6516 $ac_declaration
6518 main ()
6520 exit (42);
6522 return 0;
6524 _ACEOF
6525 rm -f conftest.$ac_objext
6526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6527 (eval $ac_compile) 2>conftest.er1
6528 ac_status=$?
6529 grep -v '^ *+' conftest.er1 >conftest.err
6530 rm -f conftest.er1
6531 cat conftest.err >&5
6532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6533 (exit $ac_status); } &&
6534 { ac_try='test -z "$ac_cxx_werror_flag"
6535 || test ! -s conftest.err'
6536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6537 (eval $ac_try) 2>&5
6538 ac_status=$?
6539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540 (exit $ac_status); }; } &&
6541 { ac_try='test -s conftest.$ac_objext'
6542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6543 (eval $ac_try) 2>&5
6544 ac_status=$?
6545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546 (exit $ac_status); }; }; then
6547 break
6548 else
6549 echo "$as_me: failed program was:" >&5
6550 sed 's/^/| /' conftest.$ac_ext >&5
6553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6554 done
6555 rm -f conftest*
6556 if test -n "$ac_declaration"; then
6557 echo '#ifdef __cplusplus' >>confdefs.h
6558 echo $ac_declaration >>confdefs.h
6559 echo '#endif' >>confdefs.h
6562 ac_ext=c
6563 ac_cpp='$CPP $CPPFLAGS'
6564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6568 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6569 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6570 (test "X$CXX" != "Xg++"))) ; then
6571 ac_ext=cc
6572 ac_cpp='$CXXCPP $CPPFLAGS'
6573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6576 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6577 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6578 if test -z "$CXXCPP"; then
6579 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6580 echo $ECHO_N "(cached) $ECHO_C" >&6
6581 else
6582 # Double quotes because CXXCPP needs to be expanded
6583 for CXXCPP in "$CXX -E" "/lib/cpp"
6585 ac_preproc_ok=false
6586 for ac_cxx_preproc_warn_flag in '' yes
6588 # Use a header file that comes with gcc, so configuring glibc
6589 # with a fresh cross-compiler works.
6590 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6591 # <limits.h> exists even on freestanding compilers.
6592 # On the NeXT, cc -E runs the code through the compiler's parser,
6593 # not just through cpp. "Syntax error" is here to catch this case.
6594 cat >conftest.$ac_ext <<_ACEOF
6595 /* confdefs.h. */
6596 _ACEOF
6597 cat confdefs.h >>conftest.$ac_ext
6598 cat >>conftest.$ac_ext <<_ACEOF
6599 /* end confdefs.h. */
6600 #ifdef __STDC__
6601 # include <limits.h>
6602 #else
6603 # include <assert.h>
6604 #endif
6605 Syntax error
6606 _ACEOF
6607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6608 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6609 ac_status=$?
6610 grep -v '^ *+' conftest.er1 >conftest.err
6611 rm -f conftest.er1
6612 cat conftest.err >&5
6613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6614 (exit $ac_status); } >/dev/null; then
6615 if test -s conftest.err; then
6616 ac_cpp_err=$ac_cxx_preproc_warn_flag
6617 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6618 else
6619 ac_cpp_err=
6621 else
6622 ac_cpp_err=yes
6624 if test -z "$ac_cpp_err"; then
6626 else
6627 echo "$as_me: failed program was:" >&5
6628 sed 's/^/| /' conftest.$ac_ext >&5
6630 # Broken: fails on valid input.
6631 continue
6633 rm -f conftest.err conftest.$ac_ext
6635 # OK, works on sane cases. Now check whether non-existent headers
6636 # can be detected and how.
6637 cat >conftest.$ac_ext <<_ACEOF
6638 /* confdefs.h. */
6639 _ACEOF
6640 cat confdefs.h >>conftest.$ac_ext
6641 cat >>conftest.$ac_ext <<_ACEOF
6642 /* end confdefs.h. */
6643 #include <ac_nonexistent.h>
6644 _ACEOF
6645 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6646 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6647 ac_status=$?
6648 grep -v '^ *+' conftest.er1 >conftest.err
6649 rm -f conftest.er1
6650 cat conftest.err >&5
6651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6652 (exit $ac_status); } >/dev/null; then
6653 if test -s conftest.err; then
6654 ac_cpp_err=$ac_cxx_preproc_warn_flag
6655 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6656 else
6657 ac_cpp_err=
6659 else
6660 ac_cpp_err=yes
6662 if test -z "$ac_cpp_err"; then
6663 # Broken: success on invalid input.
6664 continue
6665 else
6666 echo "$as_me: failed program was:" >&5
6667 sed 's/^/| /' conftest.$ac_ext >&5
6669 # Passes both tests.
6670 ac_preproc_ok=:
6671 break
6673 rm -f conftest.err conftest.$ac_ext
6675 done
6676 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6677 rm -f conftest.err conftest.$ac_ext
6678 if $ac_preproc_ok; then
6679 break
6682 done
6683 ac_cv_prog_CXXCPP=$CXXCPP
6686 CXXCPP=$ac_cv_prog_CXXCPP
6687 else
6688 ac_cv_prog_CXXCPP=$CXXCPP
6690 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6691 echo "${ECHO_T}$CXXCPP" >&6
6692 ac_preproc_ok=false
6693 for ac_cxx_preproc_warn_flag in '' yes
6695 # Use a header file that comes with gcc, so configuring glibc
6696 # with a fresh cross-compiler works.
6697 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6698 # <limits.h> exists even on freestanding compilers.
6699 # On the NeXT, cc -E runs the code through the compiler's parser,
6700 # not just through cpp. "Syntax error" is here to catch this case.
6701 cat >conftest.$ac_ext <<_ACEOF
6702 /* confdefs.h. */
6703 _ACEOF
6704 cat confdefs.h >>conftest.$ac_ext
6705 cat >>conftest.$ac_ext <<_ACEOF
6706 /* end confdefs.h. */
6707 #ifdef __STDC__
6708 # include <limits.h>
6709 #else
6710 # include <assert.h>
6711 #endif
6712 Syntax error
6713 _ACEOF
6714 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6715 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6716 ac_status=$?
6717 grep -v '^ *+' conftest.er1 >conftest.err
6718 rm -f conftest.er1
6719 cat conftest.err >&5
6720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6721 (exit $ac_status); } >/dev/null; then
6722 if test -s conftest.err; then
6723 ac_cpp_err=$ac_cxx_preproc_warn_flag
6724 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6725 else
6726 ac_cpp_err=
6728 else
6729 ac_cpp_err=yes
6731 if test -z "$ac_cpp_err"; then
6733 else
6734 echo "$as_me: failed program was:" >&5
6735 sed 's/^/| /' conftest.$ac_ext >&5
6737 # Broken: fails on valid input.
6738 continue
6740 rm -f conftest.err conftest.$ac_ext
6742 # OK, works on sane cases. Now check whether non-existent headers
6743 # can be detected and how.
6744 cat >conftest.$ac_ext <<_ACEOF
6745 /* confdefs.h. */
6746 _ACEOF
6747 cat confdefs.h >>conftest.$ac_ext
6748 cat >>conftest.$ac_ext <<_ACEOF
6749 /* end confdefs.h. */
6750 #include <ac_nonexistent.h>
6751 _ACEOF
6752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6753 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6754 ac_status=$?
6755 grep -v '^ *+' conftest.er1 >conftest.err
6756 rm -f conftest.er1
6757 cat conftest.err >&5
6758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6759 (exit $ac_status); } >/dev/null; then
6760 if test -s conftest.err; then
6761 ac_cpp_err=$ac_cxx_preproc_warn_flag
6762 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6763 else
6764 ac_cpp_err=
6766 else
6767 ac_cpp_err=yes
6769 if test -z "$ac_cpp_err"; then
6770 # Broken: success on invalid input.
6771 continue
6772 else
6773 echo "$as_me: failed program was:" >&5
6774 sed 's/^/| /' conftest.$ac_ext >&5
6776 # Passes both tests.
6777 ac_preproc_ok=:
6778 break
6780 rm -f conftest.err conftest.$ac_ext
6782 done
6783 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6784 rm -f conftest.err conftest.$ac_ext
6785 if $ac_preproc_ok; then
6787 else
6788 _lt_caught_CXX_error=yes
6791 ac_ext=c
6792 ac_cpp='$CPP $CPPFLAGS'
6793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6797 else
6798 _lt_caught_CXX_error=yes
6805 # This can be used to rebuild libtool when needed
6806 LIBTOOL_DEPS="$ltmain"
6808 # Always use our own libtool.
6809 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6835 test -z "$LN_S" && LN_S="ln -s"
6850 if test -n "${ZSH_VERSION+set}" ; then
6851 setopt NO_GLOB_SUBST
6854 echo "$as_me:$LINENO: checking for objdir" >&5
6855 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6856 if test "${lt_cv_objdir+set}" = set; then
6857 echo $ECHO_N "(cached) $ECHO_C" >&6
6858 else
6859 rm -f .libs 2>/dev/null
6860 mkdir .libs 2>/dev/null
6861 if test -d .libs; then
6862 lt_cv_objdir=.libs
6863 else
6864 # MS-DOS does not allow filenames that begin with a dot.
6865 lt_cv_objdir=_libs
6867 rmdir .libs 2>/dev/null
6869 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6870 echo "${ECHO_T}$lt_cv_objdir" >&6
6871 objdir=$lt_cv_objdir
6877 cat >>confdefs.h <<_ACEOF
6878 #define LT_OBJDIR "$lt_cv_objdir/"
6879 _ACEOF
6897 case $host_os in
6898 aix3*)
6899 # AIX sometimes has problems with the GCC collect2 program. For some
6900 # reason, if we set the COLLECT_NAMES environment variable, the problems
6901 # vanish in a puff of smoke.
6902 if test "X${COLLECT_NAMES+set}" != Xset; then
6903 COLLECT_NAMES=
6904 export COLLECT_NAMES
6907 esac
6909 # Sed substitution that helps us do robust quoting. It backslashifies
6910 # metacharacters that are still active within double-quoted strings.
6911 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6913 # Same as above, but do not quote variable references.
6914 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6916 # Sed substitution to delay expansion of an escaped shell variable in a
6917 # double_quote_subst'ed string.
6918 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6920 # Sed substitution to delay expansion of an escaped single quote.
6921 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6923 # Sed substitution to avoid accidental globbing in evaled expressions
6924 no_glob_subst='s/\*/\\\*/g'
6926 # Global variables:
6927 ofile=libtool
6928 can_build_shared=yes
6930 # All known linkers require a `.a' archive for static linking (except MSVC,
6931 # which needs '.lib').
6932 libext=a
6934 with_gnu_ld="$lt_cv_prog_gnu_ld"
6936 old_CC="$CC"
6937 old_CFLAGS="$CFLAGS"
6939 # Set sane defaults for various variables
6940 test -z "$CC" && CC=cc
6941 test -z "$LTCC" && LTCC=$CC
6942 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6943 test -z "$LD" && LD=ld
6944 test -z "$ac_objext" && ac_objext=o
6946 for cc_temp in $compiler""; do
6947 case $cc_temp in
6948 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6949 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6950 \-*) ;;
6951 *) break;;
6952 esac
6953 done
6954 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6957 # Only perform the check for file, if the check method requires it
6958 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6959 case $deplibs_check_method in
6960 file_magic*)
6961 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6962 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6963 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6964 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6965 echo $ECHO_N "(cached) $ECHO_C" >&6
6966 else
6967 case $MAGIC_CMD in
6968 [\\/*] | ?:[\\/]*)
6969 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6972 lt_save_MAGIC_CMD="$MAGIC_CMD"
6973 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6974 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6975 for ac_dir in $ac_dummy; do
6976 IFS="$lt_save_ifs"
6977 test -z "$ac_dir" && ac_dir=.
6978 if test -f $ac_dir/${ac_tool_prefix}file; then
6979 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6980 if test -n "$file_magic_test_file"; then
6981 case $deplibs_check_method in
6982 "file_magic "*)
6983 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6984 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6985 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6986 $EGREP "$file_magic_regex" > /dev/null; then
6988 else
6989 cat <<_LT_EOF 1>&2
6991 *** Warning: the command libtool uses to detect shared libraries,
6992 *** $file_magic_cmd, produces output that libtool cannot recognize.
6993 *** The result is that libtool may fail to recognize shared libraries
6994 *** as such. This will affect the creation of libtool libraries that
6995 *** depend on shared libraries, but programs linked with such libtool
6996 *** libraries will work regardless of this problem. Nevertheless, you
6997 *** may want to report the problem to your system manager and/or to
6998 *** bug-libtool@gnu.org
7000 _LT_EOF
7001 fi ;;
7002 esac
7004 break
7006 done
7007 IFS="$lt_save_ifs"
7008 MAGIC_CMD="$lt_save_MAGIC_CMD"
7010 esac
7013 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7014 if test -n "$MAGIC_CMD"; then
7015 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7016 echo "${ECHO_T}$MAGIC_CMD" >&6
7017 else
7018 echo "$as_me:$LINENO: result: no" >&5
7019 echo "${ECHO_T}no" >&6
7026 if test -z "$lt_cv_path_MAGIC_CMD"; then
7027 if test -n "$ac_tool_prefix"; then
7028 echo "$as_me:$LINENO: checking for file" >&5
7029 echo $ECHO_N "checking for file... $ECHO_C" >&6
7030 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7031 echo $ECHO_N "(cached) $ECHO_C" >&6
7032 else
7033 case $MAGIC_CMD in
7034 [\\/*] | ?:[\\/]*)
7035 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7038 lt_save_MAGIC_CMD="$MAGIC_CMD"
7039 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7040 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7041 for ac_dir in $ac_dummy; do
7042 IFS="$lt_save_ifs"
7043 test -z "$ac_dir" && ac_dir=.
7044 if test -f $ac_dir/file; then
7045 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7046 if test -n "$file_magic_test_file"; then
7047 case $deplibs_check_method in
7048 "file_magic "*)
7049 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7050 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7051 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7052 $EGREP "$file_magic_regex" > /dev/null; then
7054 else
7055 cat <<_LT_EOF 1>&2
7057 *** Warning: the command libtool uses to detect shared libraries,
7058 *** $file_magic_cmd, produces output that libtool cannot recognize.
7059 *** The result is that libtool may fail to recognize shared libraries
7060 *** as such. This will affect the creation of libtool libraries that
7061 *** depend on shared libraries, but programs linked with such libtool
7062 *** libraries will work regardless of this problem. Nevertheless, you
7063 *** may want to report the problem to your system manager and/or to
7064 *** bug-libtool@gnu.org
7066 _LT_EOF
7067 fi ;;
7068 esac
7070 break
7072 done
7073 IFS="$lt_save_ifs"
7074 MAGIC_CMD="$lt_save_MAGIC_CMD"
7076 esac
7079 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7080 if test -n "$MAGIC_CMD"; then
7081 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7082 echo "${ECHO_T}$MAGIC_CMD" >&6
7083 else
7084 echo "$as_me:$LINENO: result: no" >&5
7085 echo "${ECHO_T}no" >&6
7089 else
7090 MAGIC_CMD=:
7096 esac
7098 # Use C for the default configuration in the libtool script
7100 lt_save_CC="$CC"
7101 ac_ext=c
7102 ac_cpp='$CPP $CPPFLAGS'
7103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7108 # Source file extension for C test sources.
7109 ac_ext=c
7111 # Object file extension for compiled C test sources.
7112 objext=o
7113 objext=$objext
7115 # Code to be used in simple compile tests
7116 lt_simple_compile_test_code="int some_variable = 0;"
7118 # Code to be used in simple link tests
7119 lt_simple_link_test_code='int main(){return(0);}'
7127 # If no C compiler was specified, use CC.
7128 LTCC=${LTCC-"$CC"}
7130 # If no C compiler flags were specified, use CFLAGS.
7131 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7133 # Allow CC to be a program name with arguments.
7134 compiler=$CC
7136 # Save the default compiler, since it gets overwritten when the other
7137 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7138 compiler_DEFAULT=$CC
7140 # save warnings/boilerplate of simple test code
7141 ac_outfile=conftest.$ac_objext
7142 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7143 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7144 _lt_compiler_boilerplate=`cat conftest.err`
7145 $RM conftest*
7147 ac_outfile=conftest.$ac_objext
7148 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7149 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7150 _lt_linker_boilerplate=`cat conftest.err`
7151 $RM conftest*
7154 ## CAVEAT EMPTOR:
7155 ## There is no encapsulation within the following macros, do not change
7156 ## the running order or otherwise move them around unless you know exactly
7157 ## what you are doing...
7158 if test -n "$compiler"; then
7160 lt_prog_compiler_no_builtin_flag=
7162 if test "$GCC" = yes; then
7163 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7165 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7166 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7167 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7168 echo $ECHO_N "(cached) $ECHO_C" >&6
7169 else
7170 lt_cv_prog_compiler_rtti_exceptions=no
7171 ac_outfile=conftest.$ac_objext
7172 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7173 lt_compiler_flag="-fno-rtti -fno-exceptions"
7174 # Insert the option either (1) after the last *FLAGS variable, or
7175 # (2) before a word containing "conftest.", or (3) at the end.
7176 # Note that $ac_compile itself does not contain backslashes and begins
7177 # with a dollar sign (not a hyphen), so the echo should work correctly.
7178 # The option is referenced via a variable to avoid confusing sed.
7179 lt_compile=`echo "$ac_compile" | $SED \
7180 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7181 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7182 -e 's:$: $lt_compiler_flag:'`
7183 (eval echo "\"\$as_me:7183: $lt_compile\"" >&5)
7184 (eval "$lt_compile" 2>conftest.err)
7185 ac_status=$?
7186 cat conftest.err >&5
7187 echo "$as_me:7187: \$? = $ac_status" >&5
7188 if (exit $ac_status) && test -s "$ac_outfile"; then
7189 # The compiler can only warn and ignore the option if not recognized
7190 # So say no if there are warnings other than the usual output.
7191 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7192 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7193 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7194 lt_cv_prog_compiler_rtti_exceptions=yes
7197 $RM conftest*
7200 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7201 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7203 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7204 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7205 else
7216 lt_prog_compiler_wl=
7217 lt_prog_compiler_pic=
7218 lt_prog_compiler_static=
7220 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7221 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7223 if test "$GCC" = yes; then
7224 lt_prog_compiler_wl='-Wl,'
7225 lt_prog_compiler_static='-static'
7227 case $host_os in
7228 aix*)
7229 # All AIX code is PIC.
7230 if test "$host_cpu" = ia64; then
7231 # AIX 5 now supports IA64 processor
7232 lt_prog_compiler_static='-Bstatic'
7236 amigaos*)
7237 if test "$host_cpu" = m68k; then
7238 # FIXME: we need at least 68020 code to build shared libraries, but
7239 # adding the `-m68020' flag to GCC prevents building anything better,
7240 # like `-m68040'.
7241 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7245 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7246 # PIC is the default for these OSes.
7249 mingw* | cygwin* | pw32* | os2*)
7250 # This hack is so that the source file can tell whether it is being
7251 # built for inclusion in a dll (and should export symbols for example).
7252 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7253 # (--disable-auto-import) libraries
7254 lt_prog_compiler_pic='-DDLL_EXPORT'
7257 darwin* | rhapsody*)
7258 # PIC is the default on this platform
7259 # Common symbols not allowed in MH_DYLIB files
7260 lt_prog_compiler_pic='-fno-common'
7263 hpux*)
7264 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7265 # not for PA HP-UX.
7266 case $host_cpu in
7267 hppa*64*|ia64*)
7268 # +Z the default
7271 lt_prog_compiler_pic='-fPIC'
7273 esac
7276 interix[3-9]*)
7277 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7278 # Instead, we relocate shared libraries at runtime.
7281 msdosdjgpp*)
7282 # Just because we use GCC doesn't mean we suddenly get shared libraries
7283 # on systems that don't support them.
7284 lt_prog_compiler_can_build_shared=no
7285 enable_shared=no
7288 *nto* | *qnx*)
7289 # QNX uses GNU C++, but need to define -shared option too, otherwise
7290 # it will coredump.
7291 lt_prog_compiler_pic='-fPIC -shared'
7294 sysv4*MP*)
7295 if test -d /usr/nec; then
7296 lt_prog_compiler_pic=-Kconform_pic
7301 lt_prog_compiler_pic='-fPIC'
7303 esac
7304 else
7305 # PORTME Check for flag to pass linker flags through the system compiler.
7306 case $host_os in
7307 aix*)
7308 lt_prog_compiler_wl='-Wl,'
7309 if test "$host_cpu" = ia64; then
7310 # AIX 5 now supports IA64 processor
7311 lt_prog_compiler_static='-Bstatic'
7312 else
7313 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7316 darwin*)
7317 # PIC is the default on this platform
7318 # Common symbols not allowed in MH_DYLIB files
7319 case $cc_basename in
7320 xlc*)
7321 lt_prog_compiler_pic='-qnocommon'
7322 lt_prog_compiler_wl='-Wl,'
7324 esac
7327 mingw* | cygwin* | pw32* | os2*)
7328 # This hack is so that the source file can tell whether it is being
7329 # built for inclusion in a dll (and should export symbols for example).
7330 lt_prog_compiler_pic='-DDLL_EXPORT'
7333 hpux9* | hpux10* | hpux11*)
7334 lt_prog_compiler_wl='-Wl,'
7335 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7336 # not for PA HP-UX.
7337 case $host_cpu in
7338 hppa*64*|ia64*)
7339 # +Z the default
7342 lt_prog_compiler_pic='+Z'
7344 esac
7345 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7346 lt_prog_compiler_static='${wl}-a ${wl}archive'
7349 irix5* | irix6* | nonstopux*)
7350 lt_prog_compiler_wl='-Wl,'
7351 # PIC (with -KPIC) is the default.
7352 lt_prog_compiler_static='-non_shared'
7355 linux* | k*bsd*-gnu)
7356 case $cc_basename in
7357 icc* | ecc*)
7358 lt_prog_compiler_wl='-Wl,'
7359 lt_prog_compiler_pic='-KPIC'
7360 lt_prog_compiler_static='-static'
7362 pgcc* | pgf77* | pgf90* | pgf95*)
7363 # Portland Group compilers (*not* the Pentium gcc compiler,
7364 # which looks to be a dead project)
7365 lt_prog_compiler_wl='-Wl,'
7366 lt_prog_compiler_pic='-fpic'
7367 lt_prog_compiler_static='-Bstatic'
7369 ccc*)
7370 lt_prog_compiler_wl='-Wl,'
7371 # All Alpha code is PIC.
7372 lt_prog_compiler_static='-non_shared'
7375 case `$CC -V 2>&1 | sed 5q` in
7376 *Sun\ C*)
7377 # Sun C 5.9
7378 lt_prog_compiler_pic='-KPIC'
7379 lt_prog_compiler_static='-Bstatic'
7380 lt_prog_compiler_wl='-Wl,'
7382 *Sun\ F*)
7383 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7384 lt_prog_compiler_pic='-KPIC'
7385 lt_prog_compiler_static='-Bstatic'
7386 lt_prog_compiler_wl=''
7388 esac
7390 esac
7393 newsos6)
7394 lt_prog_compiler_pic='-KPIC'
7395 lt_prog_compiler_static='-Bstatic'
7398 *nto* | *qnx*)
7399 # QNX uses GNU C++, but need to define -shared option too, otherwise
7400 # it will coredump.
7401 lt_prog_compiler_pic='-fPIC -shared'
7404 osf3* | osf4* | osf5*)
7405 lt_prog_compiler_wl='-Wl,'
7406 # All OSF/1 code is PIC.
7407 lt_prog_compiler_static='-non_shared'
7410 rdos*)
7411 lt_prog_compiler_static='-non_shared'
7414 solaris*)
7415 lt_prog_compiler_pic='-KPIC'
7416 lt_prog_compiler_static='-Bstatic'
7417 case $cc_basename in
7418 f77* | f90* | f95*)
7419 lt_prog_compiler_wl='-Qoption ld ';;
7421 lt_prog_compiler_wl='-Wl,';;
7422 esac
7425 sunos4*)
7426 lt_prog_compiler_wl='-Qoption ld '
7427 lt_prog_compiler_pic='-PIC'
7428 lt_prog_compiler_static='-Bstatic'
7431 sysv4 | sysv4.2uw2* | sysv4.3*)
7432 lt_prog_compiler_wl='-Wl,'
7433 lt_prog_compiler_pic='-KPIC'
7434 lt_prog_compiler_static='-Bstatic'
7437 sysv4*MP*)
7438 if test -d /usr/nec ;then
7439 lt_prog_compiler_pic='-Kconform_pic'
7440 lt_prog_compiler_static='-Bstatic'
7444 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7445 lt_prog_compiler_wl='-Wl,'
7446 lt_prog_compiler_pic='-KPIC'
7447 lt_prog_compiler_static='-Bstatic'
7450 unicos*)
7451 lt_prog_compiler_wl='-Wl,'
7452 lt_prog_compiler_can_build_shared=no
7455 uts4*)
7456 lt_prog_compiler_pic='-pic'
7457 lt_prog_compiler_static='-Bstatic'
7461 lt_prog_compiler_can_build_shared=no
7463 esac
7466 case $host_os in
7467 # For platforms which do not support PIC, -DPIC is meaningless:
7468 *djgpp*)
7469 lt_prog_compiler_pic=
7472 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7474 esac
7475 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7476 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7484 # Check to make sure the PIC flag actually works.
7486 if test -n "$lt_prog_compiler_pic"; then
7487 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7488 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7489 if test "${lt_prog_compiler_pic_works+set}" = set; then
7490 echo $ECHO_N "(cached) $ECHO_C" >&6
7491 else
7492 lt_prog_compiler_pic_works=no
7493 ac_outfile=conftest.$ac_objext
7494 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7495 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7496 # Insert the option either (1) after the last *FLAGS variable, or
7497 # (2) before a word containing "conftest.", or (3) at the end.
7498 # Note that $ac_compile itself does not contain backslashes and begins
7499 # with a dollar sign (not a hyphen), so the echo should work correctly.
7500 # The option is referenced via a variable to avoid confusing sed.
7501 lt_compile=`echo "$ac_compile" | $SED \
7502 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7503 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7504 -e 's:$: $lt_compiler_flag:'`
7505 (eval echo "\"\$as_me:7505: $lt_compile\"" >&5)
7506 (eval "$lt_compile" 2>conftest.err)
7507 ac_status=$?
7508 cat conftest.err >&5
7509 echo "$as_me:7509: \$? = $ac_status" >&5
7510 if (exit $ac_status) && test -s "$ac_outfile"; then
7511 # The compiler can only warn and ignore the option if not recognized
7512 # So say no if there are warnings other than the usual output.
7513 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7514 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7515 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7516 lt_prog_compiler_pic_works=yes
7519 $RM conftest*
7522 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7523 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7525 if test x"$lt_prog_compiler_pic_works" = xyes; then
7526 case $lt_prog_compiler_pic in
7527 "" | " "*) ;;
7528 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7529 esac
7530 else
7531 lt_prog_compiler_pic=
7532 lt_prog_compiler_can_build_shared=no
7543 # Check to make sure the static flag actually works.
7545 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7546 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7547 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7548 if test "${lt_prog_compiler_static_works+set}" = set; then
7549 echo $ECHO_N "(cached) $ECHO_C" >&6
7550 else
7551 lt_prog_compiler_static_works=no
7552 save_LDFLAGS="$LDFLAGS"
7553 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7554 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7555 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7556 # The linker can only warn and ignore the option if not recognized
7557 # So say no if there are warnings
7558 if test -s conftest.err; then
7559 # Append any errors to the config.log.
7560 cat conftest.err 1>&5
7561 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7562 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7563 if diff conftest.exp conftest.er2 >/dev/null; then
7564 lt_prog_compiler_static_works=yes
7566 else
7567 lt_prog_compiler_static_works=yes
7570 $RM conftest*
7571 LDFLAGS="$save_LDFLAGS"
7574 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7575 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7577 if test x"$lt_prog_compiler_static_works" = xyes; then
7579 else
7580 lt_prog_compiler_static=
7589 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7590 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7591 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7592 echo $ECHO_N "(cached) $ECHO_C" >&6
7593 else
7594 lt_cv_prog_compiler_c_o=no
7595 $RM -r conftest 2>/dev/null
7596 mkdir conftest
7597 cd conftest
7598 mkdir out
7599 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7601 lt_compiler_flag="-o out/conftest2.$ac_objext"
7602 # Insert the option either (1) after the last *FLAGS variable, or
7603 # (2) before a word containing "conftest.", or (3) at the end.
7604 # Note that $ac_compile itself does not contain backslashes and begins
7605 # with a dollar sign (not a hyphen), so the echo should work correctly.
7606 lt_compile=`echo "$ac_compile" | $SED \
7607 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7608 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7609 -e 's:$: $lt_compiler_flag:'`
7610 (eval echo "\"\$as_me:7610: $lt_compile\"" >&5)
7611 (eval "$lt_compile" 2>out/conftest.err)
7612 ac_status=$?
7613 cat out/conftest.err >&5
7614 echo "$as_me:7614: \$? = $ac_status" >&5
7615 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7616 then
7617 # The compiler can only warn and ignore the option if not recognized
7618 # So say no if there are warnings
7619 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7620 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7621 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7622 lt_cv_prog_compiler_c_o=yes
7625 chmod u+w . 2>&5
7626 $RM conftest*
7627 # SGI C++ compiler will create directory out/ii_files/ for
7628 # template instantiation
7629 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7630 $RM out/* && rmdir out
7631 cd ..
7632 $RM -r conftest
7633 $RM conftest*
7636 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7637 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7644 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7645 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7646 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7647 echo $ECHO_N "(cached) $ECHO_C" >&6
7648 else
7649 lt_cv_prog_compiler_c_o=no
7650 $RM -r conftest 2>/dev/null
7651 mkdir conftest
7652 cd conftest
7653 mkdir out
7654 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7656 lt_compiler_flag="-o out/conftest2.$ac_objext"
7657 # Insert the option either (1) after the last *FLAGS variable, or
7658 # (2) before a word containing "conftest.", or (3) at the end.
7659 # Note that $ac_compile itself does not contain backslashes and begins
7660 # with a dollar sign (not a hyphen), so the echo should work correctly.
7661 lt_compile=`echo "$ac_compile" | $SED \
7662 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7663 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7664 -e 's:$: $lt_compiler_flag:'`
7665 (eval echo "\"\$as_me:7665: $lt_compile\"" >&5)
7666 (eval "$lt_compile" 2>out/conftest.err)
7667 ac_status=$?
7668 cat out/conftest.err >&5
7669 echo "$as_me:7669: \$? = $ac_status" >&5
7670 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7671 then
7672 # The compiler can only warn and ignore the option if not recognized
7673 # So say no if there are warnings
7674 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7675 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7676 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7677 lt_cv_prog_compiler_c_o=yes
7680 chmod u+w . 2>&5
7681 $RM conftest*
7682 # SGI C++ compiler will create directory out/ii_files/ for
7683 # template instantiation
7684 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7685 $RM out/* && rmdir out
7686 cd ..
7687 $RM -r conftest
7688 $RM conftest*
7691 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7692 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7697 hard_links="nottested"
7698 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7699 # do not overwrite the value of need_locks provided by the user
7700 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7701 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7702 hard_links=yes
7703 $RM conftest*
7704 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7705 touch conftest.a
7706 ln conftest.a conftest.b 2>&5 || hard_links=no
7707 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7708 echo "$as_me:$LINENO: result: $hard_links" >&5
7709 echo "${ECHO_T}$hard_links" >&6
7710 if test "$hard_links" = no; then
7711 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7712 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7713 need_locks=warn
7715 else
7716 need_locks=no
7724 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7725 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7727 runpath_var=
7728 allow_undefined_flag=
7729 always_export_symbols=no
7730 archive_cmds=
7731 archive_expsym_cmds=
7732 compiler_needs_object=no
7733 enable_shared_with_static_runtimes=no
7734 export_dynamic_flag_spec=
7735 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7736 hardcode_automatic=no
7737 hardcode_direct=no
7738 hardcode_direct_absolute=no
7739 hardcode_libdir_flag_spec=
7740 hardcode_libdir_flag_spec_ld=
7741 hardcode_libdir_separator=
7742 hardcode_minus_L=no
7743 hardcode_shlibpath_var=unsupported
7744 inherit_rpath=no
7745 link_all_deplibs=unknown
7746 module_cmds=
7747 module_expsym_cmds=
7748 old_archive_from_new_cmds=
7749 old_archive_from_expsyms_cmds=
7750 thread_safe_flag_spec=
7751 whole_archive_flag_spec=
7752 # include_expsyms should be a list of space-separated symbols to be *always*
7753 # included in the symbol list
7754 include_expsyms=
7755 # exclude_expsyms can be an extended regexp of symbols to exclude
7756 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7757 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7758 # as well as any symbol that contains `d'.
7759 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7760 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7761 # platforms (ab)use it in PIC code, but their linkers get confused if
7762 # the symbol is explicitly referenced. Since portable code cannot
7763 # rely on this symbol name, it's probably fine to never include it in
7764 # preloaded symbol tables.
7765 extract_expsyms_cmds=
7767 case $host_os in
7768 cygwin* | mingw* | pw32*)
7769 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7770 # When not using gcc, we currently assume that we are using
7771 # Microsoft Visual C++.
7772 if test "$GCC" != yes; then
7773 with_gnu_ld=no
7776 interix*)
7777 # we just hope/assume this is gcc and not c89 (= MSVC++)
7778 with_gnu_ld=yes
7780 openbsd*)
7781 with_gnu_ld=no
7783 esac
7785 ld_shlibs=yes
7786 if test "$with_gnu_ld" = yes; then
7787 # If archive_cmds runs LD, not CC, wlarc should be empty
7788 wlarc='${wl}'
7790 # Set some defaults for GNU ld with shared library support. These
7791 # are reset later if shared libraries are not supported. Putting them
7792 # here allows them to be overridden if necessary.
7793 runpath_var=LD_RUN_PATH
7794 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7795 export_dynamic_flag_spec='${wl}--export-dynamic'
7796 # ancient GNU ld didn't support --whole-archive et. al.
7797 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7798 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7799 else
7800 whole_archive_flag_spec=
7802 supports_anon_versioning=no
7803 case `$LD -v 2>&1` in
7804 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7805 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7806 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7807 *\ 2.11.*) ;; # other 2.11 versions
7808 *) supports_anon_versioning=yes ;;
7809 esac
7811 # See if GNU ld supports shared libraries.
7812 case $host_os in
7813 aix[3-9]*)
7814 # On AIX/PPC, the GNU linker is very broken
7815 if test "$host_cpu" != ia64; then
7816 ld_shlibs=no
7817 cat <<_LT_EOF 1>&2
7819 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7820 *** to be unable to reliably create shared libraries on AIX.
7821 *** Therefore, libtool is disabling shared libraries support. If you
7822 *** really care for shared libraries, you may want to modify your PATH
7823 *** so that a non-GNU linker is found, and then restart.
7825 _LT_EOF
7829 amigaos*)
7830 if test "$host_cpu" = m68k; then
7831 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7832 hardcode_libdir_flag_spec='-L$libdir'
7833 hardcode_minus_L=yes
7836 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7837 # that the semantics of dynamic libraries on AmigaOS, at least up
7838 # to version 4, is to share data among multiple programs linked
7839 # with the same dynamic library. Since this doesn't match the
7840 # behavior of shared libraries on other platforms, we can't use
7841 # them.
7842 ld_shlibs=no
7845 beos*)
7846 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7847 allow_undefined_flag=unsupported
7848 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7849 # support --undefined. This deserves some investigation. FIXME
7850 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7851 else
7852 ld_shlibs=no
7856 cygwin* | mingw* | pw32*)
7857 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7858 # as there is no search path for DLLs.
7859 hardcode_libdir_flag_spec='-L$libdir'
7860 allow_undefined_flag=unsupported
7861 always_export_symbols=no
7862 enable_shared_with_static_runtimes=yes
7863 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7865 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7866 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7867 # If the export-symbols file already is a .def file (1st line
7868 # is EXPORTS), use it as is; otherwise, prepend...
7869 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7870 cp $export_symbols $output_objdir/$soname.def;
7871 else
7872 echo EXPORTS > $output_objdir/$soname.def;
7873 cat $export_symbols >> $output_objdir/$soname.def;
7875 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7876 else
7877 ld_shlibs=no
7881 interix[3-9]*)
7882 hardcode_direct=no
7883 hardcode_shlibpath_var=no
7884 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7885 export_dynamic_flag_spec='${wl}-E'
7886 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7887 # Instead, shared libraries are loaded at an image base (0x10000000 by
7888 # default) and relocated if they conflict, which is a slow very memory
7889 # consuming and fragmenting process. To avoid this, we pick a random,
7890 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7891 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7892 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7893 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7896 gnu* | linux* | tpf* | k*bsd*-gnu)
7897 tmp_diet=no
7898 if test "$host_os" = linux-dietlibc; then
7899 case $cc_basename in
7900 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7901 esac
7903 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7904 && test "$tmp_diet" = no
7905 then
7906 tmp_addflag=
7907 case $cc_basename,$host_cpu in
7908 pgcc*) # Portland Group C compiler
7909 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7910 tmp_addflag=' $pic_flag'
7912 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7913 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7914 tmp_addflag=' $pic_flag -Mnomain' ;;
7915 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7916 tmp_addflag=' -i_dynamic' ;;
7917 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7918 tmp_addflag=' -i_dynamic -nofor_main' ;;
7919 ifc* | ifort*) # Intel Fortran compiler
7920 tmp_addflag=' -nofor_main' ;;
7921 esac
7922 case `$CC -V 2>&1 | sed 5q` in
7923 *Sun\ C*) # Sun C 5.9
7924 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7925 compiler_needs_object=yes
7926 tmp_sharedflag='-G' ;;
7927 *Sun\ F*) # Sun Fortran 8.3
7928 tmp_sharedflag='-G' ;;
7930 tmp_sharedflag='-shared' ;;
7931 esac
7932 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7934 if test "x$supports_anon_versioning" = xyes; then
7935 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7936 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7937 echo "local: *; };" >> $output_objdir/$libname.ver~
7938 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7940 else
7941 ld_shlibs=no
7945 netbsd*)
7946 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7947 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7948 wlarc=
7949 else
7950 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7951 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7955 solaris*)
7956 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7957 ld_shlibs=no
7958 cat <<_LT_EOF 1>&2
7960 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7961 *** create shared libraries on Solaris systems. Therefore, libtool
7962 *** is disabling shared libraries support. We urge you to upgrade GNU
7963 *** binutils to release 2.9.1 or newer. Another option is to modify
7964 *** your PATH or compiler configuration so that the native linker is
7965 *** used, and then restart.
7967 _LT_EOF
7968 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7969 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7970 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7971 else
7972 ld_shlibs=no
7976 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7977 case `$LD -v 2>&1` in
7978 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7979 ld_shlibs=no
7980 cat <<_LT_EOF 1>&2
7982 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7983 *** reliably create shared libraries on SCO systems. Therefore, libtool
7984 *** is disabling shared libraries support. We urge you to upgrade GNU
7985 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7986 *** your PATH or compiler configuration so that the native linker is
7987 *** used, and then restart.
7989 _LT_EOF
7992 # For security reasons, it is highly recommended that you always
7993 # use absolute paths for naming shared libraries, and exclude the
7994 # DT_RUNPATH tag from executables and libraries. But doing so
7995 # requires that you compile everything twice, which is a pain.
7996 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7997 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7998 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7999 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8000 else
8001 ld_shlibs=no
8004 esac
8007 sunos4*)
8008 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8009 wlarc=
8010 hardcode_direct=yes
8011 hardcode_shlibpath_var=no
8015 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8016 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8017 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8018 else
8019 ld_shlibs=no
8022 esac
8024 if test "$ld_shlibs" = no; then
8025 runpath_var=
8026 hardcode_libdir_flag_spec=
8027 export_dynamic_flag_spec=
8028 whole_archive_flag_spec=
8030 else
8031 # PORTME fill in a description of your system's linker (not GNU ld)
8032 case $host_os in
8033 aix3*)
8034 allow_undefined_flag=unsupported
8035 always_export_symbols=yes
8036 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
8037 # Note: this linker hardcodes the directories in LIBPATH if there
8038 # are no directories specified by -L.
8039 hardcode_minus_L=yes
8040 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8041 # Neither direct hardcoding nor static linking is supported with a
8042 # broken collect2.
8043 hardcode_direct=unsupported
8047 aix[4-9]*)
8048 if test "$host_cpu" = ia64; then
8049 # On IA64, the linker does run time linking by default, so we don't
8050 # have to do anything special.
8051 aix_use_runtimelinking=no
8052 exp_sym_flag='-Bexport'
8053 no_entry_flag=""
8054 else
8055 # If we're using GNU nm, then we don't want the "-C" option.
8056 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8057 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8058 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8059 else
8060 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8062 aix_use_runtimelinking=no
8064 # Test if we are trying to use run time linking or normal
8065 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8066 # need to do runtime linking.
8067 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8068 for ld_flag in $LDFLAGS; do
8069 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8070 aix_use_runtimelinking=yes
8071 break
8073 done
8075 esac
8077 exp_sym_flag='-bexport'
8078 no_entry_flag='-bnoentry'
8081 # When large executables or shared objects are built, AIX ld can
8082 # have problems creating the table of contents. If linking a library
8083 # or program results in "error TOC overflow" add -mminimal-toc to
8084 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8085 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8087 archive_cmds=''
8088 hardcode_direct=yes
8089 hardcode_direct_absolute=yes
8090 hardcode_libdir_separator=':'
8091 link_all_deplibs=yes
8092 file_list_spec='${wl}-f,'
8094 if test "$GCC" = yes; then
8095 case $host_os in aix4.[012]|aix4.[012].*)
8096 # We only want to do this on AIX 4.2 and lower, the check
8097 # below for broken collect2 doesn't work under 4.3+
8098 collect2name=`${CC} -print-prog-name=collect2`
8099 if test -f "$collect2name" &&
8100 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8101 then
8102 # We have reworked collect2
8104 else
8105 # We have old collect2
8106 hardcode_direct=unsupported
8107 # It fails to find uninstalled libraries when the uninstalled
8108 # path is not listed in the libpath. Setting hardcode_minus_L
8109 # to unsupported forces relinking
8110 hardcode_minus_L=yes
8111 hardcode_libdir_flag_spec='-L$libdir'
8112 hardcode_libdir_separator=
8115 esac
8116 shared_flag='-shared'
8117 if test "$aix_use_runtimelinking" = yes; then
8118 shared_flag="$shared_flag "'${wl}-G'
8120 else
8121 # not using gcc
8122 if test "$host_cpu" = ia64; then
8123 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8124 # chokes on -Wl,-G. The following line is correct:
8125 shared_flag='-G'
8126 else
8127 if test "$aix_use_runtimelinking" = yes; then
8128 shared_flag='${wl}-G'
8129 else
8130 shared_flag='${wl}-bM:SRE'
8135 # It seems that -bexpall does not export symbols beginning with
8136 # underscore (_), so it is better to generate a list of symbols to export.
8137 always_export_symbols=yes
8138 if test "$aix_use_runtimelinking" = yes; then
8139 # Warning - without using the other runtime loading flags (-brtl),
8140 # -berok will link without error, but may produce a broken library.
8141 allow_undefined_flag='-berok'
8142 # Determine the default libpath from the value encoded in an
8143 # empty executable.
8144 if test x$gcc_no_link = xyes; then
8145 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8147 { (exit 1); exit 1; }; }
8149 cat >conftest.$ac_ext <<_ACEOF
8150 /* confdefs.h. */
8151 _ACEOF
8152 cat confdefs.h >>conftest.$ac_ext
8153 cat >>conftest.$ac_ext <<_ACEOF
8154 /* end confdefs.h. */
8157 main ()
8161 return 0;
8163 _ACEOF
8164 rm -f conftest.$ac_objext conftest$ac_exeext
8165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8166 (eval $ac_link) 2>conftest.er1
8167 ac_status=$?
8168 grep -v '^ *+' conftest.er1 >conftest.err
8169 rm -f conftest.er1
8170 cat conftest.err >&5
8171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172 (exit $ac_status); } &&
8173 { ac_try='test -z "$ac_c_werror_flag"
8174 || test ! -s conftest.err'
8175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8176 (eval $ac_try) 2>&5
8177 ac_status=$?
8178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8179 (exit $ac_status); }; } &&
8180 { ac_try='test -s conftest$ac_exeext'
8181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8182 (eval $ac_try) 2>&5
8183 ac_status=$?
8184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8185 (exit $ac_status); }; }; then
8187 lt_aix_libpath_sed='
8188 /Import File Strings/,/^$/ {
8189 /^0/ {
8190 s/^0 *\(.*\)$/\1/
8194 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8195 # Check for a 64-bit object if we didn't find anything.
8196 if test -z "$aix_libpath"; then
8197 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8199 else
8200 echo "$as_me: failed program was:" >&5
8201 sed 's/^/| /' conftest.$ac_ext >&5
8204 rm -f conftest.err conftest.$ac_objext \
8205 conftest$ac_exeext conftest.$ac_ext
8206 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8208 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8209 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8210 else
8211 if test "$host_cpu" = ia64; then
8212 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8213 allow_undefined_flag="-z nodefs"
8214 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8215 else
8216 # Determine the default libpath from the value encoded in an
8217 # empty executable.
8218 if test x$gcc_no_link = xyes; then
8219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8221 { (exit 1); exit 1; }; }
8223 cat >conftest.$ac_ext <<_ACEOF
8224 /* confdefs.h. */
8225 _ACEOF
8226 cat confdefs.h >>conftest.$ac_ext
8227 cat >>conftest.$ac_ext <<_ACEOF
8228 /* end confdefs.h. */
8231 main ()
8235 return 0;
8237 _ACEOF
8238 rm -f conftest.$ac_objext conftest$ac_exeext
8239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8240 (eval $ac_link) 2>conftest.er1
8241 ac_status=$?
8242 grep -v '^ *+' conftest.er1 >conftest.err
8243 rm -f conftest.er1
8244 cat conftest.err >&5
8245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8246 (exit $ac_status); } &&
8247 { ac_try='test -z "$ac_c_werror_flag"
8248 || test ! -s conftest.err'
8249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8250 (eval $ac_try) 2>&5
8251 ac_status=$?
8252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253 (exit $ac_status); }; } &&
8254 { ac_try='test -s conftest$ac_exeext'
8255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8256 (eval $ac_try) 2>&5
8257 ac_status=$?
8258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8259 (exit $ac_status); }; }; then
8261 lt_aix_libpath_sed='
8262 /Import File Strings/,/^$/ {
8263 /^0/ {
8264 s/^0 *\(.*\)$/\1/
8268 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8269 # Check for a 64-bit object if we didn't find anything.
8270 if test -z "$aix_libpath"; then
8271 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8273 else
8274 echo "$as_me: failed program was:" >&5
8275 sed 's/^/| /' conftest.$ac_ext >&5
8278 rm -f conftest.err conftest.$ac_objext \
8279 conftest$ac_exeext conftest.$ac_ext
8280 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8282 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8283 # Warning - without using the other run time loading flags,
8284 # -berok will link without error, but may produce a broken library.
8285 no_undefined_flag=' ${wl}-bernotok'
8286 allow_undefined_flag=' ${wl}-berok'
8287 # Exported symbols can be pulled into shared objects from archives
8288 whole_archive_flag_spec='$convenience'
8289 archive_cmds_need_lc=yes
8290 # This is similar to how AIX traditionally builds its shared libraries.
8291 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8296 amigaos*)
8297 if test "$host_cpu" = m68k; then
8298 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8299 hardcode_libdir_flag_spec='-L$libdir'
8300 hardcode_minus_L=yes
8302 # see comment about different semantics on the GNU ld section
8303 ld_shlibs=no
8306 bsdi[45]*)
8307 export_dynamic_flag_spec=-rdynamic
8310 cygwin* | mingw* | pw32*)
8311 # When not using gcc, we currently assume that we are using
8312 # Microsoft Visual C++.
8313 # hardcode_libdir_flag_spec is actually meaningless, as there is
8314 # no search path for DLLs.
8315 hardcode_libdir_flag_spec=' '
8316 allow_undefined_flag=unsupported
8317 # Tell ltmain to make .lib files, not .a files.
8318 libext=lib
8319 # Tell ltmain to make .dll files, not .so files.
8320 shrext_cmds=".dll"
8321 # FIXME: Setting linknames here is a bad hack.
8322 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8323 # The linker will automatically build a .lib file if we build a DLL.
8324 old_archive_from_new_cmds='true'
8325 # FIXME: Should let the user specify the lib program.
8326 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8327 fix_srcfile_path='`cygpath -w "$srcfile"`'
8328 enable_shared_with_static_runtimes=yes
8331 darwin* | rhapsody*)
8332 case $host_os in
8333 rhapsody* | darwin1.[012])
8334 allow_undefined_flag='${wl}-undefined ${wl}suppress'
8336 *) # Darwin 1.3 on
8337 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8338 10.[012])
8339 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8341 10.*)
8342 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8344 esac
8346 esac
8347 archive_cmds_need_lc=no
8348 hardcode_direct=no
8349 hardcode_automatic=yes
8350 hardcode_shlibpath_var=unsupported
8351 whole_archive_flag_spec=''
8352 link_all_deplibs=yes
8353 if test "$GCC" = yes ; then
8354 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8355 echo $ECHO_N "(cached) $ECHO_C" >&6
8356 else
8357 lt_cv_apple_cc_single_mod=no
8358 if test -z "${LT_MULTI_MODULE}"; then
8359 # By default we will add the -single_module flag. You can override
8360 # by either setting the environment variable LT_MULTI_MODULE
8361 # non-empty at configure time, or by adding -multi-module to the
8362 # link flags.
8363 echo "int foo(void){return 1;}" > conftest.c
8364 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8365 -dynamiclib ${wl}-single_module conftest.c
8366 if test -f libconftest.dylib; then
8367 lt_cv_apple_cc_single_mod=yes
8368 rm libconftest.dylib
8370 rm conftest.$ac_ext
8374 output_verbose_link_cmd=echo
8375 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8376 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8377 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8378 else
8379 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8380 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8382 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8383 module_expsym_cmds='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8384 else
8385 case $cc_basename in
8386 xlc*)
8387 output_verbose_link_cmd=echo
8388 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8389 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8390 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8391 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8392 module_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8395 ld_shlibs=no
8397 esac
8401 dgux*)
8402 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8403 hardcode_libdir_flag_spec='-L$libdir'
8404 hardcode_shlibpath_var=no
8407 freebsd1*)
8408 ld_shlibs=no
8411 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8412 # support. Future versions do this automatically, but an explicit c++rt0.o
8413 # does not break anything, and helps significantly (at the cost of a little
8414 # extra space).
8415 freebsd2.2*)
8416 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8417 hardcode_libdir_flag_spec='-R$libdir'
8418 hardcode_direct=yes
8419 hardcode_shlibpath_var=no
8422 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8423 freebsd2*)
8424 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8425 hardcode_direct=yes
8426 hardcode_minus_L=yes
8427 hardcode_shlibpath_var=no
8430 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8431 freebsd* | dragonfly*)
8432 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8433 hardcode_libdir_flag_spec='-R$libdir'
8434 hardcode_direct=yes
8435 hardcode_shlibpath_var=no
8438 hpux9*)
8439 if test "$GCC" = yes; then
8440 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8441 else
8442 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8444 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8445 hardcode_libdir_separator=:
8446 hardcode_direct=yes
8448 # hardcode_minus_L: Not really in the search PATH,
8449 # but as the default location of the library.
8450 hardcode_minus_L=yes
8451 export_dynamic_flag_spec='${wl}-E'
8454 hpux10*)
8455 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8456 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8457 else
8458 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8460 if test "$with_gnu_ld" = no; then
8461 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8462 hardcode_libdir_flag_spec_ld='+b $libdir'
8463 hardcode_libdir_separator=:
8464 hardcode_direct=yes
8465 hardcode_direct_absolute=yes
8466 export_dynamic_flag_spec='${wl}-E'
8467 # hardcode_minus_L: Not really in the search PATH,
8468 # but as the default location of the library.
8469 hardcode_minus_L=yes
8473 hpux11*)
8474 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8475 case $host_cpu in
8476 hppa*64*)
8477 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8479 ia64*)
8480 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8483 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8485 esac
8486 else
8487 case $host_cpu in
8488 hppa*64*)
8489 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8491 ia64*)
8492 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8495 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8497 esac
8499 if test "$with_gnu_ld" = no; then
8500 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8501 hardcode_libdir_separator=:
8503 case $host_cpu in
8504 hppa*64*|ia64*)
8505 hardcode_direct=no
8506 hardcode_shlibpath_var=no
8509 hardcode_direct=yes
8510 hardcode_direct_absolute=yes
8511 export_dynamic_flag_spec='${wl}-E'
8513 # hardcode_minus_L: Not really in the search PATH,
8514 # but as the default location of the library.
8515 hardcode_minus_L=yes
8517 esac
8521 irix5* | irix6* | nonstopux*)
8522 if test "$GCC" = yes; then
8523 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8524 # Try to use the -exported_symbol ld option, if it does not
8525 # work, assume that -exports_file does not work either and
8526 # implicitly export all symbols.
8527 save_LDFLAGS="$LDFLAGS"
8528 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8529 if test x$gcc_no_link = xyes; then
8530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8532 { (exit 1); exit 1; }; }
8534 cat >conftest.$ac_ext <<_ACEOF
8535 int foo(void) {}
8536 _ACEOF
8537 rm -f conftest.$ac_objext conftest$ac_exeext
8538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8539 (eval $ac_link) 2>conftest.er1
8540 ac_status=$?
8541 grep -v '^ *+' conftest.er1 >conftest.err
8542 rm -f conftest.er1
8543 cat conftest.err >&5
8544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8545 (exit $ac_status); } &&
8546 { ac_try='test -z "$ac_c_werror_flag"
8547 || test ! -s conftest.err'
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); }; } &&
8553 { ac_try='test -s conftest$ac_exeext'
8554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8555 (eval $ac_try) 2>&5
8556 ac_status=$?
8557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8558 (exit $ac_status); }; }; then
8559 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8561 else
8562 echo "$as_me: failed program was:" >&5
8563 sed 's/^/| /' conftest.$ac_ext >&5
8566 rm -f conftest.err conftest.$ac_objext \
8567 conftest$ac_exeext conftest.$ac_ext
8568 LDFLAGS="$save_LDFLAGS"
8569 else
8570 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8571 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8573 archive_cmds_need_lc='no'
8574 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8575 hardcode_libdir_separator=:
8576 inherit_rpath=yes
8577 link_all_deplibs=yes
8580 netbsd*)
8581 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8582 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8583 else
8584 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8586 hardcode_libdir_flag_spec='-R$libdir'
8587 hardcode_direct=yes
8588 hardcode_shlibpath_var=no
8591 newsos6)
8592 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8593 hardcode_direct=yes
8594 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8595 hardcode_libdir_separator=:
8596 hardcode_shlibpath_var=no
8599 *nto* | *qnx*)
8602 openbsd*)
8603 hardcode_direct=yes
8604 hardcode_shlibpath_var=no
8605 hardcode_direct_absolute=yes
8606 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8607 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8608 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8609 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8610 export_dynamic_flag_spec='${wl}-E'
8611 else
8612 case $host_os in
8613 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8614 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8615 hardcode_libdir_flag_spec='-R$libdir'
8618 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8619 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8621 esac
8625 os2*)
8626 hardcode_libdir_flag_spec='-L$libdir'
8627 hardcode_minus_L=yes
8628 allow_undefined_flag=unsupported
8629 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8630 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8633 osf3*)
8634 if test "$GCC" = yes; then
8635 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8636 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8637 else
8638 allow_undefined_flag=' -expect_unresolved \*'
8639 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8641 archive_cmds_need_lc='no'
8642 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8643 hardcode_libdir_separator=:
8646 osf4* | osf5*) # as osf3* with the addition of -msym flag
8647 if test "$GCC" = yes; then
8648 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8649 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8650 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8651 else
8652 allow_undefined_flag=' -expect_unresolved \*'
8653 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8654 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
8655 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8657 # Both c and cxx compiler support -rpath directly
8658 hardcode_libdir_flag_spec='-rpath $libdir'
8660 archive_cmds_need_lc='no'
8661 hardcode_libdir_separator=:
8664 solaris*)
8665 no_undefined_flag=' -z defs'
8666 if test "$GCC" = yes; then
8667 wlarc='${wl}'
8668 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8669 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8670 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8671 else
8672 case `$CC -V 2>&1` in
8673 *"Compilers 5.0"*)
8674 wlarc=''
8675 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8676 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8677 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8680 wlarc='${wl}'
8681 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8682 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8683 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8685 esac
8687 hardcode_libdir_flag_spec='-R$libdir'
8688 hardcode_shlibpath_var=no
8689 case $host_os in
8690 solaris2.[0-5] | solaris2.[0-5].*) ;;
8692 # The compiler driver will combine and reorder linker options,
8693 # but understands `-z linker_flag'. GCC discards it without `$wl',
8694 # but is careful enough not to reorder.
8695 # Supported since Solaris 2.6 (maybe 2.5.1?)
8696 if test "$GCC" = yes; then
8697 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8698 else
8699 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8702 esac
8703 link_all_deplibs=yes
8706 sunos4*)
8707 if test "x$host_vendor" = xsequent; then
8708 # Use $CC to link under sequent, because it throws in some extra .o
8709 # files that make .init and .fini sections work.
8710 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8711 else
8712 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8714 hardcode_libdir_flag_spec='-L$libdir'
8715 hardcode_direct=yes
8716 hardcode_minus_L=yes
8717 hardcode_shlibpath_var=no
8720 sysv4)
8721 case $host_vendor in
8722 sni)
8723 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8724 hardcode_direct=yes # is this really true???
8726 siemens)
8727 ## LD is ld it makes a PLAMLIB
8728 ## CC just makes a GrossModule.
8729 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8730 reload_cmds='$CC -r -o $output$reload_objs'
8731 hardcode_direct=no
8733 motorola)
8734 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8735 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8737 esac
8738 runpath_var='LD_RUN_PATH'
8739 hardcode_shlibpath_var=no
8742 sysv4.3*)
8743 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8744 hardcode_shlibpath_var=no
8745 export_dynamic_flag_spec='-Bexport'
8748 sysv4*MP*)
8749 if test -d /usr/nec; then
8750 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8751 hardcode_shlibpath_var=no
8752 runpath_var=LD_RUN_PATH
8753 hardcode_runpath_var=yes
8754 ld_shlibs=yes
8758 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8759 no_undefined_flag='${wl}-z,text'
8760 archive_cmds_need_lc=no
8761 hardcode_shlibpath_var=no
8762 runpath_var='LD_RUN_PATH'
8764 if test "$GCC" = yes; then
8765 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8766 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8767 else
8768 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8769 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8773 sysv5* | sco3.2v5* | sco5v6*)
8774 # Note: We can NOT use -z defs as we might desire, because we do not
8775 # link with -lc, and that would cause any symbols used from libc to
8776 # always be unresolved, which means just about no library would
8777 # ever link correctly. If we're not using GNU ld we use -z text
8778 # though, which does catch some bad symbols but isn't as heavy-handed
8779 # as -z defs.
8780 no_undefined_flag='${wl}-z,text'
8781 allow_undefined_flag='${wl}-z,nodefs'
8782 archive_cmds_need_lc=no
8783 hardcode_shlibpath_var=no
8784 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8785 hardcode_libdir_separator=':'
8786 link_all_deplibs=yes
8787 export_dynamic_flag_spec='${wl}-Bexport'
8788 runpath_var='LD_RUN_PATH'
8790 if test "$GCC" = yes; then
8791 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8792 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8793 else
8794 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8795 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8799 uts4*)
8800 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8801 hardcode_libdir_flag_spec='-L$libdir'
8802 hardcode_shlibpath_var=no
8806 ld_shlibs=no
8808 esac
8810 if test x$host_vendor = xsni; then
8811 case $host in
8812 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8813 export_dynamic_flag_spec='${wl}-Blargedynsym'
8815 esac
8819 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8820 echo "${ECHO_T}$ld_shlibs" >&6
8821 test "$ld_shlibs" = no && can_build_shared=no
8823 with_gnu_ld=$with_gnu_ld
8840 # Do we need to explicitly link libc?
8842 case "x$archive_cmds_need_lc" in
8843 x|xyes)
8844 # Assume -lc should be added
8845 archive_cmds_need_lc=yes
8847 if test "$enable_shared" = yes && test "$GCC" = yes; then
8848 case $archive_cmds in
8849 *'~'*)
8850 # FIXME: we may have to deal with multi-command sequences.
8852 '$CC '*)
8853 # Test whether the compiler implicitly links with -lc since on some
8854 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8855 # to ld, don't add -lc before -lgcc.
8856 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8857 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8858 $RM conftest*
8859 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8862 (eval $ac_compile) 2>&5
8863 ac_status=$?
8864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8865 (exit $ac_status); } 2>conftest.err; then
8866 soname=conftest
8867 lib=conftest
8868 libobjs=conftest.$ac_objext
8869 deplibs=
8870 wl=$lt_prog_compiler_wl
8871 pic_flag=$lt_prog_compiler_pic
8872 compiler_flags=-v
8873 linker_flags=-v
8874 verstring=
8875 output_objdir=.
8876 libname=conftest
8877 lt_save_allow_undefined_flag=$allow_undefined_flag
8878 allow_undefined_flag=
8879 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8880 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8881 ac_status=$?
8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); }
8884 then
8885 archive_cmds_need_lc=no
8886 else
8887 archive_cmds_need_lc=yes
8889 allow_undefined_flag=$lt_save_allow_undefined_flag
8890 else
8891 cat conftest.err 1>&5
8893 $RM conftest*
8894 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8895 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8897 esac
8900 esac
9058 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9059 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9060 withGCC=$GCC
9061 if test "$withGCC" = yes; then
9062 case $host_os in
9063 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9064 *) lt_awk_arg="/^libraries:/" ;;
9065 esac
9066 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9067 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9068 # if the path contains ";" then we assume it to be the separator
9069 # otherwise default to the standard path separator (i.e. ":") - it is
9070 # assumed that no part of a normal pathname contains ";" but that should
9071 # okay in the real world where ";" in dirpaths is itself problematic.
9072 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9073 else
9074 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9076 # Ok, now we have the path, separated by spaces, we can step through it
9077 # and add multilib dir if necessary.
9078 lt_tmp_lt_search_path_spec=
9079 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9080 for lt_sys_path in $lt_search_path_spec; do
9081 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9082 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9083 else
9084 test -d "$lt_sys_path" && \
9085 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9087 done
9088 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9089 BEGIN {RS=" "; FS="/|\n";} {
9090 lt_foo="";
9091 lt_count=0;
9092 for (lt_i = NF; lt_i > 0; lt_i--) {
9093 if ($lt_i != "" && $lt_i != ".") {
9094 if ($lt_i == "..") {
9095 lt_count++;
9096 } else {
9097 if (lt_count == 0) {
9098 lt_foo="/" $lt_i lt_foo;
9099 } else {
9100 lt_count--;
9105 if (lt_foo != "") { lt_freq[lt_foo]++; }
9106 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9108 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9109 else
9110 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9112 library_names_spec=
9113 libname_spec='lib$name'
9114 soname_spec=
9115 shrext_cmds=".so"
9116 postinstall_cmds=
9117 postuninstall_cmds=
9118 finish_cmds=
9119 finish_eval=
9120 shlibpath_var=
9121 shlibpath_overrides_runpath=unknown
9122 version_type=none
9123 dynamic_linker="$host_os ld.so"
9124 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9125 need_lib_prefix=unknown
9126 hardcode_into_libs=no
9128 # when you set need_version to no, make sure it does not cause -set_version
9129 # flags to be left without arguments
9130 need_version=unknown
9132 case $host_os in
9133 aix3*)
9134 version_type=linux
9135 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9136 shlibpath_var=LIBPATH
9138 # AIX 3 has no versioning support, so we append a major version to the name.
9139 soname_spec='${libname}${release}${shared_ext}$major'
9142 aix[4-9]*)
9143 version_type=linux
9144 need_lib_prefix=no
9145 need_version=no
9146 hardcode_into_libs=yes
9147 if test "$host_cpu" = ia64; then
9148 # AIX 5 supports IA64
9149 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9150 shlibpath_var=LD_LIBRARY_PATH
9151 else
9152 # With GCC up to 2.95.x, collect2 would create an import file
9153 # for dependence libraries. The import file would start with
9154 # the line `#! .'. This would cause the generated library to
9155 # depend on `.', always an invalid library. This was fixed in
9156 # development snapshots of GCC prior to 3.0.
9157 case $host_os in
9158 aix4 | aix4.[01] | aix4.[01].*)
9159 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9160 echo ' yes '
9161 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9163 else
9164 can_build_shared=no
9167 esac
9168 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9169 # soname into executable. Probably we can add versioning support to
9170 # collect2, so additional links can be useful in future.
9171 if test "$aix_use_runtimelinking" = yes; then
9172 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9173 # instead of lib<name>.a to let people know that these are not
9174 # typical AIX shared libraries.
9175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9176 else
9177 # We preserve .a as extension for shared libraries through AIX4.2
9178 # and later when we are not doing run time linking.
9179 library_names_spec='${libname}${release}.a $libname.a'
9180 soname_spec='${libname}${release}${shared_ext}$major'
9182 shlibpath_var=LIBPATH
9186 amigaos*)
9187 if test "$host_cpu" = m68k; then
9188 library_names_spec='$libname.ixlibrary $libname.a'
9189 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9190 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9191 else
9192 dynamic_linker=no
9196 beos*)
9197 library_names_spec='${libname}${shared_ext}'
9198 dynamic_linker="$host_os ld.so"
9199 shlibpath_var=LIBRARY_PATH
9202 bsdi[45]*)
9203 version_type=linux
9204 need_version=no
9205 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9206 soname_spec='${libname}${release}${shared_ext}$major'
9207 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9208 shlibpath_var=LD_LIBRARY_PATH
9209 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9210 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9211 # the default ld.so.conf also contains /usr/contrib/lib and
9212 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9213 # libtool to hard-code these into programs
9216 cygwin* | mingw* | pw32*)
9217 version_type=windows
9218 shrext_cmds=".dll"
9219 need_version=no
9220 need_lib_prefix=no
9222 case $withGCC,$host_os in
9223 yes,cygwin* | yes,mingw* | yes,pw32*)
9224 library_names_spec='$libname.dll.a'
9225 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9226 postinstall_cmds='base_file=`basename \${file}`~
9227 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9228 dldir=$destdir/`dirname \$dlpath`~
9229 test -d \$dldir || mkdir -p \$dldir~
9230 $install_prog $dir/$dlname \$dldir/$dlname~
9231 chmod a+x \$dldir/$dlname~
9232 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9233 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9235 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9236 dlpath=$dir/\$dldll~
9237 $RM \$dlpath'
9238 shlibpath_overrides_runpath=yes
9240 case $host_os in
9241 cygwin*)
9242 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9243 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9244 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9246 mingw*)
9247 # MinGW DLLs use traditional 'lib' prefix
9248 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9249 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9250 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9251 # It is most probably a Windows format PATH printed by
9252 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9253 # path with ; separators, and with drive letters. We can handle the
9254 # drive letters (cygwin fileutils understands them), so leave them,
9255 # especially as we might pass files found there to a mingw objdump,
9256 # which wouldn't understand a cygwinified path. Ahh.
9257 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9258 else
9259 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9262 pw32*)
9263 # pw32 DLLs use 'pw' prefix rather than 'lib'
9264 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9266 esac
9270 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9272 esac
9273 dynamic_linker='Win32 ld.exe'
9274 # FIXME: first we should search . and the directory the executable is in
9275 shlibpath_var=PATH
9278 darwin* | rhapsody*)
9279 dynamic_linker="$host_os dyld"
9280 version_type=darwin
9281 need_lib_prefix=no
9282 need_version=no
9283 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9284 soname_spec='${libname}${release}${major}$shared_ext'
9285 shlibpath_overrides_runpath=yes
9286 shlibpath_var=DYLD_LIBRARY_PATH
9287 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9289 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9290 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9293 dgux*)
9294 version_type=linux
9295 need_lib_prefix=no
9296 need_version=no
9297 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9298 soname_spec='${libname}${release}${shared_ext}$major'
9299 shlibpath_var=LD_LIBRARY_PATH
9302 freebsd1*)
9303 dynamic_linker=no
9306 freebsd* | dragonfly*)
9307 # DragonFly does not have aout. When/if they implement a new
9308 # versioning mechanism, adjust this.
9309 if test -x /usr/bin/objformat; then
9310 objformat=`/usr/bin/objformat`
9311 else
9312 case $host_os in
9313 freebsd[123]*) objformat=aout ;;
9314 *) objformat=elf ;;
9315 esac
9317 version_type=freebsd-$objformat
9318 case $version_type in
9319 freebsd-elf*)
9320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9321 need_version=no
9322 need_lib_prefix=no
9324 freebsd-*)
9325 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9326 need_version=yes
9328 esac
9329 shlibpath_var=LD_LIBRARY_PATH
9330 case $host_os in
9331 freebsd2*)
9332 shlibpath_overrides_runpath=yes
9334 freebsd3.[01]* | freebsdelf3.[01]*)
9335 shlibpath_overrides_runpath=yes
9336 hardcode_into_libs=yes
9338 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9339 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9340 shlibpath_overrides_runpath=no
9341 hardcode_into_libs=yes
9343 *) # from 4.6 on, and DragonFly
9344 shlibpath_overrides_runpath=yes
9345 hardcode_into_libs=yes
9347 esac
9350 gnu*)
9351 version_type=linux
9352 need_lib_prefix=no
9353 need_version=no
9354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9355 soname_spec='${libname}${release}${shared_ext}$major'
9356 shlibpath_var=LD_LIBRARY_PATH
9357 hardcode_into_libs=yes
9360 hpux9* | hpux10* | hpux11*)
9361 # Give a soname corresponding to the major version so that dld.sl refuses to
9362 # link against other versions.
9363 version_type=sunos
9364 need_lib_prefix=no
9365 need_version=no
9366 case $host_cpu in
9367 ia64*)
9368 shrext_cmds='.so'
9369 hardcode_into_libs=yes
9370 dynamic_linker="$host_os dld.so"
9371 shlibpath_var=LD_LIBRARY_PATH
9372 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9374 soname_spec='${libname}${release}${shared_ext}$major'
9375 if test "X$HPUX_IA64_MODE" = X32; then
9376 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9377 else
9378 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9380 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9382 hppa*64*)
9383 shrext_cmds='.sl'
9384 hardcode_into_libs=yes
9385 dynamic_linker="$host_os dld.sl"
9386 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9387 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9388 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9389 soname_spec='${libname}${release}${shared_ext}$major'
9390 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9391 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9394 shrext_cmds='.sl'
9395 dynamic_linker="$host_os dld.sl"
9396 shlibpath_var=SHLIB_PATH
9397 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9398 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9399 soname_spec='${libname}${release}${shared_ext}$major'
9401 esac
9402 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9403 postinstall_cmds='chmod 555 $lib'
9406 interix[3-9]*)
9407 version_type=linux
9408 need_lib_prefix=no
9409 need_version=no
9410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9411 soname_spec='${libname}${release}${shared_ext}$major'
9412 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9413 shlibpath_var=LD_LIBRARY_PATH
9414 shlibpath_overrides_runpath=no
9415 hardcode_into_libs=yes
9418 irix5* | irix6* | nonstopux*)
9419 case $host_os in
9420 nonstopux*) version_type=nonstopux ;;
9422 if test "$lt_cv_prog_gnu_ld" = yes; then
9423 version_type=linux
9424 else
9425 version_type=irix
9426 fi ;;
9427 esac
9428 need_lib_prefix=no
9429 need_version=no
9430 soname_spec='${libname}${release}${shared_ext}$major'
9431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9432 case $host_os in
9433 irix5* | nonstopux*)
9434 libsuff= shlibsuff=
9437 case $LD in # libtool.m4 will add one of these switches to LD
9438 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9439 libsuff= shlibsuff= libmagic=32-bit;;
9440 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9441 libsuff=32 shlibsuff=N32 libmagic=N32;;
9442 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9443 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9444 *) libsuff= shlibsuff= libmagic=never-match;;
9445 esac
9447 esac
9448 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9449 shlibpath_overrides_runpath=no
9450 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9451 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9452 hardcode_into_libs=yes
9455 # No shared lib support for Linux oldld, aout, or coff.
9456 linux*oldld* | linux*aout* | linux*coff*)
9457 dynamic_linker=no
9460 # This must be Linux ELF.
9461 linux* | k*bsd*-gnu)
9462 version_type=linux
9463 need_lib_prefix=no
9464 need_version=no
9465 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9466 soname_spec='${libname}${release}${shared_ext}$major'
9467 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9468 shlibpath_var=LD_LIBRARY_PATH
9469 shlibpath_overrides_runpath=no
9470 # Some binutils ld are patched to set DT_RUNPATH
9471 save_LDFLAGS=$LDFLAGS
9472 save_libdir=$libdir
9473 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9474 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9475 if test x$gcc_no_link = xyes; then
9476 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9478 { (exit 1); exit 1; }; }
9480 cat >conftest.$ac_ext <<_ACEOF
9481 /* confdefs.h. */
9482 _ACEOF
9483 cat confdefs.h >>conftest.$ac_ext
9484 cat >>conftest.$ac_ext <<_ACEOF
9485 /* end confdefs.h. */
9488 main ()
9492 return 0;
9494 _ACEOF
9495 rm -f conftest.$ac_objext conftest$ac_exeext
9496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9497 (eval $ac_link) 2>conftest.er1
9498 ac_status=$?
9499 grep -v '^ *+' conftest.er1 >conftest.err
9500 rm -f conftest.er1
9501 cat conftest.err >&5
9502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9503 (exit $ac_status); } &&
9504 { ac_try='test -z "$ac_c_werror_flag"
9505 || test ! -s conftest.err'
9506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9507 (eval $ac_try) 2>&5
9508 ac_status=$?
9509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9510 (exit $ac_status); }; } &&
9511 { ac_try='test -s conftest$ac_exeext'
9512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9513 (eval $ac_try) 2>&5
9514 ac_status=$?
9515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9516 (exit $ac_status); }; }; then
9517 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9518 shlibpath_overrides_runpath=yes
9521 else
9522 echo "$as_me: failed program was:" >&5
9523 sed 's/^/| /' conftest.$ac_ext >&5
9526 rm -f conftest.err conftest.$ac_objext \
9527 conftest$ac_exeext conftest.$ac_ext
9528 LDFLAGS=$save_LDFLAGS
9529 libdir=$save_libdir
9531 # This implies no fast_install, which is unacceptable.
9532 # Some rework will be needed to allow for fast_install
9533 # before this can be enabled.
9534 hardcode_into_libs=yes
9536 # Append ld.so.conf contents to the search path
9537 if test -f /etc/ld.so.conf; then
9538 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9539 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9542 # We used to test for /lib/ld.so.1 and disable shared libraries on
9543 # powerpc, because MkLinux only supported shared libraries with the
9544 # GNU dynamic linker. Since this was broken with cross compilers,
9545 # most powerpc-linux boxes support dynamic linking these days and
9546 # people can always --disable-shared, the test was removed, and we
9547 # assume the GNU/Linux dynamic linker is in use.
9548 dynamic_linker='GNU/Linux ld.so'
9551 netbsd*)
9552 version_type=sunos
9553 need_lib_prefix=no
9554 need_version=no
9555 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9557 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9558 dynamic_linker='NetBSD (a.out) ld.so'
9559 else
9560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9561 soname_spec='${libname}${release}${shared_ext}$major'
9562 dynamic_linker='NetBSD ld.elf_so'
9564 shlibpath_var=LD_LIBRARY_PATH
9565 shlibpath_overrides_runpath=yes
9566 hardcode_into_libs=yes
9569 newsos6)
9570 version_type=linux
9571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9572 shlibpath_var=LD_LIBRARY_PATH
9573 shlibpath_overrides_runpath=yes
9576 *nto* | *qnx*)
9577 version_type=qnx
9578 need_lib_prefix=no
9579 need_version=no
9580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9581 soname_spec='${libname}${release}${shared_ext}$major'
9582 shlibpath_var=LD_LIBRARY_PATH
9583 shlibpath_overrides_runpath=no
9584 hardcode_into_libs=yes
9585 dynamic_linker='ldqnx.so'
9588 openbsd*)
9589 version_type=sunos
9590 sys_lib_dlsearch_path_spec="/usr/lib"
9591 need_lib_prefix=no
9592 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9593 case $host_os in
9594 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9595 *) need_version=no ;;
9596 esac
9597 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9598 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9599 shlibpath_var=LD_LIBRARY_PATH
9600 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9601 case $host_os in
9602 openbsd2.[89] | openbsd2.[89].*)
9603 shlibpath_overrides_runpath=no
9606 shlibpath_overrides_runpath=yes
9608 esac
9609 else
9610 shlibpath_overrides_runpath=yes
9614 os2*)
9615 libname_spec='$name'
9616 shrext_cmds=".dll"
9617 need_lib_prefix=no
9618 library_names_spec='$libname${shared_ext} $libname.a'
9619 dynamic_linker='OS/2 ld.exe'
9620 shlibpath_var=LIBPATH
9623 osf3* | osf4* | osf5*)
9624 version_type=osf
9625 need_lib_prefix=no
9626 need_version=no
9627 soname_spec='${libname}${release}${shared_ext}$major'
9628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9629 shlibpath_var=LD_LIBRARY_PATH
9630 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9631 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9634 rdos*)
9635 dynamic_linker=no
9638 solaris*)
9639 version_type=linux
9640 need_lib_prefix=no
9641 need_version=no
9642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9643 soname_spec='${libname}${release}${shared_ext}$major'
9644 shlibpath_var=LD_LIBRARY_PATH
9645 shlibpath_overrides_runpath=yes
9646 hardcode_into_libs=yes
9647 # ldd complains unless libraries are executable
9648 postinstall_cmds='chmod +x $lib'
9651 sunos4*)
9652 version_type=sunos
9653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9654 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9655 shlibpath_var=LD_LIBRARY_PATH
9656 shlibpath_overrides_runpath=yes
9657 if test "$with_gnu_ld" = yes; then
9658 need_lib_prefix=no
9660 need_version=yes
9663 sysv4 | sysv4.3*)
9664 version_type=linux
9665 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9666 soname_spec='${libname}${release}${shared_ext}$major'
9667 shlibpath_var=LD_LIBRARY_PATH
9668 case $host_vendor in
9669 sni)
9670 shlibpath_overrides_runpath=no
9671 need_lib_prefix=no
9672 runpath_var=LD_RUN_PATH
9674 siemens)
9675 need_lib_prefix=no
9677 motorola)
9678 need_lib_prefix=no
9679 need_version=no
9680 shlibpath_overrides_runpath=no
9681 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9683 esac
9686 sysv4*MP*)
9687 if test -d /usr/nec ;then
9688 version_type=linux
9689 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9690 soname_spec='$libname${shared_ext}.$major'
9691 shlibpath_var=LD_LIBRARY_PATH
9695 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9696 version_type=freebsd-elf
9697 need_lib_prefix=no
9698 need_version=no
9699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9700 soname_spec='${libname}${release}${shared_ext}$major'
9701 shlibpath_var=LD_LIBRARY_PATH
9702 shlibpath_overrides_runpath=yes
9703 hardcode_into_libs=yes
9704 if test "$with_gnu_ld" = yes; then
9705 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9706 else
9707 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9708 case $host_os in
9709 sco3.2v5*)
9710 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9712 esac
9714 sys_lib_dlsearch_path_spec='/usr/lib'
9717 tpf*)
9718 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9719 version_type=linux
9720 need_lib_prefix=no
9721 need_version=no
9722 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9723 shlibpath_var=LD_LIBRARY_PATH
9724 shlibpath_overrides_runpath=no
9725 hardcode_into_libs=yes
9728 uts4*)
9729 version_type=linux
9730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9731 soname_spec='${libname}${release}${shared_ext}$major'
9732 shlibpath_var=LD_LIBRARY_PATH
9736 dynamic_linker=no
9738 esac
9739 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9740 echo "${ECHO_T}$dynamic_linker" >&6
9741 test "$dynamic_linker" = no && can_build_shared=no
9743 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9744 if test "$GCC" = yes; then
9745 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9834 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9835 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9836 hardcode_action=
9837 if test -n "$hardcode_libdir_flag_spec" ||
9838 test -n "$runpath_var" ||
9839 test "X$hardcode_automatic" = "Xyes" ; then
9841 # We can hardcode non-existent directories.
9842 if test "$hardcode_direct" != no &&
9843 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9844 # have to relink, otherwise we might link with an installed library
9845 # when we should be linking with a yet-to-be-installed one
9846 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9847 test "$hardcode_minus_L" != no; then
9848 # Linking always hardcodes the temporary library directory.
9849 hardcode_action=relink
9850 else
9851 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9852 hardcode_action=immediate
9854 else
9855 # We cannot hardcode anything, or else we can only hardcode existing
9856 # directories.
9857 hardcode_action=unsupported
9859 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9860 echo "${ECHO_T}$hardcode_action" >&6
9862 if test "$hardcode_action" = relink ||
9863 test "$inherit_rpath" = yes; then
9864 # Fast installation is not supported
9865 enable_fast_install=no
9866 elif test "$shlibpath_overrides_runpath" = yes ||
9867 test "$enable_shared" = no; then
9868 # Fast installation is not necessary
9869 enable_fast_install=needless
9877 if test "x$enable_dlopen" != xyes; then
9878 enable_dlopen=unknown
9879 enable_dlopen_self=unknown
9880 enable_dlopen_self_static=unknown
9881 else
9882 lt_cv_dlopen=no
9883 lt_cv_dlopen_libs=
9885 case $host_os in
9886 beos*)
9887 lt_cv_dlopen="load_add_on"
9888 lt_cv_dlopen_libs=
9889 lt_cv_dlopen_self=yes
9892 mingw* | pw32*)
9893 lt_cv_dlopen="LoadLibrary"
9894 lt_cv_dlopen_libs=
9897 cygwin*)
9898 lt_cv_dlopen="dlopen"
9899 lt_cv_dlopen_libs=
9902 darwin*)
9903 # if libdl is installed we need to link against it
9904 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9905 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9906 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9907 echo $ECHO_N "(cached) $ECHO_C" >&6
9908 else
9909 ac_check_lib_save_LIBS=$LIBS
9910 LIBS="-ldl $LIBS"
9911 if test x$gcc_no_link = xyes; then
9912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9914 { (exit 1); exit 1; }; }
9916 cat >conftest.$ac_ext <<_ACEOF
9917 /* confdefs.h. */
9918 _ACEOF
9919 cat confdefs.h >>conftest.$ac_ext
9920 cat >>conftest.$ac_ext <<_ACEOF
9921 /* end confdefs.h. */
9923 /* Override any gcc2 internal prototype to avoid an error. */
9924 #ifdef __cplusplus
9925 extern "C"
9926 #endif
9927 /* We use char because int might match the return type of a gcc2
9928 builtin and then its argument prototype would still apply. */
9929 char dlopen ();
9931 main ()
9933 dlopen ();
9935 return 0;
9937 _ACEOF
9938 rm -f conftest.$ac_objext conftest$ac_exeext
9939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9940 (eval $ac_link) 2>conftest.er1
9941 ac_status=$?
9942 grep -v '^ *+' conftest.er1 >conftest.err
9943 rm -f conftest.er1
9944 cat conftest.err >&5
9945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946 (exit $ac_status); } &&
9947 { ac_try='test -z "$ac_c_werror_flag"
9948 || test ! -s conftest.err'
9949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9950 (eval $ac_try) 2>&5
9951 ac_status=$?
9952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9953 (exit $ac_status); }; } &&
9954 { ac_try='test -s conftest$ac_exeext'
9955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9956 (eval $ac_try) 2>&5
9957 ac_status=$?
9958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9959 (exit $ac_status); }; }; then
9960 ac_cv_lib_dl_dlopen=yes
9961 else
9962 echo "$as_me: failed program was:" >&5
9963 sed 's/^/| /' conftest.$ac_ext >&5
9965 ac_cv_lib_dl_dlopen=no
9967 rm -f conftest.err conftest.$ac_objext \
9968 conftest$ac_exeext conftest.$ac_ext
9969 LIBS=$ac_check_lib_save_LIBS
9971 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9972 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9973 if test $ac_cv_lib_dl_dlopen = yes; then
9974 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9975 else
9977 lt_cv_dlopen="dyld"
9978 lt_cv_dlopen_libs=
9979 lt_cv_dlopen_self=yes
9986 echo "$as_me:$LINENO: checking for shl_load" >&5
9987 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9988 if test "${ac_cv_func_shl_load+set}" = set; then
9989 echo $ECHO_N "(cached) $ECHO_C" >&6
9990 else
9991 if test x$gcc_no_link = xyes; then
9992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9994 { (exit 1); exit 1; }; }
9996 cat >conftest.$ac_ext <<_ACEOF
9997 /* confdefs.h. */
9998 _ACEOF
9999 cat confdefs.h >>conftest.$ac_ext
10000 cat >>conftest.$ac_ext <<_ACEOF
10001 /* end confdefs.h. */
10002 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10004 #define shl_load innocuous_shl_load
10006 /* System header to define __stub macros and hopefully few prototypes,
10007 which can conflict with char shl_load (); below.
10008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10009 <limits.h> exists even on freestanding compilers. */
10011 #ifdef __STDC__
10012 # include <limits.h>
10013 #else
10014 # include <assert.h>
10015 #endif
10017 #undef shl_load
10019 /* Override any gcc2 internal prototype to avoid an error. */
10020 #ifdef __cplusplus
10021 extern "C"
10023 #endif
10024 /* We use char because int might match the return type of a gcc2
10025 builtin and then its argument prototype would still apply. */
10026 char shl_load ();
10027 /* The GNU C library defines this for functions which it implements
10028 to always fail with ENOSYS. Some functions are actually named
10029 something starting with __ and the normal name is an alias. */
10030 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10031 choke me
10032 #else
10033 char (*f) () = shl_load;
10034 #endif
10035 #ifdef __cplusplus
10037 #endif
10040 main ()
10042 return f != shl_load;
10044 return 0;
10046 _ACEOF
10047 rm -f conftest.$ac_objext conftest$ac_exeext
10048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10049 (eval $ac_link) 2>conftest.er1
10050 ac_status=$?
10051 grep -v '^ *+' conftest.er1 >conftest.err
10052 rm -f conftest.er1
10053 cat conftest.err >&5
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); } &&
10056 { ac_try='test -z "$ac_c_werror_flag"
10057 || test ! -s conftest.err'
10058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10059 (eval $ac_try) 2>&5
10060 ac_status=$?
10061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10062 (exit $ac_status); }; } &&
10063 { ac_try='test -s conftest$ac_exeext'
10064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10065 (eval $ac_try) 2>&5
10066 ac_status=$?
10067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10068 (exit $ac_status); }; }; then
10069 ac_cv_func_shl_load=yes
10070 else
10071 echo "$as_me: failed program was:" >&5
10072 sed 's/^/| /' conftest.$ac_ext >&5
10074 ac_cv_func_shl_load=no
10076 rm -f conftest.err conftest.$ac_objext \
10077 conftest$ac_exeext conftest.$ac_ext
10079 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10080 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10081 if test $ac_cv_func_shl_load = yes; then
10082 lt_cv_dlopen="shl_load"
10083 else
10084 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10085 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10086 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10087 echo $ECHO_N "(cached) $ECHO_C" >&6
10088 else
10089 ac_check_lib_save_LIBS=$LIBS
10090 LIBS="-ldld $LIBS"
10091 if test x$gcc_no_link = xyes; then
10092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10094 { (exit 1); exit 1; }; }
10096 cat >conftest.$ac_ext <<_ACEOF
10097 /* confdefs.h. */
10098 _ACEOF
10099 cat confdefs.h >>conftest.$ac_ext
10100 cat >>conftest.$ac_ext <<_ACEOF
10101 /* end confdefs.h. */
10103 /* Override any gcc2 internal prototype to avoid an error. */
10104 #ifdef __cplusplus
10105 extern "C"
10106 #endif
10107 /* We use char because int might match the return type of a gcc2
10108 builtin and then its argument prototype would still apply. */
10109 char shl_load ();
10111 main ()
10113 shl_load ();
10115 return 0;
10117 _ACEOF
10118 rm -f conftest.$ac_objext conftest$ac_exeext
10119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10120 (eval $ac_link) 2>conftest.er1
10121 ac_status=$?
10122 grep -v '^ *+' conftest.er1 >conftest.err
10123 rm -f conftest.er1
10124 cat conftest.err >&5
10125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10126 (exit $ac_status); } &&
10127 { ac_try='test -z "$ac_c_werror_flag"
10128 || test ! -s conftest.err'
10129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10130 (eval $ac_try) 2>&5
10131 ac_status=$?
10132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133 (exit $ac_status); }; } &&
10134 { ac_try='test -s conftest$ac_exeext'
10135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10136 (eval $ac_try) 2>&5
10137 ac_status=$?
10138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10139 (exit $ac_status); }; }; then
10140 ac_cv_lib_dld_shl_load=yes
10141 else
10142 echo "$as_me: failed program was:" >&5
10143 sed 's/^/| /' conftest.$ac_ext >&5
10145 ac_cv_lib_dld_shl_load=no
10147 rm -f conftest.err conftest.$ac_objext \
10148 conftest$ac_exeext conftest.$ac_ext
10149 LIBS=$ac_check_lib_save_LIBS
10151 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10152 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10153 if test $ac_cv_lib_dld_shl_load = yes; then
10154 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10155 else
10156 echo "$as_me:$LINENO: checking for dlopen" >&5
10157 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10158 if test "${ac_cv_func_dlopen+set}" = set; then
10159 echo $ECHO_N "(cached) $ECHO_C" >&6
10160 else
10161 if test x$gcc_no_link = xyes; then
10162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10164 { (exit 1); exit 1; }; }
10166 cat >conftest.$ac_ext <<_ACEOF
10167 /* confdefs.h. */
10168 _ACEOF
10169 cat confdefs.h >>conftest.$ac_ext
10170 cat >>conftest.$ac_ext <<_ACEOF
10171 /* end confdefs.h. */
10172 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10174 #define dlopen innocuous_dlopen
10176 /* System header to define __stub macros and hopefully few prototypes,
10177 which can conflict with char dlopen (); below.
10178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10179 <limits.h> exists even on freestanding compilers. */
10181 #ifdef __STDC__
10182 # include <limits.h>
10183 #else
10184 # include <assert.h>
10185 #endif
10187 #undef dlopen
10189 /* Override any gcc2 internal prototype to avoid an error. */
10190 #ifdef __cplusplus
10191 extern "C"
10193 #endif
10194 /* We use char because int might match the return type of a gcc2
10195 builtin and then its argument prototype would still apply. */
10196 char dlopen ();
10197 /* The GNU C library defines this for functions which it implements
10198 to always fail with ENOSYS. Some functions are actually named
10199 something starting with __ and the normal name is an alias. */
10200 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10201 choke me
10202 #else
10203 char (*f) () = dlopen;
10204 #endif
10205 #ifdef __cplusplus
10207 #endif
10210 main ()
10212 return f != dlopen;
10214 return 0;
10216 _ACEOF
10217 rm -f conftest.$ac_objext conftest$ac_exeext
10218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10219 (eval $ac_link) 2>conftest.er1
10220 ac_status=$?
10221 grep -v '^ *+' conftest.er1 >conftest.err
10222 rm -f conftest.er1
10223 cat conftest.err >&5
10224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10225 (exit $ac_status); } &&
10226 { ac_try='test -z "$ac_c_werror_flag"
10227 || test ! -s conftest.err'
10228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10229 (eval $ac_try) 2>&5
10230 ac_status=$?
10231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10232 (exit $ac_status); }; } &&
10233 { ac_try='test -s conftest$ac_exeext'
10234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10235 (eval $ac_try) 2>&5
10236 ac_status=$?
10237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10238 (exit $ac_status); }; }; then
10239 ac_cv_func_dlopen=yes
10240 else
10241 echo "$as_me: failed program was:" >&5
10242 sed 's/^/| /' conftest.$ac_ext >&5
10244 ac_cv_func_dlopen=no
10246 rm -f conftest.err conftest.$ac_objext \
10247 conftest$ac_exeext conftest.$ac_ext
10249 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10250 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10251 if test $ac_cv_func_dlopen = yes; then
10252 lt_cv_dlopen="dlopen"
10253 else
10254 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10255 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10256 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10257 echo $ECHO_N "(cached) $ECHO_C" >&6
10258 else
10259 ac_check_lib_save_LIBS=$LIBS
10260 LIBS="-ldl $LIBS"
10261 if test x$gcc_no_link = xyes; then
10262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10264 { (exit 1); exit 1; }; }
10266 cat >conftest.$ac_ext <<_ACEOF
10267 /* confdefs.h. */
10268 _ACEOF
10269 cat confdefs.h >>conftest.$ac_ext
10270 cat >>conftest.$ac_ext <<_ACEOF
10271 /* end confdefs.h. */
10273 /* Override any gcc2 internal prototype to avoid an error. */
10274 #ifdef __cplusplus
10275 extern "C"
10276 #endif
10277 /* We use char because int might match the return type of a gcc2
10278 builtin and then its argument prototype would still apply. */
10279 char dlopen ();
10281 main ()
10283 dlopen ();
10285 return 0;
10287 _ACEOF
10288 rm -f conftest.$ac_objext conftest$ac_exeext
10289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10290 (eval $ac_link) 2>conftest.er1
10291 ac_status=$?
10292 grep -v '^ *+' conftest.er1 >conftest.err
10293 rm -f conftest.er1
10294 cat conftest.err >&5
10295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10296 (exit $ac_status); } &&
10297 { ac_try='test -z "$ac_c_werror_flag"
10298 || test ! -s conftest.err'
10299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10300 (eval $ac_try) 2>&5
10301 ac_status=$?
10302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10303 (exit $ac_status); }; } &&
10304 { ac_try='test -s conftest$ac_exeext'
10305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10306 (eval $ac_try) 2>&5
10307 ac_status=$?
10308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10309 (exit $ac_status); }; }; then
10310 ac_cv_lib_dl_dlopen=yes
10311 else
10312 echo "$as_me: failed program was:" >&5
10313 sed 's/^/| /' conftest.$ac_ext >&5
10315 ac_cv_lib_dl_dlopen=no
10317 rm -f conftest.err conftest.$ac_objext \
10318 conftest$ac_exeext conftest.$ac_ext
10319 LIBS=$ac_check_lib_save_LIBS
10321 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10322 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10323 if test $ac_cv_lib_dl_dlopen = yes; then
10324 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10325 else
10326 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10327 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10328 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10329 echo $ECHO_N "(cached) $ECHO_C" >&6
10330 else
10331 ac_check_lib_save_LIBS=$LIBS
10332 LIBS="-lsvld $LIBS"
10333 if test x$gcc_no_link = xyes; then
10334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10336 { (exit 1); exit 1; }; }
10338 cat >conftest.$ac_ext <<_ACEOF
10339 /* confdefs.h. */
10340 _ACEOF
10341 cat confdefs.h >>conftest.$ac_ext
10342 cat >>conftest.$ac_ext <<_ACEOF
10343 /* end confdefs.h. */
10345 /* Override any gcc2 internal prototype to avoid an error. */
10346 #ifdef __cplusplus
10347 extern "C"
10348 #endif
10349 /* We use char because int might match the return type of a gcc2
10350 builtin and then its argument prototype would still apply. */
10351 char dlopen ();
10353 main ()
10355 dlopen ();
10357 return 0;
10359 _ACEOF
10360 rm -f conftest.$ac_objext conftest$ac_exeext
10361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10362 (eval $ac_link) 2>conftest.er1
10363 ac_status=$?
10364 grep -v '^ *+' conftest.er1 >conftest.err
10365 rm -f conftest.er1
10366 cat conftest.err >&5
10367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10368 (exit $ac_status); } &&
10369 { ac_try='test -z "$ac_c_werror_flag"
10370 || test ! -s conftest.err'
10371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10372 (eval $ac_try) 2>&5
10373 ac_status=$?
10374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10375 (exit $ac_status); }; } &&
10376 { ac_try='test -s conftest$ac_exeext'
10377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10378 (eval $ac_try) 2>&5
10379 ac_status=$?
10380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10381 (exit $ac_status); }; }; then
10382 ac_cv_lib_svld_dlopen=yes
10383 else
10384 echo "$as_me: failed program was:" >&5
10385 sed 's/^/| /' conftest.$ac_ext >&5
10387 ac_cv_lib_svld_dlopen=no
10389 rm -f conftest.err conftest.$ac_objext \
10390 conftest$ac_exeext conftest.$ac_ext
10391 LIBS=$ac_check_lib_save_LIBS
10393 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10394 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10395 if test $ac_cv_lib_svld_dlopen = yes; then
10396 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10397 else
10398 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10399 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10400 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10401 echo $ECHO_N "(cached) $ECHO_C" >&6
10402 else
10403 ac_check_lib_save_LIBS=$LIBS
10404 LIBS="-ldld $LIBS"
10405 if test x$gcc_no_link = xyes; then
10406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10408 { (exit 1); exit 1; }; }
10410 cat >conftest.$ac_ext <<_ACEOF
10411 /* confdefs.h. */
10412 _ACEOF
10413 cat confdefs.h >>conftest.$ac_ext
10414 cat >>conftest.$ac_ext <<_ACEOF
10415 /* end confdefs.h. */
10417 /* Override any gcc2 internal prototype to avoid an error. */
10418 #ifdef __cplusplus
10419 extern "C"
10420 #endif
10421 /* We use char because int might match the return type of a gcc2
10422 builtin and then its argument prototype would still apply. */
10423 char dld_link ();
10425 main ()
10427 dld_link ();
10429 return 0;
10431 _ACEOF
10432 rm -f conftest.$ac_objext conftest$ac_exeext
10433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10434 (eval $ac_link) 2>conftest.er1
10435 ac_status=$?
10436 grep -v '^ *+' conftest.er1 >conftest.err
10437 rm -f conftest.er1
10438 cat conftest.err >&5
10439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10440 (exit $ac_status); } &&
10441 { ac_try='test -z "$ac_c_werror_flag"
10442 || test ! -s conftest.err'
10443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10444 (eval $ac_try) 2>&5
10445 ac_status=$?
10446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10447 (exit $ac_status); }; } &&
10448 { ac_try='test -s conftest$ac_exeext'
10449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10450 (eval $ac_try) 2>&5
10451 ac_status=$?
10452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10453 (exit $ac_status); }; }; then
10454 ac_cv_lib_dld_dld_link=yes
10455 else
10456 echo "$as_me: failed program was:" >&5
10457 sed 's/^/| /' conftest.$ac_ext >&5
10459 ac_cv_lib_dld_dld_link=no
10461 rm -f conftest.err conftest.$ac_objext \
10462 conftest$ac_exeext conftest.$ac_ext
10463 LIBS=$ac_check_lib_save_LIBS
10465 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10466 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10467 if test $ac_cv_lib_dld_dld_link = yes; then
10468 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10487 esac
10489 if test "x$lt_cv_dlopen" != xno; then
10490 enable_dlopen=yes
10491 else
10492 enable_dlopen=no
10495 case $lt_cv_dlopen in
10496 dlopen)
10497 save_CPPFLAGS="$CPPFLAGS"
10498 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10500 save_LDFLAGS="$LDFLAGS"
10501 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10503 save_LIBS="$LIBS"
10504 LIBS="$lt_cv_dlopen_libs $LIBS"
10506 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10507 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10508 if test "${lt_cv_dlopen_self+set}" = set; then
10509 echo $ECHO_N "(cached) $ECHO_C" >&6
10510 else
10511 if test "$cross_compiling" = yes; then :
10512 lt_cv_dlopen_self=cross
10513 else
10514 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10515 lt_status=$lt_dlunknown
10516 cat > conftest.$ac_ext <<_LT_EOF
10517 #line 10517 "configure"
10518 #include "confdefs.h"
10520 #if HAVE_DLFCN_H
10521 #include <dlfcn.h>
10522 #endif
10524 #include <stdio.h>
10526 #ifdef RTLD_GLOBAL
10527 # define LT_DLGLOBAL RTLD_GLOBAL
10528 #else
10529 # ifdef DL_GLOBAL
10530 # define LT_DLGLOBAL DL_GLOBAL
10531 # else
10532 # define LT_DLGLOBAL 0
10533 # endif
10534 #endif
10536 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10537 find out it does not work in some platform. */
10538 #ifndef LT_DLLAZY_OR_NOW
10539 # ifdef RTLD_LAZY
10540 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10541 # else
10542 # ifdef DL_LAZY
10543 # define LT_DLLAZY_OR_NOW DL_LAZY
10544 # else
10545 # ifdef RTLD_NOW
10546 # define LT_DLLAZY_OR_NOW RTLD_NOW
10547 # else
10548 # ifdef DL_NOW
10549 # define LT_DLLAZY_OR_NOW DL_NOW
10550 # else
10551 # define LT_DLLAZY_OR_NOW 0
10552 # endif
10553 # endif
10554 # endif
10555 # endif
10556 #endif
10558 #ifdef __cplusplus
10559 extern "C" void exit (int);
10560 #endif
10562 void fnord() { int i=42;}
10563 int main ()
10565 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10566 int status = $lt_dlunknown;
10568 if (self)
10570 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10571 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10572 /* dlclose (self); */
10574 else
10575 puts (dlerror ());
10577 exit (status);
10579 _LT_EOF
10580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10581 (eval $ac_link) 2>&5
10582 ac_status=$?
10583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10584 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10585 (./conftest; exit; ) >&5 2>/dev/null
10586 lt_status=$?
10587 case x$lt_status in
10588 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10589 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10590 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10591 esac
10592 else :
10593 # compilation failed
10594 lt_cv_dlopen_self=no
10597 rm -fr conftest*
10601 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10602 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10604 if test "x$lt_cv_dlopen_self" = xyes; then
10605 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10606 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10607 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10608 if test "${lt_cv_dlopen_self_static+set}" = set; then
10609 echo $ECHO_N "(cached) $ECHO_C" >&6
10610 else
10611 if test "$cross_compiling" = yes; then :
10612 lt_cv_dlopen_self_static=cross
10613 else
10614 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10615 lt_status=$lt_dlunknown
10616 cat > conftest.$ac_ext <<_LT_EOF
10617 #line 10617 "configure"
10618 #include "confdefs.h"
10620 #if HAVE_DLFCN_H
10621 #include <dlfcn.h>
10622 #endif
10624 #include <stdio.h>
10626 #ifdef RTLD_GLOBAL
10627 # define LT_DLGLOBAL RTLD_GLOBAL
10628 #else
10629 # ifdef DL_GLOBAL
10630 # define LT_DLGLOBAL DL_GLOBAL
10631 # else
10632 # define LT_DLGLOBAL 0
10633 # endif
10634 #endif
10636 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10637 find out it does not work in some platform. */
10638 #ifndef LT_DLLAZY_OR_NOW
10639 # ifdef RTLD_LAZY
10640 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10641 # else
10642 # ifdef DL_LAZY
10643 # define LT_DLLAZY_OR_NOW DL_LAZY
10644 # else
10645 # ifdef RTLD_NOW
10646 # define LT_DLLAZY_OR_NOW RTLD_NOW
10647 # else
10648 # ifdef DL_NOW
10649 # define LT_DLLAZY_OR_NOW DL_NOW
10650 # else
10651 # define LT_DLLAZY_OR_NOW 0
10652 # endif
10653 # endif
10654 # endif
10655 # endif
10656 #endif
10658 #ifdef __cplusplus
10659 extern "C" void exit (int);
10660 #endif
10662 void fnord() { int i=42;}
10663 int main ()
10665 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10666 int status = $lt_dlunknown;
10668 if (self)
10670 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10671 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10672 /* dlclose (self); */
10674 else
10675 puts (dlerror ());
10677 exit (status);
10679 _LT_EOF
10680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10681 (eval $ac_link) 2>&5
10682 ac_status=$?
10683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10684 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10685 (./conftest; exit; ) >&5 2>/dev/null
10686 lt_status=$?
10687 case x$lt_status in
10688 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10689 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10690 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10691 esac
10692 else :
10693 # compilation failed
10694 lt_cv_dlopen_self_static=no
10697 rm -fr conftest*
10701 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10702 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10705 CPPFLAGS="$save_CPPFLAGS"
10706 LDFLAGS="$save_LDFLAGS"
10707 LIBS="$save_LIBS"
10709 esac
10711 case $lt_cv_dlopen_self in
10712 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10713 *) enable_dlopen_self=unknown ;;
10714 esac
10716 case $lt_cv_dlopen_self_static in
10717 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10718 *) enable_dlopen_self_static=unknown ;;
10719 esac
10738 striplib=
10739 old_striplib=
10740 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10741 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10742 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10743 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10744 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10745 echo "$as_me:$LINENO: result: yes" >&5
10746 echo "${ECHO_T}yes" >&6
10747 else
10748 # FIXME - insert some real tests, host_os isn't really good enough
10749 case $host_os in
10750 darwin*)
10751 if test -n "$STRIP" ; then
10752 striplib="$STRIP -x"
10753 old_striplib="$STRIP -S"
10754 echo "$as_me:$LINENO: result: yes" >&5
10755 echo "${ECHO_T}yes" >&6
10756 else
10757 echo "$as_me:$LINENO: result: no" >&5
10758 echo "${ECHO_T}no" >&6
10762 echo "$as_me:$LINENO: result: no" >&5
10763 echo "${ECHO_T}no" >&6
10765 esac
10779 # Report which library types will actually be built
10780 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10781 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10782 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10783 echo "${ECHO_T}$can_build_shared" >&6
10785 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10786 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10787 test "$can_build_shared" = "no" && enable_shared=no
10789 # On AIX, shared libraries and static libraries use the same namespace, and
10790 # are all built from PIC.
10791 case $host_os in
10792 aix3*)
10793 test "$enable_shared" = yes && enable_static=no
10794 if test -n "$RANLIB"; then
10795 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10796 postinstall_cmds='$RANLIB $lib'
10800 aix[4-9]*)
10801 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10802 test "$enable_shared" = yes && enable_static=no
10805 esac
10806 echo "$as_me:$LINENO: result: $enable_shared" >&5
10807 echo "${ECHO_T}$enable_shared" >&6
10809 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10810 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10811 # Make sure either enable_shared or enable_static is yes.
10812 test "$enable_shared" = yes || enable_static=yes
10813 echo "$as_me:$LINENO: result: $enable_static" >&5
10814 echo "${ECHO_T}$enable_static" >&6
10820 ac_ext=c
10821 ac_cpp='$CPP $CPPFLAGS'
10822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10826 CC="$lt_save_CC"
10829 ac_ext=cc
10830 ac_cpp='$CXXCPP $CPPFLAGS'
10831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10835 archive_cmds_need_lc_CXX=no
10836 allow_undefined_flag_CXX=
10837 always_export_symbols_CXX=no
10838 archive_expsym_cmds_CXX=
10839 compiler_needs_object_CXX=no
10840 export_dynamic_flag_spec_CXX=
10841 hardcode_direct_CXX=no
10842 hardcode_direct_absolute_CXX=no
10843 hardcode_libdir_flag_spec_CXX=
10844 hardcode_libdir_flag_spec_ld_CXX=
10845 hardcode_libdir_separator_CXX=
10846 hardcode_minus_L_CXX=no
10847 hardcode_shlibpath_var_CXX=unsupported
10848 hardcode_automatic_CXX=no
10849 inherit_rpath_CXX=no
10850 module_cmds_CXX=
10851 module_expsym_cmds_CXX=
10852 link_all_deplibs_CXX=unknown
10853 old_archive_cmds_CXX=$old_archive_cmds
10854 no_undefined_flag_CXX=
10855 whole_archive_flag_spec_CXX=
10856 enable_shared_with_static_runtimes_CXX=no
10858 # Source file extension for C++ test sources.
10859 ac_ext=cpp
10861 # Object file extension for compiled C++ test sources.
10862 objext=o
10863 objext_CXX=$objext
10865 # No sense in running all these tests if we already determined that
10866 # the CXX compiler isn't working. Some variables (like enable_shared)
10867 # are currently assumed to apply to all compilers on this platform,
10868 # and will be corrupted by setting them based on a non-working compiler.
10869 if test "$_lt_caught_CXX_error" != yes; then
10870 # Code to be used in simple compile tests
10871 lt_simple_compile_test_code="int some_variable = 0;"
10873 # Code to be used in simple link tests
10874 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10876 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10883 # If no C compiler was specified, use CC.
10884 LTCC=${LTCC-"$CC"}
10886 # If no C compiler flags were specified, use CFLAGS.
10887 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10889 # Allow CC to be a program name with arguments.
10890 compiler=$CC
10893 # save warnings/boilerplate of simple test code
10894 ac_outfile=conftest.$ac_objext
10895 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10896 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10897 _lt_compiler_boilerplate=`cat conftest.err`
10898 $RM conftest*
10900 ac_outfile=conftest.$ac_objext
10901 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10902 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10903 _lt_linker_boilerplate=`cat conftest.err`
10904 $RM conftest*
10907 # Allow CC to be a program name with arguments.
10908 lt_save_CC=$CC
10909 lt_save_LD=$LD
10910 lt_save_GCC=$GCC
10911 GCC=$GXX
10912 lt_save_with_gnu_ld=$with_gnu_ld
10913 lt_save_path_LD=$lt_cv_path_LD
10914 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10915 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10916 else
10917 $as_unset lt_cv_prog_gnu_ld
10919 if test -n "${lt_cv_path_LDCXX+set}"; then
10920 lt_cv_path_LD=$lt_cv_path_LDCXX
10921 else
10922 $as_unset lt_cv_path_LD
10924 test -z "${LDCXX+set}" || LD=$LDCXX
10925 CC=${CXX-"c++"}
10926 compiler=$CC
10927 compiler_CXX=$CC
10928 for cc_temp in $compiler""; do
10929 case $cc_temp in
10930 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10931 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10932 \-*) ;;
10933 *) break;;
10934 esac
10935 done
10936 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10939 if test -n "$compiler"; then
10940 # We don't want -fno-exception when compiling C++ code, so set the
10941 # no_builtin_flag separately
10942 if test "$GXX" = yes; then
10943 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10944 else
10945 lt_prog_compiler_no_builtin_flag_CXX=
10948 if test "$GXX" = yes; then
10949 # Set up default GNU C++ configuration
10953 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10954 if test "${with_gnu_ld+set}" = set; then
10955 withval="$with_gnu_ld"
10956 test "$withval" = no || with_gnu_ld=yes
10957 else
10958 with_gnu_ld=no
10960 ac_prog=ld
10961 if test "$GCC" = yes; then
10962 # Check if gcc -print-prog-name=ld gives a path.
10963 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10964 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10965 case $host in
10966 *-*-mingw*)
10967 # gcc leaves a trailing carriage return which upsets mingw
10968 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10970 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10971 esac
10972 case $ac_prog in
10973 # Accept absolute paths.
10974 [\\/]* | ?:[\\/]*)
10975 re_direlt='/[^/][^/]*/\.\./'
10976 # Canonicalize the pathname of ld
10977 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10978 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
10979 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10980 done
10981 test -z "$LD" && LD="$ac_prog"
10984 # If it fails, then pretend we aren't using GCC.
10985 ac_prog=ld
10988 # If it is relative, then search for the first ld in PATH.
10989 with_gnu_ld=unknown
10991 esac
10992 elif test "$with_gnu_ld" = yes; then
10993 echo "$as_me:$LINENO: checking for GNU ld" >&5
10994 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10995 else
10996 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10997 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10999 if test "${lt_cv_path_LD+set}" = set; then
11000 echo $ECHO_N "(cached) $ECHO_C" >&6
11001 else
11002 if test -z "$LD"; then
11003 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11004 for ac_dir in $PATH; do
11005 IFS="$lt_save_ifs"
11006 test -z "$ac_dir" && ac_dir=.
11007 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11008 lt_cv_path_LD="$ac_dir/$ac_prog"
11009 # Check to see if the program is GNU ld. I'd rather use --version,
11010 # but apparently some variants of GNU ld only accept -v.
11011 # Break only if it was the GNU/non-GNU ld that we prefer.
11012 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11013 *GNU* | *'with BFD'*)
11014 test "$with_gnu_ld" != no && break
11017 test "$with_gnu_ld" != yes && break
11019 esac
11021 done
11022 IFS="$lt_save_ifs"
11023 else
11024 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11028 LD="$lt_cv_path_LD"
11029 if test -n "$LD"; then
11030 echo "$as_me:$LINENO: result: $LD" >&5
11031 echo "${ECHO_T}$LD" >&6
11032 else
11033 echo "$as_me:$LINENO: result: no" >&5
11034 echo "${ECHO_T}no" >&6
11036 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11037 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11038 { (exit 1); exit 1; }; }
11039 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11040 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11041 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11042 echo $ECHO_N "(cached) $ECHO_C" >&6
11043 else
11044 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11045 case `$LD -v 2>&1 </dev/null` in
11046 *GNU* | *'with BFD'*)
11047 lt_cv_prog_gnu_ld=yes
11050 lt_cv_prog_gnu_ld=no
11052 esac
11054 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11055 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11056 with_gnu_ld=$lt_cv_prog_gnu_ld
11064 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11065 # archiving commands below assume that GNU ld is being used.
11066 if test "$with_gnu_ld" = yes; then
11067 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11068 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11070 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11071 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11073 # If archive_cmds runs LD, not CC, wlarc should be empty
11074 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11075 # investigate it a little bit more. (MM)
11076 wlarc='${wl}'
11078 # ancient GNU ld didn't support --whole-archive et. al.
11079 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11080 $GREP 'no-whole-archive' > /dev/null; then
11081 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11082 else
11083 whole_archive_flag_spec_CXX=
11085 else
11086 with_gnu_ld=no
11087 wlarc=
11089 # A generic and very simple default shared library creation
11090 # command for GNU C++ for the case where it uses the native
11091 # linker, instead of GNU ld. If possible, this setting should
11092 # overridden to take advantage of the native linker features on
11093 # the platform it is being used on.
11094 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11097 # Commands to make compiler produce verbose output that lists
11098 # what "hidden" libraries, object files and flags are used when
11099 # linking a shared library.
11100 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11102 else
11103 GXX=no
11104 with_gnu_ld=no
11105 wlarc=
11108 # PORTME: fill in a description of your system's C++ link characteristics
11109 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11110 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11111 ld_shlibs_CXX=yes
11112 case $host_os in
11113 aix3*)
11114 # FIXME: insert proper C++ library support
11115 ld_shlibs_CXX=no
11117 aix[4-9]*)
11118 if test "$host_cpu" = ia64; then
11119 # On IA64, the linker does run time linking by default, so we don't
11120 # have to do anything special.
11121 aix_use_runtimelinking=no
11122 exp_sym_flag='-Bexport'
11123 no_entry_flag=""
11124 else
11125 aix_use_runtimelinking=no
11127 # Test if we are trying to use run time linking or normal
11128 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11129 # need to do runtime linking.
11130 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11131 for ld_flag in $LDFLAGS; do
11132 case $ld_flag in
11133 *-brtl*)
11134 aix_use_runtimelinking=yes
11135 break
11137 esac
11138 done
11140 esac
11142 exp_sym_flag='-bexport'
11143 no_entry_flag='-bnoentry'
11146 # When large executables or shared objects are built, AIX ld can
11147 # have problems creating the table of contents. If linking a library
11148 # or program results in "error TOC overflow" add -mminimal-toc to
11149 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11150 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11152 archive_cmds_CXX=''
11153 hardcode_direct_CXX=yes
11154 hardcode_direct_absolute_CXX=yes
11155 hardcode_libdir_separator_CXX=':'
11156 link_all_deplibs_CXX=yes
11157 file_list_spec_CXX='${wl}-f,'
11159 if test "$GXX" = yes; then
11160 case $host_os in aix4.[012]|aix4.[012].*)
11161 # We only want to do this on AIX 4.2 and lower, the check
11162 # below for broken collect2 doesn't work under 4.3+
11163 collect2name=`${CC} -print-prog-name=collect2`
11164 if test -f "$collect2name" &&
11165 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11166 then
11167 # We have reworked collect2
11169 else
11170 # We have old collect2
11171 hardcode_direct_CXX=unsupported
11172 # It fails to find uninstalled libraries when the uninstalled
11173 # path is not listed in the libpath. Setting hardcode_minus_L
11174 # to unsupported forces relinking
11175 hardcode_minus_L_CXX=yes
11176 hardcode_libdir_flag_spec_CXX='-L$libdir'
11177 hardcode_libdir_separator_CXX=
11179 esac
11180 shared_flag='-shared'
11181 if test "$aix_use_runtimelinking" = yes; then
11182 shared_flag="$shared_flag "'${wl}-G'
11184 else
11185 # not using gcc
11186 if test "$host_cpu" = ia64; then
11187 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11188 # chokes on -Wl,-G. The following line is correct:
11189 shared_flag='-G'
11190 else
11191 if test "$aix_use_runtimelinking" = yes; then
11192 shared_flag='${wl}-G'
11193 else
11194 shared_flag='${wl}-bM:SRE'
11199 # It seems that -bexpall does not export symbols beginning with
11200 # underscore (_), so it is better to generate a list of symbols to
11201 # export.
11202 always_export_symbols_CXX=yes
11203 if test "$aix_use_runtimelinking" = yes; then
11204 # Warning - without using the other runtime loading flags (-brtl),
11205 # -berok will link without error, but may produce a broken library.
11206 allow_undefined_flag_CXX='-berok'
11207 # Determine the default libpath from the value encoded in an empty
11208 # executable.
11209 if test x$gcc_no_link = xyes; then
11210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11212 { (exit 1); exit 1; }; }
11214 cat >conftest.$ac_ext <<_ACEOF
11215 /* confdefs.h. */
11216 _ACEOF
11217 cat confdefs.h >>conftest.$ac_ext
11218 cat >>conftest.$ac_ext <<_ACEOF
11219 /* end confdefs.h. */
11222 main ()
11226 return 0;
11228 _ACEOF
11229 rm -f conftest.$ac_objext conftest$ac_exeext
11230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11231 (eval $ac_link) 2>conftest.er1
11232 ac_status=$?
11233 grep -v '^ *+' conftest.er1 >conftest.err
11234 rm -f conftest.er1
11235 cat conftest.err >&5
11236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11237 (exit $ac_status); } &&
11238 { ac_try='test -z "$ac_cxx_werror_flag"
11239 || test ! -s conftest.err'
11240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11241 (eval $ac_try) 2>&5
11242 ac_status=$?
11243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11244 (exit $ac_status); }; } &&
11245 { ac_try='test -s conftest$ac_exeext'
11246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11247 (eval $ac_try) 2>&5
11248 ac_status=$?
11249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11250 (exit $ac_status); }; }; then
11252 lt_aix_libpath_sed='
11253 /Import File Strings/,/^$/ {
11254 /^0/ {
11255 s/^0 *\(.*\)$/\1/
11259 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11260 # Check for a 64-bit object if we didn't find anything.
11261 if test -z "$aix_libpath"; then
11262 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11264 else
11265 echo "$as_me: failed program was:" >&5
11266 sed 's/^/| /' conftest.$ac_ext >&5
11269 rm -f conftest.err conftest.$ac_objext \
11270 conftest$ac_exeext conftest.$ac_ext
11271 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11273 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11275 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11276 else
11277 if test "$host_cpu" = ia64; then
11278 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11279 allow_undefined_flag_CXX="-z nodefs"
11280 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11281 else
11282 # Determine the default libpath from the value encoded in an
11283 # empty executable.
11284 if test x$gcc_no_link = xyes; then
11285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11287 { (exit 1); exit 1; }; }
11289 cat >conftest.$ac_ext <<_ACEOF
11290 /* confdefs.h. */
11291 _ACEOF
11292 cat confdefs.h >>conftest.$ac_ext
11293 cat >>conftest.$ac_ext <<_ACEOF
11294 /* end confdefs.h. */
11297 main ()
11301 return 0;
11303 _ACEOF
11304 rm -f conftest.$ac_objext conftest$ac_exeext
11305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11306 (eval $ac_link) 2>conftest.er1
11307 ac_status=$?
11308 grep -v '^ *+' conftest.er1 >conftest.err
11309 rm -f conftest.er1
11310 cat conftest.err >&5
11311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11312 (exit $ac_status); } &&
11313 { ac_try='test -z "$ac_cxx_werror_flag"
11314 || test ! -s conftest.err'
11315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11316 (eval $ac_try) 2>&5
11317 ac_status=$?
11318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319 (exit $ac_status); }; } &&
11320 { ac_try='test -s conftest$ac_exeext'
11321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11322 (eval $ac_try) 2>&5
11323 ac_status=$?
11324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11325 (exit $ac_status); }; }; then
11327 lt_aix_libpath_sed='
11328 /Import File Strings/,/^$/ {
11329 /^0/ {
11330 s/^0 *\(.*\)$/\1/
11334 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11335 # Check for a 64-bit object if we didn't find anything.
11336 if test -z "$aix_libpath"; then
11337 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11339 else
11340 echo "$as_me: failed program was:" >&5
11341 sed 's/^/| /' conftest.$ac_ext >&5
11344 rm -f conftest.err conftest.$ac_objext \
11345 conftest$ac_exeext conftest.$ac_ext
11346 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11348 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11349 # Warning - without using the other run time loading flags,
11350 # -berok will link without error, but may produce a broken library.
11351 no_undefined_flag_CXX=' ${wl}-bernotok'
11352 allow_undefined_flag_CXX=' ${wl}-berok'
11353 # Exported symbols can be pulled into shared objects from archives
11354 whole_archive_flag_spec_CXX='$convenience'
11355 archive_cmds_need_lc_CXX=yes
11356 # This is similar to how AIX traditionally builds its shared
11357 # libraries.
11358 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11363 beos*)
11364 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11365 allow_undefined_flag_CXX=unsupported
11366 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11367 # support --undefined. This deserves some investigation. FIXME
11368 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11369 else
11370 ld_shlibs_CXX=no
11374 chorus*)
11375 case $cc_basename in
11377 # FIXME: insert proper C++ library support
11378 ld_shlibs_CXX=no
11380 esac
11383 cygwin* | mingw* | pw32*)
11384 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11385 # as there is no search path for DLLs.
11386 hardcode_libdir_flag_spec_CXX='-L$libdir'
11387 allow_undefined_flag_CXX=unsupported
11388 always_export_symbols_CXX=no
11389 enable_shared_with_static_runtimes_CXX=yes
11391 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11392 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11393 # If the export-symbols file already is a .def file (1st line
11394 # is EXPORTS), use it as is; otherwise, prepend...
11395 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11396 cp $export_symbols $output_objdir/$soname.def;
11397 else
11398 echo EXPORTS > $output_objdir/$soname.def;
11399 cat $export_symbols >> $output_objdir/$soname.def;
11401 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11402 else
11403 ld_shlibs_CXX=no
11406 darwin* | rhapsody*)
11407 case $host_os in
11408 rhapsody* | darwin1.[012])
11409 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11411 *) # Darwin 1.3 on
11412 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11413 10.[012])
11414 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11416 10.*)
11417 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11419 esac
11421 esac
11422 archive_cmds_need_lc_CXX=no
11423 hardcode_direct_CXX=no
11424 hardcode_automatic_CXX=yes
11425 hardcode_shlibpath_var_CXX=unsupported
11426 whole_archive_flag_spec_CXX=''
11427 link_all_deplibs_CXX=yes
11429 if test "$GXX" = yes ; then
11430 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11431 echo $ECHO_N "(cached) $ECHO_C" >&6
11432 else
11433 lt_cv_apple_cc_single_mod=no
11434 if test -z "${LT_MULTI_MODULE}"; then
11435 # By default we will add the -single_module flag. You can override
11436 # by either setting the environment variable LT_MULTI_MODULE
11437 # non-empty at configure time, or by adding -multi-module to the
11438 # link flags.
11439 echo "int foo(void){return 1;}" > conftest.c
11440 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11441 -dynamiclib ${wl}-single_module conftest.c
11442 if test -f libconftest.dylib; then
11443 lt_cv_apple_cc_single_mod=yes
11444 rm libconftest.dylib
11446 rm conftest.$ac_ext
11450 output_verbose_link_cmd=echo
11451 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
11452 archive_cmds_CXX='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11453 archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11454 else
11455 archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11456 archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11458 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11459 module_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11460 else
11461 case $cc_basename in
11462 xlc*)
11463 output_verbose_link_cmd=echo
11464 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO "$rpath/$soname"` $verstring'
11465 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11466 # Don't fix this by using the ld -exported_symbols_list flag,
11467 # it doesn't exist in older darwin lds
11468 archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11469 module_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11472 ld_shlibs_CXX=no
11474 esac
11478 dgux*)
11479 case $cc_basename in
11480 ec++*)
11481 # FIXME: insert proper C++ library support
11482 ld_shlibs_CXX=no
11484 ghcx*)
11485 # Green Hills C++ Compiler
11486 # FIXME: insert proper C++ library support
11487 ld_shlibs_CXX=no
11490 # FIXME: insert proper C++ library support
11491 ld_shlibs_CXX=no
11493 esac
11496 freebsd[12]*)
11497 # C++ shared libraries reported to be fairly broken before
11498 # switch to ELF
11499 ld_shlibs_CXX=no
11502 freebsd-elf*)
11503 archive_cmds_need_lc_CXX=no
11506 freebsd* | dragonfly*)
11507 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11508 # conventions
11509 ld_shlibs_CXX=yes
11512 gnu*)
11515 hpux9*)
11516 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11517 hardcode_libdir_separator_CXX=:
11518 export_dynamic_flag_spec_CXX='${wl}-E'
11519 hardcode_direct_CXX=yes
11520 hardcode_minus_L_CXX=yes # Not in the search PATH,
11521 # but as the default
11522 # location of the library.
11524 case $cc_basename in
11525 CC*)
11526 # FIXME: insert proper C++ library support
11527 ld_shlibs_CXX=no
11529 aCC*)
11530 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11531 # Commands to make compiler produce verbose output that lists
11532 # what "hidden" libraries, object files and flags are used when
11533 # linking a shared library.
11535 # There doesn't appear to be a way to prevent this compiler from
11536 # explicitly linking system object files so we need to strip them
11537 # from the output so that they don't get included in the library
11538 # dependencies.
11539 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11542 if test "$GXX" = yes; then
11543 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11544 else
11545 # FIXME: insert proper C++ library support
11546 ld_shlibs_CXX=no
11549 esac
11552 hpux10*|hpux11*)
11553 if test $with_gnu_ld = no; then
11554 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11555 hardcode_libdir_separator_CXX=:
11557 case $host_cpu in
11558 hppa*64*|ia64*)
11561 export_dynamic_flag_spec_CXX='${wl}-E'
11563 esac
11565 case $host_cpu in
11566 hppa*64*|ia64*)
11567 hardcode_direct_CXX=no
11568 hardcode_shlibpath_var_CXX=no
11571 hardcode_direct_CXX=yes
11572 hardcode_direct_absolute_CXX=yes
11573 hardcode_minus_L_CXX=yes # Not in the search PATH,
11574 # but as the default
11575 # location of the library.
11577 esac
11579 case $cc_basename in
11580 CC*)
11581 # FIXME: insert proper C++ library support
11582 ld_shlibs_CXX=no
11584 aCC*)
11585 case $host_cpu in
11586 hppa*64*)
11587 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11589 ia64*)
11590 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11593 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11595 esac
11596 # Commands to make compiler produce verbose output that lists
11597 # what "hidden" libraries, object files and flags are used when
11598 # linking a shared library.
11600 # There doesn't appear to be a way to prevent this compiler from
11601 # explicitly linking system object files so we need to strip them
11602 # from the output so that they don't get included in the library
11603 # dependencies.
11604 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11607 if test "$GXX" = yes; then
11608 if test $with_gnu_ld = no; then
11609 case $host_cpu in
11610 hppa*64*)
11611 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11613 ia64*)
11614 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11617 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11619 esac
11621 else
11622 # FIXME: insert proper C++ library support
11623 ld_shlibs_CXX=no
11626 esac
11629 interix[3-9]*)
11630 hardcode_direct_CXX=no
11631 hardcode_shlibpath_var_CXX=no
11632 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11633 export_dynamic_flag_spec_CXX='${wl}-E'
11634 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11635 # Instead, shared libraries are loaded at an image base (0x10000000 by
11636 # default) and relocated if they conflict, which is a slow very memory
11637 # consuming and fragmenting process. To avoid this, we pick a random,
11638 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11639 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11640 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11641 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11643 irix5* | irix6*)
11644 case $cc_basename in
11645 CC*)
11646 # SGI C++
11647 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11649 # Archives containing C++ object files must be created using
11650 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11651 # necessary to make sure instantiated templates are included
11652 # in the archive.
11653 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11656 if test "$GXX" = yes; then
11657 if test "$with_gnu_ld" = no; then
11658 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11659 else
11660 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
11663 link_all_deplibs_CXX=yes
11665 esac
11666 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11667 hardcode_libdir_separator_CXX=:
11668 inherit_rpath_CXX=yes
11671 linux* | k*bsd*-gnu)
11672 case $cc_basename in
11673 KCC*)
11674 # Kuck and Associates, Inc. (KAI) C++ Compiler
11676 # KCC will only create a shared library if the output file
11677 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11678 # to its proper name (with version) after linking.
11679 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11680 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
11681 # Commands to make compiler produce verbose output that lists
11682 # what "hidden" libraries, object files and flags are used when
11683 # linking a shared library.
11685 # There doesn't appear to be a way to prevent this compiler from
11686 # explicitly linking system object files so we need to strip them
11687 # from the output so that they don't get included in the library
11688 # dependencies.
11689 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11691 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11692 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11694 # Archives containing C++ object files must be created using
11695 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11696 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11698 icpc* | ecpc* )
11699 # Intel C++
11700 with_gnu_ld=yes
11701 # version 8.0 and above of icpc choke on multiply defined symbols
11702 # if we add $predep_objects and $postdep_objects, however 7.1 and
11703 # earlier do not add the objects themselves.
11704 case `$CC -V 2>&1` in
11705 *"Version 7."*)
11706 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11707 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11709 *) # Version 8.0 or newer
11710 tmp_idyn=
11711 case $host_cpu in
11712 ia64*) tmp_idyn=' -i_dynamic';;
11713 esac
11714 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11715 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11717 esac
11718 archive_cmds_need_lc_CXX=no
11719 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11720 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11721 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11723 pgCC*)
11724 # Portland Group C++ compiler
11725 case `$CC -V` in
11726 *pgCC\ [1-5]*)
11727 prelink_cmds_CXX='tpldir=Template.dir~
11728 rm -rf $tpldir~
11729 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11730 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11731 old_archive_cmds_CXX='tpldir=Template.dir~
11732 rm -rf $tpldir~
11733 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11734 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11735 $RANLIB $oldlib'
11736 archive_cmds_CXX='tpldir=Template.dir~
11737 rm -rf $tpldir~
11738 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11739 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11740 archive_expsym_cmds_CXX='tpldir=Template.dir~
11741 rm -rf $tpldir~
11742 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11743 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11745 *) # Version 6 will use weak symbols
11746 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11747 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11749 esac
11751 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11752 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11753 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11755 cxx*)
11756 # Compaq C++
11757 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11758 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
11760 runpath_var=LD_RUN_PATH
11761 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11762 hardcode_libdir_separator_CXX=:
11764 # Commands to make compiler produce verbose output that lists
11765 # what "hidden" libraries, object files and flags are used when
11766 # linking a shared library.
11768 # There doesn't appear to be a way to prevent this compiler from
11769 # explicitly linking system object files so we need to strip them
11770 # from the output so that they don't get included in the library
11771 # dependencies.
11772 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11775 case `$CC -V 2>&1 | sed 5q` in
11776 *Sun\ C*)
11777 # Sun C++ 5.9
11778 no_undefined_flag_CXX=' -zdefs'
11779 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11780 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
11781 hardcode_libdir_flag_spec_CXX='-R$libdir'
11782 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11783 compiler_needs_object_CXX=yes
11785 # Not sure whether something based on
11786 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11787 # would be better.
11788 output_verbose_link_cmd='echo'
11790 # Archives containing C++ object files must be created using
11791 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11792 # necessary to make sure instantiated templates are included
11793 # in the archive.
11794 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11796 esac
11798 esac
11801 lynxos*)
11802 # FIXME: insert proper C++ library support
11803 ld_shlibs_CXX=no
11806 m88k*)
11807 # FIXME: insert proper C++ library support
11808 ld_shlibs_CXX=no
11811 mvs*)
11812 case $cc_basename in
11813 cxx*)
11814 # FIXME: insert proper C++ library support
11815 ld_shlibs_CXX=no
11818 # FIXME: insert proper C++ library support
11819 ld_shlibs_CXX=no
11821 esac
11824 netbsd*)
11825 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11826 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11827 wlarc=
11828 hardcode_libdir_flag_spec_CXX='-R$libdir'
11829 hardcode_direct_CXX=yes
11830 hardcode_shlibpath_var_CXX=no
11832 # Workaround some broken pre-1.5 toolchains
11833 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11836 *nto* | *qnx*)
11837 ld_shlibs_CXX=yes
11840 openbsd2*)
11841 # C++ shared libraries are fairly broken
11842 ld_shlibs_CXX=no
11845 openbsd*)
11846 hardcode_direct_CXX=yes
11847 hardcode_shlibpath_var_CXX=no
11848 hardcode_direct_absolute_CXX=yes
11849 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11850 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11851 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11852 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11853 export_dynamic_flag_spec_CXX='${wl}-E'
11854 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11856 output_verbose_link_cmd=echo
11859 osf3* | osf4* | osf5*)
11860 case $cc_basename in
11861 KCC*)
11862 # Kuck and Associates, Inc. (KAI) C++ Compiler
11864 # KCC will only create a shared library if the output file
11865 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11866 # to its proper name (with version) after linking.
11867 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11869 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11870 hardcode_libdir_separator_CXX=:
11872 # Archives containing C++ object files must be created using
11873 # the KAI C++ compiler.
11874 case $host in
11875 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
11876 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
11877 esac
11879 RCC*)
11880 # Rational C++ 2.4.1
11881 # FIXME: insert proper C++ library support
11882 ld_shlibs_CXX=no
11884 cxx*)
11885 case $host in
11886 osf3*)
11887 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11888 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11889 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11892 allow_undefined_flag_CXX=' -expect_unresolved \*'
11893 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11894 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11895 echo "-hidden">> $lib.exp~
11896 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
11897 $RM $lib.exp'
11898 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11900 esac
11902 hardcode_libdir_separator_CXX=:
11904 # Commands to make compiler produce verbose output that lists
11905 # what "hidden" libraries, object files and flags are used when
11906 # linking a shared library.
11908 # There doesn't appear to be a way to prevent this compiler from
11909 # explicitly linking system object files so we need to strip them
11910 # from the output so that they don't get included in the library
11911 # dependencies.
11912 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11915 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11916 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11917 case $host in
11918 osf3*)
11919 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11922 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11924 esac
11926 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11927 hardcode_libdir_separator_CXX=:
11929 # Commands to make compiler produce verbose output that lists
11930 # what "hidden" libraries, object files and flags are used when
11931 # linking a shared library.
11932 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11934 else
11935 # FIXME: insert proper C++ library support
11936 ld_shlibs_CXX=no
11939 esac
11942 psos*)
11943 # FIXME: insert proper C++ library support
11944 ld_shlibs_CXX=no
11947 sunos4*)
11948 case $cc_basename in
11949 CC*)
11950 # Sun C++ 4.x
11951 # FIXME: insert proper C++ library support
11952 ld_shlibs_CXX=no
11954 lcc*)
11955 # Lucid
11956 # FIXME: insert proper C++ library support
11957 ld_shlibs_CXX=no
11960 # FIXME: insert proper C++ library support
11961 ld_shlibs_CXX=no
11963 esac
11966 solaris*)
11967 case $cc_basename in
11968 CC*)
11969 # Sun C++ 4.2, 5.x and Centerline C++
11970 archive_cmds_need_lc_CXX=yes
11971 no_undefined_flag_CXX=' -zdefs'
11972 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11973 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11974 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11976 hardcode_libdir_flag_spec_CXX='-R$libdir'
11977 hardcode_shlibpath_var_CXX=no
11978 case $host_os in
11979 solaris2.[0-5] | solaris2.[0-5].*) ;;
11981 # The compiler driver will combine and reorder linker options,
11982 # but understands `-z linker_flag'.
11983 # Supported since Solaris 2.6 (maybe 2.5.1?)
11984 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11986 esac
11987 link_all_deplibs_CXX=yes
11989 output_verbose_link_cmd='echo'
11991 # Archives containing C++ object files must be created using
11992 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11993 # necessary to make sure instantiated templates are included
11994 # in the archive.
11995 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11997 gcx*)
11998 # Green Hills C++ Compiler
11999 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12001 # The C++ compiler must be used to create the archive.
12002 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12005 # GNU C++ compiler with Solaris linker
12006 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12007 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12008 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12009 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12010 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12011 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12013 # Commands to make compiler produce verbose output that lists
12014 # what "hidden" libraries, object files and flags are used when
12015 # linking a shared library.
12016 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12017 else
12018 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12019 # platform.
12020 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12021 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12022 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12024 # Commands to make compiler produce verbose output that lists
12025 # what "hidden" libraries, object files and flags are used when
12026 # linking a shared library.
12027 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12030 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12031 case $host_os in
12032 solaris2.[0-5] | solaris2.[0-5].*) ;;
12034 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12036 esac
12039 esac
12042 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12043 no_undefined_flag_CXX='${wl}-z,text'
12044 archive_cmds_need_lc_CXX=no
12045 hardcode_shlibpath_var_CXX=no
12046 runpath_var='LD_RUN_PATH'
12048 case $cc_basename in
12049 CC*)
12050 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12051 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12054 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12055 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12057 esac
12060 sysv5* | sco3.2v5* | sco5v6*)
12061 # Note: We can NOT use -z defs as we might desire, because we do not
12062 # link with -lc, and that would cause any symbols used from libc to
12063 # always be unresolved, which means just about no library would
12064 # ever link correctly. If we're not using GNU ld we use -z text
12065 # though, which does catch some bad symbols but isn't as heavy-handed
12066 # as -z defs.
12067 no_undefined_flag_CXX='${wl}-z,text'
12068 allow_undefined_flag_CXX='${wl}-z,nodefs'
12069 archive_cmds_need_lc_CXX=no
12070 hardcode_shlibpath_var_CXX=no
12071 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12072 hardcode_libdir_separator_CXX=':'
12073 link_all_deplibs_CXX=yes
12074 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12075 runpath_var='LD_RUN_PATH'
12077 case $cc_basename in
12078 CC*)
12079 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12080 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12083 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12084 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12086 esac
12089 tandem*)
12090 case $cc_basename in
12091 NCC*)
12092 # NonStop-UX NCC 3.20
12093 # FIXME: insert proper C++ library support
12094 ld_shlibs_CXX=no
12097 # FIXME: insert proper C++ library support
12098 ld_shlibs_CXX=no
12100 esac
12103 vxworks*)
12104 # FIXME: insert proper C++ library support
12105 ld_shlibs_CXX=no
12109 # FIXME: insert proper C++ library support
12110 ld_shlibs_CXX=no
12112 esac
12114 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12115 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12116 test "$ld_shlibs_CXX" = no && can_build_shared=no
12118 GCC_CXX="$GXX"
12119 LD_CXX="$LD"
12121 ## CAVEAT EMPTOR:
12122 ## There is no encapsulation within the following macros, do not change
12123 ## the running order or otherwise move them around unless you know exactly
12124 ## what you are doing...
12125 # Dependencies to place before and after the object being linked:
12126 predep_objects_CXX=
12127 postdep_objects_CXX=
12128 predeps_CXX=
12129 postdeps_CXX=
12130 compiler_lib_search_path_CXX=
12132 cat > conftest.$ac_ext <<_LT_EOF
12133 class Foo
12135 public:
12136 Foo (void) { a = 0; }
12137 private:
12138 int a;
12140 _LT_EOF
12142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12143 (eval $ac_compile) 2>&5
12144 ac_status=$?
12145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12146 (exit $ac_status); }; then
12147 # Parse the compiler output and extract the necessary
12148 # objects, libraries and library flags.
12150 # Sentinel used to keep track of whether or not we are before
12151 # the conftest object file.
12152 pre_test_object_deps_done=no
12154 # The `*' in the case matches for architectures that use `case' in
12155 # $output_verbose_cmd can trigger glob expansion during the loop
12156 # eval without this substitution.
12157 output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12159 for p in `eval $output_verbose_link_cmd`; do
12160 case $p in
12162 -L* | -R* | -l*)
12163 # Some compilers place space between "-{L,R}" and the path.
12164 # Remove the space.
12165 if test $p = "-L" ||
12166 test $p = "-R"; then
12167 prev=$p
12168 continue
12169 else
12170 prev=
12173 if test "$pre_test_object_deps_done" = no; then
12174 case $p in
12175 -L* | -R*)
12176 # Internal compiler library paths should come after those
12177 # provided the user. The postdeps already come after the
12178 # user supplied libs so there is no need to process them.
12179 if test -z "$compiler_lib_search_path_CXX"; then
12180 compiler_lib_search_path_CXX="${prev}${p}"
12181 else
12182 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12185 # The "-l" case would never come before the object being
12186 # linked, so don't bother handling this case.
12187 esac
12188 else
12189 if test -z "$postdeps_CXX"; then
12190 postdeps_CXX="${prev}${p}"
12191 else
12192 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12197 *.$objext)
12198 # This assumes that the test object file only shows up
12199 # once in the compiler output.
12200 if test "$p" = "conftest.$objext"; then
12201 pre_test_object_deps_done=yes
12202 continue
12205 if test "$pre_test_object_deps_done" = no; then
12206 if test -z "$predep_objects_CXX"; then
12207 predep_objects_CXX="$p"
12208 else
12209 predep_objects_CXX="$predep_objects_CXX $p"
12211 else
12212 if test -z "$postdep_objects_CXX"; then
12213 postdep_objects_CXX="$p"
12214 else
12215 postdep_objects_CXX="$postdep_objects_CXX $p"
12220 *) ;; # Ignore the rest.
12222 esac
12223 done
12225 # Clean up.
12226 rm -f a.out a.exe
12227 else
12228 echo "libtool.m4: error: problem compiling CXX test program"
12231 $RM -f confest.$objext
12233 # PORTME: override above test on systems where it is broken
12234 case $host_os in
12235 interix[3-9]*)
12236 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12237 # hack all around it, let's just trust "g++" to DTRT.
12238 predep_objects_CXX=
12239 postdep_objects_CXX=
12240 postdeps_CXX=
12243 linux*)
12244 case `$CC -V 2>&1 | sed 5q` in
12245 *Sun\ C*)
12246 # Sun C++ 5.9
12248 # The more standards-conforming stlport4 library is
12249 # incompatible with the Cstd library. Avoid specifying
12250 # it if it's in CXXFLAGS. Ignore libCrun as
12251 # -library=stlport4 depends on it.
12252 case " $CXX $CXXFLAGS " in
12253 *" -library=stlport4 "*)
12254 solaris_use_stlport4=yes
12256 esac
12258 if test "$solaris_use_stlport4" != yes; then
12259 postdeps_CXX='-library=Cstd -library=Crun'
12262 esac
12265 solaris*)
12266 case $cc_basename in
12267 CC*)
12268 # The more standards-conforming stlport4 library is
12269 # incompatible with the Cstd library. Avoid specifying
12270 # it if it's in CXXFLAGS. Ignore libCrun as
12271 # -library=stlport4 depends on it.
12272 case " $CXX $CXXFLAGS " in
12273 *" -library=stlport4 "*)
12274 solaris_use_stlport4=yes
12276 esac
12278 # Adding this requires a known-good setup of shared libraries for
12279 # Sun compiler versions before 5.6, else PIC objects from an old
12280 # archive will be linked into the output, leading to subtle bugs.
12281 if test "$solaris_use_stlport4" != yes; then
12282 postdeps_CXX='-library=Cstd -library=Crun'
12285 esac
12287 esac
12290 case " $postdeps_CXX " in
12291 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12292 esac
12319 lt_prog_compiler_wl_CXX=
12320 lt_prog_compiler_pic_CXX=
12321 lt_prog_compiler_static_CXX=
12323 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12324 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12326 # C++ specific cases for pic, static, wl, etc.
12327 if test "$GXX" = yes; then
12328 lt_prog_compiler_wl_CXX='-Wl,'
12329 lt_prog_compiler_static_CXX='-static'
12331 case $host_os in
12332 aix*)
12333 # All AIX code is PIC.
12334 if test "$host_cpu" = ia64; then
12335 # AIX 5 now supports IA64 processor
12336 lt_prog_compiler_static_CXX='-Bstatic'
12339 amigaos*)
12340 if test "$host_cpu" = m68k; then
12341 # FIXME: we need at least 68020 code to build shared libraries, but
12342 # adding the `-m68020' flag to GCC prevents building anything better,
12343 # like `-m68040'.
12344 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12347 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12348 # PIC is the default for these OSes.
12350 mingw* | cygwin* | os2* | pw32*)
12351 # This hack is so that the source file can tell whether it is being
12352 # built for inclusion in a dll (and should export symbols for example).
12353 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12354 # (--disable-auto-import) libraries
12355 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12357 darwin* | rhapsody*)
12358 # PIC is the default on this platform
12359 # Common symbols not allowed in MH_DYLIB files
12360 lt_prog_compiler_pic_CXX='-fno-common'
12362 *djgpp*)
12363 # DJGPP does not support shared libraries at all
12364 lt_prog_compiler_pic_CXX=
12366 interix[3-9]*)
12367 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12368 # Instead, we relocate shared libraries at runtime.
12370 sysv4*MP*)
12371 if test -d /usr/nec; then
12372 lt_prog_compiler_pic_CXX=-Kconform_pic
12375 hpux*)
12376 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12377 # not for PA HP-UX.
12378 case $host_cpu in
12379 hppa*64*|ia64*)
12382 lt_prog_compiler_pic_CXX='-fPIC'
12384 esac
12386 *qnx* | *nto*)
12387 # QNX uses GNU C++, but need to define -shared option too, otherwise
12388 # it will coredump.
12389 lt_prog_compiler_pic_CXX='-fPIC -shared'
12392 lt_prog_compiler_pic_CXX='-fPIC'
12394 esac
12395 else
12396 case $host_os in
12397 aix[4-9]*)
12398 # All AIX code is PIC.
12399 if test "$host_cpu" = ia64; then
12400 # AIX 5 now supports IA64 processor
12401 lt_prog_compiler_static_CXX='-Bstatic'
12402 else
12403 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12406 chorus*)
12407 case $cc_basename in
12408 cxch68*)
12409 # Green Hills C++ Compiler
12410 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12412 esac
12414 darwin*)
12415 # PIC is the default on this platform
12416 # Common symbols not allowed in MH_DYLIB files
12417 case $cc_basename in
12418 xlc*)
12419 lt_prog_compiler_pic_CXX='-qnocommon'
12420 lt_prog_compiler_wl_CXX='-Wl,'
12422 esac
12424 dgux*)
12425 case $cc_basename in
12426 ec++*)
12427 lt_prog_compiler_pic_CXX='-KPIC'
12429 ghcx*)
12430 # Green Hills C++ Compiler
12431 lt_prog_compiler_pic_CXX='-pic'
12435 esac
12437 freebsd* | dragonfly*)
12438 # FreeBSD uses GNU C++
12440 hpux9* | hpux10* | hpux11*)
12441 case $cc_basename in
12442 CC*)
12443 lt_prog_compiler_wl_CXX='-Wl,'
12444 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12445 if test "$host_cpu" != ia64; then
12446 lt_prog_compiler_pic_CXX='+Z'
12449 aCC*)
12450 lt_prog_compiler_wl_CXX='-Wl,'
12451 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12452 case $host_cpu in
12453 hppa*64*|ia64*)
12454 # +Z the default
12457 lt_prog_compiler_pic_CXX='+Z'
12459 esac
12463 esac
12465 interix*)
12466 # This is c89, which is MS Visual C++ (no shared libs)
12467 # Anyone wants to do a port?
12469 irix5* | irix6* | nonstopux*)
12470 case $cc_basename in
12471 CC*)
12472 lt_prog_compiler_wl_CXX='-Wl,'
12473 lt_prog_compiler_static_CXX='-non_shared'
12474 # CC pic flag -KPIC is the default.
12478 esac
12480 linux* | k*bsd*-gnu)
12481 case $cc_basename in
12482 KCC*)
12483 # KAI C++ Compiler
12484 lt_prog_compiler_wl_CXX='--backend -Wl,'
12485 lt_prog_compiler_pic_CXX='-fPIC'
12487 icpc* | ecpc* )
12488 # Intel C++
12489 lt_prog_compiler_wl_CXX='-Wl,'
12490 lt_prog_compiler_pic_CXX='-KPIC'
12491 lt_prog_compiler_static_CXX='-static'
12493 pgCC*)
12494 # Portland Group C++ compiler
12495 lt_prog_compiler_wl_CXX='-Wl,'
12496 lt_prog_compiler_pic_CXX='-fpic'
12497 lt_prog_compiler_static_CXX='-Bstatic'
12499 cxx*)
12500 # Compaq C++
12501 # Make sure the PIC flag is empty. It appears that all Alpha
12502 # Linux and Compaq Tru64 Unix objects are PIC.
12503 lt_prog_compiler_pic_CXX=
12504 lt_prog_compiler_static_CXX='-non_shared'
12507 case `$CC -V 2>&1 | sed 5q` in
12508 *Sun\ C*)
12509 # Sun C++ 5.9
12510 lt_prog_compiler_pic_CXX='-KPIC'
12511 lt_prog_compiler_static_CXX='-Bstatic'
12512 lt_prog_compiler_wl_CXX='-Qoption ld '
12514 esac
12516 esac
12518 lynxos*)
12520 m88k*)
12522 mvs*)
12523 case $cc_basename in
12524 cxx*)
12525 lt_prog_compiler_pic_CXX='-W c,exportall'
12529 esac
12531 netbsd*)
12533 *qnx* | *nto*)
12534 # QNX uses GNU C++, but need to define -shared option too, otherwise
12535 # it will coredump.
12536 lt_prog_compiler_pic_CXX='-fPIC -shared'
12538 osf3* | osf4* | osf5*)
12539 case $cc_basename in
12540 KCC*)
12541 lt_prog_compiler_wl_CXX='--backend -Wl,'
12543 RCC*)
12544 # Rational C++ 2.4.1
12545 lt_prog_compiler_pic_CXX='-pic'
12547 cxx*)
12548 # Digital/Compaq C++
12549 lt_prog_compiler_wl_CXX='-Wl,'
12550 # Make sure the PIC flag is empty. It appears that all Alpha
12551 # Linux and Compaq Tru64 Unix objects are PIC.
12552 lt_prog_compiler_pic_CXX=
12553 lt_prog_compiler_static_CXX='-non_shared'
12557 esac
12559 psos*)
12561 solaris*)
12562 case $cc_basename in
12563 CC*)
12564 # Sun C++ 4.2, 5.x and Centerline C++
12565 lt_prog_compiler_pic_CXX='-KPIC'
12566 lt_prog_compiler_static_CXX='-Bstatic'
12567 lt_prog_compiler_wl_CXX='-Qoption ld '
12569 gcx*)
12570 # Green Hills C++ Compiler
12571 lt_prog_compiler_pic_CXX='-PIC'
12575 esac
12577 sunos4*)
12578 case $cc_basename in
12579 CC*)
12580 # Sun C++ 4.x
12581 lt_prog_compiler_pic_CXX='-pic'
12582 lt_prog_compiler_static_CXX='-Bstatic'
12584 lcc*)
12585 # Lucid
12586 lt_prog_compiler_pic_CXX='-pic'
12590 esac
12592 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12593 case $cc_basename in
12594 CC*)
12595 lt_prog_compiler_wl_CXX='-Wl,'
12596 lt_prog_compiler_pic_CXX='-KPIC'
12597 lt_prog_compiler_static_CXX='-Bstatic'
12599 esac
12601 tandem*)
12602 case $cc_basename in
12603 NCC*)
12604 # NonStop-UX NCC 3.20
12605 lt_prog_compiler_pic_CXX='-KPIC'
12609 esac
12611 vxworks*)
12614 lt_prog_compiler_can_build_shared_CXX=no
12616 esac
12619 case $host_os in
12620 # For platforms which do not support PIC, -DPIC is meaningless:
12621 *djgpp*)
12622 lt_prog_compiler_pic_CXX=
12625 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12627 esac
12628 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12629 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12634 # Check to make sure the PIC flag actually works.
12636 if test -n "$lt_prog_compiler_pic_CXX"; then
12637 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12638 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12639 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12640 echo $ECHO_N "(cached) $ECHO_C" >&6
12641 else
12642 lt_prog_compiler_pic_works_CXX=no
12643 ac_outfile=conftest.$ac_objext
12644 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12645 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12646 # Insert the option either (1) after the last *FLAGS variable, or
12647 # (2) before a word containing "conftest.", or (3) at the end.
12648 # Note that $ac_compile itself does not contain backslashes and begins
12649 # with a dollar sign (not a hyphen), so the echo should work correctly.
12650 # The option is referenced via a variable to avoid confusing sed.
12651 lt_compile=`echo "$ac_compile" | $SED \
12652 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12653 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12654 -e 's:$: $lt_compiler_flag:'`
12655 (eval echo "\"\$as_me:12655: $lt_compile\"" >&5)
12656 (eval "$lt_compile" 2>conftest.err)
12657 ac_status=$?
12658 cat conftest.err >&5
12659 echo "$as_me:12659: \$? = $ac_status" >&5
12660 if (exit $ac_status) && test -s "$ac_outfile"; then
12661 # The compiler can only warn and ignore the option if not recognized
12662 # So say no if there are warnings other than the usual output.
12663 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12664 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12665 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12666 lt_prog_compiler_pic_works_CXX=yes
12669 $RM conftest*
12672 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12673 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12675 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12676 case $lt_prog_compiler_pic_CXX in
12677 "" | " "*) ;;
12678 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12679 esac
12680 else
12681 lt_prog_compiler_pic_CXX=
12682 lt_prog_compiler_can_build_shared_CXX=no
12690 # Check to make sure the static flag actually works.
12692 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12693 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12694 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12695 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12696 echo $ECHO_N "(cached) $ECHO_C" >&6
12697 else
12698 lt_prog_compiler_static_works_CXX=no
12699 save_LDFLAGS="$LDFLAGS"
12700 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12701 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12702 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12703 # The linker can only warn and ignore the option if not recognized
12704 # So say no if there are warnings
12705 if test -s conftest.err; then
12706 # Append any errors to the config.log.
12707 cat conftest.err 1>&5
12708 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12709 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12710 if diff conftest.exp conftest.er2 >/dev/null; then
12711 lt_prog_compiler_static_works_CXX=yes
12713 else
12714 lt_prog_compiler_static_works_CXX=yes
12717 $RM conftest*
12718 LDFLAGS="$save_LDFLAGS"
12721 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12722 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12724 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12726 else
12727 lt_prog_compiler_static_CXX=
12733 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12734 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12735 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12736 echo $ECHO_N "(cached) $ECHO_C" >&6
12737 else
12738 lt_cv_prog_compiler_c_o_CXX=no
12739 $RM -r conftest 2>/dev/null
12740 mkdir conftest
12741 cd conftest
12742 mkdir out
12743 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12745 lt_compiler_flag="-o out/conftest2.$ac_objext"
12746 # Insert the option either (1) after the last *FLAGS variable, or
12747 # (2) before a word containing "conftest.", or (3) at the end.
12748 # Note that $ac_compile itself does not contain backslashes and begins
12749 # with a dollar sign (not a hyphen), so the echo should work correctly.
12750 lt_compile=`echo "$ac_compile" | $SED \
12751 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12752 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12753 -e 's:$: $lt_compiler_flag:'`
12754 (eval echo "\"\$as_me:12754: $lt_compile\"" >&5)
12755 (eval "$lt_compile" 2>out/conftest.err)
12756 ac_status=$?
12757 cat out/conftest.err >&5
12758 echo "$as_me:12758: \$? = $ac_status" >&5
12759 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12760 then
12761 # The compiler can only warn and ignore the option if not recognized
12762 # So say no if there are warnings
12763 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12764 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12765 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12766 lt_cv_prog_compiler_c_o_CXX=yes
12769 chmod u+w . 2>&5
12770 $RM conftest*
12771 # SGI C++ compiler will create directory out/ii_files/ for
12772 # template instantiation
12773 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12774 $RM out/* && rmdir out
12775 cd ..
12776 $RM -r conftest
12777 $RM conftest*
12780 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12781 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12785 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12786 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12787 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12788 echo $ECHO_N "(cached) $ECHO_C" >&6
12789 else
12790 lt_cv_prog_compiler_c_o_CXX=no
12791 $RM -r conftest 2>/dev/null
12792 mkdir conftest
12793 cd conftest
12794 mkdir out
12795 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12797 lt_compiler_flag="-o out/conftest2.$ac_objext"
12798 # Insert the option either (1) after the last *FLAGS variable, or
12799 # (2) before a word containing "conftest.", or (3) at the end.
12800 # Note that $ac_compile itself does not contain backslashes and begins
12801 # with a dollar sign (not a hyphen), so the echo should work correctly.
12802 lt_compile=`echo "$ac_compile" | $SED \
12803 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12804 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12805 -e 's:$: $lt_compiler_flag:'`
12806 (eval echo "\"\$as_me:12806: $lt_compile\"" >&5)
12807 (eval "$lt_compile" 2>out/conftest.err)
12808 ac_status=$?
12809 cat out/conftest.err >&5
12810 echo "$as_me:12810: \$? = $ac_status" >&5
12811 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12812 then
12813 # The compiler can only warn and ignore the option if not recognized
12814 # So say no if there are warnings
12815 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12816 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12817 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12818 lt_cv_prog_compiler_c_o_CXX=yes
12821 chmod u+w . 2>&5
12822 $RM conftest*
12823 # SGI C++ compiler will create directory out/ii_files/ for
12824 # template instantiation
12825 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12826 $RM out/* && rmdir out
12827 cd ..
12828 $RM -r conftest
12829 $RM conftest*
12832 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12833 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12838 hard_links="nottested"
12839 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12840 # do not overwrite the value of need_locks provided by the user
12841 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12842 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12843 hard_links=yes
12844 $RM conftest*
12845 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12846 touch conftest.a
12847 ln conftest.a conftest.b 2>&5 || hard_links=no
12848 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12849 echo "$as_me:$LINENO: result: $hard_links" >&5
12850 echo "${ECHO_T}$hard_links" >&6
12851 if test "$hard_links" = no; then
12852 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12853 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12854 need_locks=warn
12856 else
12857 need_locks=no
12862 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12863 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12865 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12866 case $host_os in
12867 aix[4-9]*)
12868 # If we're using GNU nm, then we don't want the "-C" option.
12869 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12870 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12871 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12872 else
12873 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12876 pw32*)
12877 export_symbols_cmds_CXX="$ltdll_cmds"
12879 cygwin* | mingw*)
12880 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
12883 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12885 esac
12887 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12888 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12889 test "$ld_shlibs_CXX" = no && can_build_shared=no
12891 with_gnu_ld_CXX=$with_gnu_ld
12899 # Do we need to explicitly link libc?
12901 case "x$archive_cmds_need_lc_CXX" in
12902 x|xyes)
12903 # Assume -lc should be added
12904 archive_cmds_need_lc_CXX=yes
12906 if test "$enable_shared" = yes && test "$GCC" = yes; then
12907 case $archive_cmds_CXX in
12908 *'~'*)
12909 # FIXME: we may have to deal with multi-command sequences.
12911 '$CC '*)
12912 # Test whether the compiler implicitly links with -lc since on some
12913 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12914 # to ld, don't add -lc before -lgcc.
12915 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12916 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12917 $RM conftest*
12918 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12921 (eval $ac_compile) 2>&5
12922 ac_status=$?
12923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12924 (exit $ac_status); } 2>conftest.err; then
12925 soname=conftest
12926 lib=conftest
12927 libobjs=conftest.$ac_objext
12928 deplibs=
12929 wl=$lt_prog_compiler_wl_CXX
12930 pic_flag=$lt_prog_compiler_pic_CXX
12931 compiler_flags=-v
12932 linker_flags=-v
12933 verstring=
12934 output_objdir=.
12935 libname=conftest
12936 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12937 allow_undefined_flag_CXX=
12938 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12939 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12940 ac_status=$?
12941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12942 (exit $ac_status); }
12943 then
12944 archive_cmds_need_lc_CXX=no
12945 else
12946 archive_cmds_need_lc_CXX=yes
12948 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12949 else
12950 cat conftest.err 1>&5
12952 $RM conftest*
12953 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12954 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12956 esac
12959 esac
13024 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13025 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13026 withGCC=$GXX
13027 library_names_spec=
13028 libname_spec='lib$name'
13029 soname_spec=
13030 shrext_cmds=".so"
13031 postinstall_cmds=
13032 postuninstall_cmds=
13033 finish_cmds=
13034 finish_eval=
13035 shlibpath_var=
13036 shlibpath_overrides_runpath=unknown
13037 version_type=none
13038 dynamic_linker="$host_os ld.so"
13039 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13040 need_lib_prefix=unknown
13041 hardcode_into_libs=no
13043 # when you set need_version to no, make sure it does not cause -set_version
13044 # flags to be left without arguments
13045 need_version=unknown
13047 case $host_os in
13048 aix3*)
13049 version_type=linux
13050 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13051 shlibpath_var=LIBPATH
13053 # AIX 3 has no versioning support, so we append a major version to the name.
13054 soname_spec='${libname}${release}${shared_ext}$major'
13057 aix[4-9]*)
13058 version_type=linux
13059 need_lib_prefix=no
13060 need_version=no
13061 hardcode_into_libs=yes
13062 if test "$host_cpu" = ia64; then
13063 # AIX 5 supports IA64
13064 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13065 shlibpath_var=LD_LIBRARY_PATH
13066 else
13067 # With GCC up to 2.95.x, collect2 would create an import file
13068 # for dependence libraries. The import file would start with
13069 # the line `#! .'. This would cause the generated library to
13070 # depend on `.', always an invalid library. This was fixed in
13071 # development snapshots of GCC prior to 3.0.
13072 case $host_os in
13073 aix4 | aix4.[01] | aix4.[01].*)
13074 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13075 echo ' yes '
13076 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13078 else
13079 can_build_shared=no
13082 esac
13083 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13084 # soname into executable. Probably we can add versioning support to
13085 # collect2, so additional links can be useful in future.
13086 if test "$aix_use_runtimelinking" = yes; then
13087 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13088 # instead of lib<name>.a to let people know that these are not
13089 # typical AIX shared libraries.
13090 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13091 else
13092 # We preserve .a as extension for shared libraries through AIX4.2
13093 # and later when we are not doing run time linking.
13094 library_names_spec='${libname}${release}.a $libname.a'
13095 soname_spec='${libname}${release}${shared_ext}$major'
13097 shlibpath_var=LIBPATH
13101 amigaos*)
13102 if test "$host_cpu" = m68k; then
13103 library_names_spec='$libname.ixlibrary $libname.a'
13104 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13105 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
13106 else
13107 dynamic_linker=no
13111 beos*)
13112 library_names_spec='${libname}${shared_ext}'
13113 dynamic_linker="$host_os ld.so"
13114 shlibpath_var=LIBRARY_PATH
13117 bsdi[45]*)
13118 version_type=linux
13119 need_version=no
13120 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13121 soname_spec='${libname}${release}${shared_ext}$major'
13122 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13123 shlibpath_var=LD_LIBRARY_PATH
13124 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13125 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13126 # the default ld.so.conf also contains /usr/contrib/lib and
13127 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13128 # libtool to hard-code these into programs
13131 cygwin* | mingw* | pw32*)
13132 version_type=windows
13133 shrext_cmds=".dll"
13134 need_version=no
13135 need_lib_prefix=no
13137 case $withGCC,$host_os in
13138 yes,cygwin* | yes,mingw* | yes,pw32*)
13139 library_names_spec='$libname.dll.a'
13140 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13141 postinstall_cmds='base_file=`basename \${file}`~
13142 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13143 dldir=$destdir/`dirname \$dlpath`~
13144 test -d \$dldir || mkdir -p \$dldir~
13145 $install_prog $dir/$dlname \$dldir/$dlname~
13146 chmod a+x \$dldir/$dlname~
13147 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13148 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13150 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13151 dlpath=$dir/\$dldll~
13152 $RM \$dlpath'
13153 shlibpath_overrides_runpath=yes
13155 case $host_os in
13156 cygwin*)
13157 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13158 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13159 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13161 mingw*)
13162 # MinGW DLLs use traditional 'lib' prefix
13163 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13164 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13165 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13166 # It is most probably a Windows format PATH printed by
13167 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13168 # path with ; separators, and with drive letters. We can handle the
13169 # drive letters (cygwin fileutils understands them), so leave them,
13170 # especially as we might pass files found there to a mingw objdump,
13171 # which wouldn't understand a cygwinified path. Ahh.
13172 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13173 else
13174 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13177 pw32*)
13178 # pw32 DLLs use 'pw' prefix rather than 'lib'
13179 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13181 esac
13185 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13187 esac
13188 dynamic_linker='Win32 ld.exe'
13189 # FIXME: first we should search . and the directory the executable is in
13190 shlibpath_var=PATH
13193 darwin* | rhapsody*)
13194 dynamic_linker="$host_os dyld"
13195 version_type=darwin
13196 need_lib_prefix=no
13197 need_version=no
13198 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13199 soname_spec='${libname}${release}${major}$shared_ext'
13200 shlibpath_overrides_runpath=yes
13201 shlibpath_var=DYLD_LIBRARY_PATH
13202 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13204 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13207 dgux*)
13208 version_type=linux
13209 need_lib_prefix=no
13210 need_version=no
13211 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13212 soname_spec='${libname}${release}${shared_ext}$major'
13213 shlibpath_var=LD_LIBRARY_PATH
13216 freebsd1*)
13217 dynamic_linker=no
13220 freebsd* | dragonfly*)
13221 # DragonFly does not have aout. When/if they implement a new
13222 # versioning mechanism, adjust this.
13223 if test -x /usr/bin/objformat; then
13224 objformat=`/usr/bin/objformat`
13225 else
13226 case $host_os in
13227 freebsd[123]*) objformat=aout ;;
13228 *) objformat=elf ;;
13229 esac
13231 version_type=freebsd-$objformat
13232 case $version_type in
13233 freebsd-elf*)
13234 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13235 need_version=no
13236 need_lib_prefix=no
13238 freebsd-*)
13239 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13240 need_version=yes
13242 esac
13243 shlibpath_var=LD_LIBRARY_PATH
13244 case $host_os in
13245 freebsd2*)
13246 shlibpath_overrides_runpath=yes
13248 freebsd3.[01]* | freebsdelf3.[01]*)
13249 shlibpath_overrides_runpath=yes
13250 hardcode_into_libs=yes
13252 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13253 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13254 shlibpath_overrides_runpath=no
13255 hardcode_into_libs=yes
13257 *) # from 4.6 on, and DragonFly
13258 shlibpath_overrides_runpath=yes
13259 hardcode_into_libs=yes
13261 esac
13264 gnu*)
13265 version_type=linux
13266 need_lib_prefix=no
13267 need_version=no
13268 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13269 soname_spec='${libname}${release}${shared_ext}$major'
13270 shlibpath_var=LD_LIBRARY_PATH
13271 hardcode_into_libs=yes
13274 hpux9* | hpux10* | hpux11*)
13275 # Give a soname corresponding to the major version so that dld.sl refuses to
13276 # link against other versions.
13277 version_type=sunos
13278 need_lib_prefix=no
13279 need_version=no
13280 case $host_cpu in
13281 ia64*)
13282 shrext_cmds='.so'
13283 hardcode_into_libs=yes
13284 dynamic_linker="$host_os dld.so"
13285 shlibpath_var=LD_LIBRARY_PATH
13286 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13288 soname_spec='${libname}${release}${shared_ext}$major'
13289 if test "X$HPUX_IA64_MODE" = X32; then
13290 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13291 else
13292 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13294 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13296 hppa*64*)
13297 shrext_cmds='.sl'
13298 hardcode_into_libs=yes
13299 dynamic_linker="$host_os dld.sl"
13300 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13301 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13303 soname_spec='${libname}${release}${shared_ext}$major'
13304 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13305 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13308 shrext_cmds='.sl'
13309 dynamic_linker="$host_os dld.sl"
13310 shlibpath_var=SHLIB_PATH
13311 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13313 soname_spec='${libname}${release}${shared_ext}$major'
13315 esac
13316 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13317 postinstall_cmds='chmod 555 $lib'
13320 interix[3-9]*)
13321 version_type=linux
13322 need_lib_prefix=no
13323 need_version=no
13324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13325 soname_spec='${libname}${release}${shared_ext}$major'
13326 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13327 shlibpath_var=LD_LIBRARY_PATH
13328 shlibpath_overrides_runpath=no
13329 hardcode_into_libs=yes
13332 irix5* | irix6* | nonstopux*)
13333 case $host_os in
13334 nonstopux*) version_type=nonstopux ;;
13336 if test "$lt_cv_prog_gnu_ld" = yes; then
13337 version_type=linux
13338 else
13339 version_type=irix
13340 fi ;;
13341 esac
13342 need_lib_prefix=no
13343 need_version=no
13344 soname_spec='${libname}${release}${shared_ext}$major'
13345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13346 case $host_os in
13347 irix5* | nonstopux*)
13348 libsuff= shlibsuff=
13351 case $LD in # libtool.m4 will add one of these switches to LD
13352 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13353 libsuff= shlibsuff= libmagic=32-bit;;
13354 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13355 libsuff=32 shlibsuff=N32 libmagic=N32;;
13356 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13357 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13358 *) libsuff= shlibsuff= libmagic=never-match;;
13359 esac
13361 esac
13362 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13363 shlibpath_overrides_runpath=no
13364 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13365 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13366 hardcode_into_libs=yes
13369 # No shared lib support for Linux oldld, aout, or coff.
13370 linux*oldld* | linux*aout* | linux*coff*)
13371 dynamic_linker=no
13374 # This must be Linux ELF.
13375 linux* | k*bsd*-gnu)
13376 version_type=linux
13377 need_lib_prefix=no
13378 need_version=no
13379 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13380 soname_spec='${libname}${release}${shared_ext}$major'
13381 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13382 shlibpath_var=LD_LIBRARY_PATH
13383 shlibpath_overrides_runpath=no
13384 # Some binutils ld are patched to set DT_RUNPATH
13385 save_LDFLAGS=$LDFLAGS
13386 save_libdir=$libdir
13387 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13388 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13389 if test x$gcc_no_link = xyes; then
13390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13392 { (exit 1); exit 1; }; }
13394 cat >conftest.$ac_ext <<_ACEOF
13395 /* confdefs.h. */
13396 _ACEOF
13397 cat confdefs.h >>conftest.$ac_ext
13398 cat >>conftest.$ac_ext <<_ACEOF
13399 /* end confdefs.h. */
13402 main ()
13406 return 0;
13408 _ACEOF
13409 rm -f conftest.$ac_objext conftest$ac_exeext
13410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13411 (eval $ac_link) 2>conftest.er1
13412 ac_status=$?
13413 grep -v '^ *+' conftest.er1 >conftest.err
13414 rm -f conftest.er1
13415 cat conftest.err >&5
13416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13417 (exit $ac_status); } &&
13418 { ac_try='test -z "$ac_cxx_werror_flag"
13419 || test ! -s conftest.err'
13420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13421 (eval $ac_try) 2>&5
13422 ac_status=$?
13423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424 (exit $ac_status); }; } &&
13425 { ac_try='test -s conftest$ac_exeext'
13426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13427 (eval $ac_try) 2>&5
13428 ac_status=$?
13429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13430 (exit $ac_status); }; }; then
13431 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13432 shlibpath_overrides_runpath=yes
13435 else
13436 echo "$as_me: failed program was:" >&5
13437 sed 's/^/| /' conftest.$ac_ext >&5
13440 rm -f conftest.err conftest.$ac_objext \
13441 conftest$ac_exeext conftest.$ac_ext
13442 LDFLAGS=$save_LDFLAGS
13443 libdir=$save_libdir
13445 # This implies no fast_install, which is unacceptable.
13446 # Some rework will be needed to allow for fast_install
13447 # before this can be enabled.
13448 hardcode_into_libs=yes
13450 # Append ld.so.conf contents to the search path
13451 if test -f /etc/ld.so.conf; then
13452 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13453 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13456 # We used to test for /lib/ld.so.1 and disable shared libraries on
13457 # powerpc, because MkLinux only supported shared libraries with the
13458 # GNU dynamic linker. Since this was broken with cross compilers,
13459 # most powerpc-linux boxes support dynamic linking these days and
13460 # people can always --disable-shared, the test was removed, and we
13461 # assume the GNU/Linux dynamic linker is in use.
13462 dynamic_linker='GNU/Linux ld.so'
13465 netbsd*)
13466 version_type=sunos
13467 need_lib_prefix=no
13468 need_version=no
13469 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13470 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13471 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13472 dynamic_linker='NetBSD (a.out) ld.so'
13473 else
13474 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13475 soname_spec='${libname}${release}${shared_ext}$major'
13476 dynamic_linker='NetBSD ld.elf_so'
13478 shlibpath_var=LD_LIBRARY_PATH
13479 shlibpath_overrides_runpath=yes
13480 hardcode_into_libs=yes
13483 newsos6)
13484 version_type=linux
13485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13486 shlibpath_var=LD_LIBRARY_PATH
13487 shlibpath_overrides_runpath=yes
13490 *nto* | *qnx*)
13491 version_type=qnx
13492 need_lib_prefix=no
13493 need_version=no
13494 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13495 soname_spec='${libname}${release}${shared_ext}$major'
13496 shlibpath_var=LD_LIBRARY_PATH
13497 shlibpath_overrides_runpath=no
13498 hardcode_into_libs=yes
13499 dynamic_linker='ldqnx.so'
13502 openbsd*)
13503 version_type=sunos
13504 sys_lib_dlsearch_path_spec="/usr/lib"
13505 need_lib_prefix=no
13506 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13507 case $host_os in
13508 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13509 *) need_version=no ;;
13510 esac
13511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13512 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13513 shlibpath_var=LD_LIBRARY_PATH
13514 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13515 case $host_os in
13516 openbsd2.[89] | openbsd2.[89].*)
13517 shlibpath_overrides_runpath=no
13520 shlibpath_overrides_runpath=yes
13522 esac
13523 else
13524 shlibpath_overrides_runpath=yes
13528 os2*)
13529 libname_spec='$name'
13530 shrext_cmds=".dll"
13531 need_lib_prefix=no
13532 library_names_spec='$libname${shared_ext} $libname.a'
13533 dynamic_linker='OS/2 ld.exe'
13534 shlibpath_var=LIBPATH
13537 osf3* | osf4* | osf5*)
13538 version_type=osf
13539 need_lib_prefix=no
13540 need_version=no
13541 soname_spec='${libname}${release}${shared_ext}$major'
13542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13543 shlibpath_var=LD_LIBRARY_PATH
13544 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13545 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13548 rdos*)
13549 dynamic_linker=no
13552 solaris*)
13553 version_type=linux
13554 need_lib_prefix=no
13555 need_version=no
13556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13557 soname_spec='${libname}${release}${shared_ext}$major'
13558 shlibpath_var=LD_LIBRARY_PATH
13559 shlibpath_overrides_runpath=yes
13560 hardcode_into_libs=yes
13561 # ldd complains unless libraries are executable
13562 postinstall_cmds='chmod +x $lib'
13565 sunos4*)
13566 version_type=sunos
13567 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13568 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13569 shlibpath_var=LD_LIBRARY_PATH
13570 shlibpath_overrides_runpath=yes
13571 if test "$with_gnu_ld" = yes; then
13572 need_lib_prefix=no
13574 need_version=yes
13577 sysv4 | sysv4.3*)
13578 version_type=linux
13579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13580 soname_spec='${libname}${release}${shared_ext}$major'
13581 shlibpath_var=LD_LIBRARY_PATH
13582 case $host_vendor in
13583 sni)
13584 shlibpath_overrides_runpath=no
13585 need_lib_prefix=no
13586 runpath_var=LD_RUN_PATH
13588 siemens)
13589 need_lib_prefix=no
13591 motorola)
13592 need_lib_prefix=no
13593 need_version=no
13594 shlibpath_overrides_runpath=no
13595 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13597 esac
13600 sysv4*MP*)
13601 if test -d /usr/nec ;then
13602 version_type=linux
13603 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13604 soname_spec='$libname${shared_ext}.$major'
13605 shlibpath_var=LD_LIBRARY_PATH
13609 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13610 version_type=freebsd-elf
13611 need_lib_prefix=no
13612 need_version=no
13613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13614 soname_spec='${libname}${release}${shared_ext}$major'
13615 shlibpath_var=LD_LIBRARY_PATH
13616 shlibpath_overrides_runpath=yes
13617 hardcode_into_libs=yes
13618 if test "$with_gnu_ld" = yes; then
13619 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13620 else
13621 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13622 case $host_os in
13623 sco3.2v5*)
13624 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13626 esac
13628 sys_lib_dlsearch_path_spec='/usr/lib'
13631 tpf*)
13632 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13633 version_type=linux
13634 need_lib_prefix=no
13635 need_version=no
13636 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13637 shlibpath_var=LD_LIBRARY_PATH
13638 shlibpath_overrides_runpath=no
13639 hardcode_into_libs=yes
13642 uts4*)
13643 version_type=linux
13644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13645 soname_spec='${libname}${release}${shared_ext}$major'
13646 shlibpath_var=LD_LIBRARY_PATH
13650 dynamic_linker=no
13652 esac
13653 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13654 echo "${ECHO_T}$dynamic_linker" >&6
13655 test "$dynamic_linker" = no && can_build_shared=no
13657 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13658 if test "$GCC" = yes; then
13659 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13697 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13698 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13699 hardcode_action_CXX=
13700 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13701 test -n "$runpath_var_CXX" ||
13702 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13704 # We can hardcode non-existent directories.
13705 if test "$hardcode_direct_CXX" != no &&
13706 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13707 # have to relink, otherwise we might link with an installed library
13708 # when we should be linking with a yet-to-be-installed one
13709 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13710 test "$hardcode_minus_L_CXX" != no; then
13711 # Linking always hardcodes the temporary library directory.
13712 hardcode_action_CXX=relink
13713 else
13714 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13715 hardcode_action_CXX=immediate
13717 else
13718 # We cannot hardcode anything, or else we can only hardcode existing
13719 # directories.
13720 hardcode_action_CXX=unsupported
13722 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13723 echo "${ECHO_T}$hardcode_action_CXX" >&6
13725 if test "$hardcode_action_CXX" = relink ||
13726 test "$inherit_rpath_CXX" = yes; then
13727 # Fast installation is not supported
13728 enable_fast_install=no
13729 elif test "$shlibpath_overrides_runpath" = yes ||
13730 test "$enable_shared" = no; then
13731 # Fast installation is not necessary
13732 enable_fast_install=needless
13741 fi # test -n "$compiler"
13743 CC=$lt_save_CC
13744 LDCXX=$LD
13745 LD=$lt_save_LD
13746 GCC=$lt_save_GCC
13747 with_gnu_ld=$lt_save_with_gnu_ld
13748 lt_cv_path_LDCXX=$lt_cv_path_LD
13749 lt_cv_path_LD=$lt_save_path_LD
13750 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13751 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13752 fi # test "$_lt_caught_CXX_error" != yes
13754 ac_ext=c
13755 ac_cpp='$CPP $CPPFLAGS'
13756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13772 ac_config_commands="$ac_config_commands libtool"
13777 # Only expand once:
13783 # Possibly disable most of the library.
13784 ## TODO: Consider skipping unncessary tests altogether in this case, rather
13785 ## than just ignoring the results. Faster /and/ more correct, win win.
13787 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
13788 if test "${enable_hosted_libstdcxx+set}" = set; then
13789 enableval="$enable_hosted_libstdcxx"
13791 else
13792 case "$host" in
13793 arm*-*-symbianelf*)
13794 enable_hosted_libstdcxx=no
13797 enable_hosted_libstdcxx=yes
13799 esac
13801 if test "$enable_hosted_libstdcxx" = no; then
13802 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
13803 echo "$as_me: Only freestanding libraries will be built" >&6;}
13804 is_hosted=no
13805 hosted_define=0
13806 enable_abi_check=no
13807 enable_libstdcxx_pch=no
13808 else
13809 is_hosted=yes
13810 hosted_define=1
13814 cat >>confdefs.h <<_ACEOF
13815 #define _GLIBCXX_HOSTED $hosted_define
13816 _ACEOF
13820 # Enable compiler support that doesn't require linking.
13822 echo "$as_me:$LINENO: checking for exception model to use" >&5
13823 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
13826 ac_ext=cc
13827 ac_cpp='$CXXCPP $CPPFLAGS'
13828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13832 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
13833 if test "${enable_sjlj_exceptions+set}" = set; then
13834 enableval="$enable_sjlj_exceptions"
13836 case "$enableval" in
13837 yes|no|auto) ;;
13838 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
13839 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
13840 { (exit 1); exit 1; }; } ;;
13841 esac
13843 else
13844 enable_sjlj_exceptions=auto
13848 if test $enable_sjlj_exceptions = auto; then
13849 # Botheration. Now we've got to detect the exception model. Link tests
13850 # against libgcc.a are problematic since we've not been given proper -L
13851 # bits for single-tree newlib and libgloss.
13853 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
13854 cat > conftest.$ac_ext << EOF
13855 #line 13855 "configure"
13856 struct S { ~S(); };
13857 void bar();
13858 void foo()
13860 S s;
13861 bar();
13864 old_CXXFLAGS="$CXXFLAGS"
13865 CXXFLAGS=-S
13866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13867 (eval $ac_compile) 2>&5
13868 ac_status=$?
13869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13870 (exit $ac_status); }; then
13871 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
13872 enable_sjlj_exceptions=yes
13873 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
13874 enable_sjlj_exceptions=no
13875 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
13876 enable_sjlj_exceptions=no
13879 CXXFLAGS="$old_CXXFLAGS"
13880 rm -f conftest*
13883 # This is a tad weird, for hysterical raisins. We have to map
13884 # enable/disable to two different models.
13885 case $enable_sjlj_exceptions in
13886 yes)
13888 cat >>confdefs.h <<\_ACEOF
13889 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
13890 _ACEOF
13892 ac_exception_model_name=sjlj
13895 ac_exception_model_name="call frame"
13898 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
13899 echo "$as_me: error: unable to detect exception model" >&2;}
13900 { (exit 1); exit 1; }; }
13902 esac
13903 ac_ext=c
13904 ac_cpp='$CPP $CPPFLAGS'
13905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13909 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
13910 echo "${ECHO_T}$ac_exception_model_name" >&6
13913 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
13914 if test "${enable_libstdcxx_pch+set}" = set; then
13915 enableval="$enable_libstdcxx_pch"
13917 case "$enableval" in
13918 yes|no) ;;
13919 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
13920 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
13921 { (exit 1); exit 1; }; } ;;
13922 esac
13924 else
13925 enable_libstdcxx_pch=$is_hosted
13928 if test $enable_libstdcxx_pch = yes; then
13929 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
13930 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
13931 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
13932 echo $ECHO_N "(cached) $ECHO_C" >&6
13933 else
13934 ac_save_CXXFLAGS="$CXXFLAGS"
13935 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
13938 ac_ext=cc
13939 ac_cpp='$CXXCPP $CPPFLAGS'
13940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13944 echo '#include <math.h>' > conftest.h
13945 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
13946 -o conftest.h.gch 1>&5 2>&1 &&
13947 echo '#error "pch failed"' > conftest.h &&
13948 echo '#include "conftest.h"' > conftest.cc &&
13949 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
13950 then
13951 glibcxx_cv_prog_CXX_pch=yes
13952 else
13953 glibcxx_cv_prog_CXX_pch=no
13955 rm -f conftest*
13956 CXXFLAGS=$ac_save_CXXFLAGS
13957 ac_ext=c
13958 ac_cpp='$CPP $CPPFLAGS'
13959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13965 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
13966 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
13967 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
13970 echo "$as_me:$LINENO: checking for enabled PCH" >&5
13971 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
13972 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
13973 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
13976 if test $enable_libstdcxx_pch = yes; then
13977 glibcxx_PCHFLAGS="-include bits/stdc++.h"
13978 else
13979 glibcxx_PCHFLAGS=""
13986 ac_ext=cc
13987 ac_cpp='$CXXCPP $CPPFLAGS'
13988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13992 old_CXXFLAGS="$CXXFLAGS"
13994 # Compile unoptimized.
13995 CXXFLAGS='-O0 -S'
13997 # Fake what AC_TRY_COMPILE does, without linking as this is
13998 # unnecessary for a builtins test.
14000 cat > conftest.$ac_ext << EOF
14001 #line 14001 "configure"
14002 int main()
14004 // NB: _Atomic_word not necessarily int.
14005 typedef int atomic_type;
14006 atomic_type c1;
14007 atomic_type c2;
14008 const atomic_type c3(0);
14009 __sync_fetch_and_add(&c1, c2);
14010 __sync_val_compare_and_swap(&c1, c3, c2);
14011 __sync_lock_test_and_set(&c1, c3);
14012 __sync_lock_release(&c1);
14013 __sync_synchronize();
14014 return 0;
14018 echo "$as_me:$LINENO: checking for atomic builtins for int" >&5
14019 echo $ECHO_N "checking for atomic builtins for int... $ECHO_C" >&6
14020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14021 (eval $ac_compile) 2>&5
14022 ac_status=$?
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); }; then
14025 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14026 enable_atomic_builtinsi=no
14027 else
14029 cat >>confdefs.h <<\_ACEOF
14030 #define _GLIBCXX_ATOMIC_BUILTINS_4 1
14031 _ACEOF
14033 enable_atomic_builtinsi=yes
14036 echo "$as_me:$LINENO: result: $enable_atomic_builtinsi" >&5
14037 echo "${ECHO_T}$enable_atomic_builtinsi" >&6
14038 rm -f conftest*
14040 cat > conftest.$ac_ext << EOF
14041 #line 14041 "configure"
14042 int main()
14044 typedef bool atomic_type;
14045 atomic_type c1;
14046 atomic_type c2;
14047 const atomic_type c3(0);
14048 __sync_fetch_and_add(&c1, c2);
14049 __sync_val_compare_and_swap(&c1, c3, c2);
14050 __sync_lock_test_and_set(&c1, c3);
14051 __sync_lock_release(&c1);
14052 __sync_synchronize();
14053 return 0;
14057 echo "$as_me:$LINENO: checking for atomic builtins for bool" >&5
14058 echo $ECHO_N "checking for atomic builtins for bool... $ECHO_C" >&6
14059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14060 (eval $ac_compile) 2>&5
14061 ac_status=$?
14062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14063 (exit $ac_status); }; then
14064 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14065 enable_atomic_builtinsb=no
14066 else
14068 cat >>confdefs.h <<\_ACEOF
14069 #define _GLIBCXX_ATOMIC_BUILTINS_1 1
14070 _ACEOF
14072 enable_atomic_builtinsb=yes
14075 echo "$as_me:$LINENO: result: $enable_atomic_builtinsb" >&5
14076 echo "${ECHO_T}$enable_atomic_builtinsb" >&6
14077 rm -f conftest*
14079 CXXFLAGS="$old_CXXFLAGS"
14080 ac_ext=c
14081 ac_cpp='$CPP $CPPFLAGS'
14082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14087 # Set atomicity_dir to builtins if either of above tests pass.
14088 if test $enable_atomic_builtinsi = yes || test $enable_atomic_builtinsb = yes ; then
14089 atomicity_dir=cpu/generic/atomicity_builtins
14092 # If still generic, set to mutex.
14093 if test $atomicity_dir = "cpu/generic" ; then
14094 atomicity_dir=cpu/generic/atomicity_mutex
14095 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
14096 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
14097 if test $target_thread_file = single; then
14098 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
14099 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
14100 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
14101 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
14102 else
14103 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
14104 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
14105 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
14106 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
14112 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
14113 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
14114 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
14115 echo "$as_me:$LINENO: result: $target_thread_file" >&5
14116 echo "${ECHO_T}$target_thread_file" >&6
14118 if test $target_thread_file != single; then
14120 cat >>confdefs.h <<\_ACEOF
14121 #define HAVE_GTHR_DEFAULT 1
14122 _ACEOF
14126 glibcxx_thread_h=gthr-$target_thread_file.h
14128 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
14129 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
14130 enable_thread=yes
14131 else
14132 enable_thread=no
14138 # Checks for compiler support that don't require linking.
14140 # All these tests are for C++; save the language and the compiler flags.
14141 # The CXXFLAGS thing is suspicious, but based on similar bits previously
14142 # found in GLIBCXX_CONFIGURE.
14145 ac_ext=cc
14146 ac_cpp='$CXXCPP $CPPFLAGS'
14147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14151 ac_test_CXXFLAGS="${CXXFLAGS+set}"
14152 ac_save_CXXFLAGS="$CXXFLAGS"
14154 # Check for maintainer-mode bits.
14155 if test x"$USE_MAINTAINER_MODE" = xno; then
14156 WERROR=''
14157 else
14158 WERROR='-Werror'
14161 # Check for -ffunction-sections -fdata-sections
14162 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
14163 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
14164 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
14165 cat >conftest.$ac_ext <<_ACEOF
14166 /* confdefs.h. */
14167 _ACEOF
14168 cat confdefs.h >>conftest.$ac_ext
14169 cat >>conftest.$ac_ext <<_ACEOF
14170 /* end confdefs.h. */
14171 int foo; void bar() { };
14173 main ()
14177 return 0;
14179 _ACEOF
14180 rm -f conftest.$ac_objext
14181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14182 (eval $ac_compile) 2>conftest.er1
14183 ac_status=$?
14184 grep -v '^ *+' conftest.er1 >conftest.err
14185 rm -f conftest.er1
14186 cat conftest.err >&5
14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 (exit $ac_status); } &&
14189 { ac_try='test -z "$ac_cxx_werror_flag"
14190 || test ! -s conftest.err'
14191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14192 (eval $ac_try) 2>&5
14193 ac_status=$?
14194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14195 (exit $ac_status); }; } &&
14196 { ac_try='test -s conftest.$ac_objext'
14197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14198 (eval $ac_try) 2>&5
14199 ac_status=$?
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); }; }; then
14202 ac_fdsections=yes
14203 else
14204 echo "$as_me: failed program was:" >&5
14205 sed 's/^/| /' conftest.$ac_ext >&5
14207 ac_fdsections=no
14209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14210 if test "$ac_test_CXXFLAGS" = set; then
14211 CXXFLAGS="$ac_save_CXXFLAGS"
14212 else
14213 # this is the suspicious part
14214 CXXFLAGS=''
14216 if test x"$ac_fdsections" = x"yes"; then
14217 SECTION_FLAGS='-ffunction-sections -fdata-sections'
14219 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
14220 echo "${ECHO_T}$ac_fdsections" >&6
14222 ac_ext=c
14223 ac_cpp='$CPP $CPPFLAGS'
14224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14233 echo "$as_me:$LINENO: checking for ISO C++200x standard layout type support" >&5
14234 echo $ECHO_N "checking for ISO C++200x standard layout type support... $ECHO_C" >&6
14235 if test "${ac_standard_layout+set}" = set; then
14236 echo $ECHO_N "(cached) $ECHO_C" >&6
14237 else
14241 ac_ext=cc
14242 ac_cpp='$CXXCPP $CPPFLAGS'
14243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14247 ac_test_CXXFLAGS="${CXXFLAGS+set}"
14248 ac_save_CXXFLAGS="$CXXFLAGS"
14249 CXXFLAGS='-std=gnu++0x'
14251 cat >conftest.$ac_ext <<_ACEOF
14252 /* confdefs.h. */
14253 _ACEOF
14254 cat confdefs.h >>conftest.$ac_ext
14255 cat >>conftest.$ac_ext <<_ACEOF
14256 /* end confdefs.h. */
14257 struct b
14259 bool t;
14261 // Need standard layout relaxation from POD
14262 private:
14263 b& operator=(const b&);
14264 b(const b&);
14267 int main()
14269 b tst1 = { false };
14270 return 0;
14273 main ()
14277 return 0;
14279 _ACEOF
14280 rm -f conftest.$ac_objext
14281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14282 (eval $ac_compile) 2>conftest.er1
14283 ac_status=$?
14284 grep -v '^ *+' conftest.er1 >conftest.err
14285 rm -f conftest.er1
14286 cat conftest.err >&5
14287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14288 (exit $ac_status); } &&
14289 { ac_try='test -z "$ac_cxx_werror_flag"
14290 || test ! -s conftest.err'
14291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14292 (eval $ac_try) 2>&5
14293 ac_status=$?
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); }; } &&
14296 { ac_try='test -s conftest.$ac_objext'
14297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14298 (eval $ac_try) 2>&5
14299 ac_status=$?
14300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301 (exit $ac_status); }; }; then
14302 ac_standard_layout=yes
14303 else
14304 echo "$as_me: failed program was:" >&5
14305 sed 's/^/| /' conftest.$ac_ext >&5
14307 ac_standard_layout=no
14309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14311 CXXFLAGS="$ac_save_CXXFLAGS"
14312 ac_ext=c
14313 ac_cpp='$CPP $CPPFLAGS'
14314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14321 echo "$as_me:$LINENO: result: $ac_standard_layout" >&5
14322 echo "${ECHO_T}$ac_standard_layout" >&6
14323 if test x"$ac_standard_layout" = x"yes"; then
14325 cat >>confdefs.h <<\_ACEOF
14326 #define _GLIBCXX_USE_STANDARD_LAYOUT 1
14327 _ACEOF
14332 # Enable all the variable C++ runtime options that doesn't require linking.
14334 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
14335 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
14336 # Check whether --enable-cstdio or --disable-cstdio was given.
14337 if test "${enable_cstdio+set}" = set; then
14338 enableval="$enable_cstdio"
14340 case "$enableval" in
14341 stdio) ;;
14342 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
14343 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
14344 { (exit 1); exit 1; }; } ;;
14345 esac
14347 else
14348 enable_cstdio=stdio
14352 # Now that libio has been removed, you can have any color you want as long
14353 # as it's black. This is one big no-op until other packages are added, but
14354 # showing the framework never hurts.
14355 case ${enable_cstdio} in
14356 stdio)
14357 CSTDIO_H=config/io/c_io_stdio.h
14358 BASIC_FILE_H=config/io/basic_file_stdio.h
14359 BASIC_FILE_CC=config/io/basic_file_stdio.cc
14360 echo "$as_me:$LINENO: result: stdio" >&5
14361 echo "${ECHO_T}stdio" >&6
14363 esac
14370 # Check whether --enable-clocale or --disable-clocale was given.
14371 if test "${enable_clocale+set}" = set; then
14372 enableval="$enable_clocale"
14374 case "$enableval" in
14375 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
14376 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
14377 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
14378 { (exit 1); exit 1; }; } ;;
14379 esac
14381 else
14382 enable_clocale=auto
14386 # Deal with gettext issues. Default to not using it (=no) until we detect
14387 # support for it later. Let the user turn it off via --e/d, but let that
14388 # default to on for easier handling.
14389 USE_NLS=no
14390 # Check whether --enable-nls or --disable-nls was given.
14391 if test "${enable_nls+set}" = set; then
14392 enableval="$enable_nls"
14394 else
14395 enable_nls=yes
14398 # Either a known packaage, or "auto"
14399 if test $enable_clocale = no || test $enable_clocale = yes; then
14400 enable_clocale=auto
14402 enable_clocale_flag=$enable_clocale
14404 # Probe for locale model to use if none specified.
14405 # Default to "generic".
14406 if test $enable_clocale_flag = auto; then
14407 case ${target_os} in
14408 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14409 enable_clocale_flag=gnu
14411 darwin* | freebsd*)
14412 enable_clocale_flag=darwin
14415 enable_clocale_flag=generic
14417 esac
14420 # Sanity check model, and test for special functionality.
14421 if test $enable_clocale_flag = gnu; then
14422 cat >conftest.$ac_ext <<_ACEOF
14423 /* confdefs.h. */
14424 _ACEOF
14425 cat confdefs.h >>conftest.$ac_ext
14426 cat >>conftest.$ac_ext <<_ACEOF
14427 /* end confdefs.h. */
14429 #include <features.h>
14430 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
14431 _GLIBCXX_ok
14432 #endif
14434 _ACEOF
14435 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14436 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
14437 enable_clocale_flag=gnu
14438 else
14439 enable_clocale_flag=generic
14441 rm -f conftest*
14444 if test $enable_clocale = auto; then
14445 # Test for bugs early in glibc-2.2.x series
14446 if test "$cross_compiling" = yes; then
14447 enable_clocale_flag=generic
14448 else
14449 cat >conftest.$ac_ext <<_ACEOF
14450 /* confdefs.h. */
14451 _ACEOF
14452 cat confdefs.h >>conftest.$ac_ext
14453 cat >>conftest.$ac_ext <<_ACEOF
14454 /* end confdefs.h. */
14456 #define _GNU_SOURCE 1
14457 #include <locale.h>
14458 #include <string.h>
14459 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
14460 extern __typeof(newlocale) __newlocale;
14461 extern __typeof(duplocale) __duplocale;
14462 extern __typeof(strcoll_l) __strcoll_l;
14463 #endif
14464 int main()
14466 const char __one[] = "Äuglein Augmen";
14467 const char __two[] = "Äuglein";
14468 int i;
14469 int j;
14470 __locale_t loc;
14471 __locale_t loc_dup;
14472 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
14473 loc_dup = __duplocale(loc);
14474 i = __strcoll_l(__one, __two, loc);
14475 j = __strcoll_l(__one, __two, loc_dup);
14476 return 0;
14479 _ACEOF
14480 rm -f conftest$ac_exeext
14481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14482 (eval $ac_link) 2>&5
14483 ac_status=$?
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14487 (eval $ac_try) 2>&5
14488 ac_status=$?
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); }; }; then
14491 enable_clocale_flag=gnu
14492 else
14493 echo "$as_me: program exited with status $ac_status" >&5
14494 echo "$as_me: failed program was:" >&5
14495 sed 's/^/| /' conftest.$ac_ext >&5
14497 ( exit $ac_status )
14498 enable_clocale_flag=generic
14500 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14504 # Set it to scream when it hurts.
14505 ac_save_CFLAGS="$CFLAGS"
14506 CFLAGS="-Wimplicit-function-declaration -Werror"
14508 # Use strxfrm_l if available.
14509 cat >conftest.$ac_ext <<_ACEOF
14510 /* confdefs.h. */
14511 _ACEOF
14512 cat confdefs.h >>conftest.$ac_ext
14513 cat >>conftest.$ac_ext <<_ACEOF
14514 /* end confdefs.h. */
14515 #define _GNU_SOURCE 1
14516 #include <string.h>
14517 #include <locale.h>
14519 main ()
14521 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
14523 return 0;
14525 _ACEOF
14526 rm -f conftest.$ac_objext
14527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14528 (eval $ac_compile) 2>conftest.er1
14529 ac_status=$?
14530 grep -v '^ *+' conftest.er1 >conftest.err
14531 rm -f conftest.er1
14532 cat conftest.err >&5
14533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14534 (exit $ac_status); } &&
14535 { ac_try='test -z "$ac_c_werror_flag"
14536 || test ! -s conftest.err'
14537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14538 (eval $ac_try) 2>&5
14539 ac_status=$?
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); }; } &&
14542 { ac_try='test -s conftest.$ac_objext'
14543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14544 (eval $ac_try) 2>&5
14545 ac_status=$?
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); }; }; then
14549 cat >>confdefs.h <<\_ACEOF
14550 #define HAVE_STRXFRM_L 1
14551 _ACEOF
14553 else
14554 echo "$as_me: failed program was:" >&5
14555 sed 's/^/| /' conftest.$ac_ext >&5
14558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14560 # Use strerror_l if available.
14561 cat >conftest.$ac_ext <<_ACEOF
14562 /* confdefs.h. */
14563 _ACEOF
14564 cat confdefs.h >>conftest.$ac_ext
14565 cat >>conftest.$ac_ext <<_ACEOF
14566 /* end confdefs.h. */
14567 #define _GNU_SOURCE 1
14568 #include <string.h>
14569 #include <locale.h>
14571 main ()
14573 __locale_t loc; strerror_l(5, loc);
14575 return 0;
14577 _ACEOF
14578 rm -f conftest.$ac_objext
14579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14580 (eval $ac_compile) 2>conftest.er1
14581 ac_status=$?
14582 grep -v '^ *+' conftest.er1 >conftest.err
14583 rm -f conftest.er1
14584 cat conftest.err >&5
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 (exit $ac_status); } &&
14587 { ac_try='test -z "$ac_c_werror_flag"
14588 || test ! -s conftest.err'
14589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14590 (eval $ac_try) 2>&5
14591 ac_status=$?
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); }; } &&
14594 { ac_try='test -s conftest.$ac_objext'
14595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14596 (eval $ac_try) 2>&5
14597 ac_status=$?
14598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14599 (exit $ac_status); }; }; then
14601 cat >>confdefs.h <<\_ACEOF
14602 #define HAVE_STRERROR_L 1
14603 _ACEOF
14605 else
14606 echo "$as_me: failed program was:" >&5
14607 sed 's/^/| /' conftest.$ac_ext >&5
14610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14612 CFLAGS="$ac_save_CFLAGS"
14615 # Perhaps use strerror_r if available, and strerror_l isn't.
14616 ac_save_CFLAGS="$CFLAGS"
14617 CFLAGS="-Wimplicit-function-declaration -Werror"
14618 cat >conftest.$ac_ext <<_ACEOF
14619 /* confdefs.h. */
14620 _ACEOF
14621 cat confdefs.h >>conftest.$ac_ext
14622 cat >>conftest.$ac_ext <<_ACEOF
14623 /* end confdefs.h. */
14624 #define _GNU_SOURCE 1
14625 #include <string.h>
14626 #include <locale.h>
14628 main ()
14630 char s[128]; strerror_r(5, s, 128);
14632 return 0;
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_c_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
14658 cat >>confdefs.h <<\_ACEOF
14659 #define HAVE_STRERROR_R 1
14660 _ACEOF
14662 else
14663 echo "$as_me: failed program was:" >&5
14664 sed 's/^/| /' conftest.$ac_ext >&5
14667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14668 CFLAGS="$ac_save_CFLAGS"
14670 # Set configure bits for specified locale package
14671 echo "$as_me:$LINENO: checking for C locale to use" >&5
14672 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
14673 case ${enable_clocale_flag} in
14674 generic)
14675 echo "$as_me:$LINENO: result: generic" >&5
14676 echo "${ECHO_T}generic" >&6
14678 CLOCALE_H=config/locale/generic/c_locale.h
14679 CLOCALE_CC=config/locale/generic/c_locale.cc
14680 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14681 CCOLLATE_CC=config/locale/generic/collate_members.cc
14682 CCTYPE_CC=config/locale/generic/ctype_members.cc
14683 CMESSAGES_H=config/locale/generic/messages_members.h
14684 CMESSAGES_CC=config/locale/generic/messages_members.cc
14685 CMONEY_CC=config/locale/generic/monetary_members.cc
14686 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14687 CTIME_H=config/locale/generic/time_members.h
14688 CTIME_CC=config/locale/generic/time_members.cc
14689 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14691 darwin)
14692 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
14693 echo "${ECHO_T}darwin or freebsd" >&6
14695 CLOCALE_H=config/locale/generic/c_locale.h
14696 CLOCALE_CC=config/locale/generic/c_locale.cc
14697 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14698 CCOLLATE_CC=config/locale/generic/collate_members.cc
14699 CCTYPE_CC=config/locale/darwin/ctype_members.cc
14700 CMESSAGES_H=config/locale/generic/messages_members.h
14701 CMESSAGES_CC=config/locale/generic/messages_members.cc
14702 CMONEY_CC=config/locale/generic/monetary_members.cc
14703 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14704 CTIME_H=config/locale/generic/time_members.h
14705 CTIME_CC=config/locale/generic/time_members.cc
14706 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14709 gnu)
14710 echo "$as_me:$LINENO: result: gnu" >&5
14711 echo "${ECHO_T}gnu" >&6
14713 # Declare intention to use gettext, and add support for specific
14714 # languages.
14715 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
14716 ALL_LINGUAS="de fr"
14718 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
14719 # Extract the first word of "msgfmt", so it can be a program name with args.
14720 set dummy msgfmt; ac_word=$2
14721 echo "$as_me:$LINENO: checking for $ac_word" >&5
14722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14723 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
14724 echo $ECHO_N "(cached) $ECHO_C" >&6
14725 else
14726 if test -n "$check_msgfmt"; then
14727 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
14728 else
14729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14730 for as_dir in $PATH
14732 IFS=$as_save_IFS
14733 test -z "$as_dir" && as_dir=.
14734 for ac_exec_ext in '' $ac_executable_extensions; do
14735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14736 ac_cv_prog_check_msgfmt="yes"
14737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14738 break 2
14740 done
14741 done
14743 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
14746 check_msgfmt=$ac_cv_prog_check_msgfmt
14747 if test -n "$check_msgfmt"; then
14748 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
14749 echo "${ECHO_T}$check_msgfmt" >&6
14750 else
14751 echo "$as_me:$LINENO: result: no" >&5
14752 echo "${ECHO_T}no" >&6
14755 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
14756 USE_NLS=yes
14758 # Export the build objects.
14759 for ling in $ALL_LINGUAS; do \
14760 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
14761 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
14762 done
14766 CLOCALE_H=config/locale/gnu/c_locale.h
14767 CLOCALE_CC=config/locale/gnu/c_locale.cc
14768 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
14769 CCOLLATE_CC=config/locale/gnu/collate_members.cc
14770 CCTYPE_CC=config/locale/gnu/ctype_members.cc
14771 CMESSAGES_H=config/locale/gnu/messages_members.h
14772 CMESSAGES_CC=config/locale/gnu/messages_members.cc
14773 CMONEY_CC=config/locale/gnu/monetary_members.cc
14774 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
14775 CTIME_H=config/locale/gnu/time_members.h
14776 CTIME_CC=config/locale/gnu/time_members.cc
14777 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
14779 ieee_1003.1-2001)
14780 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
14781 echo "${ECHO_T}IEEE 1003.1" >&6
14783 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
14784 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
14785 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14786 CCOLLATE_CC=config/locale/generic/collate_members.cc
14787 CCTYPE_CC=config/locale/generic/ctype_members.cc
14788 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
14789 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
14790 CMONEY_CC=config/locale/generic/monetary_members.cc
14791 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14792 CTIME_H=config/locale/generic/time_members.h
14793 CTIME_CC=config/locale/generic/time_members.cc
14794 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14796 esac
14798 # This is where the testsuite looks for locale catalogs, using the
14799 # -DLOCALEDIR define during testsuite compilation.
14800 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
14803 # A standalone libintl (e.g., GNU libintl) may be in use.
14804 if test $USE_NLS = yes; then
14806 for ac_header in libintl.h
14808 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14810 echo "$as_me:$LINENO: checking for $ac_header" >&5
14811 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14813 echo $ECHO_N "(cached) $ECHO_C" >&6
14815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14816 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14817 else
14818 # Is the header compilable?
14819 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14820 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14821 cat >conftest.$ac_ext <<_ACEOF
14822 /* confdefs.h. */
14823 _ACEOF
14824 cat confdefs.h >>conftest.$ac_ext
14825 cat >>conftest.$ac_ext <<_ACEOF
14826 /* end confdefs.h. */
14827 $ac_includes_default
14828 #include <$ac_header>
14829 _ACEOF
14830 rm -f conftest.$ac_objext
14831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14832 (eval $ac_compile) 2>conftest.er1
14833 ac_status=$?
14834 grep -v '^ *+' conftest.er1 >conftest.err
14835 rm -f conftest.er1
14836 cat conftest.err >&5
14837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838 (exit $ac_status); } &&
14839 { ac_try='test -z "$ac_c_werror_flag"
14840 || test ! -s conftest.err'
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); }; } &&
14846 { ac_try='test -s conftest.$ac_objext'
14847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14848 (eval $ac_try) 2>&5
14849 ac_status=$?
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); }; }; then
14852 ac_header_compiler=yes
14853 else
14854 echo "$as_me: failed program was:" >&5
14855 sed 's/^/| /' conftest.$ac_ext >&5
14857 ac_header_compiler=no
14859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14860 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14861 echo "${ECHO_T}$ac_header_compiler" >&6
14863 # Is the header present?
14864 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14865 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14866 cat >conftest.$ac_ext <<_ACEOF
14867 /* confdefs.h. */
14868 _ACEOF
14869 cat confdefs.h >>conftest.$ac_ext
14870 cat >>conftest.$ac_ext <<_ACEOF
14871 /* end confdefs.h. */
14872 #include <$ac_header>
14873 _ACEOF
14874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14876 ac_status=$?
14877 grep -v '^ *+' conftest.er1 >conftest.err
14878 rm -f conftest.er1
14879 cat conftest.err >&5
14880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14881 (exit $ac_status); } >/dev/null; then
14882 if test -s conftest.err; then
14883 ac_cpp_err=$ac_c_preproc_warn_flag
14884 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14885 else
14886 ac_cpp_err=
14888 else
14889 ac_cpp_err=yes
14891 if test -z "$ac_cpp_err"; then
14892 ac_header_preproc=yes
14893 else
14894 echo "$as_me: failed program was:" >&5
14895 sed 's/^/| /' conftest.$ac_ext >&5
14897 ac_header_preproc=no
14899 rm -f conftest.err conftest.$ac_ext
14900 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14901 echo "${ECHO_T}$ac_header_preproc" >&6
14903 # So? What about this header?
14904 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14905 yes:no: )
14906 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14907 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14909 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14910 ac_header_preproc=yes
14912 no:yes:* )
14913 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14914 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14915 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14916 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14917 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14918 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14919 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14920 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14922 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14923 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14924 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14926 cat <<\_ASBOX
14927 ## ----------------------------------------- ##
14928 ## Report this to the package-unused lists. ##
14929 ## ----------------------------------------- ##
14930 _ASBOX
14932 sed "s/^/$as_me: WARNING: /" >&2
14934 esac
14935 echo "$as_me:$LINENO: checking for $ac_header" >&5
14936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14938 echo $ECHO_N "(cached) $ECHO_C" >&6
14939 else
14940 eval "$as_ac_Header=\$ac_header_preproc"
14942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14947 cat >>confdefs.h <<_ACEOF
14948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14949 _ACEOF
14951 else
14952 USE_NLS=no
14955 done
14957 echo "$as_me:$LINENO: checking for library containing gettext" >&5
14958 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
14959 if test "${ac_cv_search_gettext+set}" = set; then
14960 echo $ECHO_N "(cached) $ECHO_C" >&6
14961 else
14962 ac_func_search_save_LIBS=$LIBS
14963 ac_cv_search_gettext=no
14964 if test x$gcc_no_link = xyes; then
14965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14967 { (exit 1); exit 1; }; }
14969 cat >conftest.$ac_ext <<_ACEOF
14970 /* confdefs.h. */
14971 _ACEOF
14972 cat confdefs.h >>conftest.$ac_ext
14973 cat >>conftest.$ac_ext <<_ACEOF
14974 /* end confdefs.h. */
14976 /* Override any gcc2 internal prototype to avoid an error. */
14977 #ifdef __cplusplus
14978 extern "C"
14979 #endif
14980 /* We use char because int might match the return type of a gcc2
14981 builtin and then its argument prototype would still apply. */
14982 char gettext ();
14984 main ()
14986 gettext ();
14988 return 0;
14990 _ACEOF
14991 rm -f conftest.$ac_objext conftest$ac_exeext
14992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14993 (eval $ac_link) 2>conftest.er1
14994 ac_status=$?
14995 grep -v '^ *+' conftest.er1 >conftest.err
14996 rm -f conftest.er1
14997 cat conftest.err >&5
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); } &&
15000 { ac_try='test -z "$ac_c_werror_flag"
15001 || test ! -s conftest.err'
15002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15003 (eval $ac_try) 2>&5
15004 ac_status=$?
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); }; } &&
15007 { ac_try='test -s conftest$ac_exeext'
15008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15009 (eval $ac_try) 2>&5
15010 ac_status=$?
15011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012 (exit $ac_status); }; }; then
15013 ac_cv_search_gettext="none required"
15014 else
15015 echo "$as_me: failed program was:" >&5
15016 sed 's/^/| /' conftest.$ac_ext >&5
15019 rm -f conftest.err conftest.$ac_objext \
15020 conftest$ac_exeext conftest.$ac_ext
15021 if test "$ac_cv_search_gettext" = no; then
15022 for ac_lib in intl; do
15023 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15024 if test x$gcc_no_link = xyes; then
15025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15027 { (exit 1); exit 1; }; }
15029 cat >conftest.$ac_ext <<_ACEOF
15030 /* confdefs.h. */
15031 _ACEOF
15032 cat confdefs.h >>conftest.$ac_ext
15033 cat >>conftest.$ac_ext <<_ACEOF
15034 /* end confdefs.h. */
15036 /* Override any gcc2 internal prototype to avoid an error. */
15037 #ifdef __cplusplus
15038 extern "C"
15039 #endif
15040 /* We use char because int might match the return type of a gcc2
15041 builtin and then its argument prototype would still apply. */
15042 char gettext ();
15044 main ()
15046 gettext ();
15048 return 0;
15050 _ACEOF
15051 rm -f conftest.$ac_objext conftest$ac_exeext
15052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15053 (eval $ac_link) 2>conftest.er1
15054 ac_status=$?
15055 grep -v '^ *+' conftest.er1 >conftest.err
15056 rm -f conftest.er1
15057 cat conftest.err >&5
15058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); } &&
15060 { ac_try='test -z "$ac_c_werror_flag"
15061 || test ! -s conftest.err'
15062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15063 (eval $ac_try) 2>&5
15064 ac_status=$?
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); }; } &&
15067 { ac_try='test -s conftest$ac_exeext'
15068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15069 (eval $ac_try) 2>&5
15070 ac_status=$?
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); }; }; then
15073 ac_cv_search_gettext="-l$ac_lib"
15074 break
15075 else
15076 echo "$as_me: failed program was:" >&5
15077 sed 's/^/| /' conftest.$ac_ext >&5
15080 rm -f conftest.err conftest.$ac_objext \
15081 conftest$ac_exeext conftest.$ac_ext
15082 done
15084 LIBS=$ac_func_search_save_LIBS
15086 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
15087 echo "${ECHO_T}$ac_cv_search_gettext" >&6
15088 if test "$ac_cv_search_gettext" != no; then
15089 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
15091 else
15092 USE_NLS=no
15096 if test $USE_NLS = yes; then
15098 cat >>confdefs.h <<\_ACEOF
15099 #define _GLIBCXX_USE_NLS 1
15100 _ACEOF
15119 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
15120 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
15121 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
15122 if test "${enable_libstdcxx_allocator+set}" = set; then
15123 enableval="$enable_libstdcxx_allocator"
15125 case "$enableval" in
15126 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15127 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
15128 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
15129 { (exit 1); exit 1; }; } ;;
15130 esac
15132 else
15133 enable_libstdcxx_allocator=auto
15137 # If they didn't use this option switch, or if they specified --enable
15138 # with no specific model, we'll have to look for one. If they
15139 # specified --disable (???), do likewise.
15140 if test $enable_libstdcxx_allocator = no ||
15141 test $enable_libstdcxx_allocator = yes;
15142 then
15143 enable_libstdcxx_allocator=auto
15146 # Either a known package, or "auto". Auto implies the default choice
15147 # for a particular platform.
15148 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
15150 # Probe for host-specific support if no specific model is specified.
15151 # Default to "new".
15152 if test $enable_libstdcxx_allocator_flag = auto; then
15153 case ${target_os} in
15154 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15155 enable_libstdcxx_allocator_flag=new
15158 enable_libstdcxx_allocator_flag=new
15160 esac
15162 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
15163 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
15166 # Set configure bits for specified locale package
15167 case ${enable_libstdcxx_allocator_flag} in
15168 bitmap)
15169 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
15170 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
15172 malloc)
15173 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
15174 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
15177 ALLOCATOR_H=config/allocator/mt_allocator_base.h
15178 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
15180 new)
15181 ALLOCATOR_H=config/allocator/new_allocator_base.h
15182 ALLOCATOR_NAME=__gnu_cxx::new_allocator
15184 pool)
15185 ALLOCATOR_H=config/allocator/pool_allocator_base.h
15186 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
15188 esac
15194 # Check whether --enable-cheaders or --disable-cheaders was given.
15195 if test "${enable_cheaders+set}" = set; then
15196 enableval="$enable_cheaders"
15198 case "$enableval" in
15199 c|c_std|c_global) ;;
15200 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
15201 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
15202 { (exit 1); exit 1; }; } ;;
15203 esac
15205 else
15206 enable_cheaders=$c_model
15209 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
15210 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
15212 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
15214 # Allow overrides to configure.host here.
15215 if test $enable_cheaders = c_global; then
15216 c_compatibility=yes
15219 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
15220 c_extra=yes
15230 # Check whether --enable-long-long or --disable-long-long was given.
15231 if test "${enable_long_long+set}" = set; then
15232 enableval="$enable_long_long"
15234 case "$enableval" in
15235 yes|no) ;;
15236 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
15237 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
15238 { (exit 1); exit 1; }; } ;;
15239 esac
15241 else
15242 enable_long_long=yes
15245 if test $enable_long_long = yes; then
15247 cat >>confdefs.h <<\_ACEOF
15248 #define _GLIBCXX_USE_LONG_LONG 1
15249 _ACEOF
15252 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
15253 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
15254 echo "$as_me:$LINENO: result: $enable_long_long" >&5
15255 echo "${ECHO_T}$enable_long_long" >&6
15258 # Check whether --enable-wchar_t or --disable-wchar_t was given.
15259 if test "${enable_wchar_t+set}" = set; then
15260 enableval="$enable_wchar_t"
15262 case "$enableval" in
15263 yes|no) ;;
15264 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
15265 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
15266 { (exit 1); exit 1; }; } ;;
15267 esac
15269 else
15270 enable_wchar_t=yes
15274 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
15276 for ac_header in wchar.h
15278 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15280 echo "$as_me:$LINENO: checking for $ac_header" >&5
15281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15283 echo $ECHO_N "(cached) $ECHO_C" >&6
15285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15286 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15287 else
15288 # Is the header compilable?
15289 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15290 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15291 cat >conftest.$ac_ext <<_ACEOF
15292 /* confdefs.h. */
15293 _ACEOF
15294 cat confdefs.h >>conftest.$ac_ext
15295 cat >>conftest.$ac_ext <<_ACEOF
15296 /* end confdefs.h. */
15297 $ac_includes_default
15298 #include <$ac_header>
15299 _ACEOF
15300 rm -f conftest.$ac_objext
15301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15302 (eval $ac_compile) 2>conftest.er1
15303 ac_status=$?
15304 grep -v '^ *+' conftest.er1 >conftest.err
15305 rm -f conftest.er1
15306 cat conftest.err >&5
15307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15308 (exit $ac_status); } &&
15309 { ac_try='test -z "$ac_c_werror_flag"
15310 || test ! -s conftest.err'
15311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15312 (eval $ac_try) 2>&5
15313 ac_status=$?
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); }; } &&
15316 { ac_try='test -s conftest.$ac_objext'
15317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15318 (eval $ac_try) 2>&5
15319 ac_status=$?
15320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321 (exit $ac_status); }; }; then
15322 ac_header_compiler=yes
15323 else
15324 echo "$as_me: failed program was:" >&5
15325 sed 's/^/| /' conftest.$ac_ext >&5
15327 ac_header_compiler=no
15329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15330 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15331 echo "${ECHO_T}$ac_header_compiler" >&6
15333 # Is the header present?
15334 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15335 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15336 cat >conftest.$ac_ext <<_ACEOF
15337 /* confdefs.h. */
15338 _ACEOF
15339 cat confdefs.h >>conftest.$ac_ext
15340 cat >>conftest.$ac_ext <<_ACEOF
15341 /* end confdefs.h. */
15342 #include <$ac_header>
15343 _ACEOF
15344 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15345 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15346 ac_status=$?
15347 grep -v '^ *+' conftest.er1 >conftest.err
15348 rm -f conftest.er1
15349 cat conftest.err >&5
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); } >/dev/null; then
15352 if test -s conftest.err; then
15353 ac_cpp_err=$ac_c_preproc_warn_flag
15354 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15355 else
15356 ac_cpp_err=
15358 else
15359 ac_cpp_err=yes
15361 if test -z "$ac_cpp_err"; then
15362 ac_header_preproc=yes
15363 else
15364 echo "$as_me: failed program was:" >&5
15365 sed 's/^/| /' conftest.$ac_ext >&5
15367 ac_header_preproc=no
15369 rm -f conftest.err conftest.$ac_ext
15370 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15371 echo "${ECHO_T}$ac_header_preproc" >&6
15373 # So? What about this header?
15374 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15375 yes:no: )
15376 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15377 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15378 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15379 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15380 ac_header_preproc=yes
15382 no:yes:* )
15383 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15384 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15385 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15386 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15387 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15388 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15389 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15390 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15392 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15393 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15394 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15396 cat <<\_ASBOX
15397 ## ----------------------------------------- ##
15398 ## Report this to the package-unused lists. ##
15399 ## ----------------------------------------- ##
15400 _ASBOX
15402 sed "s/^/$as_me: WARNING: /" >&2
15404 esac
15405 echo "$as_me:$LINENO: checking for $ac_header" >&5
15406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15408 echo $ECHO_N "(cached) $ECHO_C" >&6
15409 else
15410 eval "$as_ac_Header=\$ac_header_preproc"
15412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15416 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15417 cat >>confdefs.h <<_ACEOF
15418 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15419 _ACEOF
15420 ac_has_wchar_h=yes
15421 else
15422 ac_has_wchar_h=no
15425 done
15427 echo "$as_me:$LINENO: checking for mbstate_t" >&5
15428 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
15429 cat >conftest.$ac_ext <<_ACEOF
15430 /* confdefs.h. */
15431 _ACEOF
15432 cat confdefs.h >>conftest.$ac_ext
15433 cat >>conftest.$ac_ext <<_ACEOF
15434 /* end confdefs.h. */
15435 #include <wchar.h>
15437 main ()
15439 mbstate_t teststate;
15441 return 0;
15443 _ACEOF
15444 rm -f conftest.$ac_objext
15445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15446 (eval $ac_compile) 2>conftest.er1
15447 ac_status=$?
15448 grep -v '^ *+' conftest.er1 >conftest.err
15449 rm -f conftest.er1
15450 cat conftest.err >&5
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); } &&
15453 { ac_try='test -z "$ac_c_werror_flag"
15454 || test ! -s conftest.err'
15455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15456 (eval $ac_try) 2>&5
15457 ac_status=$?
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); }; } &&
15460 { ac_try='test -s conftest.$ac_objext'
15461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15462 (eval $ac_try) 2>&5
15463 ac_status=$?
15464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15465 (exit $ac_status); }; }; then
15466 have_mbstate_t=yes
15467 else
15468 echo "$as_me: failed program was:" >&5
15469 sed 's/^/| /' conftest.$ac_ext >&5
15471 have_mbstate_t=no
15473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15474 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
15475 echo "${ECHO_T}$have_mbstate_t" >&6
15476 if test x"$have_mbstate_t" = xyes; then
15478 cat >>confdefs.h <<\_ACEOF
15479 #define HAVE_MBSTATE_T 1
15480 _ACEOF
15484 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
15485 # ac_has_wchar_h.
15487 for ac_header in wctype.h
15489 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15491 echo "$as_me:$LINENO: checking for $ac_header" >&5
15492 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15493 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15494 echo $ECHO_N "(cached) $ECHO_C" >&6
15496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15497 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15498 else
15499 # Is the header compilable?
15500 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15501 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15502 cat >conftest.$ac_ext <<_ACEOF
15503 /* confdefs.h. */
15504 _ACEOF
15505 cat confdefs.h >>conftest.$ac_ext
15506 cat >>conftest.$ac_ext <<_ACEOF
15507 /* end confdefs.h. */
15508 $ac_includes_default
15509 #include <$ac_header>
15510 _ACEOF
15511 rm -f conftest.$ac_objext
15512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15513 (eval $ac_compile) 2>conftest.er1
15514 ac_status=$?
15515 grep -v '^ *+' conftest.er1 >conftest.err
15516 rm -f conftest.er1
15517 cat conftest.err >&5
15518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15519 (exit $ac_status); } &&
15520 { ac_try='test -z "$ac_c_werror_flag"
15521 || test ! -s conftest.err'
15522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15523 (eval $ac_try) 2>&5
15524 ac_status=$?
15525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526 (exit $ac_status); }; } &&
15527 { ac_try='test -s conftest.$ac_objext'
15528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15529 (eval $ac_try) 2>&5
15530 ac_status=$?
15531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15532 (exit $ac_status); }; }; then
15533 ac_header_compiler=yes
15534 else
15535 echo "$as_me: failed program was:" >&5
15536 sed 's/^/| /' conftest.$ac_ext >&5
15538 ac_header_compiler=no
15540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15541 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15542 echo "${ECHO_T}$ac_header_compiler" >&6
15544 # Is the header present?
15545 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15546 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15547 cat >conftest.$ac_ext <<_ACEOF
15548 /* confdefs.h. */
15549 _ACEOF
15550 cat confdefs.h >>conftest.$ac_ext
15551 cat >>conftest.$ac_ext <<_ACEOF
15552 /* end confdefs.h. */
15553 #include <$ac_header>
15554 _ACEOF
15555 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15556 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15557 ac_status=$?
15558 grep -v '^ *+' conftest.er1 >conftest.err
15559 rm -f conftest.er1
15560 cat conftest.err >&5
15561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15562 (exit $ac_status); } >/dev/null; then
15563 if test -s conftest.err; then
15564 ac_cpp_err=$ac_c_preproc_warn_flag
15565 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15566 else
15567 ac_cpp_err=
15569 else
15570 ac_cpp_err=yes
15572 if test -z "$ac_cpp_err"; then
15573 ac_header_preproc=yes
15574 else
15575 echo "$as_me: failed program was:" >&5
15576 sed 's/^/| /' conftest.$ac_ext >&5
15578 ac_header_preproc=no
15580 rm -f conftest.err conftest.$ac_ext
15581 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15582 echo "${ECHO_T}$ac_header_preproc" >&6
15584 # So? What about this header?
15585 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15586 yes:no: )
15587 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15588 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15590 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15591 ac_header_preproc=yes
15593 no:yes:* )
15594 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15595 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15596 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15597 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15598 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15599 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15600 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15601 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15603 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15604 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15605 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15607 cat <<\_ASBOX
15608 ## ----------------------------------------- ##
15609 ## Report this to the package-unused lists. ##
15610 ## ----------------------------------------- ##
15611 _ASBOX
15613 sed "s/^/$as_me: WARNING: /" >&2
15615 esac
15616 echo "$as_me:$LINENO: checking for $ac_header" >&5
15617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15619 echo $ECHO_N "(cached) $ECHO_C" >&6
15620 else
15621 eval "$as_ac_Header=\$ac_header_preproc"
15623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15624 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15628 cat >>confdefs.h <<_ACEOF
15629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15630 _ACEOF
15631 ac_has_wctype_h=yes
15632 else
15633 ac_has_wctype_h=no
15636 done
15639 if test x"$enable_wchar_t" = x"yes"; then
15643 ac_ext=cc
15644 ac_cpp='$CXXCPP $CPPFLAGS'
15645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15650 if test x"$ac_has_wchar_h" = xyes &&
15651 test x"$ac_has_wctype_h" = xyes; then
15652 cat >conftest.$ac_ext <<_ACEOF
15653 /* confdefs.h. */
15654 _ACEOF
15655 cat confdefs.h >>conftest.$ac_ext
15656 cat >>conftest.$ac_ext <<_ACEOF
15657 /* end confdefs.h. */
15658 #include <wchar.h>
15659 #include <stddef.h>
15660 wint_t i;
15661 long l = WEOF;
15662 long j = WCHAR_MIN;
15663 long k = WCHAR_MAX;
15664 namespace test
15666 using ::btowc;
15667 using ::fgetwc;
15668 using ::fgetws;
15669 using ::fputwc;
15670 using ::fputws;
15671 using ::fwide;
15672 using ::fwprintf;
15673 using ::fwscanf;
15674 using ::getwc;
15675 using ::getwchar;
15676 using ::mbrlen;
15677 using ::mbrtowc;
15678 using ::mbsinit;
15679 using ::mbsrtowcs;
15680 using ::putwc;
15681 using ::putwchar;
15682 using ::swprintf;
15683 using ::swscanf;
15684 using ::ungetwc;
15685 using ::vfwprintf;
15686 using ::vswprintf;
15687 using ::vwprintf;
15688 using ::wcrtomb;
15689 using ::wcscat;
15690 using ::wcschr;
15691 using ::wcscmp;
15692 using ::wcscoll;
15693 using ::wcscpy;
15694 using ::wcscspn;
15695 using ::wcsftime;
15696 using ::wcslen;
15697 using ::wcsncat;
15698 using ::wcsncmp;
15699 using ::wcsncpy;
15700 using ::wcspbrk;
15701 using ::wcsrchr;
15702 using ::wcsrtombs;
15703 using ::wcsspn;
15704 using ::wcsstr;
15705 using ::wcstod;
15706 using ::wcstok;
15707 using ::wcstol;
15708 using ::wcstoul;
15709 using ::wcsxfrm;
15710 using ::wctob;
15711 using ::wmemchr;
15712 using ::wmemcmp;
15713 using ::wmemcpy;
15714 using ::wmemmove;
15715 using ::wmemset;
15716 using ::wprintf;
15717 using ::wscanf;
15721 main ()
15725 return 0;
15727 _ACEOF
15728 rm -f conftest.$ac_objext
15729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15730 (eval $ac_compile) 2>conftest.er1
15731 ac_status=$?
15732 grep -v '^ *+' conftest.er1 >conftest.err
15733 rm -f conftest.er1
15734 cat conftest.err >&5
15735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736 (exit $ac_status); } &&
15737 { ac_try='test -z "$ac_cxx_werror_flag"
15738 || test ! -s conftest.err'
15739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15740 (eval $ac_try) 2>&5
15741 ac_status=$?
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); }; } &&
15744 { ac_try='test -s conftest.$ac_objext'
15745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15746 (eval $ac_try) 2>&5
15747 ac_status=$?
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); }; }; then
15751 else
15752 echo "$as_me: failed program was:" >&5
15753 sed 's/^/| /' conftest.$ac_ext >&5
15755 enable_wchar_t=no
15757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15758 else
15759 enable_wchar_t=no
15762 ac_ext=c
15763 ac_cpp='$CPP $CPPFLAGS'
15764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15770 if test x"$enable_wchar_t" = x"yes"; then
15772 cat >>confdefs.h <<\_ACEOF
15773 #define _GLIBCXX_USE_WCHAR_T 1
15774 _ACEOF
15778 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
15779 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
15780 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
15781 echo "${ECHO_T}$enable_wchar_t" >&6
15785 # Check whether --enable-c99 or --disable-c99 was given.
15786 if test "${enable_c99+set}" = set; then
15787 enableval="$enable_c99"
15789 case "$enableval" in
15790 yes|no) ;;
15791 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
15792 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
15793 { (exit 1); exit 1; }; } ;;
15794 esac
15796 else
15797 enable_c99=yes
15801 if test x"$enable_c99" = x"yes"; then
15805 ac_ext=cc
15806 ac_cpp='$CXXCPP $CPPFLAGS'
15807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15812 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
15813 # undefined and fake C99 facilities - like pre-standard snprintf - may be
15814 # spuriously enabled.
15815 # Long term, -std=c++0x could be even better, could manage to explicitely
15816 # request C99 facilities to the underlying C headers.
15817 ac_save_CXXFLAGS="$CXXFLAGS"
15818 CXXFLAGS="$CXXFLAGS -std=c++98"
15819 ac_save_LIBS="$LIBS"
15820 ac_save_gcc_no_link="$gcc_no_link"
15822 if test x$gcc_no_link != xyes; then
15823 # Use -fno-exceptions to that the C driver can link these tests without
15824 # hitting undefined references to personality routines.
15825 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15826 echo "$as_me:$LINENO: checking for sin in -lm" >&5
15827 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
15828 if test "${ac_cv_lib_m_sin+set}" = set; then
15829 echo $ECHO_N "(cached) $ECHO_C" >&6
15830 else
15831 ac_check_lib_save_LIBS=$LIBS
15832 LIBS="-lm $LIBS"
15833 if test x$gcc_no_link = xyes; then
15834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15836 { (exit 1); exit 1; }; }
15838 cat >conftest.$ac_ext <<_ACEOF
15839 /* confdefs.h. */
15840 _ACEOF
15841 cat confdefs.h >>conftest.$ac_ext
15842 cat >>conftest.$ac_ext <<_ACEOF
15843 /* end confdefs.h. */
15845 /* Override any gcc2 internal prototype to avoid an error. */
15846 #ifdef __cplusplus
15847 extern "C"
15848 #endif
15849 /* We use char because int might match the return type of a gcc2
15850 builtin and then its argument prototype would still apply. */
15851 char sin ();
15853 main ()
15855 sin ();
15857 return 0;
15859 _ACEOF
15860 rm -f conftest.$ac_objext conftest$ac_exeext
15861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15862 (eval $ac_link) 2>conftest.er1
15863 ac_status=$?
15864 grep -v '^ *+' conftest.er1 >conftest.err
15865 rm -f conftest.er1
15866 cat conftest.err >&5
15867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15868 (exit $ac_status); } &&
15869 { ac_try='test -z "$ac_cxx_werror_flag"
15870 || test ! -s conftest.err'
15871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15872 (eval $ac_try) 2>&5
15873 ac_status=$?
15874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15875 (exit $ac_status); }; } &&
15876 { ac_try='test -s conftest$ac_exeext'
15877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15878 (eval $ac_try) 2>&5
15879 ac_status=$?
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); }; }; then
15882 ac_cv_lib_m_sin=yes
15883 else
15884 echo "$as_me: failed program was:" >&5
15885 sed 's/^/| /' conftest.$ac_ext >&5
15887 ac_cv_lib_m_sin=no
15889 rm -f conftest.err conftest.$ac_objext \
15890 conftest$ac_exeext conftest.$ac_ext
15891 LIBS=$ac_check_lib_save_LIBS
15893 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
15894 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
15895 if test $ac_cv_lib_m_sin = yes; then
15897 LIBS="$LIBS -lm"
15899 else
15901 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
15902 gcc_no_link=yes
15908 # Check for the existence of <math.h> functions used if C99 is enabled.
15909 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
15910 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
15911 if test "${glibcxx_cv_c99_math+set}" = set; then
15912 echo $ECHO_N "(cached) $ECHO_C" >&6
15913 else
15915 if test x$gcc_no_link = xyes; then
15916 cat >conftest.$ac_ext <<_ACEOF
15917 /* confdefs.h. */
15918 _ACEOF
15919 cat confdefs.h >>conftest.$ac_ext
15920 cat >>conftest.$ac_ext <<_ACEOF
15921 /* end confdefs.h. */
15922 #include <math.h>
15923 volatile double d1, d2;
15924 volatile int i;
15926 main ()
15928 i = fpclassify(d1);
15929 i = isfinite(d1);
15930 i = isinf(d1);
15931 i = isnan(d1);
15932 i = isnormal(d1);
15933 i = signbit(d1);
15934 i = isgreater(d1, d2);
15935 i = isgreaterequal(d1, d2);
15936 i = isless(d1, d2);
15937 i = islessequal(d1, d2);
15938 i = islessgreater(d1, d2);
15939 i = islessgreater(d1, d2);
15940 i = isunordered(d1, d2);
15943 return 0;
15945 _ACEOF
15946 rm -f conftest.$ac_objext
15947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15948 (eval $ac_compile) 2>conftest.er1
15949 ac_status=$?
15950 grep -v '^ *+' conftest.er1 >conftest.err
15951 rm -f conftest.er1
15952 cat conftest.err >&5
15953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15954 (exit $ac_status); } &&
15955 { ac_try='test -z "$ac_cxx_werror_flag"
15956 || test ! -s conftest.err'
15957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15958 (eval $ac_try) 2>&5
15959 ac_status=$?
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); }; } &&
15962 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
15968 glibcxx_cv_c99_math=yes
15969 else
15970 echo "$as_me: failed program was:" >&5
15971 sed 's/^/| /' conftest.$ac_ext >&5
15973 glibcxx_cv_c99_math=no
15975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15976 else
15977 if test x$gcc_no_link = xyes; then
15978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15980 { (exit 1); exit 1; }; }
15982 cat >conftest.$ac_ext <<_ACEOF
15983 /* confdefs.h. */
15984 _ACEOF
15985 cat confdefs.h >>conftest.$ac_ext
15986 cat >>conftest.$ac_ext <<_ACEOF
15987 /* end confdefs.h. */
15988 #include <math.h>
15989 volatile double d1, d2;
15990 volatile int i;
15992 main ()
15994 i = fpclassify(d1);
15995 i = isfinite(d1);
15996 i = isinf(d1);
15997 i = isnan(d1);
15998 i = isnormal(d1);
15999 i = signbit(d1);
16000 i = isgreater(d1, d2);
16001 i = isgreaterequal(d1, d2);
16002 i = isless(d1, d2);
16003 i = islessequal(d1, d2);
16004 i = islessgreater(d1, d2);
16005 i = islessgreater(d1, d2);
16006 i = isunordered(d1, d2);
16009 return 0;
16011 _ACEOF
16012 rm -f conftest.$ac_objext conftest$ac_exeext
16013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16014 (eval $ac_link) 2>conftest.er1
16015 ac_status=$?
16016 grep -v '^ *+' conftest.er1 >conftest.err
16017 rm -f conftest.er1
16018 cat conftest.err >&5
16019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16020 (exit $ac_status); } &&
16021 { ac_try='test -z "$ac_cxx_werror_flag"
16022 || test ! -s conftest.err'
16023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16024 (eval $ac_try) 2>&5
16025 ac_status=$?
16026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16027 (exit $ac_status); }; } &&
16028 { ac_try='test -s conftest$ac_exeext'
16029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16030 (eval $ac_try) 2>&5
16031 ac_status=$?
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); }; }; then
16034 glibcxx_cv_c99_math=yes
16035 else
16036 echo "$as_me: failed program was:" >&5
16037 sed 's/^/| /' conftest.$ac_ext >&5
16039 glibcxx_cv_c99_math=no
16041 rm -f conftest.err conftest.$ac_objext \
16042 conftest$ac_exeext conftest.$ac_ext
16047 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math" >&5
16048 echo "${ECHO_T}$glibcxx_cv_c99_math" >&6
16049 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16051 cat >>confdefs.h <<\_ACEOF
16052 #define _GLIBCXX_USE_C99_MATH 1
16053 _ACEOF
16057 # Check for the existence of <complex.h> complex math functions.
16058 # This is necessary even though libstdc++ uses the builtin versions
16059 # of these functions, because if the builtin cannot be used, a reference
16060 # to the library function is emitted.
16062 for ac_header in tgmath.h
16064 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16066 echo "$as_me:$LINENO: checking for $ac_header" >&5
16067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16069 echo $ECHO_N "(cached) $ECHO_C" >&6
16071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16073 else
16074 # Is the header compilable?
16075 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16076 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16077 cat >conftest.$ac_ext <<_ACEOF
16078 /* confdefs.h. */
16079 _ACEOF
16080 cat confdefs.h >>conftest.$ac_ext
16081 cat >>conftest.$ac_ext <<_ACEOF
16082 /* end confdefs.h. */
16083 $ac_includes_default
16084 #include <$ac_header>
16085 _ACEOF
16086 rm -f conftest.$ac_objext
16087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16088 (eval $ac_compile) 2>conftest.er1
16089 ac_status=$?
16090 grep -v '^ *+' conftest.er1 >conftest.err
16091 rm -f conftest.er1
16092 cat conftest.err >&5
16093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094 (exit $ac_status); } &&
16095 { ac_try='test -z "$ac_cxx_werror_flag"
16096 || test ! -s conftest.err'
16097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16098 (eval $ac_try) 2>&5
16099 ac_status=$?
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); }; } &&
16102 { ac_try='test -s conftest.$ac_objext'
16103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16104 (eval $ac_try) 2>&5
16105 ac_status=$?
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); }; }; then
16108 ac_header_compiler=yes
16109 else
16110 echo "$as_me: failed program was:" >&5
16111 sed 's/^/| /' conftest.$ac_ext >&5
16113 ac_header_compiler=no
16115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16116 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16117 echo "${ECHO_T}$ac_header_compiler" >&6
16119 # Is the header present?
16120 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16121 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16122 cat >conftest.$ac_ext <<_ACEOF
16123 /* confdefs.h. */
16124 _ACEOF
16125 cat confdefs.h >>conftest.$ac_ext
16126 cat >>conftest.$ac_ext <<_ACEOF
16127 /* end confdefs.h. */
16128 #include <$ac_header>
16129 _ACEOF
16130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16131 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16132 ac_status=$?
16133 grep -v '^ *+' conftest.er1 >conftest.err
16134 rm -f conftest.er1
16135 cat conftest.err >&5
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); } >/dev/null; then
16138 if test -s conftest.err; then
16139 ac_cpp_err=$ac_cxx_preproc_warn_flag
16140 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16141 else
16142 ac_cpp_err=
16144 else
16145 ac_cpp_err=yes
16147 if test -z "$ac_cpp_err"; then
16148 ac_header_preproc=yes
16149 else
16150 echo "$as_me: failed program was:" >&5
16151 sed 's/^/| /' conftest.$ac_ext >&5
16153 ac_header_preproc=no
16155 rm -f conftest.err conftest.$ac_ext
16156 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16157 echo "${ECHO_T}$ac_header_preproc" >&6
16159 # So? What about this header?
16160 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16161 yes:no: )
16162 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16163 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16164 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16165 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16166 ac_header_preproc=yes
16168 no:yes:* )
16169 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16170 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16171 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16172 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16173 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16174 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16175 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16176 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16178 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16179 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16180 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16182 cat <<\_ASBOX
16183 ## ----------------------------------------- ##
16184 ## Report this to the package-unused lists. ##
16185 ## ----------------------------------------- ##
16186 _ASBOX
16188 sed "s/^/$as_me: WARNING: /" >&2
16190 esac
16191 echo "$as_me:$LINENO: checking for $ac_header" >&5
16192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16194 echo $ECHO_N "(cached) $ECHO_C" >&6
16195 else
16196 eval "$as_ac_Header=\$ac_header_preproc"
16198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16199 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16202 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16203 cat >>confdefs.h <<_ACEOF
16204 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16205 _ACEOF
16206 ac_has_tgmath_h=yes
16207 else
16208 ac_has_tgmath_h=no
16211 done
16214 for ac_header in complex.h
16216 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16218 echo "$as_me:$LINENO: checking for $ac_header" >&5
16219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16221 echo $ECHO_N "(cached) $ECHO_C" >&6
16223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16225 else
16226 # Is the header compilable?
16227 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16228 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16229 cat >conftest.$ac_ext <<_ACEOF
16230 /* confdefs.h. */
16231 _ACEOF
16232 cat confdefs.h >>conftest.$ac_ext
16233 cat >>conftest.$ac_ext <<_ACEOF
16234 /* end confdefs.h. */
16235 $ac_includes_default
16236 #include <$ac_header>
16237 _ACEOF
16238 rm -f conftest.$ac_objext
16239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16240 (eval $ac_compile) 2>conftest.er1
16241 ac_status=$?
16242 grep -v '^ *+' conftest.er1 >conftest.err
16243 rm -f conftest.er1
16244 cat conftest.err >&5
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); } &&
16247 { ac_try='test -z "$ac_cxx_werror_flag"
16248 || test ! -s conftest.err'
16249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250 (eval $ac_try) 2>&5
16251 ac_status=$?
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); }; } &&
16254 { ac_try='test -s conftest.$ac_objext'
16255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16256 (eval $ac_try) 2>&5
16257 ac_status=$?
16258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16259 (exit $ac_status); }; }; then
16260 ac_header_compiler=yes
16261 else
16262 echo "$as_me: failed program was:" >&5
16263 sed 's/^/| /' conftest.$ac_ext >&5
16265 ac_header_compiler=no
16267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16268 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16269 echo "${ECHO_T}$ac_header_compiler" >&6
16271 # Is the header present?
16272 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16273 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16274 cat >conftest.$ac_ext <<_ACEOF
16275 /* confdefs.h. */
16276 _ACEOF
16277 cat confdefs.h >>conftest.$ac_ext
16278 cat >>conftest.$ac_ext <<_ACEOF
16279 /* end confdefs.h. */
16280 #include <$ac_header>
16281 _ACEOF
16282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16283 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16284 ac_status=$?
16285 grep -v '^ *+' conftest.er1 >conftest.err
16286 rm -f conftest.er1
16287 cat conftest.err >&5
16288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16289 (exit $ac_status); } >/dev/null; then
16290 if test -s conftest.err; then
16291 ac_cpp_err=$ac_cxx_preproc_warn_flag
16292 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16293 else
16294 ac_cpp_err=
16296 else
16297 ac_cpp_err=yes
16299 if test -z "$ac_cpp_err"; then
16300 ac_header_preproc=yes
16301 else
16302 echo "$as_me: failed program was:" >&5
16303 sed 's/^/| /' conftest.$ac_ext >&5
16305 ac_header_preproc=no
16307 rm -f conftest.err conftest.$ac_ext
16308 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16309 echo "${ECHO_T}$ac_header_preproc" >&6
16311 # So? What about this header?
16312 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16313 yes:no: )
16314 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16315 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16317 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16318 ac_header_preproc=yes
16320 no:yes:* )
16321 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16322 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16323 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16324 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16325 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16326 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16327 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16328 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16329 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16330 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16331 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16332 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16334 cat <<\_ASBOX
16335 ## ----------------------------------------- ##
16336 ## Report this to the package-unused lists. ##
16337 ## ----------------------------------------- ##
16338 _ASBOX
16340 sed "s/^/$as_me: WARNING: /" >&2
16342 esac
16343 echo "$as_me:$LINENO: checking for $ac_header" >&5
16344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16346 echo $ECHO_N "(cached) $ECHO_C" >&6
16347 else
16348 eval "$as_ac_Header=\$ac_header_preproc"
16350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16355 cat >>confdefs.h <<_ACEOF
16356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16357 _ACEOF
16358 ac_has_complex_h=yes
16359 else
16360 ac_has_complex_h=no
16363 done
16365 glibcxx_cv_c99_complex=no;
16366 if test x"$ac_has_complex_h" = x"yes"; then
16367 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
16368 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
16369 if test x$gcc_no_link = xyes; then
16370 cat >conftest.$ac_ext <<_ACEOF
16371 /* confdefs.h. */
16372 _ACEOF
16373 cat confdefs.h >>conftest.$ac_ext
16374 cat >>conftest.$ac_ext <<_ACEOF
16375 /* end confdefs.h. */
16376 #include <complex.h>
16377 typedef __complex__ float float_type;
16378 typedef __complex__ double double_type;
16379 typedef __complex__ long double ld_type;
16380 volatile float_type tmpf;
16381 volatile double_type tmpd;
16382 volatile ld_type tmpld;
16383 volatile float f;
16384 volatile double d;
16385 volatile long double ld;
16387 main ()
16389 f = cabsf(tmpf);
16390 f = cargf(tmpf);
16391 tmpf = ccosf(tmpf);
16392 tmpf = ccoshf(tmpf);
16393 tmpf = cexpf(tmpf);
16394 tmpf = clogf(tmpf);
16395 tmpf = csinf(tmpf);
16396 tmpf = csinhf(tmpf);
16397 tmpf = csqrtf(tmpf);
16398 tmpf = ctanf(tmpf);
16399 tmpf = ctanhf(tmpf);
16400 tmpf = cpowf(tmpf, tmpf);
16401 tmpf = cprojf(tmpf);
16402 d = cabs(tmpd);
16403 d = carg(tmpd);
16404 tmpd = ccos(tmpd);
16405 tmpd = ccosh(tmpd);
16406 tmpd = cexp(tmpd);
16407 tmpd = clog(tmpd);
16408 tmpd = csin(tmpd);
16409 tmpd = csinh(tmpd);
16410 tmpd = csqrt(tmpd);
16411 tmpd = ctan(tmpd);
16412 tmpd = ctanh(tmpd);
16413 tmpd = cpow(tmpd, tmpd);
16414 tmpd = cproj(tmpd);
16415 ld = cabsl(tmpld);
16416 ld = cargl(tmpld);
16417 tmpld = ccosl(tmpld);
16418 tmpld = ccoshl(tmpld);
16419 tmpld = cexpl(tmpld);
16420 tmpld = clogl(tmpld);
16421 tmpld = csinl(tmpld);
16422 tmpld = csinhl(tmpld);
16423 tmpld = csqrtl(tmpld);
16424 tmpld = ctanl(tmpld);
16425 tmpld = ctanhl(tmpld);
16426 tmpld = cpowl(tmpld, tmpld);
16427 tmpld = cprojl(tmpld);
16430 return 0;
16432 _ACEOF
16433 rm -f conftest.$ac_objext
16434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16435 (eval $ac_compile) 2>conftest.er1
16436 ac_status=$?
16437 grep -v '^ *+' conftest.er1 >conftest.err
16438 rm -f conftest.er1
16439 cat conftest.err >&5
16440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16441 (exit $ac_status); } &&
16442 { ac_try='test -z "$ac_cxx_werror_flag"
16443 || test ! -s conftest.err'
16444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16445 (eval $ac_try) 2>&5
16446 ac_status=$?
16447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16448 (exit $ac_status); }; } &&
16449 { ac_try='test -s conftest.$ac_objext'
16450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16451 (eval $ac_try) 2>&5
16452 ac_status=$?
16453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16454 (exit $ac_status); }; }; then
16455 glibcxx_cv_c99_complex=yes
16456 else
16457 echo "$as_me: failed program was:" >&5
16458 sed 's/^/| /' conftest.$ac_ext >&5
16460 glibcxx_cv_c99_complex=no
16462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16463 else
16464 if test x$gcc_no_link = xyes; then
16465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16467 { (exit 1); exit 1; }; }
16469 cat >conftest.$ac_ext <<_ACEOF
16470 /* confdefs.h. */
16471 _ACEOF
16472 cat confdefs.h >>conftest.$ac_ext
16473 cat >>conftest.$ac_ext <<_ACEOF
16474 /* end confdefs.h. */
16475 #include <complex.h>
16476 typedef __complex__ float float_type;
16477 typedef __complex__ double double_type;
16478 typedef __complex__ long double ld_type;
16479 volatile float_type tmpf;
16480 volatile double_type tmpd;
16481 volatile ld_type tmpld;
16482 volatile float f;
16483 volatile double d;
16484 volatile long double ld;
16486 main ()
16488 f = cabsf(tmpf);
16489 f = cargf(tmpf);
16490 tmpf = ccosf(tmpf);
16491 tmpf = ccoshf(tmpf);
16492 tmpf = cexpf(tmpf);
16493 tmpf = clogf(tmpf);
16494 tmpf = csinf(tmpf);
16495 tmpf = csinhf(tmpf);
16496 tmpf = csqrtf(tmpf);
16497 tmpf = ctanf(tmpf);
16498 tmpf = ctanhf(tmpf);
16499 tmpf = cpowf(tmpf, tmpf);
16500 tmpf = cprojf(tmpf);
16501 d = cabs(tmpd);
16502 d = carg(tmpd);
16503 tmpd = ccos(tmpd);
16504 tmpd = ccosh(tmpd);
16505 tmpd = cexp(tmpd);
16506 tmpd = clog(tmpd);
16507 tmpd = csin(tmpd);
16508 tmpd = csinh(tmpd);
16509 tmpd = csqrt(tmpd);
16510 tmpd = ctan(tmpd);
16511 tmpd = ctanh(tmpd);
16512 tmpd = cpow(tmpd, tmpd);
16513 tmpd = cproj(tmpd);
16514 ld = cabsl(tmpld);
16515 ld = cargl(tmpld);
16516 tmpld = ccosl(tmpld);
16517 tmpld = ccoshl(tmpld);
16518 tmpld = cexpl(tmpld);
16519 tmpld = clogl(tmpld);
16520 tmpld = csinl(tmpld);
16521 tmpld = csinhl(tmpld);
16522 tmpld = csqrtl(tmpld);
16523 tmpld = ctanl(tmpld);
16524 tmpld = ctanhl(tmpld);
16525 tmpld = cpowl(tmpld, tmpld);
16526 tmpld = cprojl(tmpld);
16529 return 0;
16531 _ACEOF
16532 rm -f conftest.$ac_objext conftest$ac_exeext
16533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16534 (eval $ac_link) 2>conftest.er1
16535 ac_status=$?
16536 grep -v '^ *+' conftest.er1 >conftest.err
16537 rm -f conftest.er1
16538 cat conftest.err >&5
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); } &&
16541 { ac_try='test -z "$ac_cxx_werror_flag"
16542 || test ! -s conftest.err'
16543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16544 (eval $ac_try) 2>&5
16545 ac_status=$?
16546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547 (exit $ac_status); }; } &&
16548 { ac_try='test -s conftest$ac_exeext'
16549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16550 (eval $ac_try) 2>&5
16551 ac_status=$?
16552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); }; }; then
16554 glibcxx_cv_c99_complex=yes
16555 else
16556 echo "$as_me: failed program was:" >&5
16557 sed 's/^/| /' conftest.$ac_ext >&5
16559 glibcxx_cv_c99_complex=no
16561 rm -f conftest.err conftest.$ac_objext \
16562 conftest$ac_exeext conftest.$ac_ext
16565 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_complex" >&5
16566 echo "${ECHO_T}$glibcxx_cv_c99_complex" >&6
16567 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16569 cat >>confdefs.h <<\_ACEOF
16570 #define _GLIBCXX_USE_C99_COMPLEX 1
16571 _ACEOF
16575 # Check for the existence in <stdio.h> of vscanf, et. al.
16576 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
16577 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
16578 if test "${glibcxx_cv_c99_stdio+set}" = set; then
16579 echo $ECHO_N "(cached) $ECHO_C" >&6
16580 else
16582 if test x$gcc_no_link = xyes; then
16583 cat >conftest.$ac_ext <<_ACEOF
16584 /* confdefs.h. */
16585 _ACEOF
16586 cat confdefs.h >>conftest.$ac_ext
16587 cat >>conftest.$ac_ext <<_ACEOF
16588 /* end confdefs.h. */
16589 #include <stdio.h>
16590 #include <stdarg.h>
16591 void foo(char* fmt, ...)
16593 va_list args; va_start(args, fmt);
16594 vfscanf(stderr, "%i", args);
16595 vscanf("%i", args);
16596 vsnprintf(fmt, 0, "%i", args);
16597 vsscanf(fmt, "%i", args);
16600 main ()
16602 snprintf("12", 0, "%i");
16604 return 0;
16606 _ACEOF
16607 rm -f conftest.$ac_objext
16608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16609 (eval $ac_compile) 2>conftest.er1
16610 ac_status=$?
16611 grep -v '^ *+' conftest.er1 >conftest.err
16612 rm -f conftest.er1
16613 cat conftest.err >&5
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); } &&
16616 { ac_try='test -z "$ac_cxx_werror_flag"
16617 || test ! -s conftest.err'
16618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16619 (eval $ac_try) 2>&5
16620 ac_status=$?
16621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16622 (exit $ac_status); }; } &&
16623 { ac_try='test -s conftest.$ac_objext'
16624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16625 (eval $ac_try) 2>&5
16626 ac_status=$?
16627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628 (exit $ac_status); }; }; then
16629 glibcxx_cv_c99_stdio=yes
16630 else
16631 echo "$as_me: failed program was:" >&5
16632 sed 's/^/| /' conftest.$ac_ext >&5
16634 glibcxx_cv_c99_stdio=no
16636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16637 else
16638 if test x$gcc_no_link = xyes; then
16639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16641 { (exit 1); exit 1; }; }
16643 cat >conftest.$ac_ext <<_ACEOF
16644 /* confdefs.h. */
16645 _ACEOF
16646 cat confdefs.h >>conftest.$ac_ext
16647 cat >>conftest.$ac_ext <<_ACEOF
16648 /* end confdefs.h. */
16649 #include <stdio.h>
16650 #include <stdarg.h>
16651 void foo(char* fmt, ...)
16653 va_list args; va_start(args, fmt);
16654 vfscanf(stderr, "%i", args);
16655 vscanf("%i", args);
16656 vsnprintf(fmt, 0, "%i", args);
16657 vsscanf(fmt, "%i", args);
16660 main ()
16662 snprintf("12", 0, "%i");
16664 return 0;
16666 _ACEOF
16667 rm -f conftest.$ac_objext conftest$ac_exeext
16668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16669 (eval $ac_link) 2>conftest.er1
16670 ac_status=$?
16671 grep -v '^ *+' conftest.er1 >conftest.err
16672 rm -f conftest.er1
16673 cat conftest.err >&5
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); } &&
16676 { ac_try='test -z "$ac_cxx_werror_flag"
16677 || test ! -s conftest.err'
16678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16679 (eval $ac_try) 2>&5
16680 ac_status=$?
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); }; } &&
16683 { ac_try='test -s conftest$ac_exeext'
16684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16685 (eval $ac_try) 2>&5
16686 ac_status=$?
16687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16688 (exit $ac_status); }; }; then
16689 glibcxx_cv_c99_stdio=yes
16690 else
16691 echo "$as_me: failed program was:" >&5
16692 sed 's/^/| /' conftest.$ac_ext >&5
16694 glibcxx_cv_c99_stdio=no
16696 rm -f conftest.err conftest.$ac_objext \
16697 conftest$ac_exeext conftest.$ac_ext
16702 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdio" >&5
16703 echo "${ECHO_T}$glibcxx_cv_c99_stdio" >&6
16705 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16706 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
16707 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
16708 if test "${glibcxx_cv_c99_stdlib+set}" = set; then
16709 echo $ECHO_N "(cached) $ECHO_C" >&6
16710 else
16712 if test x$gcc_no_link = xyes; then
16713 cat >conftest.$ac_ext <<_ACEOF
16714 /* confdefs.h. */
16715 _ACEOF
16716 cat confdefs.h >>conftest.$ac_ext
16717 cat >>conftest.$ac_ext <<_ACEOF
16718 /* end confdefs.h. */
16719 #include <stdlib.h>
16720 volatile float f;
16721 volatile long double ld;
16722 volatile unsigned long long ll;
16723 lldiv_t mydivt;
16725 main ()
16727 char* tmp;
16728 f = strtof("gnu", &tmp);
16729 ld = strtold("gnu", &tmp);
16730 ll = strtoll("gnu", &tmp, 10);
16731 ll = strtoull("gnu", &tmp, 10);
16732 ll = llabs(10);
16733 mydivt = lldiv(10,1);
16734 ll = mydivt.quot;
16735 ll = mydivt.rem;
16736 ll = atoll("10");
16737 _Exit(0);
16740 return 0;
16742 _ACEOF
16743 rm -f conftest.$ac_objext
16744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16745 (eval $ac_compile) 2>conftest.er1
16746 ac_status=$?
16747 grep -v '^ *+' conftest.er1 >conftest.err
16748 rm -f conftest.er1
16749 cat conftest.err >&5
16750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16751 (exit $ac_status); } &&
16752 { ac_try='test -z "$ac_cxx_werror_flag"
16753 || test ! -s conftest.err'
16754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16755 (eval $ac_try) 2>&5
16756 ac_status=$?
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); }; } &&
16759 { ac_try='test -s conftest.$ac_objext'
16760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16761 (eval $ac_try) 2>&5
16762 ac_status=$?
16763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764 (exit $ac_status); }; }; then
16765 glibcxx_cv_c99_stdlib=yes
16766 else
16767 echo "$as_me: failed program was:" >&5
16768 sed 's/^/| /' conftest.$ac_ext >&5
16770 glibcxx_cv_c99_stdlib=no
16772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16773 else
16774 if test x$gcc_no_link = xyes; then
16775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16777 { (exit 1); exit 1; }; }
16779 cat >conftest.$ac_ext <<_ACEOF
16780 /* confdefs.h. */
16781 _ACEOF
16782 cat confdefs.h >>conftest.$ac_ext
16783 cat >>conftest.$ac_ext <<_ACEOF
16784 /* end confdefs.h. */
16785 #include <stdlib.h>
16786 volatile float f;
16787 volatile long double ld;
16788 volatile unsigned long long ll;
16789 lldiv_t mydivt;
16791 main ()
16793 char* tmp;
16794 f = strtof("gnu", &tmp);
16795 ld = strtold("gnu", &tmp);
16796 ll = strtoll("gnu", &tmp, 10);
16797 ll = strtoull("gnu", &tmp, 10);
16798 ll = llabs(10);
16799 mydivt = lldiv(10,1);
16800 ll = mydivt.quot;
16801 ll = mydivt.rem;
16802 ll = atoll("10");
16803 _Exit(0);
16806 return 0;
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_cxx_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 glibcxx_cv_c99_stdlib=yes
16832 else
16833 echo "$as_me: failed program was:" >&5
16834 sed 's/^/| /' conftest.$ac_ext >&5
16836 glibcxx_cv_c99_stdlib=no
16838 rm -f conftest.err conftest.$ac_objext \
16839 conftest$ac_exeext conftest.$ac_ext
16844 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdlib" >&5
16845 echo "${ECHO_T}$glibcxx_cv_c99_stdlib" >&6
16847 # Check for the existence in <wchar.h> of wcstold, etc.
16848 glibcxx_cv_c99_wchar=no;
16849 if test x"$ac_has_wchar_h" = xyes &&
16850 test x"$ac_has_wctype_h" = xyes; then
16851 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
16852 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
16853 cat >conftest.$ac_ext <<_ACEOF
16854 /* confdefs.h. */
16855 _ACEOF
16856 cat confdefs.h >>conftest.$ac_ext
16857 cat >>conftest.$ac_ext <<_ACEOF
16858 /* end confdefs.h. */
16859 #include <wchar.h>
16860 namespace test
16862 using ::wcstold;
16863 using ::wcstoll;
16864 using ::wcstoull;
16868 main ()
16872 return 0;
16874 _ACEOF
16875 rm -f conftest.$ac_objext
16876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16877 (eval $ac_compile) 2>conftest.er1
16878 ac_status=$?
16879 grep -v '^ *+' conftest.er1 >conftest.err
16880 rm -f conftest.er1
16881 cat conftest.err >&5
16882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883 (exit $ac_status); } &&
16884 { ac_try='test -z "$ac_cxx_werror_flag"
16885 || test ! -s conftest.err'
16886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16887 (eval $ac_try) 2>&5
16888 ac_status=$?
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); }; } &&
16891 { ac_try='test -s conftest.$ac_objext'
16892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16893 (eval $ac_try) 2>&5
16894 ac_status=$?
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); }; }; then
16897 glibcxx_cv_c99_wchar=yes
16898 else
16899 echo "$as_me: failed program was:" >&5
16900 sed 's/^/| /' conftest.$ac_ext >&5
16902 glibcxx_cv_c99_wchar=no
16904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16906 # Checks for wide character functions that may not be present.
16907 # Injection of these is wrapped with guard macros.
16908 # NB: only put functions here, instead of immediately above, if
16909 # absolutely necessary.
16910 cat >conftest.$ac_ext <<_ACEOF
16911 /* confdefs.h. */
16912 _ACEOF
16913 cat confdefs.h >>conftest.$ac_ext
16914 cat >>conftest.$ac_ext <<_ACEOF
16915 /* end confdefs.h. */
16916 #include <wchar.h>
16917 namespace test { using ::vfwscanf; }
16919 main ()
16923 return 0;
16925 _ACEOF
16926 rm -f conftest.$ac_objext
16927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16928 (eval $ac_compile) 2>conftest.er1
16929 ac_status=$?
16930 grep -v '^ *+' conftest.er1 >conftest.err
16931 rm -f conftest.er1
16932 cat conftest.err >&5
16933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934 (exit $ac_status); } &&
16935 { ac_try='test -z "$ac_cxx_werror_flag"
16936 || test ! -s conftest.err'
16937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16938 (eval $ac_try) 2>&5
16939 ac_status=$?
16940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16941 (exit $ac_status); }; } &&
16942 { ac_try='test -s conftest.$ac_objext'
16943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16944 (eval $ac_try) 2>&5
16945 ac_status=$?
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); }; }; then
16949 cat >>confdefs.h <<\_ACEOF
16950 #define HAVE_VFWSCANF 1
16951 _ACEOF
16953 else
16954 echo "$as_me: failed program was:" >&5
16955 sed 's/^/| /' conftest.$ac_ext >&5
16958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16960 cat >conftest.$ac_ext <<_ACEOF
16961 /* confdefs.h. */
16962 _ACEOF
16963 cat confdefs.h >>conftest.$ac_ext
16964 cat >>conftest.$ac_ext <<_ACEOF
16965 /* end confdefs.h. */
16966 #include <wchar.h>
16967 namespace test { using ::vswscanf; }
16969 main ()
16973 return 0;
16975 _ACEOF
16976 rm -f conftest.$ac_objext
16977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16978 (eval $ac_compile) 2>conftest.er1
16979 ac_status=$?
16980 grep -v '^ *+' conftest.er1 >conftest.err
16981 rm -f conftest.er1
16982 cat conftest.err >&5
16983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16984 (exit $ac_status); } &&
16985 { ac_try='test -z "$ac_cxx_werror_flag"
16986 || test ! -s conftest.err'
16987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16988 (eval $ac_try) 2>&5
16989 ac_status=$?
16990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16991 (exit $ac_status); }; } &&
16992 { ac_try='test -s conftest.$ac_objext'
16993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16994 (eval $ac_try) 2>&5
16995 ac_status=$?
16996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16997 (exit $ac_status); }; }; then
16999 cat >>confdefs.h <<\_ACEOF
17000 #define HAVE_VSWSCANF 1
17001 _ACEOF
17003 else
17004 echo "$as_me: failed program was:" >&5
17005 sed 's/^/| /' conftest.$ac_ext >&5
17008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17010 cat >conftest.$ac_ext <<_ACEOF
17011 /* confdefs.h. */
17012 _ACEOF
17013 cat confdefs.h >>conftest.$ac_ext
17014 cat >>conftest.$ac_ext <<_ACEOF
17015 /* end confdefs.h. */
17016 #include <wchar.h>
17017 namespace test { using ::vwscanf; }
17019 main ()
17023 return 0;
17025 _ACEOF
17026 rm -f conftest.$ac_objext
17027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17028 (eval $ac_compile) 2>conftest.er1
17029 ac_status=$?
17030 grep -v '^ *+' conftest.er1 >conftest.err
17031 rm -f conftest.er1
17032 cat conftest.err >&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); } &&
17035 { ac_try='test -z "$ac_cxx_werror_flag"
17036 || test ! -s conftest.err'
17037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17038 (eval $ac_try) 2>&5
17039 ac_status=$?
17040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17041 (exit $ac_status); }; } &&
17042 { ac_try='test -s conftest.$ac_objext'
17043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17044 (eval $ac_try) 2>&5
17045 ac_status=$?
17046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17047 (exit $ac_status); }; }; then
17049 cat >>confdefs.h <<\_ACEOF
17050 #define HAVE_VWSCANF 1
17051 _ACEOF
17053 else
17054 echo "$as_me: failed program was:" >&5
17055 sed 's/^/| /' conftest.$ac_ext >&5
17058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17060 cat >conftest.$ac_ext <<_ACEOF
17061 /* confdefs.h. */
17062 _ACEOF
17063 cat confdefs.h >>conftest.$ac_ext
17064 cat >>conftest.$ac_ext <<_ACEOF
17065 /* end confdefs.h. */
17066 #include <wchar.h>
17067 namespace test { using ::wcstof; }
17069 main ()
17073 return 0;
17075 _ACEOF
17076 rm -f conftest.$ac_objext
17077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17078 (eval $ac_compile) 2>conftest.er1
17079 ac_status=$?
17080 grep -v '^ *+' conftest.er1 >conftest.err
17081 rm -f conftest.er1
17082 cat conftest.err >&5
17083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084 (exit $ac_status); } &&
17085 { ac_try='test -z "$ac_cxx_werror_flag"
17086 || test ! -s conftest.err'
17087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17088 (eval $ac_try) 2>&5
17089 ac_status=$?
17090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17091 (exit $ac_status); }; } &&
17092 { ac_try='test -s conftest.$ac_objext'
17093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17094 (eval $ac_try) 2>&5
17095 ac_status=$?
17096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17097 (exit $ac_status); }; }; then
17099 cat >>confdefs.h <<\_ACEOF
17100 #define HAVE_WCSTOF 1
17101 _ACEOF
17103 else
17104 echo "$as_me: failed program was:" >&5
17105 sed 's/^/| /' conftest.$ac_ext >&5
17108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17110 cat >conftest.$ac_ext <<_ACEOF
17111 /* confdefs.h. */
17112 _ACEOF
17113 cat confdefs.h >>conftest.$ac_ext
17114 cat >>conftest.$ac_ext <<_ACEOF
17115 /* end confdefs.h. */
17116 #include <wctype.h>
17118 main ()
17120 wint_t t; int i = iswblank(t);
17122 return 0;
17124 _ACEOF
17125 rm -f conftest.$ac_objext
17126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17127 (eval $ac_compile) 2>conftest.er1
17128 ac_status=$?
17129 grep -v '^ *+' conftest.er1 >conftest.err
17130 rm -f conftest.er1
17131 cat conftest.err >&5
17132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17133 (exit $ac_status); } &&
17134 { ac_try='test -z "$ac_cxx_werror_flag"
17135 || test ! -s conftest.err'
17136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17137 (eval $ac_try) 2>&5
17138 ac_status=$?
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); }; } &&
17141 { ac_try='test -s conftest.$ac_objext'
17142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17143 (eval $ac_try) 2>&5
17144 ac_status=$?
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); }; }; then
17148 cat >>confdefs.h <<\_ACEOF
17149 #define HAVE_ISWBLANK 1
17150 _ACEOF
17152 else
17153 echo "$as_me: failed program was:" >&5
17154 sed 's/^/| /' conftest.$ac_ext >&5
17157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17159 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_wchar" >&5
17160 echo "${ECHO_T}$glibcxx_cv_c99_wchar" >&6
17163 # Option parsed, now set things appropriately.
17164 if test x"$glibcxx_cv_c99_math" = x"no" ||
17165 test x"$glibcxx_cv_c99_complex" = x"no" ||
17166 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17167 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17168 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17169 enable_c99=no;
17170 else
17172 cat >>confdefs.h <<\_ACEOF
17173 #define _GLIBCXX_USE_C99 1
17174 _ACEOF
17178 gcc_no_link="$ac_save_gcc_no_link"
17179 LIBS="$ac_save_LIBS"
17180 CXXFLAGS="$ac_save_CXXFLAGS"
17181 ac_ext=c
17182 ac_cpp='$CPP $CPPFLAGS'
17183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17189 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
17190 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
17191 echo "$as_me:$LINENO: result: $enable_c99" >&5
17192 echo "${ECHO_T}$enable_c99" >&6
17195 # Check whether --enable-concept-checks or --disable-concept-checks was given.
17196 if test "${enable_concept_checks+set}" = set; then
17197 enableval="$enable_concept_checks"
17199 case "$enableval" in
17200 yes|no) ;;
17201 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
17202 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
17203 { (exit 1); exit 1; }; } ;;
17204 esac
17206 else
17207 enable_concept_checks=no
17210 if test $enable_concept_checks = yes; then
17212 cat >>confdefs.h <<\_ACEOF
17213 #define _GLIBCXX_CONCEPT_CHECKS 1
17214 _ACEOF
17219 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
17220 if test "${enable_libstdcxx_debug_flags+set}" = set; then
17221 enableval="$enable_libstdcxx_debug_flags"
17222 case "x$enable_libstdcxx_debug_flags" in
17223 xno | x) enable_libstdcxx_debug_flags= ;;
17224 x-*) ;;
17225 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
17226 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
17227 { (exit 1); exit 1; }; } ;;
17228 esac
17229 else
17230 enable_libstdcxx_debug_flags="-g3 -O0"
17234 # Option parsed, now set things appropriately
17235 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17238 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
17239 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17242 echo "$as_me:$LINENO: checking for additional debug build" >&5
17243 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
17244 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
17245 if test "${enable_libstdcxx_debug+set}" = set; then
17246 enableval="$enable_libstdcxx_debug"
17248 case "$enableval" in
17249 yes|no) ;;
17250 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
17251 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
17252 { (exit 1); exit 1; }; } ;;
17253 esac
17255 else
17256 enable_libstdcxx_debug=no
17259 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
17260 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
17265 enable_parallel=no;
17267 # See if configured libgomp/omp.h exists. (libgomp may be in
17268 # noconfigdirs but not explicitly disabled.)
17269 if test -f $glibcxx_builddir/../libgomp/omp.h; then
17270 enable_parallel=yes;
17271 else
17272 { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
17273 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
17276 echo "$as_me:$LINENO: checking for parallel mode support" >&5
17277 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
17278 echo "$as_me:$LINENO: result: $enable_parallel" >&5
17279 echo "${ECHO_T}$enable_parallel" >&6
17282 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
17283 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
17284 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
17285 if test "${enable_cxx_flags+set}" = set; then
17286 enableval="$enable_cxx_flags"
17287 case "x$enable_cxx_flags" in
17288 xno | x) enable_cxx_flags= ;;
17289 x-*) ;;
17290 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
17291 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
17292 { (exit 1); exit 1; }; } ;;
17293 esac
17294 else
17295 enable_cxx_flags=
17299 # Run through flags (either default or command-line) and set anything
17300 # extra (e.g., #defines) that must accompany particular g++ options.
17301 if test -n "$enable_cxx_flags"; then
17302 for f in $enable_cxx_flags; do
17303 case "$f" in
17304 -fhonor-std) ;;
17305 -*) ;;
17306 *) # and we're trying to pass /what/ exactly?
17307 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
17308 echo "$as_me: error: compiler flags start with a -" >&2;}
17309 { (exit 1); exit 1; }; } ;;
17310 esac
17311 done
17314 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17315 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
17316 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
17320 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
17321 if test "${enable_fully_dynamic_string+set}" = set; then
17322 enableval="$enable_fully_dynamic_string"
17324 case "$enableval" in
17325 yes|no) ;;
17326 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
17327 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
17328 { (exit 1); exit 1; }; } ;;
17329 esac
17331 else
17332 enable_fully_dynamic_string=no
17335 if test $enable_fully_dynamic_string = yes; then
17337 cat >>confdefs.h <<\_ACEOF
17338 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
17339 _ACEOF
17344 # Checks for operating systems support that don't require linking.
17347 echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
17348 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
17349 if test "${glibcxx_cv_system_error1+set}" = set; then
17350 echo $ECHO_N "(cached) $ECHO_C" >&6
17351 else
17353 cat >conftest.$ac_ext <<_ACEOF
17354 /* confdefs.h. */
17355 _ACEOF
17356 cat confdefs.h >>conftest.$ac_ext
17357 cat >>conftest.$ac_ext <<_ACEOF
17358 /* end confdefs.h. */
17359 #include <errno.h>
17361 main ()
17363 int i = EOWNERDEAD;
17365 return 0;
17367 _ACEOF
17368 rm -f conftest.$ac_objext
17369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17370 (eval $ac_compile) 2>conftest.er1
17371 ac_status=$?
17372 grep -v '^ *+' conftest.er1 >conftest.err
17373 rm -f conftest.er1
17374 cat conftest.err >&5
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); } &&
17377 { ac_try='test -z "$ac_c_werror_flag"
17378 || test ! -s conftest.err'
17379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17380 (eval $ac_try) 2>&5
17381 ac_status=$?
17382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17383 (exit $ac_status); }; } &&
17384 { ac_try='test -s conftest.$ac_objext'
17385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17386 (eval $ac_try) 2>&5
17387 ac_status=$?
17388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17389 (exit $ac_status); }; }; then
17390 glibcxx_cv_system_error1=yes
17391 else
17392 echo "$as_me: failed program was:" >&5
17393 sed 's/^/| /' conftest.$ac_ext >&5
17395 glibcxx_cv_system_error1=no
17397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17401 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error1" >&5
17402 echo "${ECHO_T}$glibcxx_cv_system_error1" >&6
17403 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17405 cat >>confdefs.h <<\_ACEOF
17406 #define HAVE_EOWNERDEAD 1
17407 _ACEOF
17410 echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
17411 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
17412 if test "${glibcxx_cv_system_error2+set}" = set; then
17413 echo $ECHO_N "(cached) $ECHO_C" >&6
17414 else
17416 cat >conftest.$ac_ext <<_ACEOF
17417 /* confdefs.h. */
17418 _ACEOF
17419 cat confdefs.h >>conftest.$ac_ext
17420 cat >>conftest.$ac_ext <<_ACEOF
17421 /* end confdefs.h. */
17422 #include <errno.h>
17424 main ()
17426 int i = ENOTRECOVERABLE;
17428 return 0;
17430 _ACEOF
17431 rm -f conftest.$ac_objext
17432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17433 (eval $ac_compile) 2>conftest.er1
17434 ac_status=$?
17435 grep -v '^ *+' conftest.er1 >conftest.err
17436 rm -f conftest.er1
17437 cat conftest.err >&5
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); } &&
17440 { ac_try='test -z "$ac_c_werror_flag"
17441 || test ! -s conftest.err'
17442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17443 (eval $ac_try) 2>&5
17444 ac_status=$?
17445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17446 (exit $ac_status); }; } &&
17447 { ac_try='test -s conftest.$ac_objext'
17448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17449 (eval $ac_try) 2>&5
17450 ac_status=$?
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); }; }; then
17453 glibcxx_cv_system_error2=yes
17454 else
17455 echo "$as_me: failed program was:" >&5
17456 sed 's/^/| /' conftest.$ac_ext >&5
17458 glibcxx_cv_system_error2=no
17460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17464 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error2" >&5
17465 echo "${ECHO_T}$glibcxx_cv_system_error2" >&6
17466 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17468 cat >>confdefs.h <<\_ACEOF
17469 #define HAVE_ENOTRECOVERABLE 1
17470 _ACEOF
17473 echo "$as_me:$LINENO: checking for ENOLINK" >&5
17474 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
17475 if test "${glibcxx_cv_system_error3+set}" = set; then
17476 echo $ECHO_N "(cached) $ECHO_C" >&6
17477 else
17479 cat >conftest.$ac_ext <<_ACEOF
17480 /* confdefs.h. */
17481 _ACEOF
17482 cat confdefs.h >>conftest.$ac_ext
17483 cat >>conftest.$ac_ext <<_ACEOF
17484 /* end confdefs.h. */
17485 #include <errno.h>
17487 main ()
17489 int i = ENOLINK;
17491 return 0;
17493 _ACEOF
17494 rm -f conftest.$ac_objext
17495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17496 (eval $ac_compile) 2>conftest.er1
17497 ac_status=$?
17498 grep -v '^ *+' conftest.er1 >conftest.err
17499 rm -f conftest.er1
17500 cat conftest.err >&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); } &&
17503 { ac_try='test -z "$ac_c_werror_flag"
17504 || test ! -s conftest.err'
17505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17506 (eval $ac_try) 2>&5
17507 ac_status=$?
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); }; } &&
17510 { ac_try='test -s conftest.$ac_objext'
17511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17512 (eval $ac_try) 2>&5
17513 ac_status=$?
17514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17515 (exit $ac_status); }; }; then
17516 glibcxx_cv_system_error3=yes
17517 else
17518 echo "$as_me: failed program was:" >&5
17519 sed 's/^/| /' conftest.$ac_ext >&5
17521 glibcxx_cv_system_error3=no
17523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17527 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error3" >&5
17528 echo "${ECHO_T}$glibcxx_cv_system_error3" >&6
17529 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17531 cat >>confdefs.h <<\_ACEOF
17532 #define HAVE_ENOLINK 1
17533 _ACEOF
17536 echo "$as_me:$LINENO: checking for EPROTO" >&5
17537 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
17538 if test "${glibcxx_cv_system_error4+set}" = set; then
17539 echo $ECHO_N "(cached) $ECHO_C" >&6
17540 else
17542 cat >conftest.$ac_ext <<_ACEOF
17543 /* confdefs.h. */
17544 _ACEOF
17545 cat confdefs.h >>conftest.$ac_ext
17546 cat >>conftest.$ac_ext <<_ACEOF
17547 /* end confdefs.h. */
17548 #include <errno.h>
17550 main ()
17552 int i = EPROTO;
17554 return 0;
17556 _ACEOF
17557 rm -f conftest.$ac_objext
17558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17559 (eval $ac_compile) 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_objext'
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 glibcxx_cv_system_error4=yes
17580 else
17581 echo "$as_me: failed program was:" >&5
17582 sed 's/^/| /' conftest.$ac_ext >&5
17584 glibcxx_cv_system_error4=no
17586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17590 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error4" >&5
17591 echo "${ECHO_T}$glibcxx_cv_system_error4" >&6
17592 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17594 cat >>confdefs.h <<\_ACEOF
17595 #define HAVE_EPROTO 1
17596 _ACEOF
17599 echo "$as_me:$LINENO: checking for ENODATA" >&5
17600 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
17601 if test "${glibcxx_cv_system_error5+set}" = set; then
17602 echo $ECHO_N "(cached) $ECHO_C" >&6
17603 else
17605 cat >conftest.$ac_ext <<_ACEOF
17606 /* confdefs.h. */
17607 _ACEOF
17608 cat confdefs.h >>conftest.$ac_ext
17609 cat >>conftest.$ac_ext <<_ACEOF
17610 /* end confdefs.h. */
17611 #include <errno.h>
17613 main ()
17615 int i = ENODATA;
17617 return 0;
17619 _ACEOF
17620 rm -f conftest.$ac_objext
17621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17622 (eval $ac_compile) 2>conftest.er1
17623 ac_status=$?
17624 grep -v '^ *+' conftest.er1 >conftest.err
17625 rm -f conftest.er1
17626 cat conftest.err >&5
17627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17628 (exit $ac_status); } &&
17629 { ac_try='test -z "$ac_c_werror_flag"
17630 || test ! -s conftest.err'
17631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17632 (eval $ac_try) 2>&5
17633 ac_status=$?
17634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635 (exit $ac_status); }; } &&
17636 { ac_try='test -s conftest.$ac_objext'
17637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17638 (eval $ac_try) 2>&5
17639 ac_status=$?
17640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17641 (exit $ac_status); }; }; then
17642 glibcxx_cv_system_error5=yes
17643 else
17644 echo "$as_me: failed program was:" >&5
17645 sed 's/^/| /' conftest.$ac_ext >&5
17647 glibcxx_cv_system_error5=no
17649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17653 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error5" >&5
17654 echo "${ECHO_T}$glibcxx_cv_system_error5" >&6
17655 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17657 cat >>confdefs.h <<\_ACEOF
17658 #define HAVE_ENODATA 1
17659 _ACEOF
17662 echo "$as_me:$LINENO: checking for ENOSR" >&5
17663 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
17664 if test "${glibcxx_cv_system_error6+set}" = set; then
17665 echo $ECHO_N "(cached) $ECHO_C" >&6
17666 else
17668 cat >conftest.$ac_ext <<_ACEOF
17669 /* confdefs.h. */
17670 _ACEOF
17671 cat confdefs.h >>conftest.$ac_ext
17672 cat >>conftest.$ac_ext <<_ACEOF
17673 /* end confdefs.h. */
17674 #include <errno.h>
17676 main ()
17678 int i = ENOSR;
17680 return 0;
17682 _ACEOF
17683 rm -f conftest.$ac_objext
17684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17685 (eval $ac_compile) 2>conftest.er1
17686 ac_status=$?
17687 grep -v '^ *+' conftest.er1 >conftest.err
17688 rm -f conftest.er1
17689 cat conftest.err >&5
17690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17691 (exit $ac_status); } &&
17692 { ac_try='test -z "$ac_c_werror_flag"
17693 || test ! -s conftest.err'
17694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17695 (eval $ac_try) 2>&5
17696 ac_status=$?
17697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698 (exit $ac_status); }; } &&
17699 { ac_try='test -s conftest.$ac_objext'
17700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17701 (eval $ac_try) 2>&5
17702 ac_status=$?
17703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17704 (exit $ac_status); }; }; then
17705 glibcxx_cv_system_error6=yes
17706 else
17707 echo "$as_me: failed program was:" >&5
17708 sed 's/^/| /' conftest.$ac_ext >&5
17710 glibcxx_cv_system_error6=no
17712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17716 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error6" >&5
17717 echo "${ECHO_T}$glibcxx_cv_system_error6" >&6
17718 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17720 cat >>confdefs.h <<\_ACEOF
17721 #define HAVE_ENOSR 1
17722 _ACEOF
17725 echo "$as_me:$LINENO: checking for ENOSTR" >&5
17726 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
17727 if test "${glibcxx_cv_system_error7+set}" = set; then
17728 echo $ECHO_N "(cached) $ECHO_C" >&6
17729 else
17731 cat >conftest.$ac_ext <<_ACEOF
17732 /* confdefs.h. */
17733 _ACEOF
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17737 #include <errno.h>
17739 main ()
17741 int i = ENOSTR;
17743 return 0;
17745 _ACEOF
17746 rm -f conftest.$ac_objext
17747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17748 (eval $ac_compile) 2>conftest.er1
17749 ac_status=$?
17750 grep -v '^ *+' conftest.er1 >conftest.err
17751 rm -f conftest.er1
17752 cat conftest.err >&5
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); } &&
17755 { ac_try='test -z "$ac_c_werror_flag"
17756 || test ! -s conftest.err'
17757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17758 (eval $ac_try) 2>&5
17759 ac_status=$?
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); }; } &&
17762 { ac_try='test -s conftest.$ac_objext'
17763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17764 (eval $ac_try) 2>&5
17765 ac_status=$?
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); }; }; then
17768 glibcxx_cv_system_error7=yes
17769 else
17770 echo "$as_me: failed program was:" >&5
17771 sed 's/^/| /' conftest.$ac_ext >&5
17773 glibcxx_cv_system_error7=no
17775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17779 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error7" >&5
17780 echo "${ECHO_T}$glibcxx_cv_system_error7" >&6
17781 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17783 cat >>confdefs.h <<\_ACEOF
17784 #define HAVE_ENOSTR 1
17785 _ACEOF
17788 echo "$as_me:$LINENO: checking for ETIME" >&5
17789 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
17790 if test "${glibcxx_cv_system_error8+set}" = set; then
17791 echo $ECHO_N "(cached) $ECHO_C" >&6
17792 else
17794 cat >conftest.$ac_ext <<_ACEOF
17795 /* confdefs.h. */
17796 _ACEOF
17797 cat confdefs.h >>conftest.$ac_ext
17798 cat >>conftest.$ac_ext <<_ACEOF
17799 /* end confdefs.h. */
17800 #include <errno.h>
17802 main ()
17804 int i = ETIME;
17806 return 0;
17808 _ACEOF
17809 rm -f conftest.$ac_objext
17810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17811 (eval $ac_compile) 2>conftest.er1
17812 ac_status=$?
17813 grep -v '^ *+' conftest.er1 >conftest.err
17814 rm -f conftest.er1
17815 cat conftest.err >&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); } &&
17818 { ac_try='test -z "$ac_c_werror_flag"
17819 || test ! -s conftest.err'
17820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17821 (eval $ac_try) 2>&5
17822 ac_status=$?
17823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17824 (exit $ac_status); }; } &&
17825 { ac_try='test -s conftest.$ac_objext'
17826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17827 (eval $ac_try) 2>&5
17828 ac_status=$?
17829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17830 (exit $ac_status); }; }; then
17831 glibcxx_cv_system_error8=yes
17832 else
17833 echo "$as_me: failed program was:" >&5
17834 sed 's/^/| /' conftest.$ac_ext >&5
17836 glibcxx_cv_system_error8=no
17838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17842 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error8" >&5
17843 echo "${ECHO_T}$glibcxx_cv_system_error8" >&6
17844 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17846 cat >>confdefs.h <<\_ACEOF
17847 #define HAVE_ETIME 1
17848 _ACEOF
17851 echo "$as_me:$LINENO: checking for EBADMSG" >&5
17852 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
17853 if test "${glibcxx_cv_system_error9+set}" = set; then
17854 echo $ECHO_N "(cached) $ECHO_C" >&6
17855 else
17857 cat >conftest.$ac_ext <<_ACEOF
17858 /* confdefs.h. */
17859 _ACEOF
17860 cat confdefs.h >>conftest.$ac_ext
17861 cat >>conftest.$ac_ext <<_ACEOF
17862 /* end confdefs.h. */
17863 #include <errno.h>
17865 main ()
17867 int i = EBADMSG;
17869 return 0;
17871 _ACEOF
17872 rm -f conftest.$ac_objext
17873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17874 (eval $ac_compile) 2>conftest.er1
17875 ac_status=$?
17876 grep -v '^ *+' conftest.er1 >conftest.err
17877 rm -f conftest.er1
17878 cat conftest.err >&5
17879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880 (exit $ac_status); } &&
17881 { ac_try='test -z "$ac_c_werror_flag"
17882 || test ! -s conftest.err'
17883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17884 (eval $ac_try) 2>&5
17885 ac_status=$?
17886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887 (exit $ac_status); }; } &&
17888 { ac_try='test -s conftest.$ac_objext'
17889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17890 (eval $ac_try) 2>&5
17891 ac_status=$?
17892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893 (exit $ac_status); }; }; then
17894 glibcxx_cv_system_error9=yes
17895 else
17896 echo "$as_me: failed program was:" >&5
17897 sed 's/^/| /' conftest.$ac_ext >&5
17899 glibcxx_cv_system_error9=no
17901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17905 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error9" >&5
17906 echo "${ECHO_T}$glibcxx_cv_system_error9" >&6
17907 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17909 cat >>confdefs.h <<\_ACEOF
17910 #define HAVE_EBADMSG 1
17911 _ACEOF
17914 echo "$as_me:$LINENO: checking for ECANCELED" >&5
17915 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6
17916 if test "${glibcxx_cv_system_error10+set}" = set; then
17917 echo $ECHO_N "(cached) $ECHO_C" >&6
17918 else
17920 cat >conftest.$ac_ext <<_ACEOF
17921 /* confdefs.h. */
17922 _ACEOF
17923 cat confdefs.h >>conftest.$ac_ext
17924 cat >>conftest.$ac_ext <<_ACEOF
17925 /* end confdefs.h. */
17926 #include <errno.h>
17928 main ()
17930 int i = ECANCELED;
17932 return 0;
17934 _ACEOF
17935 rm -f conftest.$ac_objext
17936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17937 (eval $ac_compile) 2>conftest.er1
17938 ac_status=$?
17939 grep -v '^ *+' conftest.er1 >conftest.err
17940 rm -f conftest.er1
17941 cat conftest.err >&5
17942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17943 (exit $ac_status); } &&
17944 { ac_try='test -z "$ac_c_werror_flag"
17945 || test ! -s conftest.err'
17946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17947 (eval $ac_try) 2>&5
17948 ac_status=$?
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); }; } &&
17951 { ac_try='test -s conftest.$ac_objext'
17952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17953 (eval $ac_try) 2>&5
17954 ac_status=$?
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); }; }; then
17957 glibcxx_cv_system_error10=yes
17958 else
17959 echo "$as_me: failed program was:" >&5
17960 sed 's/^/| /' conftest.$ac_ext >&5
17962 glibcxx_cv_system_error10=no
17964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17968 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error10" >&5
17969 echo "${ECHO_T}$glibcxx_cv_system_error10" >&6
17970 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17972 cat >>confdefs.h <<\_ACEOF
17973 #define HAVE_ECANCELED 1
17974 _ACEOF
17977 echo "$as_me:$LINENO: checking for EOVERFLOW" >&5
17978 echo $ECHO_N "checking for EOVERFLOW... $ECHO_C" >&6
17979 if test "${glibcxx_cv_system_error11+set}" = set; then
17980 echo $ECHO_N "(cached) $ECHO_C" >&6
17981 else
17983 cat >conftest.$ac_ext <<_ACEOF
17984 /* confdefs.h. */
17985 _ACEOF
17986 cat confdefs.h >>conftest.$ac_ext
17987 cat >>conftest.$ac_ext <<_ACEOF
17988 /* end confdefs.h. */
17989 #include <errno.h>
17991 main ()
17993 int i = EOVERFLOW;
17995 return 0;
17997 _ACEOF
17998 rm -f conftest.$ac_objext
17999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18000 (eval $ac_compile) 2>conftest.er1
18001 ac_status=$?
18002 grep -v '^ *+' conftest.er1 >conftest.err
18003 rm -f conftest.er1
18004 cat conftest.err >&5
18005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 (exit $ac_status); } &&
18007 { ac_try='test -z "$ac_c_werror_flag"
18008 || test ! -s conftest.err'
18009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18010 (eval $ac_try) 2>&5
18011 ac_status=$?
18012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013 (exit $ac_status); }; } &&
18014 { ac_try='test -s conftest.$ac_objext'
18015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18016 (eval $ac_try) 2>&5
18017 ac_status=$?
18018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 (exit $ac_status); }; }; then
18020 glibcxx_cv_system_error11=yes
18021 else
18022 echo "$as_me: failed program was:" >&5
18023 sed 's/^/| /' conftest.$ac_ext >&5
18025 glibcxx_cv_system_error11=no
18027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18031 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error11" >&5
18032 echo "${ECHO_T}$glibcxx_cv_system_error11" >&6
18033 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18035 cat >>confdefs.h <<\_ACEOF
18036 #define HAVE_EOVERFLOW 1
18037 _ACEOF
18040 echo "$as_me:$LINENO: checking for ENOTSUP" >&5
18041 echo $ECHO_N "checking for ENOTSUP... $ECHO_C" >&6
18042 if test "${glibcxx_cv_system_error12+set}" = set; then
18043 echo $ECHO_N "(cached) $ECHO_C" >&6
18044 else
18046 cat >conftest.$ac_ext <<_ACEOF
18047 /* confdefs.h. */
18048 _ACEOF
18049 cat confdefs.h >>conftest.$ac_ext
18050 cat >>conftest.$ac_ext <<_ACEOF
18051 /* end confdefs.h. */
18052 #include <errno.h>
18054 main ()
18056 int i = ENOTSUP;
18058 return 0;
18060 _ACEOF
18061 rm -f conftest.$ac_objext
18062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18063 (eval $ac_compile) 2>conftest.er1
18064 ac_status=$?
18065 grep -v '^ *+' conftest.er1 >conftest.err
18066 rm -f conftest.er1
18067 cat conftest.err >&5
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); } &&
18070 { ac_try='test -z "$ac_c_werror_flag"
18071 || test ! -s conftest.err'
18072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18073 (eval $ac_try) 2>&5
18074 ac_status=$?
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); }; } &&
18077 { ac_try='test -s conftest.$ac_objext'
18078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18079 (eval $ac_try) 2>&5
18080 ac_status=$?
18081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18082 (exit $ac_status); }; }; then
18083 glibcxx_cv_system_error12=yes
18084 else
18085 echo "$as_me: failed program was:" >&5
18086 sed 's/^/| /' conftest.$ac_ext >&5
18088 glibcxx_cv_system_error12=no
18090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18094 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error12" >&5
18095 echo "${ECHO_T}$glibcxx_cv_system_error12" >&6
18096 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18098 cat >>confdefs.h <<\_ACEOF
18099 #define HAVE_ENOTSUP 1
18100 _ACEOF
18103 echo "$as_me:$LINENO: checking for EIDRM" >&5
18104 echo $ECHO_N "checking for EIDRM... $ECHO_C" >&6
18105 if test "${glibcxx_cv_system_error13+set}" = set; then
18106 echo $ECHO_N "(cached) $ECHO_C" >&6
18107 else
18109 cat >conftest.$ac_ext <<_ACEOF
18110 /* confdefs.h. */
18111 _ACEOF
18112 cat confdefs.h >>conftest.$ac_ext
18113 cat >>conftest.$ac_ext <<_ACEOF
18114 /* end confdefs.h. */
18115 #include <errno.h>
18117 main ()
18119 int i = EIDRM;
18121 return 0;
18123 _ACEOF
18124 rm -f conftest.$ac_objext
18125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18126 (eval $ac_compile) 2>conftest.er1
18127 ac_status=$?
18128 grep -v '^ *+' conftest.er1 >conftest.err
18129 rm -f conftest.er1
18130 cat conftest.err >&5
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); } &&
18133 { ac_try='test -z "$ac_c_werror_flag"
18134 || test ! -s conftest.err'
18135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18136 (eval $ac_try) 2>&5
18137 ac_status=$?
18138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18139 (exit $ac_status); }; } &&
18140 { ac_try='test -s conftest.$ac_objext'
18141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18142 (eval $ac_try) 2>&5
18143 ac_status=$?
18144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18145 (exit $ac_status); }; }; then
18146 glibcxx_cv_system_error13=yes
18147 else
18148 echo "$as_me: failed program was:" >&5
18149 sed 's/^/| /' conftest.$ac_ext >&5
18151 glibcxx_cv_system_error13=no
18153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18157 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error13" >&5
18158 echo "${ECHO_T}$glibcxx_cv_system_error13" >&6
18159 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18161 cat >>confdefs.h <<\_ACEOF
18162 #define HAVE_EIDRM 1
18163 _ACEOF
18166 echo "$as_me:$LINENO: checking for ETXTBSY" >&5
18167 echo $ECHO_N "checking for ETXTBSY... $ECHO_C" >&6
18168 if test "${glibcxx_cv_system_error14+set}" = set; then
18169 echo $ECHO_N "(cached) $ECHO_C" >&6
18170 else
18172 cat >conftest.$ac_ext <<_ACEOF
18173 /* confdefs.h. */
18174 _ACEOF
18175 cat confdefs.h >>conftest.$ac_ext
18176 cat >>conftest.$ac_ext <<_ACEOF
18177 /* end confdefs.h. */
18178 #include <errno.h>
18180 main ()
18182 int i = ETXTBSY;
18184 return 0;
18186 _ACEOF
18187 rm -f conftest.$ac_objext
18188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18189 (eval $ac_compile) 2>conftest.er1
18190 ac_status=$?
18191 grep -v '^ *+' conftest.er1 >conftest.err
18192 rm -f conftest.er1
18193 cat conftest.err >&5
18194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195 (exit $ac_status); } &&
18196 { ac_try='test -z "$ac_c_werror_flag"
18197 || test ! -s conftest.err'
18198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18199 (eval $ac_try) 2>&5
18200 ac_status=$?
18201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); }; } &&
18203 { ac_try='test -s conftest.$ac_objext'
18204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18205 (eval $ac_try) 2>&5
18206 ac_status=$?
18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); }; }; then
18209 glibcxx_cv_system_error14=yes
18210 else
18211 echo "$as_me: failed program was:" >&5
18212 sed 's/^/| /' conftest.$ac_ext >&5
18214 glibcxx_cv_system_error14=no
18216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18220 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error14" >&5
18221 echo "${ECHO_T}$glibcxx_cv_system_error14" >&6
18222 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18224 cat >>confdefs.h <<\_ACEOF
18225 #define HAVE_ETXTBSY 1
18226 _ACEOF
18233 # Only do link tests if native. Else, hardcode.
18234 if $GLIBCXX_IS_NATIVE; then
18236 # We can do more elaborate tests that assume a working linker.
18237 CANADIAN=no
18239 # Check for available headers.
18255 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
18256 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
18257 sys/types.h sys/ipc.h sys/sem.h
18259 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18261 echo "$as_me:$LINENO: checking for $ac_header" >&5
18262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18264 echo $ECHO_N "(cached) $ECHO_C" >&6
18266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18268 else
18269 # Is the header compilable?
18270 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18271 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18272 cat >conftest.$ac_ext <<_ACEOF
18273 /* confdefs.h. */
18274 _ACEOF
18275 cat confdefs.h >>conftest.$ac_ext
18276 cat >>conftest.$ac_ext <<_ACEOF
18277 /* end confdefs.h. */
18278 $ac_includes_default
18279 #include <$ac_header>
18280 _ACEOF
18281 rm -f conftest.$ac_objext
18282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18283 (eval $ac_compile) 2>conftest.er1
18284 ac_status=$?
18285 grep -v '^ *+' conftest.er1 >conftest.err
18286 rm -f conftest.er1
18287 cat conftest.err >&5
18288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18289 (exit $ac_status); } &&
18290 { ac_try='test -z "$ac_c_werror_flag"
18291 || test ! -s conftest.err'
18292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18293 (eval $ac_try) 2>&5
18294 ac_status=$?
18295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18296 (exit $ac_status); }; } &&
18297 { ac_try='test -s conftest.$ac_objext'
18298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18299 (eval $ac_try) 2>&5
18300 ac_status=$?
18301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18302 (exit $ac_status); }; }; then
18303 ac_header_compiler=yes
18304 else
18305 echo "$as_me: failed program was:" >&5
18306 sed 's/^/| /' conftest.$ac_ext >&5
18308 ac_header_compiler=no
18310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18311 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18312 echo "${ECHO_T}$ac_header_compiler" >&6
18314 # Is the header present?
18315 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18316 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18317 cat >conftest.$ac_ext <<_ACEOF
18318 /* confdefs.h. */
18319 _ACEOF
18320 cat confdefs.h >>conftest.$ac_ext
18321 cat >>conftest.$ac_ext <<_ACEOF
18322 /* end confdefs.h. */
18323 #include <$ac_header>
18324 _ACEOF
18325 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18326 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18327 ac_status=$?
18328 grep -v '^ *+' conftest.er1 >conftest.err
18329 rm -f conftest.er1
18330 cat conftest.err >&5
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); } >/dev/null; then
18333 if test -s conftest.err; then
18334 ac_cpp_err=$ac_c_preproc_warn_flag
18335 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18336 else
18337 ac_cpp_err=
18339 else
18340 ac_cpp_err=yes
18342 if test -z "$ac_cpp_err"; then
18343 ac_header_preproc=yes
18344 else
18345 echo "$as_me: failed program was:" >&5
18346 sed 's/^/| /' conftest.$ac_ext >&5
18348 ac_header_preproc=no
18350 rm -f conftest.err conftest.$ac_ext
18351 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18352 echo "${ECHO_T}$ac_header_preproc" >&6
18354 # So? What about this header?
18355 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18356 yes:no: )
18357 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18358 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18359 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18360 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18361 ac_header_preproc=yes
18363 no:yes:* )
18364 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18365 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18366 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18367 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18368 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18369 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18370 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18371 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18372 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18373 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18374 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18375 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18377 cat <<\_ASBOX
18378 ## ----------------------------------------- ##
18379 ## Report this to the package-unused lists. ##
18380 ## ----------------------------------------- ##
18381 _ASBOX
18383 sed "s/^/$as_me: WARNING: /" >&2
18385 esac
18386 echo "$as_me:$LINENO: checking for $ac_header" >&5
18387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18389 echo $ECHO_N "(cached) $ECHO_C" >&6
18390 else
18391 eval "$as_ac_Header=\$ac_header_preproc"
18393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18394 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18397 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18398 cat >>confdefs.h <<_ACEOF
18399 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18400 _ACEOF
18404 done
18409 # Check whether --with-gnu-ld or --without-gnu-ld was given.
18410 if test "${with_gnu_ld+set}" = set; then
18411 withval="$with_gnu_ld"
18412 test "$withval" = no || with_gnu_ld=yes
18413 else
18414 with_gnu_ld=no
18416 ac_prog=ld
18417 if test "$GCC" = yes; then
18418 # Check if gcc -print-prog-name=ld gives a path.
18419 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18420 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
18421 case $host in
18422 *-*-mingw*)
18423 # gcc leaves a trailing carriage return which upsets mingw
18424 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18426 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18427 esac
18428 case $ac_prog in
18429 # Accept absolute paths.
18430 [\\/]* | ?:[\\/]*)
18431 re_direlt='/[^/][^/]*/\.\./'
18432 # Canonicalize the pathname of ld
18433 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18434 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18435 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18436 done
18437 test -z "$LD" && LD="$ac_prog"
18440 # If it fails, then pretend we aren't using GCC.
18441 ac_prog=ld
18444 # If it is relative, then search for the first ld in PATH.
18445 with_gnu_ld=unknown
18447 esac
18448 elif test "$with_gnu_ld" = yes; then
18449 echo "$as_me:$LINENO: checking for GNU ld" >&5
18450 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18451 else
18452 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18453 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18455 if test "${lt_cv_path_LD+set}" = set; then
18456 echo $ECHO_N "(cached) $ECHO_C" >&6
18457 else
18458 if test -z "$LD"; then
18459 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18460 for ac_dir in $PATH; do
18461 IFS="$lt_save_ifs"
18462 test -z "$ac_dir" && ac_dir=.
18463 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18464 lt_cv_path_LD="$ac_dir/$ac_prog"
18465 # Check to see if the program is GNU ld. I'd rather use --version,
18466 # but apparently some variants of GNU ld only accept -v.
18467 # Break only if it was the GNU/non-GNU ld that we prefer.
18468 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18469 *GNU* | *'with BFD'*)
18470 test "$with_gnu_ld" != no && break
18473 test "$with_gnu_ld" != yes && break
18475 esac
18477 done
18478 IFS="$lt_save_ifs"
18479 else
18480 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18484 LD="$lt_cv_path_LD"
18485 if test -n "$LD"; then
18486 echo "$as_me:$LINENO: result: $LD" >&5
18487 echo "${ECHO_T}$LD" >&6
18488 else
18489 echo "$as_me:$LINENO: result: no" >&5
18490 echo "${ECHO_T}no" >&6
18492 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18493 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18494 { (exit 1); exit 1; }; }
18495 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18496 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18497 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18498 echo $ECHO_N "(cached) $ECHO_C" >&6
18499 else
18500 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18501 case `$LD -v 2>&1 </dev/null` in
18502 *GNU* | *'with BFD'*)
18503 lt_cv_prog_gnu_ld=yes
18506 lt_cv_prog_gnu_ld=no
18508 esac
18510 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18511 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
18512 with_gnu_ld=$lt_cv_prog_gnu_ld
18520 # If we're not using GNU ld, then there's no point in even trying these
18521 # tests. Check for that first. We should have already tested for gld
18522 # by now (in libtool), but require it now just to be safe...
18523 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
18524 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
18528 # The name set by libtool depends on the version of libtool. Shame on us
18529 # for depending on an impl detail, but c'est la vie. Older versions used
18530 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
18531 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
18532 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
18533 # set (hence we're using an older libtool), then set it.
18534 if test x${with_gnu_ld+set} != xset; then
18535 if test x${ac_cv_prog_gnu_ld+set} != xset; then
18536 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
18537 with_gnu_ld=no
18538 else
18539 with_gnu_ld=$ac_cv_prog_gnu_ld
18543 # Start by getting the version number. I think the libtool test already
18544 # does some of this, but throws away the result.
18545 glibcxx_ld_is_gold=no
18546 if test x"$with_gnu_ld" = x"yes"; then
18547 echo "$as_me:$LINENO: checking for ld version" >&5
18548 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
18550 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
18551 glibcxx_ld_is_gold=yes
18553 ldver=`$LD --version 2>/dev/null | head -1 | \
18554 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
18556 glibcxx_gnu_ld_version=`echo $ldver | \
18557 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
18558 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
18559 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
18562 # Set --gc-sections.
18563 glibcxx_have_gc_sections=no
18564 if test "$glibcxx_ld_is_gold" = "yes"; then
18565 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
18566 glibcxx_have_gc_sections=yes
18568 else
18569 glibcxx_gcsections_min_ld=21602
18570 if test x"$with_gnu_ld" = x"yes" &&
18571 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
18572 glibcxx_have_gc_sections=yes
18575 if test "$glibcxx_have_gc_sections" = "yes"; then
18576 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
18577 # NB: This flag only works reliably after 2.16.1. Configure tests
18578 # for this are difficult, so hard wire a value that should work.
18580 ac_test_CFLAGS="${CFLAGS+set}"
18581 ac_save_CFLAGS="$CFLAGS"
18582 CFLAGS='-Wl,--gc-sections'
18584 # Check for -Wl,--gc-sections
18585 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
18586 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
18587 if test x$gcc_no_link = xyes; then
18588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18590 { (exit 1); exit 1; }; }
18592 cat >conftest.$ac_ext <<_ACEOF
18593 /* confdefs.h. */
18594 _ACEOF
18595 cat confdefs.h >>conftest.$ac_ext
18596 cat >>conftest.$ac_ext <<_ACEOF
18597 /* end confdefs.h. */
18598 int one(void) { return 1; }
18599 int two(void) { return 2; }
18602 main ()
18604 two();
18606 return 0;
18608 _ACEOF
18609 rm -f conftest.$ac_objext conftest$ac_exeext
18610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18611 (eval $ac_link) 2>conftest.er1
18612 ac_status=$?
18613 grep -v '^ *+' conftest.er1 >conftest.err
18614 rm -f conftest.er1
18615 cat conftest.err >&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } &&
18618 { ac_try='test -z "$ac_c_werror_flag"
18619 || test ! -s conftest.err'
18620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18621 (eval $ac_try) 2>&5
18622 ac_status=$?
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); }; } &&
18625 { ac_try='test -s conftest$ac_exeext'
18626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18627 (eval $ac_try) 2>&5
18628 ac_status=$?
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); }; }; then
18631 ac_gcsections=yes
18632 else
18633 echo "$as_me: failed program was:" >&5
18634 sed 's/^/| /' conftest.$ac_ext >&5
18636 ac_gcsections=no
18638 rm -f conftest.err conftest.$ac_objext \
18639 conftest$ac_exeext conftest.$ac_ext
18640 if test "$ac_gcsections" = "yes"; then
18641 rm -f conftest.c
18642 touch conftest.c
18643 if $CC -c conftest.c; then
18644 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
18645 grep "Warning: gc-sections option ignored" > /dev/null; then
18646 ac_gcsections=no
18649 rm -f conftest.c conftest.o conftest
18651 if test "$ac_gcsections" = "yes"; then
18652 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
18654 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
18655 echo "${ECHO_T}$ac_gcsections" >&6
18657 if test "$ac_test_CFLAGS" = set; then
18658 CFLAGS="$ac_save_CFLAGS"
18659 else
18660 # this is the suspicious part
18661 CFLAGS=''
18665 # Set -z,relro.
18666 # Note this is only for shared objects.
18667 ac_ld_relro=no
18668 if test x"$with_gnu_ld" = x"yes"; then
18669 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
18670 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
18671 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
18672 if test -n "$cxx_z_relo"; then
18673 OPT_LDFLAGS="-Wl,-z,relro"
18674 ac_ld_relro=yes
18676 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
18677 echo "${ECHO_T}$ac_ld_relro" >&6
18680 # Set linker optimization flags.
18681 if test x"$with_gnu_ld" = x"yes"; then
18682 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
18689 ac_test_CXXFLAGS="${CXXFLAGS+set}"
18690 ac_save_CXXFLAGS="$CXXFLAGS"
18691 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
18693 echo "$as_me:$LINENO: checking for sin in -lm" >&5
18694 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
18695 if test "${ac_cv_lib_m_sin+set}" = set; then
18696 echo $ECHO_N "(cached) $ECHO_C" >&6
18697 else
18698 ac_check_lib_save_LIBS=$LIBS
18699 LIBS="-lm $LIBS"
18700 if test x$gcc_no_link = xyes; then
18701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18703 { (exit 1); exit 1; }; }
18705 cat >conftest.$ac_ext <<_ACEOF
18706 /* confdefs.h. */
18707 _ACEOF
18708 cat confdefs.h >>conftest.$ac_ext
18709 cat >>conftest.$ac_ext <<_ACEOF
18710 /* end confdefs.h. */
18712 /* Override any gcc2 internal prototype to avoid an error. */
18713 #ifdef __cplusplus
18714 extern "C"
18715 #endif
18716 /* We use char because int might match the return type of a gcc2
18717 builtin and then its argument prototype would still apply. */
18718 char sin ();
18720 main ()
18722 sin ();
18724 return 0;
18726 _ACEOF
18727 rm -f conftest.$ac_objext conftest$ac_exeext
18728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18729 (eval $ac_link) 2>conftest.er1
18730 ac_status=$?
18731 grep -v '^ *+' conftest.er1 >conftest.err
18732 rm -f conftest.er1
18733 cat conftest.err >&5
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); } &&
18736 { ac_try='test -z "$ac_c_werror_flag"
18737 || test ! -s conftest.err'
18738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18739 (eval $ac_try) 2>&5
18740 ac_status=$?
18741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18742 (exit $ac_status); }; } &&
18743 { ac_try='test -s conftest$ac_exeext'
18744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18745 (eval $ac_try) 2>&5
18746 ac_status=$?
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); }; }; then
18749 ac_cv_lib_m_sin=yes
18750 else
18751 echo "$as_me: failed program was:" >&5
18752 sed 's/^/| /' conftest.$ac_ext >&5
18754 ac_cv_lib_m_sin=no
18756 rm -f conftest.err conftest.$ac_objext \
18757 conftest$ac_exeext conftest.$ac_ext
18758 LIBS=$ac_check_lib_save_LIBS
18760 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
18761 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
18762 if test $ac_cv_lib_m_sin = yes; then
18763 libm="-lm"
18766 ac_save_LIBS="$LIBS"
18767 LIBS="$LIBS $libm"
18771 echo "$as_me:$LINENO: checking for isinf declaration" >&5
18772 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
18773 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
18774 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
18775 echo $ECHO_N "(cached) $ECHO_C" >&6
18776 else
18780 ac_ext=cc
18781 ac_cpp='$CXXCPP $CPPFLAGS'
18782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18786 cat >conftest.$ac_ext <<_ACEOF
18787 /* confdefs.h. */
18788 _ACEOF
18789 cat confdefs.h >>conftest.$ac_ext
18790 cat >>conftest.$ac_ext <<_ACEOF
18791 /* end confdefs.h. */
18792 #include <math.h>
18793 #ifdef HAVE_IEEEFP_H
18794 #include <ieeefp.h>
18795 #endif
18798 main ()
18800 isinf(0);
18802 return 0;
18804 _ACEOF
18805 rm -f conftest.$ac_objext
18806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18807 (eval $ac_compile) 2>conftest.er1
18808 ac_status=$?
18809 grep -v '^ *+' conftest.er1 >conftest.err
18810 rm -f conftest.er1
18811 cat conftest.err >&5
18812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813 (exit $ac_status); } &&
18814 { ac_try='test -z "$ac_cxx_werror_flag"
18815 || test ! -s conftest.err'
18816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18817 (eval $ac_try) 2>&5
18818 ac_status=$?
18819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820 (exit $ac_status); }; } &&
18821 { ac_try='test -s conftest.$ac_objext'
18822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18823 (eval $ac_try) 2>&5
18824 ac_status=$?
18825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18826 (exit $ac_status); }; }; then
18827 glibcxx_cv_func_isinf_use=yes
18828 else
18829 echo "$as_me: failed program was:" >&5
18830 sed 's/^/| /' conftest.$ac_ext >&5
18832 glibcxx_cv_func_isinf_use=no
18834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18835 ac_ext=c
18836 ac_cpp='$CPP $CPPFLAGS'
18837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18845 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
18846 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
18848 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
18850 for ac_func in isinf
18852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18853 echo "$as_me:$LINENO: checking for $ac_func" >&5
18854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18855 if eval "test \"\${$as_ac_var+set}\" = set"; then
18856 echo $ECHO_N "(cached) $ECHO_C" >&6
18857 else
18858 if test x$gcc_no_link = xyes; then
18859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18861 { (exit 1); exit 1; }; }
18863 cat >conftest.$ac_ext <<_ACEOF
18864 /* confdefs.h. */
18865 _ACEOF
18866 cat confdefs.h >>conftest.$ac_ext
18867 cat >>conftest.$ac_ext <<_ACEOF
18868 /* end confdefs.h. */
18869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18871 #define $ac_func innocuous_$ac_func
18873 /* System header to define __stub macros and hopefully few prototypes,
18874 which can conflict with char $ac_func (); below.
18875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18876 <limits.h> exists even on freestanding compilers. */
18878 #ifdef __STDC__
18879 # include <limits.h>
18880 #else
18881 # include <assert.h>
18882 #endif
18884 #undef $ac_func
18886 /* Override any gcc2 internal prototype to avoid an error. */
18887 #ifdef __cplusplus
18888 extern "C"
18890 #endif
18891 /* We use char because int might match the return type of a gcc2
18892 builtin and then its argument prototype would still apply. */
18893 char $ac_func ();
18894 /* The GNU C library defines this for functions which it implements
18895 to always fail with ENOSYS. Some functions are actually named
18896 something starting with __ and the normal name is an alias. */
18897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18898 choke me
18899 #else
18900 char (*f) () = $ac_func;
18901 #endif
18902 #ifdef __cplusplus
18904 #endif
18907 main ()
18909 return f != $ac_func;
18911 return 0;
18913 _ACEOF
18914 rm -f conftest.$ac_objext conftest$ac_exeext
18915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18916 (eval $ac_link) 2>conftest.er1
18917 ac_status=$?
18918 grep -v '^ *+' conftest.er1 >conftest.err
18919 rm -f conftest.er1
18920 cat conftest.err >&5
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); } &&
18923 { ac_try='test -z "$ac_c_werror_flag"
18924 || test ! -s conftest.err'
18925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18926 (eval $ac_try) 2>&5
18927 ac_status=$?
18928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18929 (exit $ac_status); }; } &&
18930 { ac_try='test -s conftest$ac_exeext'
18931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18932 (eval $ac_try) 2>&5
18933 ac_status=$?
18934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18935 (exit $ac_status); }; }; then
18936 eval "$as_ac_var=yes"
18937 else
18938 echo "$as_me: failed program was:" >&5
18939 sed 's/^/| /' conftest.$ac_ext >&5
18941 eval "$as_ac_var=no"
18943 rm -f conftest.err conftest.$ac_objext \
18944 conftest$ac_exeext conftest.$ac_ext
18946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18948 if test `eval echo '${'$as_ac_var'}'` = yes; then
18949 cat >>confdefs.h <<_ACEOF
18950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18951 _ACEOF
18954 done
18956 else
18958 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
18959 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
18960 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
18961 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
18962 echo $ECHO_N "(cached) $ECHO_C" >&6
18963 else
18967 ac_ext=cc
18968 ac_cpp='$CXXCPP $CPPFLAGS'
18969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18973 cat >conftest.$ac_ext <<_ACEOF
18974 /* confdefs.h. */
18975 _ACEOF
18976 cat confdefs.h >>conftest.$ac_ext
18977 cat >>conftest.$ac_ext <<_ACEOF
18978 /* end confdefs.h. */
18979 #include <math.h>
18980 #ifdef HAVE_IEEEFP_H
18981 #include <ieeefp.h>
18982 #endif
18985 main ()
18987 _isinf(0);
18989 return 0;
18991 _ACEOF
18992 rm -f conftest.$ac_objext
18993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18994 (eval $ac_compile) 2>conftest.er1
18995 ac_status=$?
18996 grep -v '^ *+' conftest.er1 >conftest.err
18997 rm -f conftest.er1
18998 cat conftest.err >&5
18999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19000 (exit $ac_status); } &&
19001 { ac_try='test -z "$ac_cxx_werror_flag"
19002 || test ! -s conftest.err'
19003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19004 (eval $ac_try) 2>&5
19005 ac_status=$?
19006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19007 (exit $ac_status); }; } &&
19008 { ac_try='test -s conftest.$ac_objext'
19009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19010 (eval $ac_try) 2>&5
19011 ac_status=$?
19012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19013 (exit $ac_status); }; }; then
19014 glibcxx_cv_func__isinf_use=yes
19015 else
19016 echo "$as_me: failed program was:" >&5
19017 sed 's/^/| /' conftest.$ac_ext >&5
19019 glibcxx_cv_func__isinf_use=no
19021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19022 ac_ext=c
19023 ac_cpp='$CPP $CPPFLAGS'
19024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19032 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
19033 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
19035 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19037 for ac_func in _isinf
19039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19040 echo "$as_me:$LINENO: checking for $ac_func" >&5
19041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19042 if eval "test \"\${$as_ac_var+set}\" = set"; then
19043 echo $ECHO_N "(cached) $ECHO_C" >&6
19044 else
19045 if test x$gcc_no_link = xyes; then
19046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19048 { (exit 1); exit 1; }; }
19050 cat >conftest.$ac_ext <<_ACEOF
19051 /* confdefs.h. */
19052 _ACEOF
19053 cat confdefs.h >>conftest.$ac_ext
19054 cat >>conftest.$ac_ext <<_ACEOF
19055 /* end confdefs.h. */
19056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19058 #define $ac_func innocuous_$ac_func
19060 /* System header to define __stub macros and hopefully few prototypes,
19061 which can conflict with char $ac_func (); below.
19062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19063 <limits.h> exists even on freestanding compilers. */
19065 #ifdef __STDC__
19066 # include <limits.h>
19067 #else
19068 # include <assert.h>
19069 #endif
19071 #undef $ac_func
19073 /* Override any gcc2 internal prototype to avoid an error. */
19074 #ifdef __cplusplus
19075 extern "C"
19077 #endif
19078 /* We use char because int might match the return type of a gcc2
19079 builtin and then its argument prototype would still apply. */
19080 char $ac_func ();
19081 /* The GNU C library defines this for functions which it implements
19082 to always fail with ENOSYS. Some functions are actually named
19083 something starting with __ and the normal name is an alias. */
19084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19085 choke me
19086 #else
19087 char (*f) () = $ac_func;
19088 #endif
19089 #ifdef __cplusplus
19091 #endif
19094 main ()
19096 return f != $ac_func;
19098 return 0;
19100 _ACEOF
19101 rm -f conftest.$ac_objext conftest$ac_exeext
19102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19103 (eval $ac_link) 2>conftest.er1
19104 ac_status=$?
19105 grep -v '^ *+' conftest.er1 >conftest.err
19106 rm -f conftest.er1
19107 cat conftest.err >&5
19108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19109 (exit $ac_status); } &&
19110 { ac_try='test -z "$ac_c_werror_flag"
19111 || test ! -s conftest.err'
19112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19113 (eval $ac_try) 2>&5
19114 ac_status=$?
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); }; } &&
19117 { ac_try='test -s conftest$ac_exeext'
19118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19119 (eval $ac_try) 2>&5
19120 ac_status=$?
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); }; }; then
19123 eval "$as_ac_var=yes"
19124 else
19125 echo "$as_me: failed program was:" >&5
19126 sed 's/^/| /' conftest.$ac_ext >&5
19128 eval "$as_ac_var=no"
19130 rm -f conftest.err conftest.$ac_objext \
19131 conftest$ac_exeext conftest.$ac_ext
19133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19135 if test `eval echo '${'$as_ac_var'}'` = yes; then
19136 cat >>confdefs.h <<_ACEOF
19137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19138 _ACEOF
19141 done
19151 echo "$as_me:$LINENO: checking for isnan declaration" >&5
19152 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
19153 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19154 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
19155 echo $ECHO_N "(cached) $ECHO_C" >&6
19156 else
19160 ac_ext=cc
19161 ac_cpp='$CXXCPP $CPPFLAGS'
19162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19166 cat >conftest.$ac_ext <<_ACEOF
19167 /* confdefs.h. */
19168 _ACEOF
19169 cat confdefs.h >>conftest.$ac_ext
19170 cat >>conftest.$ac_ext <<_ACEOF
19171 /* end confdefs.h. */
19172 #include <math.h>
19173 #ifdef HAVE_IEEEFP_H
19174 #include <ieeefp.h>
19175 #endif
19178 main ()
19180 isnan(0);
19182 return 0;
19184 _ACEOF
19185 rm -f conftest.$ac_objext
19186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19187 (eval $ac_compile) 2>conftest.er1
19188 ac_status=$?
19189 grep -v '^ *+' conftest.er1 >conftest.err
19190 rm -f conftest.er1
19191 cat conftest.err >&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); } &&
19194 { ac_try='test -z "$ac_cxx_werror_flag"
19195 || test ! -s conftest.err'
19196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19197 (eval $ac_try) 2>&5
19198 ac_status=$?
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); }; } &&
19201 { ac_try='test -s conftest.$ac_objext'
19202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19203 (eval $ac_try) 2>&5
19204 ac_status=$?
19205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19206 (exit $ac_status); }; }; then
19207 glibcxx_cv_func_isnan_use=yes
19208 else
19209 echo "$as_me: failed program was:" >&5
19210 sed 's/^/| /' conftest.$ac_ext >&5
19212 glibcxx_cv_func_isnan_use=no
19214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19215 ac_ext=c
19216 ac_cpp='$CPP $CPPFLAGS'
19217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19225 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
19226 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
19228 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19230 for ac_func in isnan
19232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19233 echo "$as_me:$LINENO: checking for $ac_func" >&5
19234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19235 if eval "test \"\${$as_ac_var+set}\" = set"; then
19236 echo $ECHO_N "(cached) $ECHO_C" >&6
19237 else
19238 if test x$gcc_no_link = xyes; then
19239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19241 { (exit 1); exit 1; }; }
19243 cat >conftest.$ac_ext <<_ACEOF
19244 /* confdefs.h. */
19245 _ACEOF
19246 cat confdefs.h >>conftest.$ac_ext
19247 cat >>conftest.$ac_ext <<_ACEOF
19248 /* end confdefs.h. */
19249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19251 #define $ac_func innocuous_$ac_func
19253 /* System header to define __stub macros and hopefully few prototypes,
19254 which can conflict with char $ac_func (); below.
19255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19256 <limits.h> exists even on freestanding compilers. */
19258 #ifdef __STDC__
19259 # include <limits.h>
19260 #else
19261 # include <assert.h>
19262 #endif
19264 #undef $ac_func
19266 /* Override any gcc2 internal prototype to avoid an error. */
19267 #ifdef __cplusplus
19268 extern "C"
19270 #endif
19271 /* We use char because int might match the return type of a gcc2
19272 builtin and then its argument prototype would still apply. */
19273 char $ac_func ();
19274 /* The GNU C library defines this for functions which it implements
19275 to always fail with ENOSYS. Some functions are actually named
19276 something starting with __ and the normal name is an alias. */
19277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19278 choke me
19279 #else
19280 char (*f) () = $ac_func;
19281 #endif
19282 #ifdef __cplusplus
19284 #endif
19287 main ()
19289 return f != $ac_func;
19291 return 0;
19293 _ACEOF
19294 rm -f conftest.$ac_objext conftest$ac_exeext
19295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19296 (eval $ac_link) 2>conftest.er1
19297 ac_status=$?
19298 grep -v '^ *+' conftest.er1 >conftest.err
19299 rm -f conftest.er1
19300 cat conftest.err >&5
19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302 (exit $ac_status); } &&
19303 { ac_try='test -z "$ac_c_werror_flag"
19304 || test ! -s conftest.err'
19305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19306 (eval $ac_try) 2>&5
19307 ac_status=$?
19308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309 (exit $ac_status); }; } &&
19310 { ac_try='test -s conftest$ac_exeext'
19311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19312 (eval $ac_try) 2>&5
19313 ac_status=$?
19314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19315 (exit $ac_status); }; }; then
19316 eval "$as_ac_var=yes"
19317 else
19318 echo "$as_me: failed program was:" >&5
19319 sed 's/^/| /' conftest.$ac_ext >&5
19321 eval "$as_ac_var=no"
19323 rm -f conftest.err conftest.$ac_objext \
19324 conftest$ac_exeext conftest.$ac_ext
19326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19328 if test `eval echo '${'$as_ac_var'}'` = yes; then
19329 cat >>confdefs.h <<_ACEOF
19330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19331 _ACEOF
19334 done
19336 else
19338 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
19339 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
19340 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19341 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
19342 echo $ECHO_N "(cached) $ECHO_C" >&6
19343 else
19347 ac_ext=cc
19348 ac_cpp='$CXXCPP $CPPFLAGS'
19349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19353 cat >conftest.$ac_ext <<_ACEOF
19354 /* confdefs.h. */
19355 _ACEOF
19356 cat confdefs.h >>conftest.$ac_ext
19357 cat >>conftest.$ac_ext <<_ACEOF
19358 /* end confdefs.h. */
19359 #include <math.h>
19360 #ifdef HAVE_IEEEFP_H
19361 #include <ieeefp.h>
19362 #endif
19365 main ()
19367 _isnan(0);
19369 return 0;
19371 _ACEOF
19372 rm -f conftest.$ac_objext
19373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19374 (eval $ac_compile) 2>conftest.er1
19375 ac_status=$?
19376 grep -v '^ *+' conftest.er1 >conftest.err
19377 rm -f conftest.er1
19378 cat conftest.err >&5
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); } &&
19381 { ac_try='test -z "$ac_cxx_werror_flag"
19382 || test ! -s conftest.err'
19383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19384 (eval $ac_try) 2>&5
19385 ac_status=$?
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); }; } &&
19388 { ac_try='test -s conftest.$ac_objext'
19389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19390 (eval $ac_try) 2>&5
19391 ac_status=$?
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); }; }; then
19394 glibcxx_cv_func__isnan_use=yes
19395 else
19396 echo "$as_me: failed program was:" >&5
19397 sed 's/^/| /' conftest.$ac_ext >&5
19399 glibcxx_cv_func__isnan_use=no
19401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19402 ac_ext=c
19403 ac_cpp='$CPP $CPPFLAGS'
19404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19412 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
19413 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
19415 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19417 for ac_func in _isnan
19419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19420 echo "$as_me:$LINENO: checking for $ac_func" >&5
19421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19422 if eval "test \"\${$as_ac_var+set}\" = set"; then
19423 echo $ECHO_N "(cached) $ECHO_C" >&6
19424 else
19425 if test x$gcc_no_link = xyes; then
19426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19428 { (exit 1); exit 1; }; }
19430 cat >conftest.$ac_ext <<_ACEOF
19431 /* confdefs.h. */
19432 _ACEOF
19433 cat confdefs.h >>conftest.$ac_ext
19434 cat >>conftest.$ac_ext <<_ACEOF
19435 /* end confdefs.h. */
19436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19438 #define $ac_func innocuous_$ac_func
19440 /* System header to define __stub macros and hopefully few prototypes,
19441 which can conflict with char $ac_func (); below.
19442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19443 <limits.h> exists even on freestanding compilers. */
19445 #ifdef __STDC__
19446 # include <limits.h>
19447 #else
19448 # include <assert.h>
19449 #endif
19451 #undef $ac_func
19453 /* Override any gcc2 internal prototype to avoid an error. */
19454 #ifdef __cplusplus
19455 extern "C"
19457 #endif
19458 /* We use char because int might match the return type of a gcc2
19459 builtin and then its argument prototype would still apply. */
19460 char $ac_func ();
19461 /* The GNU C library defines this for functions which it implements
19462 to always fail with ENOSYS. Some functions are actually named
19463 something starting with __ and the normal name is an alias. */
19464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19465 choke me
19466 #else
19467 char (*f) () = $ac_func;
19468 #endif
19469 #ifdef __cplusplus
19471 #endif
19474 main ()
19476 return f != $ac_func;
19478 return 0;
19480 _ACEOF
19481 rm -f conftest.$ac_objext conftest$ac_exeext
19482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19483 (eval $ac_link) 2>conftest.er1
19484 ac_status=$?
19485 grep -v '^ *+' conftest.er1 >conftest.err
19486 rm -f conftest.er1
19487 cat conftest.err >&5
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); } &&
19490 { ac_try='test -z "$ac_c_werror_flag"
19491 || test ! -s conftest.err'
19492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19493 (eval $ac_try) 2>&5
19494 ac_status=$?
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); }; } &&
19497 { ac_try='test -s conftest$ac_exeext'
19498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19499 (eval $ac_try) 2>&5
19500 ac_status=$?
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); }; }; then
19503 eval "$as_ac_var=yes"
19504 else
19505 echo "$as_me: failed program was:" >&5
19506 sed 's/^/| /' conftest.$ac_ext >&5
19508 eval "$as_ac_var=no"
19510 rm -f conftest.err conftest.$ac_objext \
19511 conftest$ac_exeext conftest.$ac_ext
19513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19515 if test `eval echo '${'$as_ac_var'}'` = yes; then
19516 cat >>confdefs.h <<_ACEOF
19517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19518 _ACEOF
19521 done
19531 echo "$as_me:$LINENO: checking for finite declaration" >&5
19532 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
19533 if test x${glibcxx_cv_func_finite_use+set} != xset; then
19534 if test "${glibcxx_cv_func_finite_use+set}" = set; then
19535 echo $ECHO_N "(cached) $ECHO_C" >&6
19536 else
19540 ac_ext=cc
19541 ac_cpp='$CXXCPP $CPPFLAGS'
19542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19546 cat >conftest.$ac_ext <<_ACEOF
19547 /* confdefs.h. */
19548 _ACEOF
19549 cat confdefs.h >>conftest.$ac_ext
19550 cat >>conftest.$ac_ext <<_ACEOF
19551 /* end confdefs.h. */
19552 #include <math.h>
19553 #ifdef HAVE_IEEEFP_H
19554 #include <ieeefp.h>
19555 #endif
19558 main ()
19560 finite(0);
19562 return 0;
19564 _ACEOF
19565 rm -f conftest.$ac_objext
19566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19567 (eval $ac_compile) 2>conftest.er1
19568 ac_status=$?
19569 grep -v '^ *+' conftest.er1 >conftest.err
19570 rm -f conftest.er1
19571 cat conftest.err >&5
19572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19573 (exit $ac_status); } &&
19574 { ac_try='test -z "$ac_cxx_werror_flag"
19575 || test ! -s conftest.err'
19576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19577 (eval $ac_try) 2>&5
19578 ac_status=$?
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); }; } &&
19581 { ac_try='test -s conftest.$ac_objext'
19582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19583 (eval $ac_try) 2>&5
19584 ac_status=$?
19585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586 (exit $ac_status); }; }; then
19587 glibcxx_cv_func_finite_use=yes
19588 else
19589 echo "$as_me: failed program was:" >&5
19590 sed 's/^/| /' conftest.$ac_ext >&5
19592 glibcxx_cv_func_finite_use=no
19594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19595 ac_ext=c
19596 ac_cpp='$CPP $CPPFLAGS'
19597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19605 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
19606 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
19608 if test x$glibcxx_cv_func_finite_use = x"yes"; then
19610 for ac_func in finite
19612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19613 echo "$as_me:$LINENO: checking for $ac_func" >&5
19614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19615 if eval "test \"\${$as_ac_var+set}\" = set"; then
19616 echo $ECHO_N "(cached) $ECHO_C" >&6
19617 else
19618 if test x$gcc_no_link = xyes; then
19619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19621 { (exit 1); exit 1; }; }
19623 cat >conftest.$ac_ext <<_ACEOF
19624 /* confdefs.h. */
19625 _ACEOF
19626 cat confdefs.h >>conftest.$ac_ext
19627 cat >>conftest.$ac_ext <<_ACEOF
19628 /* end confdefs.h. */
19629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19631 #define $ac_func innocuous_$ac_func
19633 /* System header to define __stub macros and hopefully few prototypes,
19634 which can conflict with char $ac_func (); below.
19635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19636 <limits.h> exists even on freestanding compilers. */
19638 #ifdef __STDC__
19639 # include <limits.h>
19640 #else
19641 # include <assert.h>
19642 #endif
19644 #undef $ac_func
19646 /* Override any gcc2 internal prototype to avoid an error. */
19647 #ifdef __cplusplus
19648 extern "C"
19650 #endif
19651 /* We use char because int might match the return type of a gcc2
19652 builtin and then its argument prototype would still apply. */
19653 char $ac_func ();
19654 /* The GNU C library defines this for functions which it implements
19655 to always fail with ENOSYS. Some functions are actually named
19656 something starting with __ and the normal name is an alias. */
19657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19658 choke me
19659 #else
19660 char (*f) () = $ac_func;
19661 #endif
19662 #ifdef __cplusplus
19664 #endif
19667 main ()
19669 return f != $ac_func;
19671 return 0;
19673 _ACEOF
19674 rm -f conftest.$ac_objext conftest$ac_exeext
19675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19676 (eval $ac_link) 2>conftest.er1
19677 ac_status=$?
19678 grep -v '^ *+' conftest.er1 >conftest.err
19679 rm -f conftest.er1
19680 cat conftest.err >&5
19681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682 (exit $ac_status); } &&
19683 { ac_try='test -z "$ac_c_werror_flag"
19684 || test ! -s conftest.err'
19685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19686 (eval $ac_try) 2>&5
19687 ac_status=$?
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); }; } &&
19690 { ac_try='test -s conftest$ac_exeext'
19691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19692 (eval $ac_try) 2>&5
19693 ac_status=$?
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); }; }; then
19696 eval "$as_ac_var=yes"
19697 else
19698 echo "$as_me: failed program was:" >&5
19699 sed 's/^/| /' conftest.$ac_ext >&5
19701 eval "$as_ac_var=no"
19703 rm -f conftest.err conftest.$ac_objext \
19704 conftest$ac_exeext conftest.$ac_ext
19706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19708 if test `eval echo '${'$as_ac_var'}'` = yes; then
19709 cat >>confdefs.h <<_ACEOF
19710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19711 _ACEOF
19714 done
19716 else
19718 echo "$as_me:$LINENO: checking for _finite declaration" >&5
19719 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
19720 if test x${glibcxx_cv_func__finite_use+set} != xset; then
19721 if test "${glibcxx_cv_func__finite_use+set}" = set; then
19722 echo $ECHO_N "(cached) $ECHO_C" >&6
19723 else
19727 ac_ext=cc
19728 ac_cpp='$CXXCPP $CPPFLAGS'
19729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19733 cat >conftest.$ac_ext <<_ACEOF
19734 /* confdefs.h. */
19735 _ACEOF
19736 cat confdefs.h >>conftest.$ac_ext
19737 cat >>conftest.$ac_ext <<_ACEOF
19738 /* end confdefs.h. */
19739 #include <math.h>
19740 #ifdef HAVE_IEEEFP_H
19741 #include <ieeefp.h>
19742 #endif
19745 main ()
19747 _finite(0);
19749 return 0;
19751 _ACEOF
19752 rm -f conftest.$ac_objext
19753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19754 (eval $ac_compile) 2>conftest.er1
19755 ac_status=$?
19756 grep -v '^ *+' conftest.er1 >conftest.err
19757 rm -f conftest.er1
19758 cat conftest.err >&5
19759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19760 (exit $ac_status); } &&
19761 { ac_try='test -z "$ac_cxx_werror_flag"
19762 || test ! -s conftest.err'
19763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19764 (eval $ac_try) 2>&5
19765 ac_status=$?
19766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19767 (exit $ac_status); }; } &&
19768 { ac_try='test -s conftest.$ac_objext'
19769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19770 (eval $ac_try) 2>&5
19771 ac_status=$?
19772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19773 (exit $ac_status); }; }; then
19774 glibcxx_cv_func__finite_use=yes
19775 else
19776 echo "$as_me: failed program was:" >&5
19777 sed 's/^/| /' conftest.$ac_ext >&5
19779 glibcxx_cv_func__finite_use=no
19781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19782 ac_ext=c
19783 ac_cpp='$CPP $CPPFLAGS'
19784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19792 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
19793 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
19795 if test x$glibcxx_cv_func__finite_use = x"yes"; then
19797 for ac_func in _finite
19799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19800 echo "$as_me:$LINENO: checking for $ac_func" >&5
19801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19802 if eval "test \"\${$as_ac_var+set}\" = set"; then
19803 echo $ECHO_N "(cached) $ECHO_C" >&6
19804 else
19805 if test x$gcc_no_link = xyes; then
19806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19808 { (exit 1); exit 1; }; }
19810 cat >conftest.$ac_ext <<_ACEOF
19811 /* confdefs.h. */
19812 _ACEOF
19813 cat confdefs.h >>conftest.$ac_ext
19814 cat >>conftest.$ac_ext <<_ACEOF
19815 /* end confdefs.h. */
19816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19818 #define $ac_func innocuous_$ac_func
19820 /* System header to define __stub macros and hopefully few prototypes,
19821 which can conflict with char $ac_func (); below.
19822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19823 <limits.h> exists even on freestanding compilers. */
19825 #ifdef __STDC__
19826 # include <limits.h>
19827 #else
19828 # include <assert.h>
19829 #endif
19831 #undef $ac_func
19833 /* Override any gcc2 internal prototype to avoid an error. */
19834 #ifdef __cplusplus
19835 extern "C"
19837 #endif
19838 /* We use char because int might match the return type of a gcc2
19839 builtin and then its argument prototype would still apply. */
19840 char $ac_func ();
19841 /* The GNU C library defines this for functions which it implements
19842 to always fail with ENOSYS. Some functions are actually named
19843 something starting with __ and the normal name is an alias. */
19844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19845 choke me
19846 #else
19847 char (*f) () = $ac_func;
19848 #endif
19849 #ifdef __cplusplus
19851 #endif
19854 main ()
19856 return f != $ac_func;
19858 return 0;
19860 _ACEOF
19861 rm -f conftest.$ac_objext conftest$ac_exeext
19862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19863 (eval $ac_link) 2>conftest.er1
19864 ac_status=$?
19865 grep -v '^ *+' conftest.er1 >conftest.err
19866 rm -f conftest.er1
19867 cat conftest.err >&5
19868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19869 (exit $ac_status); } &&
19870 { ac_try='test -z "$ac_c_werror_flag"
19871 || test ! -s conftest.err'
19872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19873 (eval $ac_try) 2>&5
19874 ac_status=$?
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); }; } &&
19877 { ac_try='test -s conftest$ac_exeext'
19878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19879 (eval $ac_try) 2>&5
19880 ac_status=$?
19881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); }; }; then
19883 eval "$as_ac_var=yes"
19884 else
19885 echo "$as_me: failed program was:" >&5
19886 sed 's/^/| /' conftest.$ac_ext >&5
19888 eval "$as_ac_var=no"
19890 rm -f conftest.err conftest.$ac_objext \
19891 conftest$ac_exeext conftest.$ac_ext
19893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19895 if test `eval echo '${'$as_ac_var'}'` = yes; then
19896 cat >>confdefs.h <<_ACEOF
19897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19898 _ACEOF
19901 done
19911 echo "$as_me:$LINENO: checking for copysign declaration" >&5
19912 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
19913 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
19914 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
19915 echo $ECHO_N "(cached) $ECHO_C" >&6
19916 else
19920 ac_ext=cc
19921 ac_cpp='$CXXCPP $CPPFLAGS'
19922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19926 cat >conftest.$ac_ext <<_ACEOF
19927 /* confdefs.h. */
19928 _ACEOF
19929 cat confdefs.h >>conftest.$ac_ext
19930 cat >>conftest.$ac_ext <<_ACEOF
19931 /* end confdefs.h. */
19932 #include <math.h>
19934 main ()
19936 copysign(0, 0);
19938 return 0;
19940 _ACEOF
19941 rm -f conftest.$ac_objext
19942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19943 (eval $ac_compile) 2>conftest.er1
19944 ac_status=$?
19945 grep -v '^ *+' conftest.er1 >conftest.err
19946 rm -f conftest.er1
19947 cat conftest.err >&5
19948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19949 (exit $ac_status); } &&
19950 { ac_try='test -z "$ac_cxx_werror_flag"
19951 || test ! -s conftest.err'
19952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19953 (eval $ac_try) 2>&5
19954 ac_status=$?
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); }; } &&
19957 { ac_try='test -s conftest.$ac_objext'
19958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19959 (eval $ac_try) 2>&5
19960 ac_status=$?
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); }; }; then
19963 glibcxx_cv_func_copysign_use=yes
19964 else
19965 echo "$as_me: failed program was:" >&5
19966 sed 's/^/| /' conftest.$ac_ext >&5
19968 glibcxx_cv_func_copysign_use=no
19970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19971 ac_ext=c
19972 ac_cpp='$CPP $CPPFLAGS'
19973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19981 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
19982 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
19984 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
19986 for ac_func in copysign
19988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19989 echo "$as_me:$LINENO: checking for $ac_func" >&5
19990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19991 if eval "test \"\${$as_ac_var+set}\" = set"; then
19992 echo $ECHO_N "(cached) $ECHO_C" >&6
19993 else
19994 if test x$gcc_no_link = xyes; then
19995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19997 { (exit 1); exit 1; }; }
19999 cat >conftest.$ac_ext <<_ACEOF
20000 /* confdefs.h. */
20001 _ACEOF
20002 cat confdefs.h >>conftest.$ac_ext
20003 cat >>conftest.$ac_ext <<_ACEOF
20004 /* end confdefs.h. */
20005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20007 #define $ac_func innocuous_$ac_func
20009 /* System header to define __stub macros and hopefully few prototypes,
20010 which can conflict with char $ac_func (); below.
20011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20012 <limits.h> exists even on freestanding compilers. */
20014 #ifdef __STDC__
20015 # include <limits.h>
20016 #else
20017 # include <assert.h>
20018 #endif
20020 #undef $ac_func
20022 /* Override any gcc2 internal prototype to avoid an error. */
20023 #ifdef __cplusplus
20024 extern "C"
20026 #endif
20027 /* We use char because int might match the return type of a gcc2
20028 builtin and then its argument prototype would still apply. */
20029 char $ac_func ();
20030 /* The GNU C library defines this for functions which it implements
20031 to always fail with ENOSYS. Some functions are actually named
20032 something starting with __ and the normal name is an alias. */
20033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20034 choke me
20035 #else
20036 char (*f) () = $ac_func;
20037 #endif
20038 #ifdef __cplusplus
20040 #endif
20043 main ()
20045 return f != $ac_func;
20047 return 0;
20049 _ACEOF
20050 rm -f conftest.$ac_objext conftest$ac_exeext
20051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20052 (eval $ac_link) 2>conftest.er1
20053 ac_status=$?
20054 grep -v '^ *+' conftest.er1 >conftest.err
20055 rm -f conftest.er1
20056 cat conftest.err >&5
20057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20058 (exit $ac_status); } &&
20059 { ac_try='test -z "$ac_c_werror_flag"
20060 || test ! -s conftest.err'
20061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20062 (eval $ac_try) 2>&5
20063 ac_status=$?
20064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20065 (exit $ac_status); }; } &&
20066 { ac_try='test -s conftest$ac_exeext'
20067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20068 (eval $ac_try) 2>&5
20069 ac_status=$?
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); }; }; then
20072 eval "$as_ac_var=yes"
20073 else
20074 echo "$as_me: failed program was:" >&5
20075 sed 's/^/| /' conftest.$ac_ext >&5
20077 eval "$as_ac_var=no"
20079 rm -f conftest.err conftest.$ac_objext \
20080 conftest$ac_exeext conftest.$ac_ext
20082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20084 if test `eval echo '${'$as_ac_var'}'` = yes; then
20085 cat >>confdefs.h <<_ACEOF
20086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20087 _ACEOF
20090 done
20092 else
20094 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
20095 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
20096 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
20097 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
20098 echo $ECHO_N "(cached) $ECHO_C" >&6
20099 else
20103 ac_ext=cc
20104 ac_cpp='$CXXCPP $CPPFLAGS'
20105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20109 cat >conftest.$ac_ext <<_ACEOF
20110 /* confdefs.h. */
20111 _ACEOF
20112 cat confdefs.h >>conftest.$ac_ext
20113 cat >>conftest.$ac_ext <<_ACEOF
20114 /* end confdefs.h. */
20115 #include <math.h>
20117 main ()
20119 _copysign(0, 0);
20121 return 0;
20123 _ACEOF
20124 rm -f conftest.$ac_objext
20125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20126 (eval $ac_compile) 2>conftest.er1
20127 ac_status=$?
20128 grep -v '^ *+' conftest.er1 >conftest.err
20129 rm -f conftest.er1
20130 cat conftest.err >&5
20131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132 (exit $ac_status); } &&
20133 { ac_try='test -z "$ac_cxx_werror_flag"
20134 || test ! -s conftest.err'
20135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20136 (eval $ac_try) 2>&5
20137 ac_status=$?
20138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20139 (exit $ac_status); }; } &&
20140 { ac_try='test -s conftest.$ac_objext'
20141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20142 (eval $ac_try) 2>&5
20143 ac_status=$?
20144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20145 (exit $ac_status); }; }; then
20146 glibcxx_cv_func__copysign_use=yes
20147 else
20148 echo "$as_me: failed program was:" >&5
20149 sed 's/^/| /' conftest.$ac_ext >&5
20151 glibcxx_cv_func__copysign_use=no
20153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20154 ac_ext=c
20155 ac_cpp='$CPP $CPPFLAGS'
20156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20164 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
20165 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
20167 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
20169 for ac_func in _copysign
20171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20172 echo "$as_me:$LINENO: checking for $ac_func" >&5
20173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20174 if eval "test \"\${$as_ac_var+set}\" = set"; then
20175 echo $ECHO_N "(cached) $ECHO_C" >&6
20176 else
20177 if test x$gcc_no_link = xyes; then
20178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20180 { (exit 1); exit 1; }; }
20182 cat >conftest.$ac_ext <<_ACEOF
20183 /* confdefs.h. */
20184 _ACEOF
20185 cat confdefs.h >>conftest.$ac_ext
20186 cat >>conftest.$ac_ext <<_ACEOF
20187 /* end confdefs.h. */
20188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20190 #define $ac_func innocuous_$ac_func
20192 /* System header to define __stub macros and hopefully few prototypes,
20193 which can conflict with char $ac_func (); below.
20194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20195 <limits.h> exists even on freestanding compilers. */
20197 #ifdef __STDC__
20198 # include <limits.h>
20199 #else
20200 # include <assert.h>
20201 #endif
20203 #undef $ac_func
20205 /* Override any gcc2 internal prototype to avoid an error. */
20206 #ifdef __cplusplus
20207 extern "C"
20209 #endif
20210 /* We use char because int might match the return type of a gcc2
20211 builtin and then its argument prototype would still apply. */
20212 char $ac_func ();
20213 /* The GNU C library defines this for functions which it implements
20214 to always fail with ENOSYS. Some functions are actually named
20215 something starting with __ and the normal name is an alias. */
20216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20217 choke me
20218 #else
20219 char (*f) () = $ac_func;
20220 #endif
20221 #ifdef __cplusplus
20223 #endif
20226 main ()
20228 return f != $ac_func;
20230 return 0;
20232 _ACEOF
20233 rm -f conftest.$ac_objext conftest$ac_exeext
20234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20235 (eval $ac_link) 2>conftest.er1
20236 ac_status=$?
20237 grep -v '^ *+' conftest.er1 >conftest.err
20238 rm -f conftest.er1
20239 cat conftest.err >&5
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); } &&
20242 { ac_try='test -z "$ac_c_werror_flag"
20243 || test ! -s conftest.err'
20244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20245 (eval $ac_try) 2>&5
20246 ac_status=$?
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); }; } &&
20249 { ac_try='test -s conftest$ac_exeext'
20250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20251 (eval $ac_try) 2>&5
20252 ac_status=$?
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); }; }; then
20255 eval "$as_ac_var=yes"
20256 else
20257 echo "$as_me: failed program was:" >&5
20258 sed 's/^/| /' conftest.$ac_ext >&5
20260 eval "$as_ac_var=no"
20262 rm -f conftest.err conftest.$ac_objext \
20263 conftest$ac_exeext conftest.$ac_ext
20265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20267 if test `eval echo '${'$as_ac_var'}'` = yes; then
20268 cat >>confdefs.h <<_ACEOF
20269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20270 _ACEOF
20273 done
20283 echo "$as_me:$LINENO: checking for sincos declaration" >&5
20284 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
20285 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20286 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
20287 echo $ECHO_N "(cached) $ECHO_C" >&6
20288 else
20292 ac_ext=cc
20293 ac_cpp='$CXXCPP $CPPFLAGS'
20294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20298 cat >conftest.$ac_ext <<_ACEOF
20299 /* confdefs.h. */
20300 _ACEOF
20301 cat confdefs.h >>conftest.$ac_ext
20302 cat >>conftest.$ac_ext <<_ACEOF
20303 /* end confdefs.h. */
20304 #include <math.h>
20306 main ()
20308 sincos(0, 0, 0);
20310 return 0;
20312 _ACEOF
20313 rm -f conftest.$ac_objext
20314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20315 (eval $ac_compile) 2>conftest.er1
20316 ac_status=$?
20317 grep -v '^ *+' conftest.er1 >conftest.err
20318 rm -f conftest.er1
20319 cat conftest.err >&5
20320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321 (exit $ac_status); } &&
20322 { ac_try='test -z "$ac_cxx_werror_flag"
20323 || test ! -s conftest.err'
20324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20325 (eval $ac_try) 2>&5
20326 ac_status=$?
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); }; } &&
20329 { ac_try='test -s conftest.$ac_objext'
20330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20331 (eval $ac_try) 2>&5
20332 ac_status=$?
20333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20334 (exit $ac_status); }; }; then
20335 glibcxx_cv_func_sincos_use=yes
20336 else
20337 echo "$as_me: failed program was:" >&5
20338 sed 's/^/| /' conftest.$ac_ext >&5
20340 glibcxx_cv_func_sincos_use=no
20342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20343 ac_ext=c
20344 ac_cpp='$CPP $CPPFLAGS'
20345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20353 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
20354 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
20356 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20358 for ac_func in sincos
20360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20361 echo "$as_me:$LINENO: checking for $ac_func" >&5
20362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20363 if eval "test \"\${$as_ac_var+set}\" = set"; then
20364 echo $ECHO_N "(cached) $ECHO_C" >&6
20365 else
20366 if test x$gcc_no_link = xyes; then
20367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20369 { (exit 1); exit 1; }; }
20371 cat >conftest.$ac_ext <<_ACEOF
20372 /* confdefs.h. */
20373 _ACEOF
20374 cat confdefs.h >>conftest.$ac_ext
20375 cat >>conftest.$ac_ext <<_ACEOF
20376 /* end confdefs.h. */
20377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20379 #define $ac_func innocuous_$ac_func
20381 /* System header to define __stub macros and hopefully few prototypes,
20382 which can conflict with char $ac_func (); below.
20383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20384 <limits.h> exists even on freestanding compilers. */
20386 #ifdef __STDC__
20387 # include <limits.h>
20388 #else
20389 # include <assert.h>
20390 #endif
20392 #undef $ac_func
20394 /* Override any gcc2 internal prototype to avoid an error. */
20395 #ifdef __cplusplus
20396 extern "C"
20398 #endif
20399 /* We use char because int might match the return type of a gcc2
20400 builtin and then its argument prototype would still apply. */
20401 char $ac_func ();
20402 /* The GNU C library defines this for functions which it implements
20403 to always fail with ENOSYS. Some functions are actually named
20404 something starting with __ and the normal name is an alias. */
20405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20406 choke me
20407 #else
20408 char (*f) () = $ac_func;
20409 #endif
20410 #ifdef __cplusplus
20412 #endif
20415 main ()
20417 return f != $ac_func;
20419 return 0;
20421 _ACEOF
20422 rm -f conftest.$ac_objext conftest$ac_exeext
20423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20424 (eval $ac_link) 2>conftest.er1
20425 ac_status=$?
20426 grep -v '^ *+' conftest.er1 >conftest.err
20427 rm -f conftest.er1
20428 cat conftest.err >&5
20429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20430 (exit $ac_status); } &&
20431 { ac_try='test -z "$ac_c_werror_flag"
20432 || test ! -s conftest.err'
20433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20434 (eval $ac_try) 2>&5
20435 ac_status=$?
20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437 (exit $ac_status); }; } &&
20438 { ac_try='test -s conftest$ac_exeext'
20439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20440 (eval $ac_try) 2>&5
20441 ac_status=$?
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); }; }; then
20444 eval "$as_ac_var=yes"
20445 else
20446 echo "$as_me: failed program was:" >&5
20447 sed 's/^/| /' conftest.$ac_ext >&5
20449 eval "$as_ac_var=no"
20451 rm -f conftest.err conftest.$ac_objext \
20452 conftest$ac_exeext conftest.$ac_ext
20454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20456 if test `eval echo '${'$as_ac_var'}'` = yes; then
20457 cat >>confdefs.h <<_ACEOF
20458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20459 _ACEOF
20462 done
20464 else
20466 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
20467 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
20468 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20469 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
20470 echo $ECHO_N "(cached) $ECHO_C" >&6
20471 else
20475 ac_ext=cc
20476 ac_cpp='$CXXCPP $CPPFLAGS'
20477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20481 cat >conftest.$ac_ext <<_ACEOF
20482 /* confdefs.h. */
20483 _ACEOF
20484 cat confdefs.h >>conftest.$ac_ext
20485 cat >>conftest.$ac_ext <<_ACEOF
20486 /* end confdefs.h. */
20487 #include <math.h>
20489 main ()
20491 _sincos(0, 0, 0);
20493 return 0;
20495 _ACEOF
20496 rm -f conftest.$ac_objext
20497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20498 (eval $ac_compile) 2>conftest.er1
20499 ac_status=$?
20500 grep -v '^ *+' conftest.er1 >conftest.err
20501 rm -f conftest.er1
20502 cat conftest.err >&5
20503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20504 (exit $ac_status); } &&
20505 { ac_try='test -z "$ac_cxx_werror_flag"
20506 || test ! -s conftest.err'
20507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20508 (eval $ac_try) 2>&5
20509 ac_status=$?
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); }; } &&
20512 { ac_try='test -s conftest.$ac_objext'
20513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20514 (eval $ac_try) 2>&5
20515 ac_status=$?
20516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517 (exit $ac_status); }; }; then
20518 glibcxx_cv_func__sincos_use=yes
20519 else
20520 echo "$as_me: failed program was:" >&5
20521 sed 's/^/| /' conftest.$ac_ext >&5
20523 glibcxx_cv_func__sincos_use=no
20525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20526 ac_ext=c
20527 ac_cpp='$CPP $CPPFLAGS'
20528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20536 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
20537 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
20539 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20541 for ac_func in _sincos
20543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20544 echo "$as_me:$LINENO: checking for $ac_func" >&5
20545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20546 if eval "test \"\${$as_ac_var+set}\" = set"; then
20547 echo $ECHO_N "(cached) $ECHO_C" >&6
20548 else
20549 if test x$gcc_no_link = xyes; then
20550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20552 { (exit 1); exit 1; }; }
20554 cat >conftest.$ac_ext <<_ACEOF
20555 /* confdefs.h. */
20556 _ACEOF
20557 cat confdefs.h >>conftest.$ac_ext
20558 cat >>conftest.$ac_ext <<_ACEOF
20559 /* end confdefs.h. */
20560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20562 #define $ac_func innocuous_$ac_func
20564 /* System header to define __stub macros and hopefully few prototypes,
20565 which can conflict with char $ac_func (); below.
20566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20567 <limits.h> exists even on freestanding compilers. */
20569 #ifdef __STDC__
20570 # include <limits.h>
20571 #else
20572 # include <assert.h>
20573 #endif
20575 #undef $ac_func
20577 /* Override any gcc2 internal prototype to avoid an error. */
20578 #ifdef __cplusplus
20579 extern "C"
20581 #endif
20582 /* We use char because int might match the return type of a gcc2
20583 builtin and then its argument prototype would still apply. */
20584 char $ac_func ();
20585 /* The GNU C library defines this for functions which it implements
20586 to always fail with ENOSYS. Some functions are actually named
20587 something starting with __ and the normal name is an alias. */
20588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20589 choke me
20590 #else
20591 char (*f) () = $ac_func;
20592 #endif
20593 #ifdef __cplusplus
20595 #endif
20598 main ()
20600 return f != $ac_func;
20602 return 0;
20604 _ACEOF
20605 rm -f conftest.$ac_objext conftest$ac_exeext
20606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20607 (eval $ac_link) 2>conftest.er1
20608 ac_status=$?
20609 grep -v '^ *+' conftest.er1 >conftest.err
20610 rm -f conftest.er1
20611 cat conftest.err >&5
20612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20613 (exit $ac_status); } &&
20614 { ac_try='test -z "$ac_c_werror_flag"
20615 || test ! -s conftest.err'
20616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20617 (eval $ac_try) 2>&5
20618 ac_status=$?
20619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); }; } &&
20621 { ac_try='test -s conftest$ac_exeext'
20622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20623 (eval $ac_try) 2>&5
20624 ac_status=$?
20625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20626 (exit $ac_status); }; }; then
20627 eval "$as_ac_var=yes"
20628 else
20629 echo "$as_me: failed program was:" >&5
20630 sed 's/^/| /' conftest.$ac_ext >&5
20632 eval "$as_ac_var=no"
20634 rm -f conftest.err conftest.$ac_objext \
20635 conftest$ac_exeext conftest.$ac_ext
20637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20639 if test `eval echo '${'$as_ac_var'}'` = yes; then
20640 cat >>confdefs.h <<_ACEOF
20641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20642 _ACEOF
20645 done
20655 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
20656 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
20657 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20658 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
20659 echo $ECHO_N "(cached) $ECHO_C" >&6
20660 else
20664 ac_ext=cc
20665 ac_cpp='$CXXCPP $CPPFLAGS'
20666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20670 cat >conftest.$ac_ext <<_ACEOF
20671 /* confdefs.h. */
20672 _ACEOF
20673 cat confdefs.h >>conftest.$ac_ext
20674 cat >>conftest.$ac_ext <<_ACEOF
20675 /* end confdefs.h. */
20676 #include <math.h>
20677 #ifdef HAVE_IEEEFP_H
20678 #include <ieeefp.h>
20679 #endif
20682 main ()
20684 fpclass(0);
20686 return 0;
20688 _ACEOF
20689 rm -f conftest.$ac_objext
20690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20691 (eval $ac_compile) 2>conftest.er1
20692 ac_status=$?
20693 grep -v '^ *+' conftest.er1 >conftest.err
20694 rm -f conftest.er1
20695 cat conftest.err >&5
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); } &&
20698 { ac_try='test -z "$ac_cxx_werror_flag"
20699 || test ! -s conftest.err'
20700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20701 (eval $ac_try) 2>&5
20702 ac_status=$?
20703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20704 (exit $ac_status); }; } &&
20705 { ac_try='test -s conftest.$ac_objext'
20706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20707 (eval $ac_try) 2>&5
20708 ac_status=$?
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); }; }; then
20711 glibcxx_cv_func_fpclass_use=yes
20712 else
20713 echo "$as_me: failed program was:" >&5
20714 sed 's/^/| /' conftest.$ac_ext >&5
20716 glibcxx_cv_func_fpclass_use=no
20718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20719 ac_ext=c
20720 ac_cpp='$CPP $CPPFLAGS'
20721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20729 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
20730 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
20732 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20734 for ac_func in fpclass
20736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20737 echo "$as_me:$LINENO: checking for $ac_func" >&5
20738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20739 if eval "test \"\${$as_ac_var+set}\" = set"; then
20740 echo $ECHO_N "(cached) $ECHO_C" >&6
20741 else
20742 if test x$gcc_no_link = xyes; then
20743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20745 { (exit 1); exit 1; }; }
20747 cat >conftest.$ac_ext <<_ACEOF
20748 /* confdefs.h. */
20749 _ACEOF
20750 cat confdefs.h >>conftest.$ac_ext
20751 cat >>conftest.$ac_ext <<_ACEOF
20752 /* end confdefs.h. */
20753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20755 #define $ac_func innocuous_$ac_func
20757 /* System header to define __stub macros and hopefully few prototypes,
20758 which can conflict with char $ac_func (); below.
20759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20760 <limits.h> exists even on freestanding compilers. */
20762 #ifdef __STDC__
20763 # include <limits.h>
20764 #else
20765 # include <assert.h>
20766 #endif
20768 #undef $ac_func
20770 /* Override any gcc2 internal prototype to avoid an error. */
20771 #ifdef __cplusplus
20772 extern "C"
20774 #endif
20775 /* We use char because int might match the return type of a gcc2
20776 builtin and then its argument prototype would still apply. */
20777 char $ac_func ();
20778 /* The GNU C library defines this for functions which it implements
20779 to always fail with ENOSYS. Some functions are actually named
20780 something starting with __ and the normal name is an alias. */
20781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20782 choke me
20783 #else
20784 char (*f) () = $ac_func;
20785 #endif
20786 #ifdef __cplusplus
20788 #endif
20791 main ()
20793 return f != $ac_func;
20795 return 0;
20797 _ACEOF
20798 rm -f conftest.$ac_objext conftest$ac_exeext
20799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20800 (eval $ac_link) 2>conftest.er1
20801 ac_status=$?
20802 grep -v '^ *+' conftest.er1 >conftest.err
20803 rm -f conftest.er1
20804 cat conftest.err >&5
20805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20806 (exit $ac_status); } &&
20807 { ac_try='test -z "$ac_c_werror_flag"
20808 || test ! -s conftest.err'
20809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20810 (eval $ac_try) 2>&5
20811 ac_status=$?
20812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20813 (exit $ac_status); }; } &&
20814 { ac_try='test -s conftest$ac_exeext'
20815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20816 (eval $ac_try) 2>&5
20817 ac_status=$?
20818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819 (exit $ac_status); }; }; then
20820 eval "$as_ac_var=yes"
20821 else
20822 echo "$as_me: failed program was:" >&5
20823 sed 's/^/| /' conftest.$ac_ext >&5
20825 eval "$as_ac_var=no"
20827 rm -f conftest.err conftest.$ac_objext \
20828 conftest$ac_exeext conftest.$ac_ext
20830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20832 if test `eval echo '${'$as_ac_var'}'` = yes; then
20833 cat >>confdefs.h <<_ACEOF
20834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20835 _ACEOF
20838 done
20840 else
20842 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
20843 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
20844 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20845 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
20846 echo $ECHO_N "(cached) $ECHO_C" >&6
20847 else
20851 ac_ext=cc
20852 ac_cpp='$CXXCPP $CPPFLAGS'
20853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20857 cat >conftest.$ac_ext <<_ACEOF
20858 /* confdefs.h. */
20859 _ACEOF
20860 cat confdefs.h >>conftest.$ac_ext
20861 cat >>conftest.$ac_ext <<_ACEOF
20862 /* end confdefs.h. */
20863 #include <math.h>
20864 #ifdef HAVE_IEEEFP_H
20865 #include <ieeefp.h>
20866 #endif
20869 main ()
20871 _fpclass(0);
20873 return 0;
20875 _ACEOF
20876 rm -f conftest.$ac_objext
20877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20878 (eval $ac_compile) 2>conftest.er1
20879 ac_status=$?
20880 grep -v '^ *+' conftest.er1 >conftest.err
20881 rm -f conftest.er1
20882 cat conftest.err >&5
20883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884 (exit $ac_status); } &&
20885 { ac_try='test -z "$ac_cxx_werror_flag"
20886 || test ! -s conftest.err'
20887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20888 (eval $ac_try) 2>&5
20889 ac_status=$?
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); }; } &&
20892 { ac_try='test -s conftest.$ac_objext'
20893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20894 (eval $ac_try) 2>&5
20895 ac_status=$?
20896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20897 (exit $ac_status); }; }; then
20898 glibcxx_cv_func__fpclass_use=yes
20899 else
20900 echo "$as_me: failed program was:" >&5
20901 sed 's/^/| /' conftest.$ac_ext >&5
20903 glibcxx_cv_func__fpclass_use=no
20905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20906 ac_ext=c
20907 ac_cpp='$CPP $CPPFLAGS'
20908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20916 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
20917 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
20919 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20921 for ac_func in _fpclass
20923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20924 echo "$as_me:$LINENO: checking for $ac_func" >&5
20925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20926 if eval "test \"\${$as_ac_var+set}\" = set"; then
20927 echo $ECHO_N "(cached) $ECHO_C" >&6
20928 else
20929 if test x$gcc_no_link = xyes; then
20930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20932 { (exit 1); exit 1; }; }
20934 cat >conftest.$ac_ext <<_ACEOF
20935 /* confdefs.h. */
20936 _ACEOF
20937 cat confdefs.h >>conftest.$ac_ext
20938 cat >>conftest.$ac_ext <<_ACEOF
20939 /* end confdefs.h. */
20940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20942 #define $ac_func innocuous_$ac_func
20944 /* System header to define __stub macros and hopefully few prototypes,
20945 which can conflict with char $ac_func (); below.
20946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20947 <limits.h> exists even on freestanding compilers. */
20949 #ifdef __STDC__
20950 # include <limits.h>
20951 #else
20952 # include <assert.h>
20953 #endif
20955 #undef $ac_func
20957 /* Override any gcc2 internal prototype to avoid an error. */
20958 #ifdef __cplusplus
20959 extern "C"
20961 #endif
20962 /* We use char because int might match the return type of a gcc2
20963 builtin and then its argument prototype would still apply. */
20964 char $ac_func ();
20965 /* The GNU C library defines this for functions which it implements
20966 to always fail with ENOSYS. Some functions are actually named
20967 something starting with __ and the normal name is an alias. */
20968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20969 choke me
20970 #else
20971 char (*f) () = $ac_func;
20972 #endif
20973 #ifdef __cplusplus
20975 #endif
20978 main ()
20980 return f != $ac_func;
20982 return 0;
20984 _ACEOF
20985 rm -f conftest.$ac_objext conftest$ac_exeext
20986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20987 (eval $ac_link) 2>conftest.er1
20988 ac_status=$?
20989 grep -v '^ *+' conftest.er1 >conftest.err
20990 rm -f conftest.er1
20991 cat conftest.err >&5
20992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993 (exit $ac_status); } &&
20994 { ac_try='test -z "$ac_c_werror_flag"
20995 || test ! -s conftest.err'
20996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20997 (eval $ac_try) 2>&5
20998 ac_status=$?
20999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000 (exit $ac_status); }; } &&
21001 { ac_try='test -s conftest$ac_exeext'
21002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21003 (eval $ac_try) 2>&5
21004 ac_status=$?
21005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21006 (exit $ac_status); }; }; then
21007 eval "$as_ac_var=yes"
21008 else
21009 echo "$as_me: failed program was:" >&5
21010 sed 's/^/| /' conftest.$ac_ext >&5
21012 eval "$as_ac_var=no"
21014 rm -f conftest.err conftest.$ac_objext \
21015 conftest$ac_exeext conftest.$ac_ext
21017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21019 if test `eval echo '${'$as_ac_var'}'` = yes; then
21020 cat >>confdefs.h <<_ACEOF
21021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21022 _ACEOF
21025 done
21035 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
21036 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
21037 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21038 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
21039 echo $ECHO_N "(cached) $ECHO_C" >&6
21040 else
21044 ac_ext=cc
21045 ac_cpp='$CXXCPP $CPPFLAGS'
21046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21050 cat >conftest.$ac_ext <<_ACEOF
21051 /* confdefs.h. */
21052 _ACEOF
21053 cat confdefs.h >>conftest.$ac_ext
21054 cat >>conftest.$ac_ext <<_ACEOF
21055 /* end confdefs.h. */
21056 #include <math.h>
21057 #ifdef HAVE_IEEEFP_H
21058 #include <ieeefp.h>
21059 #endif
21062 main ()
21064 qfpclass(0);
21066 return 0;
21068 _ACEOF
21069 rm -f conftest.$ac_objext
21070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21071 (eval $ac_compile) 2>conftest.er1
21072 ac_status=$?
21073 grep -v '^ *+' conftest.er1 >conftest.err
21074 rm -f conftest.er1
21075 cat conftest.err >&5
21076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077 (exit $ac_status); } &&
21078 { ac_try='test -z "$ac_cxx_werror_flag"
21079 || test ! -s conftest.err'
21080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21081 (eval $ac_try) 2>&5
21082 ac_status=$?
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); }; } &&
21085 { ac_try='test -s conftest.$ac_objext'
21086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21087 (eval $ac_try) 2>&5
21088 ac_status=$?
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); }; }; then
21091 glibcxx_cv_func_qfpclass_use=yes
21092 else
21093 echo "$as_me: failed program was:" >&5
21094 sed 's/^/| /' conftest.$ac_ext >&5
21096 glibcxx_cv_func_qfpclass_use=no
21098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21099 ac_ext=c
21100 ac_cpp='$CPP $CPPFLAGS'
21101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21109 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
21110 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
21112 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21114 for ac_func in qfpclass
21116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21117 echo "$as_me:$LINENO: checking for $ac_func" >&5
21118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21119 if eval "test \"\${$as_ac_var+set}\" = set"; then
21120 echo $ECHO_N "(cached) $ECHO_C" >&6
21121 else
21122 if test x$gcc_no_link = xyes; then
21123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21125 { (exit 1); exit 1; }; }
21127 cat >conftest.$ac_ext <<_ACEOF
21128 /* confdefs.h. */
21129 _ACEOF
21130 cat confdefs.h >>conftest.$ac_ext
21131 cat >>conftest.$ac_ext <<_ACEOF
21132 /* end confdefs.h. */
21133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21135 #define $ac_func innocuous_$ac_func
21137 /* System header to define __stub macros and hopefully few prototypes,
21138 which can conflict with char $ac_func (); below.
21139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21140 <limits.h> exists even on freestanding compilers. */
21142 #ifdef __STDC__
21143 # include <limits.h>
21144 #else
21145 # include <assert.h>
21146 #endif
21148 #undef $ac_func
21150 /* Override any gcc2 internal prototype to avoid an error. */
21151 #ifdef __cplusplus
21152 extern "C"
21154 #endif
21155 /* We use char because int might match the return type of a gcc2
21156 builtin and then its argument prototype would still apply. */
21157 char $ac_func ();
21158 /* The GNU C library defines this for functions which it implements
21159 to always fail with ENOSYS. Some functions are actually named
21160 something starting with __ and the normal name is an alias. */
21161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21162 choke me
21163 #else
21164 char (*f) () = $ac_func;
21165 #endif
21166 #ifdef __cplusplus
21168 #endif
21171 main ()
21173 return f != $ac_func;
21175 return 0;
21177 _ACEOF
21178 rm -f conftest.$ac_objext conftest$ac_exeext
21179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21180 (eval $ac_link) 2>conftest.er1
21181 ac_status=$?
21182 grep -v '^ *+' conftest.er1 >conftest.err
21183 rm -f conftest.er1
21184 cat conftest.err >&5
21185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21186 (exit $ac_status); } &&
21187 { ac_try='test -z "$ac_c_werror_flag"
21188 || test ! -s conftest.err'
21189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21190 (eval $ac_try) 2>&5
21191 ac_status=$?
21192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21193 (exit $ac_status); }; } &&
21194 { ac_try='test -s conftest$ac_exeext'
21195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21196 (eval $ac_try) 2>&5
21197 ac_status=$?
21198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21199 (exit $ac_status); }; }; then
21200 eval "$as_ac_var=yes"
21201 else
21202 echo "$as_me: failed program was:" >&5
21203 sed 's/^/| /' conftest.$ac_ext >&5
21205 eval "$as_ac_var=no"
21207 rm -f conftest.err conftest.$ac_objext \
21208 conftest$ac_exeext conftest.$ac_ext
21210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21212 if test `eval echo '${'$as_ac_var'}'` = yes; then
21213 cat >>confdefs.h <<_ACEOF
21214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21215 _ACEOF
21218 done
21220 else
21222 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
21223 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
21224 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21225 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
21226 echo $ECHO_N "(cached) $ECHO_C" >&6
21227 else
21231 ac_ext=cc
21232 ac_cpp='$CXXCPP $CPPFLAGS'
21233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21237 cat >conftest.$ac_ext <<_ACEOF
21238 /* confdefs.h. */
21239 _ACEOF
21240 cat confdefs.h >>conftest.$ac_ext
21241 cat >>conftest.$ac_ext <<_ACEOF
21242 /* end confdefs.h. */
21243 #include <math.h>
21244 #ifdef HAVE_IEEEFP_H
21245 #include <ieeefp.h>
21246 #endif
21249 main ()
21251 _qfpclass(0);
21253 return 0;
21255 _ACEOF
21256 rm -f conftest.$ac_objext
21257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21258 (eval $ac_compile) 2>conftest.er1
21259 ac_status=$?
21260 grep -v '^ *+' conftest.er1 >conftest.err
21261 rm -f conftest.er1
21262 cat conftest.err >&5
21263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21264 (exit $ac_status); } &&
21265 { ac_try='test -z "$ac_cxx_werror_flag"
21266 || test ! -s conftest.err'
21267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21268 (eval $ac_try) 2>&5
21269 ac_status=$?
21270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21271 (exit $ac_status); }; } &&
21272 { ac_try='test -s conftest.$ac_objext'
21273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21274 (eval $ac_try) 2>&5
21275 ac_status=$?
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); }; }; then
21278 glibcxx_cv_func__qfpclass_use=yes
21279 else
21280 echo "$as_me: failed program was:" >&5
21281 sed 's/^/| /' conftest.$ac_ext >&5
21283 glibcxx_cv_func__qfpclass_use=no
21285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21286 ac_ext=c
21287 ac_cpp='$CPP $CPPFLAGS'
21288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21296 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
21297 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
21299 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21301 for ac_func in _qfpclass
21303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21304 echo "$as_me:$LINENO: checking for $ac_func" >&5
21305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21306 if eval "test \"\${$as_ac_var+set}\" = set"; then
21307 echo $ECHO_N "(cached) $ECHO_C" >&6
21308 else
21309 if test x$gcc_no_link = xyes; then
21310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21312 { (exit 1); exit 1; }; }
21314 cat >conftest.$ac_ext <<_ACEOF
21315 /* confdefs.h. */
21316 _ACEOF
21317 cat confdefs.h >>conftest.$ac_ext
21318 cat >>conftest.$ac_ext <<_ACEOF
21319 /* end confdefs.h. */
21320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21321 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21322 #define $ac_func innocuous_$ac_func
21324 /* System header to define __stub macros and hopefully few prototypes,
21325 which can conflict with char $ac_func (); below.
21326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21327 <limits.h> exists even on freestanding compilers. */
21329 #ifdef __STDC__
21330 # include <limits.h>
21331 #else
21332 # include <assert.h>
21333 #endif
21335 #undef $ac_func
21337 /* Override any gcc2 internal prototype to avoid an error. */
21338 #ifdef __cplusplus
21339 extern "C"
21341 #endif
21342 /* We use char because int might match the return type of a gcc2
21343 builtin and then its argument prototype would still apply. */
21344 char $ac_func ();
21345 /* The GNU C library defines this for functions which it implements
21346 to always fail with ENOSYS. Some functions are actually named
21347 something starting with __ and the normal name is an alias. */
21348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21349 choke me
21350 #else
21351 char (*f) () = $ac_func;
21352 #endif
21353 #ifdef __cplusplus
21355 #endif
21358 main ()
21360 return f != $ac_func;
21362 return 0;
21364 _ACEOF
21365 rm -f conftest.$ac_objext conftest$ac_exeext
21366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21367 (eval $ac_link) 2>conftest.er1
21368 ac_status=$?
21369 grep -v '^ *+' conftest.er1 >conftest.err
21370 rm -f conftest.er1
21371 cat conftest.err >&5
21372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21373 (exit $ac_status); } &&
21374 { ac_try='test -z "$ac_c_werror_flag"
21375 || test ! -s conftest.err'
21376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21377 (eval $ac_try) 2>&5
21378 ac_status=$?
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); }; } &&
21381 { ac_try='test -s conftest$ac_exeext'
21382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21383 (eval $ac_try) 2>&5
21384 ac_status=$?
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); }; }; then
21387 eval "$as_ac_var=yes"
21388 else
21389 echo "$as_me: failed program was:" >&5
21390 sed 's/^/| /' conftest.$ac_ext >&5
21392 eval "$as_ac_var=no"
21394 rm -f conftest.err conftest.$ac_objext \
21395 conftest$ac_exeext conftest.$ac_ext
21397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21399 if test `eval echo '${'$as_ac_var'}'` = yes; then
21400 cat >>confdefs.h <<_ACEOF
21401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21402 _ACEOF
21405 done
21415 echo "$as_me:$LINENO: checking for hypot declaration" >&5
21416 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
21417 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21418 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
21419 echo $ECHO_N "(cached) $ECHO_C" >&6
21420 else
21424 ac_ext=cc
21425 ac_cpp='$CXXCPP $CPPFLAGS'
21426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21430 cat >conftest.$ac_ext <<_ACEOF
21431 /* confdefs.h. */
21432 _ACEOF
21433 cat confdefs.h >>conftest.$ac_ext
21434 cat >>conftest.$ac_ext <<_ACEOF
21435 /* end confdefs.h. */
21436 #include <math.h>
21438 main ()
21440 hypot(0, 0);
21442 return 0;
21444 _ACEOF
21445 rm -f conftest.$ac_objext
21446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21447 (eval $ac_compile) 2>conftest.er1
21448 ac_status=$?
21449 grep -v '^ *+' conftest.er1 >conftest.err
21450 rm -f conftest.er1
21451 cat conftest.err >&5
21452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21453 (exit $ac_status); } &&
21454 { ac_try='test -z "$ac_cxx_werror_flag"
21455 || test ! -s conftest.err'
21456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21457 (eval $ac_try) 2>&5
21458 ac_status=$?
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); }; } &&
21461 { ac_try='test -s conftest.$ac_objext'
21462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21463 (eval $ac_try) 2>&5
21464 ac_status=$?
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); }; }; then
21467 glibcxx_cv_func_hypot_use=yes
21468 else
21469 echo "$as_me: failed program was:" >&5
21470 sed 's/^/| /' conftest.$ac_ext >&5
21472 glibcxx_cv_func_hypot_use=no
21474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21475 ac_ext=c
21476 ac_cpp='$CPP $CPPFLAGS'
21477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21485 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
21486 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
21488 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21490 for ac_func in hypot
21492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21493 echo "$as_me:$LINENO: checking for $ac_func" >&5
21494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21495 if eval "test \"\${$as_ac_var+set}\" = set"; then
21496 echo $ECHO_N "(cached) $ECHO_C" >&6
21497 else
21498 if test x$gcc_no_link = xyes; then
21499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21501 { (exit 1); exit 1; }; }
21503 cat >conftest.$ac_ext <<_ACEOF
21504 /* confdefs.h. */
21505 _ACEOF
21506 cat confdefs.h >>conftest.$ac_ext
21507 cat >>conftest.$ac_ext <<_ACEOF
21508 /* end confdefs.h. */
21509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21511 #define $ac_func innocuous_$ac_func
21513 /* System header to define __stub macros and hopefully few prototypes,
21514 which can conflict with char $ac_func (); below.
21515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21516 <limits.h> exists even on freestanding compilers. */
21518 #ifdef __STDC__
21519 # include <limits.h>
21520 #else
21521 # include <assert.h>
21522 #endif
21524 #undef $ac_func
21526 /* Override any gcc2 internal prototype to avoid an error. */
21527 #ifdef __cplusplus
21528 extern "C"
21530 #endif
21531 /* We use char because int might match the return type of a gcc2
21532 builtin and then its argument prototype would still apply. */
21533 char $ac_func ();
21534 /* The GNU C library defines this for functions which it implements
21535 to always fail with ENOSYS. Some functions are actually named
21536 something starting with __ and the normal name is an alias. */
21537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21538 choke me
21539 #else
21540 char (*f) () = $ac_func;
21541 #endif
21542 #ifdef __cplusplus
21544 #endif
21547 main ()
21549 return f != $ac_func;
21551 return 0;
21553 _ACEOF
21554 rm -f conftest.$ac_objext conftest$ac_exeext
21555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21556 (eval $ac_link) 2>conftest.er1
21557 ac_status=$?
21558 grep -v '^ *+' conftest.er1 >conftest.err
21559 rm -f conftest.er1
21560 cat conftest.err >&5
21561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21562 (exit $ac_status); } &&
21563 { ac_try='test -z "$ac_c_werror_flag"
21564 || test ! -s conftest.err'
21565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21566 (eval $ac_try) 2>&5
21567 ac_status=$?
21568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21569 (exit $ac_status); }; } &&
21570 { ac_try='test -s conftest$ac_exeext'
21571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21572 (eval $ac_try) 2>&5
21573 ac_status=$?
21574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21575 (exit $ac_status); }; }; then
21576 eval "$as_ac_var=yes"
21577 else
21578 echo "$as_me: failed program was:" >&5
21579 sed 's/^/| /' conftest.$ac_ext >&5
21581 eval "$as_ac_var=no"
21583 rm -f conftest.err conftest.$ac_objext \
21584 conftest$ac_exeext conftest.$ac_ext
21586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21588 if test `eval echo '${'$as_ac_var'}'` = yes; then
21589 cat >>confdefs.h <<_ACEOF
21590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21591 _ACEOF
21594 done
21596 else
21598 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
21599 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
21600 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21601 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
21602 echo $ECHO_N "(cached) $ECHO_C" >&6
21603 else
21607 ac_ext=cc
21608 ac_cpp='$CXXCPP $CPPFLAGS'
21609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21613 cat >conftest.$ac_ext <<_ACEOF
21614 /* confdefs.h. */
21615 _ACEOF
21616 cat confdefs.h >>conftest.$ac_ext
21617 cat >>conftest.$ac_ext <<_ACEOF
21618 /* end confdefs.h. */
21619 #include <math.h>
21621 main ()
21623 _hypot(0, 0);
21625 return 0;
21627 _ACEOF
21628 rm -f conftest.$ac_objext
21629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21630 (eval $ac_compile) 2>conftest.er1
21631 ac_status=$?
21632 grep -v '^ *+' conftest.er1 >conftest.err
21633 rm -f conftest.er1
21634 cat conftest.err >&5
21635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21636 (exit $ac_status); } &&
21637 { ac_try='test -z "$ac_cxx_werror_flag"
21638 || test ! -s conftest.err'
21639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21640 (eval $ac_try) 2>&5
21641 ac_status=$?
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); }; } &&
21644 { ac_try='test -s conftest.$ac_objext'
21645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21646 (eval $ac_try) 2>&5
21647 ac_status=$?
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); }; }; then
21650 glibcxx_cv_func__hypot_use=yes
21651 else
21652 echo "$as_me: failed program was:" >&5
21653 sed 's/^/| /' conftest.$ac_ext >&5
21655 glibcxx_cv_func__hypot_use=no
21657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21658 ac_ext=c
21659 ac_cpp='$CPP $CPPFLAGS'
21660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21668 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
21669 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
21671 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21673 for ac_func in _hypot
21675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21676 echo "$as_me:$LINENO: checking for $ac_func" >&5
21677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21678 if eval "test \"\${$as_ac_var+set}\" = set"; then
21679 echo $ECHO_N "(cached) $ECHO_C" >&6
21680 else
21681 if test x$gcc_no_link = xyes; then
21682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21684 { (exit 1); exit 1; }; }
21686 cat >conftest.$ac_ext <<_ACEOF
21687 /* confdefs.h. */
21688 _ACEOF
21689 cat confdefs.h >>conftest.$ac_ext
21690 cat >>conftest.$ac_ext <<_ACEOF
21691 /* end confdefs.h. */
21692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21694 #define $ac_func innocuous_$ac_func
21696 /* System header to define __stub macros and hopefully few prototypes,
21697 which can conflict with char $ac_func (); below.
21698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21699 <limits.h> exists even on freestanding compilers. */
21701 #ifdef __STDC__
21702 # include <limits.h>
21703 #else
21704 # include <assert.h>
21705 #endif
21707 #undef $ac_func
21709 /* Override any gcc2 internal prototype to avoid an error. */
21710 #ifdef __cplusplus
21711 extern "C"
21713 #endif
21714 /* We use char because int might match the return type of a gcc2
21715 builtin and then its argument prototype would still apply. */
21716 char $ac_func ();
21717 /* The GNU C library defines this for functions which it implements
21718 to always fail with ENOSYS. Some functions are actually named
21719 something starting with __ and the normal name is an alias. */
21720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21721 choke me
21722 #else
21723 char (*f) () = $ac_func;
21724 #endif
21725 #ifdef __cplusplus
21727 #endif
21730 main ()
21732 return f != $ac_func;
21734 return 0;
21736 _ACEOF
21737 rm -f conftest.$ac_objext conftest$ac_exeext
21738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21739 (eval $ac_link) 2>conftest.er1
21740 ac_status=$?
21741 grep -v '^ *+' conftest.er1 >conftest.err
21742 rm -f conftest.er1
21743 cat conftest.err >&5
21744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21745 (exit $ac_status); } &&
21746 { ac_try='test -z "$ac_c_werror_flag"
21747 || test ! -s conftest.err'
21748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21749 (eval $ac_try) 2>&5
21750 ac_status=$?
21751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21752 (exit $ac_status); }; } &&
21753 { ac_try='test -s conftest$ac_exeext'
21754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21755 (eval $ac_try) 2>&5
21756 ac_status=$?
21757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21758 (exit $ac_status); }; }; then
21759 eval "$as_ac_var=yes"
21760 else
21761 echo "$as_me: failed program was:" >&5
21762 sed 's/^/| /' conftest.$ac_ext >&5
21764 eval "$as_ac_var=no"
21766 rm -f conftest.err conftest.$ac_objext \
21767 conftest$ac_exeext conftest.$ac_ext
21769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21771 if test `eval echo '${'$as_ac_var'}'` = yes; then
21772 cat >>confdefs.h <<_ACEOF
21773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21774 _ACEOF
21777 done
21787 echo "$as_me:$LINENO: checking for float trig functions" >&5
21788 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
21789 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
21790 echo $ECHO_N "(cached) $ECHO_C" >&6
21791 else
21795 ac_ext=cc
21796 ac_cpp='$CXXCPP $CPPFLAGS'
21797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21801 cat >conftest.$ac_ext <<_ACEOF
21802 /* confdefs.h. */
21803 _ACEOF
21804 cat confdefs.h >>conftest.$ac_ext
21805 cat >>conftest.$ac_ext <<_ACEOF
21806 /* end confdefs.h. */
21807 #include <math.h>
21809 main ()
21811 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21813 return 0;
21815 _ACEOF
21816 rm -f conftest.$ac_objext
21817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21818 (eval $ac_compile) 2>conftest.er1
21819 ac_status=$?
21820 grep -v '^ *+' conftest.er1 >conftest.err
21821 rm -f conftest.er1
21822 cat conftest.err >&5
21823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21824 (exit $ac_status); } &&
21825 { ac_try='test -z "$ac_cxx_werror_flag"
21826 || test ! -s conftest.err'
21827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21828 (eval $ac_try) 2>&5
21829 ac_status=$?
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); }; } &&
21832 { ac_try='test -s conftest.$ac_objext'
21833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21834 (eval $ac_try) 2>&5
21835 ac_status=$?
21836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21837 (exit $ac_status); }; }; then
21838 glibcxx_cv_func_float_trig_use=yes
21839 else
21840 echo "$as_me: failed program was:" >&5
21841 sed 's/^/| /' conftest.$ac_ext >&5
21843 glibcxx_cv_func_float_trig_use=no
21845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21846 ac_ext=c
21847 ac_cpp='$CPP $CPPFLAGS'
21848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21854 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
21855 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
21856 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21866 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21869 echo "$as_me:$LINENO: checking for $ac_func" >&5
21870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21871 if eval "test \"\${$as_ac_var+set}\" = set"; then
21872 echo $ECHO_N "(cached) $ECHO_C" >&6
21873 else
21874 if test x$gcc_no_link = xyes; then
21875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21877 { (exit 1); exit 1; }; }
21879 cat >conftest.$ac_ext <<_ACEOF
21880 /* confdefs.h. */
21881 _ACEOF
21882 cat confdefs.h >>conftest.$ac_ext
21883 cat >>conftest.$ac_ext <<_ACEOF
21884 /* end confdefs.h. */
21885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21887 #define $ac_func innocuous_$ac_func
21889 /* System header to define __stub macros and hopefully few prototypes,
21890 which can conflict with char $ac_func (); below.
21891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21892 <limits.h> exists even on freestanding compilers. */
21894 #ifdef __STDC__
21895 # include <limits.h>
21896 #else
21897 # include <assert.h>
21898 #endif
21900 #undef $ac_func
21902 /* Override any gcc2 internal prototype to avoid an error. */
21903 #ifdef __cplusplus
21904 extern "C"
21906 #endif
21907 /* We use char because int might match the return type of a gcc2
21908 builtin and then its argument prototype would still apply. */
21909 char $ac_func ();
21910 /* The GNU C library defines this for functions which it implements
21911 to always fail with ENOSYS. Some functions are actually named
21912 something starting with __ and the normal name is an alias. */
21913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21914 choke me
21915 #else
21916 char (*f) () = $ac_func;
21917 #endif
21918 #ifdef __cplusplus
21920 #endif
21923 main ()
21925 return f != $ac_func;
21927 return 0;
21929 _ACEOF
21930 rm -f conftest.$ac_objext conftest$ac_exeext
21931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21932 (eval $ac_link) 2>conftest.er1
21933 ac_status=$?
21934 grep -v '^ *+' conftest.er1 >conftest.err
21935 rm -f conftest.er1
21936 cat conftest.err >&5
21937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21938 (exit $ac_status); } &&
21939 { ac_try='test -z "$ac_c_werror_flag"
21940 || test ! -s conftest.err'
21941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21942 (eval $ac_try) 2>&5
21943 ac_status=$?
21944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21945 (exit $ac_status); }; } &&
21946 { ac_try='test -s conftest$ac_exeext'
21947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21948 (eval $ac_try) 2>&5
21949 ac_status=$?
21950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21951 (exit $ac_status); }; }; then
21952 eval "$as_ac_var=yes"
21953 else
21954 echo "$as_me: failed program was:" >&5
21955 sed 's/^/| /' conftest.$ac_ext >&5
21957 eval "$as_ac_var=no"
21959 rm -f conftest.err conftest.$ac_objext \
21960 conftest$ac_exeext conftest.$ac_ext
21962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21964 if test `eval echo '${'$as_ac_var'}'` = yes; then
21965 cat >>confdefs.h <<_ACEOF
21966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21967 _ACEOF
21970 done
21972 else
21973 echo "$as_me:$LINENO: checking for _float trig functions" >&5
21974 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21975 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21976 echo $ECHO_N "(cached) $ECHO_C" >&6
21977 else
21981 ac_ext=cc
21982 ac_cpp='$CXXCPP $CPPFLAGS'
21983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21987 cat >conftest.$ac_ext <<_ACEOF
21988 /* confdefs.h. */
21989 _ACEOF
21990 cat confdefs.h >>conftest.$ac_ext
21991 cat >>conftest.$ac_ext <<_ACEOF
21992 /* end confdefs.h. */
21993 #include <math.h>
21995 main ()
21997 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21999 return 0;
22001 _ACEOF
22002 rm -f conftest.$ac_objext
22003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22004 (eval $ac_compile) 2>conftest.er1
22005 ac_status=$?
22006 grep -v '^ *+' conftest.er1 >conftest.err
22007 rm -f conftest.er1
22008 cat conftest.err >&5
22009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22010 (exit $ac_status); } &&
22011 { ac_try='test -z "$ac_cxx_werror_flag"
22012 || test ! -s conftest.err'
22013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22014 (eval $ac_try) 2>&5
22015 ac_status=$?
22016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22017 (exit $ac_status); }; } &&
22018 { ac_try='test -s conftest.$ac_objext'
22019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22020 (eval $ac_try) 2>&5
22021 ac_status=$?
22022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22023 (exit $ac_status); }; }; then
22024 glibcxx_cv_func__float_trig_use=yes
22025 else
22026 echo "$as_me: failed program was:" >&5
22027 sed 's/^/| /' conftest.$ac_ext >&5
22029 glibcxx_cv_func__float_trig_use=no
22031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22032 ac_ext=c
22033 ac_cpp='$CPP $CPPFLAGS'
22034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22040 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
22041 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
22042 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22052 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22055 echo "$as_me:$LINENO: checking for $ac_func" >&5
22056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22057 if eval "test \"\${$as_ac_var+set}\" = set"; then
22058 echo $ECHO_N "(cached) $ECHO_C" >&6
22059 else
22060 if test x$gcc_no_link = xyes; then
22061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22063 { (exit 1); exit 1; }; }
22065 cat >conftest.$ac_ext <<_ACEOF
22066 /* confdefs.h. */
22067 _ACEOF
22068 cat confdefs.h >>conftest.$ac_ext
22069 cat >>conftest.$ac_ext <<_ACEOF
22070 /* end confdefs.h. */
22071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22073 #define $ac_func innocuous_$ac_func
22075 /* System header to define __stub macros and hopefully few prototypes,
22076 which can conflict with char $ac_func (); below.
22077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22078 <limits.h> exists even on freestanding compilers. */
22080 #ifdef __STDC__
22081 # include <limits.h>
22082 #else
22083 # include <assert.h>
22084 #endif
22086 #undef $ac_func
22088 /* Override any gcc2 internal prototype to avoid an error. */
22089 #ifdef __cplusplus
22090 extern "C"
22092 #endif
22093 /* We use char because int might match the return type of a gcc2
22094 builtin and then its argument prototype would still apply. */
22095 char $ac_func ();
22096 /* The GNU C library defines this for functions which it implements
22097 to always fail with ENOSYS. Some functions are actually named
22098 something starting with __ and the normal name is an alias. */
22099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22100 choke me
22101 #else
22102 char (*f) () = $ac_func;
22103 #endif
22104 #ifdef __cplusplus
22106 #endif
22109 main ()
22111 return f != $ac_func;
22113 return 0;
22115 _ACEOF
22116 rm -f conftest.$ac_objext conftest$ac_exeext
22117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22118 (eval $ac_link) 2>conftest.er1
22119 ac_status=$?
22120 grep -v '^ *+' conftest.er1 >conftest.err
22121 rm -f conftest.er1
22122 cat conftest.err >&5
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124 (exit $ac_status); } &&
22125 { ac_try='test -z "$ac_c_werror_flag"
22126 || test ! -s conftest.err'
22127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22128 (eval $ac_try) 2>&5
22129 ac_status=$?
22130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22131 (exit $ac_status); }; } &&
22132 { ac_try='test -s conftest$ac_exeext'
22133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22134 (eval $ac_try) 2>&5
22135 ac_status=$?
22136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22137 (exit $ac_status); }; }; then
22138 eval "$as_ac_var=yes"
22139 else
22140 echo "$as_me: failed program was:" >&5
22141 sed 's/^/| /' conftest.$ac_ext >&5
22143 eval "$as_ac_var=no"
22145 rm -f conftest.err conftest.$ac_objext \
22146 conftest$ac_exeext conftest.$ac_ext
22148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22150 if test `eval echo '${'$as_ac_var'}'` = yes; then
22151 cat >>confdefs.h <<_ACEOF
22152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22153 _ACEOF
22156 done
22174 echo "$as_me:$LINENO: checking for float round functions" >&5
22175 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
22176 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
22177 echo $ECHO_N "(cached) $ECHO_C" >&6
22178 else
22182 ac_ext=cc
22183 ac_cpp='$CXXCPP $CPPFLAGS'
22184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22188 cat >conftest.$ac_ext <<_ACEOF
22189 /* confdefs.h. */
22190 _ACEOF
22191 cat confdefs.h >>conftest.$ac_ext
22192 cat >>conftest.$ac_ext <<_ACEOF
22193 /* end confdefs.h. */
22194 #include <math.h>
22196 main ()
22198 ceilf (0); floorf (0);
22200 return 0;
22202 _ACEOF
22203 rm -f conftest.$ac_objext
22204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22205 (eval $ac_compile) 2>conftest.er1
22206 ac_status=$?
22207 grep -v '^ *+' conftest.er1 >conftest.err
22208 rm -f conftest.er1
22209 cat conftest.err >&5
22210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22211 (exit $ac_status); } &&
22212 { ac_try='test -z "$ac_cxx_werror_flag"
22213 || test ! -s conftest.err'
22214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22215 (eval $ac_try) 2>&5
22216 ac_status=$?
22217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22218 (exit $ac_status); }; } &&
22219 { ac_try='test -s conftest.$ac_objext'
22220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22221 (eval $ac_try) 2>&5
22222 ac_status=$?
22223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22224 (exit $ac_status); }; }; then
22225 glibcxx_cv_func_float_round_use=yes
22226 else
22227 echo "$as_me: failed program was:" >&5
22228 sed 's/^/| /' conftest.$ac_ext >&5
22230 glibcxx_cv_func_float_round_use=no
22232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22233 ac_ext=c
22234 ac_cpp='$CPP $CPPFLAGS'
22235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22241 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
22242 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
22243 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22246 for ac_func in ceilf floorf
22248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22249 echo "$as_me:$LINENO: checking for $ac_func" >&5
22250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22251 if eval "test \"\${$as_ac_var+set}\" = set"; then
22252 echo $ECHO_N "(cached) $ECHO_C" >&6
22253 else
22254 if test x$gcc_no_link = xyes; then
22255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22257 { (exit 1); exit 1; }; }
22259 cat >conftest.$ac_ext <<_ACEOF
22260 /* confdefs.h. */
22261 _ACEOF
22262 cat confdefs.h >>conftest.$ac_ext
22263 cat >>conftest.$ac_ext <<_ACEOF
22264 /* end confdefs.h. */
22265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22267 #define $ac_func innocuous_$ac_func
22269 /* System header to define __stub macros and hopefully few prototypes,
22270 which can conflict with char $ac_func (); below.
22271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22272 <limits.h> exists even on freestanding compilers. */
22274 #ifdef __STDC__
22275 # include <limits.h>
22276 #else
22277 # include <assert.h>
22278 #endif
22280 #undef $ac_func
22282 /* Override any gcc2 internal prototype to avoid an error. */
22283 #ifdef __cplusplus
22284 extern "C"
22286 #endif
22287 /* We use char because int might match the return type of a gcc2
22288 builtin and then its argument prototype would still apply. */
22289 char $ac_func ();
22290 /* The GNU C library defines this for functions which it implements
22291 to always fail with ENOSYS. Some functions are actually named
22292 something starting with __ and the normal name is an alias. */
22293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22294 choke me
22295 #else
22296 char (*f) () = $ac_func;
22297 #endif
22298 #ifdef __cplusplus
22300 #endif
22303 main ()
22305 return f != $ac_func;
22307 return 0;
22309 _ACEOF
22310 rm -f conftest.$ac_objext conftest$ac_exeext
22311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22312 (eval $ac_link) 2>conftest.er1
22313 ac_status=$?
22314 grep -v '^ *+' conftest.er1 >conftest.err
22315 rm -f conftest.er1
22316 cat conftest.err >&5
22317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22318 (exit $ac_status); } &&
22319 { ac_try='test -z "$ac_c_werror_flag"
22320 || test ! -s conftest.err'
22321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22322 (eval $ac_try) 2>&5
22323 ac_status=$?
22324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22325 (exit $ac_status); }; } &&
22326 { ac_try='test -s conftest$ac_exeext'
22327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22328 (eval $ac_try) 2>&5
22329 ac_status=$?
22330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22331 (exit $ac_status); }; }; then
22332 eval "$as_ac_var=yes"
22333 else
22334 echo "$as_me: failed program was:" >&5
22335 sed 's/^/| /' conftest.$ac_ext >&5
22337 eval "$as_ac_var=no"
22339 rm -f conftest.err conftest.$ac_objext \
22340 conftest$ac_exeext conftest.$ac_ext
22342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22344 if test `eval echo '${'$as_ac_var'}'` = yes; then
22345 cat >>confdefs.h <<_ACEOF
22346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22347 _ACEOF
22350 done
22352 else
22353 echo "$as_me:$LINENO: checking for _float round functions" >&5
22354 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
22355 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
22356 echo $ECHO_N "(cached) $ECHO_C" >&6
22357 else
22361 ac_ext=cc
22362 ac_cpp='$CXXCPP $CPPFLAGS'
22363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22367 cat >conftest.$ac_ext <<_ACEOF
22368 /* confdefs.h. */
22369 _ACEOF
22370 cat confdefs.h >>conftest.$ac_ext
22371 cat >>conftest.$ac_ext <<_ACEOF
22372 /* end confdefs.h. */
22373 #include <math.h>
22375 main ()
22377 _ceilf (0); _floorf (0);
22379 return 0;
22381 _ACEOF
22382 rm -f conftest.$ac_objext
22383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22384 (eval $ac_compile) 2>conftest.er1
22385 ac_status=$?
22386 grep -v '^ *+' conftest.er1 >conftest.err
22387 rm -f conftest.er1
22388 cat conftest.err >&5
22389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22390 (exit $ac_status); } &&
22391 { ac_try='test -z "$ac_cxx_werror_flag"
22392 || test ! -s conftest.err'
22393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22394 (eval $ac_try) 2>&5
22395 ac_status=$?
22396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22397 (exit $ac_status); }; } &&
22398 { ac_try='test -s conftest.$ac_objext'
22399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22400 (eval $ac_try) 2>&5
22401 ac_status=$?
22402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22403 (exit $ac_status); }; }; then
22404 glibcxx_cv_func__float_round_use=yes
22405 else
22406 echo "$as_me: failed program was:" >&5
22407 sed 's/^/| /' conftest.$ac_ext >&5
22409 glibcxx_cv_func__float_round_use=no
22411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22412 ac_ext=c
22413 ac_cpp='$CPP $CPPFLAGS'
22414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22420 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
22421 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
22422 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22425 for ac_func in _ceilf _floorf
22427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22428 echo "$as_me:$LINENO: checking for $ac_func" >&5
22429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22430 if eval "test \"\${$as_ac_var+set}\" = set"; then
22431 echo $ECHO_N "(cached) $ECHO_C" >&6
22432 else
22433 if test x$gcc_no_link = xyes; then
22434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22436 { (exit 1); exit 1; }; }
22438 cat >conftest.$ac_ext <<_ACEOF
22439 /* confdefs.h. */
22440 _ACEOF
22441 cat confdefs.h >>conftest.$ac_ext
22442 cat >>conftest.$ac_ext <<_ACEOF
22443 /* end confdefs.h. */
22444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22446 #define $ac_func innocuous_$ac_func
22448 /* System header to define __stub macros and hopefully few prototypes,
22449 which can conflict with char $ac_func (); below.
22450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22451 <limits.h> exists even on freestanding compilers. */
22453 #ifdef __STDC__
22454 # include <limits.h>
22455 #else
22456 # include <assert.h>
22457 #endif
22459 #undef $ac_func
22461 /* Override any gcc2 internal prototype to avoid an error. */
22462 #ifdef __cplusplus
22463 extern "C"
22465 #endif
22466 /* We use char because int might match the return type of a gcc2
22467 builtin and then its argument prototype would still apply. */
22468 char $ac_func ();
22469 /* The GNU C library defines this for functions which it implements
22470 to always fail with ENOSYS. Some functions are actually named
22471 something starting with __ and the normal name is an alias. */
22472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22473 choke me
22474 #else
22475 char (*f) () = $ac_func;
22476 #endif
22477 #ifdef __cplusplus
22479 #endif
22482 main ()
22484 return f != $ac_func;
22486 return 0;
22488 _ACEOF
22489 rm -f conftest.$ac_objext conftest$ac_exeext
22490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22491 (eval $ac_link) 2>conftest.er1
22492 ac_status=$?
22493 grep -v '^ *+' conftest.er1 >conftest.err
22494 rm -f conftest.er1
22495 cat conftest.err >&5
22496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22497 (exit $ac_status); } &&
22498 { ac_try='test -z "$ac_c_werror_flag"
22499 || test ! -s conftest.err'
22500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22501 (eval $ac_try) 2>&5
22502 ac_status=$?
22503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22504 (exit $ac_status); }; } &&
22505 { ac_try='test -s conftest$ac_exeext'
22506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22507 (eval $ac_try) 2>&5
22508 ac_status=$?
22509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22510 (exit $ac_status); }; }; then
22511 eval "$as_ac_var=yes"
22512 else
22513 echo "$as_me: failed program was:" >&5
22514 sed 's/^/| /' conftest.$ac_ext >&5
22516 eval "$as_ac_var=no"
22518 rm -f conftest.err conftest.$ac_objext \
22519 conftest$ac_exeext conftest.$ac_ext
22521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22523 if test `eval echo '${'$as_ac_var'}'` = yes; then
22524 cat >>confdefs.h <<_ACEOF
22525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22526 _ACEOF
22529 done
22541 echo "$as_me:$LINENO: checking for expf declaration" >&5
22542 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
22543 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22544 if test "${glibcxx_cv_func_expf_use+set}" = set; then
22545 echo $ECHO_N "(cached) $ECHO_C" >&6
22546 else
22550 ac_ext=cc
22551 ac_cpp='$CXXCPP $CPPFLAGS'
22552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22556 cat >conftest.$ac_ext <<_ACEOF
22557 /* confdefs.h. */
22558 _ACEOF
22559 cat confdefs.h >>conftest.$ac_ext
22560 cat >>conftest.$ac_ext <<_ACEOF
22561 /* end confdefs.h. */
22562 #include <math.h>
22563 #ifdef HAVE_IEEEFP_H
22564 #include <ieeefp.h>
22565 #endif
22568 main ()
22570 expf(0);
22572 return 0;
22574 _ACEOF
22575 rm -f conftest.$ac_objext
22576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22577 (eval $ac_compile) 2>conftest.er1
22578 ac_status=$?
22579 grep -v '^ *+' conftest.er1 >conftest.err
22580 rm -f conftest.er1
22581 cat conftest.err >&5
22582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22583 (exit $ac_status); } &&
22584 { ac_try='test -z "$ac_cxx_werror_flag"
22585 || test ! -s conftest.err'
22586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22587 (eval $ac_try) 2>&5
22588 ac_status=$?
22589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22590 (exit $ac_status); }; } &&
22591 { ac_try='test -s conftest.$ac_objext'
22592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22593 (eval $ac_try) 2>&5
22594 ac_status=$?
22595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22596 (exit $ac_status); }; }; then
22597 glibcxx_cv_func_expf_use=yes
22598 else
22599 echo "$as_me: failed program was:" >&5
22600 sed 's/^/| /' conftest.$ac_ext >&5
22602 glibcxx_cv_func_expf_use=no
22604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22605 ac_ext=c
22606 ac_cpp='$CPP $CPPFLAGS'
22607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22615 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
22616 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
22618 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22620 for ac_func in expf
22622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22623 echo "$as_me:$LINENO: checking for $ac_func" >&5
22624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22625 if eval "test \"\${$as_ac_var+set}\" = set"; then
22626 echo $ECHO_N "(cached) $ECHO_C" >&6
22627 else
22628 if test x$gcc_no_link = xyes; then
22629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22631 { (exit 1); exit 1; }; }
22633 cat >conftest.$ac_ext <<_ACEOF
22634 /* confdefs.h. */
22635 _ACEOF
22636 cat confdefs.h >>conftest.$ac_ext
22637 cat >>conftest.$ac_ext <<_ACEOF
22638 /* end confdefs.h. */
22639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22641 #define $ac_func innocuous_$ac_func
22643 /* System header to define __stub macros and hopefully few prototypes,
22644 which can conflict with char $ac_func (); below.
22645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22646 <limits.h> exists even on freestanding compilers. */
22648 #ifdef __STDC__
22649 # include <limits.h>
22650 #else
22651 # include <assert.h>
22652 #endif
22654 #undef $ac_func
22656 /* Override any gcc2 internal prototype to avoid an error. */
22657 #ifdef __cplusplus
22658 extern "C"
22660 #endif
22661 /* We use char because int might match the return type of a gcc2
22662 builtin and then its argument prototype would still apply. */
22663 char $ac_func ();
22664 /* The GNU C library defines this for functions which it implements
22665 to always fail with ENOSYS. Some functions are actually named
22666 something starting with __ and the normal name is an alias. */
22667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22668 choke me
22669 #else
22670 char (*f) () = $ac_func;
22671 #endif
22672 #ifdef __cplusplus
22674 #endif
22677 main ()
22679 return f != $ac_func;
22681 return 0;
22683 _ACEOF
22684 rm -f conftest.$ac_objext conftest$ac_exeext
22685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22686 (eval $ac_link) 2>conftest.er1
22687 ac_status=$?
22688 grep -v '^ *+' conftest.er1 >conftest.err
22689 rm -f conftest.er1
22690 cat conftest.err >&5
22691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22692 (exit $ac_status); } &&
22693 { ac_try='test -z "$ac_c_werror_flag"
22694 || test ! -s conftest.err'
22695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22696 (eval $ac_try) 2>&5
22697 ac_status=$?
22698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22699 (exit $ac_status); }; } &&
22700 { ac_try='test -s conftest$ac_exeext'
22701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22702 (eval $ac_try) 2>&5
22703 ac_status=$?
22704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705 (exit $ac_status); }; }; then
22706 eval "$as_ac_var=yes"
22707 else
22708 echo "$as_me: failed program was:" >&5
22709 sed 's/^/| /' conftest.$ac_ext >&5
22711 eval "$as_ac_var=no"
22713 rm -f conftest.err conftest.$ac_objext \
22714 conftest$ac_exeext conftest.$ac_ext
22716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22718 if test `eval echo '${'$as_ac_var'}'` = yes; then
22719 cat >>confdefs.h <<_ACEOF
22720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22721 _ACEOF
22724 done
22726 else
22728 echo "$as_me:$LINENO: checking for _expf declaration" >&5
22729 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
22730 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22731 if test "${glibcxx_cv_func__expf_use+set}" = set; then
22732 echo $ECHO_N "(cached) $ECHO_C" >&6
22733 else
22737 ac_ext=cc
22738 ac_cpp='$CXXCPP $CPPFLAGS'
22739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22743 cat >conftest.$ac_ext <<_ACEOF
22744 /* confdefs.h. */
22745 _ACEOF
22746 cat confdefs.h >>conftest.$ac_ext
22747 cat >>conftest.$ac_ext <<_ACEOF
22748 /* end confdefs.h. */
22749 #include <math.h>
22750 #ifdef HAVE_IEEEFP_H
22751 #include <ieeefp.h>
22752 #endif
22755 main ()
22757 _expf(0);
22759 return 0;
22761 _ACEOF
22762 rm -f conftest.$ac_objext
22763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22764 (eval $ac_compile) 2>conftest.er1
22765 ac_status=$?
22766 grep -v '^ *+' conftest.er1 >conftest.err
22767 rm -f conftest.er1
22768 cat conftest.err >&5
22769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 (exit $ac_status); } &&
22771 { ac_try='test -z "$ac_cxx_werror_flag"
22772 || test ! -s conftest.err'
22773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22774 (eval $ac_try) 2>&5
22775 ac_status=$?
22776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22777 (exit $ac_status); }; } &&
22778 { ac_try='test -s conftest.$ac_objext'
22779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22780 (eval $ac_try) 2>&5
22781 ac_status=$?
22782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22783 (exit $ac_status); }; }; then
22784 glibcxx_cv_func__expf_use=yes
22785 else
22786 echo "$as_me: failed program was:" >&5
22787 sed 's/^/| /' conftest.$ac_ext >&5
22789 glibcxx_cv_func__expf_use=no
22791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22792 ac_ext=c
22793 ac_cpp='$CPP $CPPFLAGS'
22794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22802 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
22803 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
22805 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22807 for ac_func in _expf
22809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22810 echo "$as_me:$LINENO: checking for $ac_func" >&5
22811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22812 if eval "test \"\${$as_ac_var+set}\" = set"; then
22813 echo $ECHO_N "(cached) $ECHO_C" >&6
22814 else
22815 if test x$gcc_no_link = xyes; then
22816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22818 { (exit 1); exit 1; }; }
22820 cat >conftest.$ac_ext <<_ACEOF
22821 /* confdefs.h. */
22822 _ACEOF
22823 cat confdefs.h >>conftest.$ac_ext
22824 cat >>conftest.$ac_ext <<_ACEOF
22825 /* end confdefs.h. */
22826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22828 #define $ac_func innocuous_$ac_func
22830 /* System header to define __stub macros and hopefully few prototypes,
22831 which can conflict with char $ac_func (); below.
22832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22833 <limits.h> exists even on freestanding compilers. */
22835 #ifdef __STDC__
22836 # include <limits.h>
22837 #else
22838 # include <assert.h>
22839 #endif
22841 #undef $ac_func
22843 /* Override any gcc2 internal prototype to avoid an error. */
22844 #ifdef __cplusplus
22845 extern "C"
22847 #endif
22848 /* We use char because int might match the return type of a gcc2
22849 builtin and then its argument prototype would still apply. */
22850 char $ac_func ();
22851 /* The GNU C library defines this for functions which it implements
22852 to always fail with ENOSYS. Some functions are actually named
22853 something starting with __ and the normal name is an alias. */
22854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22855 choke me
22856 #else
22857 char (*f) () = $ac_func;
22858 #endif
22859 #ifdef __cplusplus
22861 #endif
22864 main ()
22866 return f != $ac_func;
22868 return 0;
22870 _ACEOF
22871 rm -f conftest.$ac_objext conftest$ac_exeext
22872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22873 (eval $ac_link) 2>conftest.er1
22874 ac_status=$?
22875 grep -v '^ *+' conftest.er1 >conftest.err
22876 rm -f conftest.er1
22877 cat conftest.err >&5
22878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22879 (exit $ac_status); } &&
22880 { ac_try='test -z "$ac_c_werror_flag"
22881 || test ! -s conftest.err'
22882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22883 (eval $ac_try) 2>&5
22884 ac_status=$?
22885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22886 (exit $ac_status); }; } &&
22887 { ac_try='test -s conftest$ac_exeext'
22888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22889 (eval $ac_try) 2>&5
22890 ac_status=$?
22891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22892 (exit $ac_status); }; }; then
22893 eval "$as_ac_var=yes"
22894 else
22895 echo "$as_me: failed program was:" >&5
22896 sed 's/^/| /' conftest.$ac_ext >&5
22898 eval "$as_ac_var=no"
22900 rm -f conftest.err conftest.$ac_objext \
22901 conftest$ac_exeext conftest.$ac_ext
22903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22905 if test `eval echo '${'$as_ac_var'}'` = yes; then
22906 cat >>confdefs.h <<_ACEOF
22907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22908 _ACEOF
22911 done
22921 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
22922 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
22923 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22924 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
22925 echo $ECHO_N "(cached) $ECHO_C" >&6
22926 else
22930 ac_ext=cc
22931 ac_cpp='$CXXCPP $CPPFLAGS'
22932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22936 cat >conftest.$ac_ext <<_ACEOF
22937 /* confdefs.h. */
22938 _ACEOF
22939 cat confdefs.h >>conftest.$ac_ext
22940 cat >>conftest.$ac_ext <<_ACEOF
22941 /* end confdefs.h. */
22942 #include <math.h>
22943 #ifdef HAVE_IEEEFP_H
22944 #include <ieeefp.h>
22945 #endif
22948 main ()
22950 isnanf(0);
22952 return 0;
22954 _ACEOF
22955 rm -f conftest.$ac_objext
22956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22957 (eval $ac_compile) 2>conftest.er1
22958 ac_status=$?
22959 grep -v '^ *+' conftest.er1 >conftest.err
22960 rm -f conftest.er1
22961 cat conftest.err >&5
22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); } &&
22964 { ac_try='test -z "$ac_cxx_werror_flag"
22965 || test ! -s conftest.err'
22966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22967 (eval $ac_try) 2>&5
22968 ac_status=$?
22969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 (exit $ac_status); }; } &&
22971 { ac_try='test -s conftest.$ac_objext'
22972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22973 (eval $ac_try) 2>&5
22974 ac_status=$?
22975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22976 (exit $ac_status); }; }; then
22977 glibcxx_cv_func_isnanf_use=yes
22978 else
22979 echo "$as_me: failed program was:" >&5
22980 sed 's/^/| /' conftest.$ac_ext >&5
22982 glibcxx_cv_func_isnanf_use=no
22984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22985 ac_ext=c
22986 ac_cpp='$CPP $CPPFLAGS'
22987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22995 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
22996 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
22998 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23000 for ac_func in isnanf
23002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23003 echo "$as_me:$LINENO: checking for $ac_func" >&5
23004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23005 if eval "test \"\${$as_ac_var+set}\" = set"; then
23006 echo $ECHO_N "(cached) $ECHO_C" >&6
23007 else
23008 if test x$gcc_no_link = xyes; then
23009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23011 { (exit 1); exit 1; }; }
23013 cat >conftest.$ac_ext <<_ACEOF
23014 /* confdefs.h. */
23015 _ACEOF
23016 cat confdefs.h >>conftest.$ac_ext
23017 cat >>conftest.$ac_ext <<_ACEOF
23018 /* end confdefs.h. */
23019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23021 #define $ac_func innocuous_$ac_func
23023 /* System header to define __stub macros and hopefully few prototypes,
23024 which can conflict with char $ac_func (); below.
23025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23026 <limits.h> exists even on freestanding compilers. */
23028 #ifdef __STDC__
23029 # include <limits.h>
23030 #else
23031 # include <assert.h>
23032 #endif
23034 #undef $ac_func
23036 /* Override any gcc2 internal prototype to avoid an error. */
23037 #ifdef __cplusplus
23038 extern "C"
23040 #endif
23041 /* We use char because int might match the return type of a gcc2
23042 builtin and then its argument prototype would still apply. */
23043 char $ac_func ();
23044 /* The GNU C library defines this for functions which it implements
23045 to always fail with ENOSYS. Some functions are actually named
23046 something starting with __ and the normal name is an alias. */
23047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23048 choke me
23049 #else
23050 char (*f) () = $ac_func;
23051 #endif
23052 #ifdef __cplusplus
23054 #endif
23057 main ()
23059 return f != $ac_func;
23061 return 0;
23063 _ACEOF
23064 rm -f conftest.$ac_objext conftest$ac_exeext
23065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23066 (eval $ac_link) 2>conftest.er1
23067 ac_status=$?
23068 grep -v '^ *+' conftest.er1 >conftest.err
23069 rm -f conftest.er1
23070 cat conftest.err >&5
23071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23072 (exit $ac_status); } &&
23073 { ac_try='test -z "$ac_c_werror_flag"
23074 || test ! -s conftest.err'
23075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23076 (eval $ac_try) 2>&5
23077 ac_status=$?
23078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23079 (exit $ac_status); }; } &&
23080 { ac_try='test -s conftest$ac_exeext'
23081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23082 (eval $ac_try) 2>&5
23083 ac_status=$?
23084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23085 (exit $ac_status); }; }; then
23086 eval "$as_ac_var=yes"
23087 else
23088 echo "$as_me: failed program was:" >&5
23089 sed 's/^/| /' conftest.$ac_ext >&5
23091 eval "$as_ac_var=no"
23093 rm -f conftest.err conftest.$ac_objext \
23094 conftest$ac_exeext conftest.$ac_ext
23096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23098 if test `eval echo '${'$as_ac_var'}'` = yes; then
23099 cat >>confdefs.h <<_ACEOF
23100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23101 _ACEOF
23104 done
23106 else
23108 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
23109 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
23110 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23111 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
23112 echo $ECHO_N "(cached) $ECHO_C" >&6
23113 else
23117 ac_ext=cc
23118 ac_cpp='$CXXCPP $CPPFLAGS'
23119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23123 cat >conftest.$ac_ext <<_ACEOF
23124 /* confdefs.h. */
23125 _ACEOF
23126 cat confdefs.h >>conftest.$ac_ext
23127 cat >>conftest.$ac_ext <<_ACEOF
23128 /* end confdefs.h. */
23129 #include <math.h>
23130 #ifdef HAVE_IEEEFP_H
23131 #include <ieeefp.h>
23132 #endif
23135 main ()
23137 _isnanf(0);
23139 return 0;
23141 _ACEOF
23142 rm -f conftest.$ac_objext
23143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23144 (eval $ac_compile) 2>conftest.er1
23145 ac_status=$?
23146 grep -v '^ *+' conftest.er1 >conftest.err
23147 rm -f conftest.er1
23148 cat conftest.err >&5
23149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23150 (exit $ac_status); } &&
23151 { ac_try='test -z "$ac_cxx_werror_flag"
23152 || test ! -s conftest.err'
23153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23154 (eval $ac_try) 2>&5
23155 ac_status=$?
23156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23157 (exit $ac_status); }; } &&
23158 { ac_try='test -s conftest.$ac_objext'
23159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23160 (eval $ac_try) 2>&5
23161 ac_status=$?
23162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23163 (exit $ac_status); }; }; then
23164 glibcxx_cv_func__isnanf_use=yes
23165 else
23166 echo "$as_me: failed program was:" >&5
23167 sed 's/^/| /' conftest.$ac_ext >&5
23169 glibcxx_cv_func__isnanf_use=no
23171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23172 ac_ext=c
23173 ac_cpp='$CPP $CPPFLAGS'
23174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23182 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
23183 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
23185 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23187 for ac_func in _isnanf
23189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23190 echo "$as_me:$LINENO: checking for $ac_func" >&5
23191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23192 if eval "test \"\${$as_ac_var+set}\" = set"; then
23193 echo $ECHO_N "(cached) $ECHO_C" >&6
23194 else
23195 if test x$gcc_no_link = xyes; then
23196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23198 { (exit 1); exit 1; }; }
23200 cat >conftest.$ac_ext <<_ACEOF
23201 /* confdefs.h. */
23202 _ACEOF
23203 cat confdefs.h >>conftest.$ac_ext
23204 cat >>conftest.$ac_ext <<_ACEOF
23205 /* end confdefs.h. */
23206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23208 #define $ac_func innocuous_$ac_func
23210 /* System header to define __stub macros and hopefully few prototypes,
23211 which can conflict with char $ac_func (); below.
23212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23213 <limits.h> exists even on freestanding compilers. */
23215 #ifdef __STDC__
23216 # include <limits.h>
23217 #else
23218 # include <assert.h>
23219 #endif
23221 #undef $ac_func
23223 /* Override any gcc2 internal prototype to avoid an error. */
23224 #ifdef __cplusplus
23225 extern "C"
23227 #endif
23228 /* We use char because int might match the return type of a gcc2
23229 builtin and then its argument prototype would still apply. */
23230 char $ac_func ();
23231 /* The GNU C library defines this for functions which it implements
23232 to always fail with ENOSYS. Some functions are actually named
23233 something starting with __ and the normal name is an alias. */
23234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23235 choke me
23236 #else
23237 char (*f) () = $ac_func;
23238 #endif
23239 #ifdef __cplusplus
23241 #endif
23244 main ()
23246 return f != $ac_func;
23248 return 0;
23250 _ACEOF
23251 rm -f conftest.$ac_objext conftest$ac_exeext
23252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23253 (eval $ac_link) 2>conftest.er1
23254 ac_status=$?
23255 grep -v '^ *+' conftest.er1 >conftest.err
23256 rm -f conftest.er1
23257 cat conftest.err >&5
23258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23259 (exit $ac_status); } &&
23260 { ac_try='test -z "$ac_c_werror_flag"
23261 || test ! -s conftest.err'
23262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23263 (eval $ac_try) 2>&5
23264 ac_status=$?
23265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23266 (exit $ac_status); }; } &&
23267 { ac_try='test -s conftest$ac_exeext'
23268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23269 (eval $ac_try) 2>&5
23270 ac_status=$?
23271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23272 (exit $ac_status); }; }; then
23273 eval "$as_ac_var=yes"
23274 else
23275 echo "$as_me: failed program was:" >&5
23276 sed 's/^/| /' conftest.$ac_ext >&5
23278 eval "$as_ac_var=no"
23280 rm -f conftest.err conftest.$ac_objext \
23281 conftest$ac_exeext conftest.$ac_ext
23283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23285 if test `eval echo '${'$as_ac_var'}'` = yes; then
23286 cat >>confdefs.h <<_ACEOF
23287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23288 _ACEOF
23291 done
23301 echo "$as_me:$LINENO: checking for isinff declaration" >&5
23302 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
23303 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23304 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
23305 echo $ECHO_N "(cached) $ECHO_C" >&6
23306 else
23310 ac_ext=cc
23311 ac_cpp='$CXXCPP $CPPFLAGS'
23312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23316 cat >conftest.$ac_ext <<_ACEOF
23317 /* confdefs.h. */
23318 _ACEOF
23319 cat confdefs.h >>conftest.$ac_ext
23320 cat >>conftest.$ac_ext <<_ACEOF
23321 /* end confdefs.h. */
23322 #include <math.h>
23323 #ifdef HAVE_IEEEFP_H
23324 #include <ieeefp.h>
23325 #endif
23328 main ()
23330 isinff(0);
23332 return 0;
23334 _ACEOF
23335 rm -f conftest.$ac_objext
23336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23337 (eval $ac_compile) 2>conftest.er1
23338 ac_status=$?
23339 grep -v '^ *+' conftest.er1 >conftest.err
23340 rm -f conftest.er1
23341 cat conftest.err >&5
23342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23343 (exit $ac_status); } &&
23344 { ac_try='test -z "$ac_cxx_werror_flag"
23345 || test ! -s conftest.err'
23346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23347 (eval $ac_try) 2>&5
23348 ac_status=$?
23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350 (exit $ac_status); }; } &&
23351 { ac_try='test -s conftest.$ac_objext'
23352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23353 (eval $ac_try) 2>&5
23354 ac_status=$?
23355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356 (exit $ac_status); }; }; then
23357 glibcxx_cv_func_isinff_use=yes
23358 else
23359 echo "$as_me: failed program was:" >&5
23360 sed 's/^/| /' conftest.$ac_ext >&5
23362 glibcxx_cv_func_isinff_use=no
23364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23365 ac_ext=c
23366 ac_cpp='$CPP $CPPFLAGS'
23367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23375 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
23376 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
23378 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23380 for ac_func in isinff
23382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23383 echo "$as_me:$LINENO: checking for $ac_func" >&5
23384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23385 if eval "test \"\${$as_ac_var+set}\" = set"; then
23386 echo $ECHO_N "(cached) $ECHO_C" >&6
23387 else
23388 if test x$gcc_no_link = xyes; then
23389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23391 { (exit 1); exit 1; }; }
23393 cat >conftest.$ac_ext <<_ACEOF
23394 /* confdefs.h. */
23395 _ACEOF
23396 cat confdefs.h >>conftest.$ac_ext
23397 cat >>conftest.$ac_ext <<_ACEOF
23398 /* end confdefs.h. */
23399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23401 #define $ac_func innocuous_$ac_func
23403 /* System header to define __stub macros and hopefully few prototypes,
23404 which can conflict with char $ac_func (); below.
23405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23406 <limits.h> exists even on freestanding compilers. */
23408 #ifdef __STDC__
23409 # include <limits.h>
23410 #else
23411 # include <assert.h>
23412 #endif
23414 #undef $ac_func
23416 /* Override any gcc2 internal prototype to avoid an error. */
23417 #ifdef __cplusplus
23418 extern "C"
23420 #endif
23421 /* We use char because int might match the return type of a gcc2
23422 builtin and then its argument prototype would still apply. */
23423 char $ac_func ();
23424 /* The GNU C library defines this for functions which it implements
23425 to always fail with ENOSYS. Some functions are actually named
23426 something starting with __ and the normal name is an alias. */
23427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23428 choke me
23429 #else
23430 char (*f) () = $ac_func;
23431 #endif
23432 #ifdef __cplusplus
23434 #endif
23437 main ()
23439 return f != $ac_func;
23441 return 0;
23443 _ACEOF
23444 rm -f conftest.$ac_objext conftest$ac_exeext
23445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23446 (eval $ac_link) 2>conftest.er1
23447 ac_status=$?
23448 grep -v '^ *+' conftest.er1 >conftest.err
23449 rm -f conftest.er1
23450 cat conftest.err >&5
23451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23452 (exit $ac_status); } &&
23453 { ac_try='test -z "$ac_c_werror_flag"
23454 || test ! -s conftest.err'
23455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23456 (eval $ac_try) 2>&5
23457 ac_status=$?
23458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23459 (exit $ac_status); }; } &&
23460 { ac_try='test -s conftest$ac_exeext'
23461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23462 (eval $ac_try) 2>&5
23463 ac_status=$?
23464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23465 (exit $ac_status); }; }; then
23466 eval "$as_ac_var=yes"
23467 else
23468 echo "$as_me: failed program was:" >&5
23469 sed 's/^/| /' conftest.$ac_ext >&5
23471 eval "$as_ac_var=no"
23473 rm -f conftest.err conftest.$ac_objext \
23474 conftest$ac_exeext conftest.$ac_ext
23476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23478 if test `eval echo '${'$as_ac_var'}'` = yes; then
23479 cat >>confdefs.h <<_ACEOF
23480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23481 _ACEOF
23484 done
23486 else
23488 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
23489 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
23490 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23491 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
23492 echo $ECHO_N "(cached) $ECHO_C" >&6
23493 else
23497 ac_ext=cc
23498 ac_cpp='$CXXCPP $CPPFLAGS'
23499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23503 cat >conftest.$ac_ext <<_ACEOF
23504 /* confdefs.h. */
23505 _ACEOF
23506 cat confdefs.h >>conftest.$ac_ext
23507 cat >>conftest.$ac_ext <<_ACEOF
23508 /* end confdefs.h. */
23509 #include <math.h>
23510 #ifdef HAVE_IEEEFP_H
23511 #include <ieeefp.h>
23512 #endif
23515 main ()
23517 _isinff(0);
23519 return 0;
23521 _ACEOF
23522 rm -f conftest.$ac_objext
23523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23524 (eval $ac_compile) 2>conftest.er1
23525 ac_status=$?
23526 grep -v '^ *+' conftest.er1 >conftest.err
23527 rm -f conftest.er1
23528 cat conftest.err >&5
23529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23530 (exit $ac_status); } &&
23531 { ac_try='test -z "$ac_cxx_werror_flag"
23532 || test ! -s conftest.err'
23533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23534 (eval $ac_try) 2>&5
23535 ac_status=$?
23536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23537 (exit $ac_status); }; } &&
23538 { ac_try='test -s conftest.$ac_objext'
23539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23540 (eval $ac_try) 2>&5
23541 ac_status=$?
23542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23543 (exit $ac_status); }; }; then
23544 glibcxx_cv_func__isinff_use=yes
23545 else
23546 echo "$as_me: failed program was:" >&5
23547 sed 's/^/| /' conftest.$ac_ext >&5
23549 glibcxx_cv_func__isinff_use=no
23551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23552 ac_ext=c
23553 ac_cpp='$CPP $CPPFLAGS'
23554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23562 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
23563 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
23565 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23567 for ac_func in _isinff
23569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23570 echo "$as_me:$LINENO: checking for $ac_func" >&5
23571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23572 if eval "test \"\${$as_ac_var+set}\" = set"; then
23573 echo $ECHO_N "(cached) $ECHO_C" >&6
23574 else
23575 if test x$gcc_no_link = xyes; then
23576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23578 { (exit 1); exit 1; }; }
23580 cat >conftest.$ac_ext <<_ACEOF
23581 /* confdefs.h. */
23582 _ACEOF
23583 cat confdefs.h >>conftest.$ac_ext
23584 cat >>conftest.$ac_ext <<_ACEOF
23585 /* end confdefs.h. */
23586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23588 #define $ac_func innocuous_$ac_func
23590 /* System header to define __stub macros and hopefully few prototypes,
23591 which can conflict with char $ac_func (); below.
23592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23593 <limits.h> exists even on freestanding compilers. */
23595 #ifdef __STDC__
23596 # include <limits.h>
23597 #else
23598 # include <assert.h>
23599 #endif
23601 #undef $ac_func
23603 /* Override any gcc2 internal prototype to avoid an error. */
23604 #ifdef __cplusplus
23605 extern "C"
23607 #endif
23608 /* We use char because int might match the return type of a gcc2
23609 builtin and then its argument prototype would still apply. */
23610 char $ac_func ();
23611 /* The GNU C library defines this for functions which it implements
23612 to always fail with ENOSYS. Some functions are actually named
23613 something starting with __ and the normal name is an alias. */
23614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23615 choke me
23616 #else
23617 char (*f) () = $ac_func;
23618 #endif
23619 #ifdef __cplusplus
23621 #endif
23624 main ()
23626 return f != $ac_func;
23628 return 0;
23630 _ACEOF
23631 rm -f conftest.$ac_objext conftest$ac_exeext
23632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23633 (eval $ac_link) 2>conftest.er1
23634 ac_status=$?
23635 grep -v '^ *+' conftest.er1 >conftest.err
23636 rm -f conftest.er1
23637 cat conftest.err >&5
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); } &&
23640 { ac_try='test -z "$ac_c_werror_flag"
23641 || test ! -s conftest.err'
23642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23643 (eval $ac_try) 2>&5
23644 ac_status=$?
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); }; } &&
23647 { ac_try='test -s conftest$ac_exeext'
23648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23649 (eval $ac_try) 2>&5
23650 ac_status=$?
23651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23652 (exit $ac_status); }; }; then
23653 eval "$as_ac_var=yes"
23654 else
23655 echo "$as_me: failed program was:" >&5
23656 sed 's/^/| /' conftest.$ac_ext >&5
23658 eval "$as_ac_var=no"
23660 rm -f conftest.err conftest.$ac_objext \
23661 conftest$ac_exeext conftest.$ac_ext
23663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23665 if test `eval echo '${'$as_ac_var'}'` = yes; then
23666 cat >>confdefs.h <<_ACEOF
23667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23668 _ACEOF
23671 done
23681 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
23682 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
23683 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23684 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
23685 echo $ECHO_N "(cached) $ECHO_C" >&6
23686 else
23690 ac_ext=cc
23691 ac_cpp='$CXXCPP $CPPFLAGS'
23692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23696 cat >conftest.$ac_ext <<_ACEOF
23697 /* confdefs.h. */
23698 _ACEOF
23699 cat confdefs.h >>conftest.$ac_ext
23700 cat >>conftest.$ac_ext <<_ACEOF
23701 /* end confdefs.h. */
23702 #include <math.h>
23704 main ()
23706 atan2f(0, 0);
23708 return 0;
23710 _ACEOF
23711 rm -f conftest.$ac_objext
23712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23713 (eval $ac_compile) 2>conftest.er1
23714 ac_status=$?
23715 grep -v '^ *+' conftest.er1 >conftest.err
23716 rm -f conftest.er1
23717 cat conftest.err >&5
23718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23719 (exit $ac_status); } &&
23720 { ac_try='test -z "$ac_cxx_werror_flag"
23721 || test ! -s conftest.err'
23722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23723 (eval $ac_try) 2>&5
23724 ac_status=$?
23725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23726 (exit $ac_status); }; } &&
23727 { ac_try='test -s conftest.$ac_objext'
23728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23729 (eval $ac_try) 2>&5
23730 ac_status=$?
23731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23732 (exit $ac_status); }; }; then
23733 glibcxx_cv_func_atan2f_use=yes
23734 else
23735 echo "$as_me: failed program was:" >&5
23736 sed 's/^/| /' conftest.$ac_ext >&5
23738 glibcxx_cv_func_atan2f_use=no
23740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23741 ac_ext=c
23742 ac_cpp='$CPP $CPPFLAGS'
23743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23751 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
23752 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
23754 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23756 for ac_func in atan2f
23758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23759 echo "$as_me:$LINENO: checking for $ac_func" >&5
23760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23761 if eval "test \"\${$as_ac_var+set}\" = set"; then
23762 echo $ECHO_N "(cached) $ECHO_C" >&6
23763 else
23764 if test x$gcc_no_link = xyes; then
23765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23767 { (exit 1); exit 1; }; }
23769 cat >conftest.$ac_ext <<_ACEOF
23770 /* confdefs.h. */
23771 _ACEOF
23772 cat confdefs.h >>conftest.$ac_ext
23773 cat >>conftest.$ac_ext <<_ACEOF
23774 /* end confdefs.h. */
23775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23777 #define $ac_func innocuous_$ac_func
23779 /* System header to define __stub macros and hopefully few prototypes,
23780 which can conflict with char $ac_func (); below.
23781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23782 <limits.h> exists even on freestanding compilers. */
23784 #ifdef __STDC__
23785 # include <limits.h>
23786 #else
23787 # include <assert.h>
23788 #endif
23790 #undef $ac_func
23792 /* Override any gcc2 internal prototype to avoid an error. */
23793 #ifdef __cplusplus
23794 extern "C"
23796 #endif
23797 /* We use char because int might match the return type of a gcc2
23798 builtin and then its argument prototype would still apply. */
23799 char $ac_func ();
23800 /* The GNU C library defines this for functions which it implements
23801 to always fail with ENOSYS. Some functions are actually named
23802 something starting with __ and the normal name is an alias. */
23803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23804 choke me
23805 #else
23806 char (*f) () = $ac_func;
23807 #endif
23808 #ifdef __cplusplus
23810 #endif
23813 main ()
23815 return f != $ac_func;
23817 return 0;
23819 _ACEOF
23820 rm -f conftest.$ac_objext conftest$ac_exeext
23821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23822 (eval $ac_link) 2>conftest.er1
23823 ac_status=$?
23824 grep -v '^ *+' conftest.er1 >conftest.err
23825 rm -f conftest.er1
23826 cat conftest.err >&5
23827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23828 (exit $ac_status); } &&
23829 { ac_try='test -z "$ac_c_werror_flag"
23830 || test ! -s conftest.err'
23831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23832 (eval $ac_try) 2>&5
23833 ac_status=$?
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); }; } &&
23836 { ac_try='test -s conftest$ac_exeext'
23837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23838 (eval $ac_try) 2>&5
23839 ac_status=$?
23840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23841 (exit $ac_status); }; }; then
23842 eval "$as_ac_var=yes"
23843 else
23844 echo "$as_me: failed program was:" >&5
23845 sed 's/^/| /' conftest.$ac_ext >&5
23847 eval "$as_ac_var=no"
23849 rm -f conftest.err conftest.$ac_objext \
23850 conftest$ac_exeext conftest.$ac_ext
23852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23854 if test `eval echo '${'$as_ac_var'}'` = yes; then
23855 cat >>confdefs.h <<_ACEOF
23856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23857 _ACEOF
23860 done
23862 else
23864 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
23865 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
23866 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23867 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
23868 echo $ECHO_N "(cached) $ECHO_C" >&6
23869 else
23873 ac_ext=cc
23874 ac_cpp='$CXXCPP $CPPFLAGS'
23875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23879 cat >conftest.$ac_ext <<_ACEOF
23880 /* confdefs.h. */
23881 _ACEOF
23882 cat confdefs.h >>conftest.$ac_ext
23883 cat >>conftest.$ac_ext <<_ACEOF
23884 /* end confdefs.h. */
23885 #include <math.h>
23887 main ()
23889 _atan2f(0, 0);
23891 return 0;
23893 _ACEOF
23894 rm -f conftest.$ac_objext
23895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23896 (eval $ac_compile) 2>conftest.er1
23897 ac_status=$?
23898 grep -v '^ *+' conftest.er1 >conftest.err
23899 rm -f conftest.er1
23900 cat conftest.err >&5
23901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23902 (exit $ac_status); } &&
23903 { ac_try='test -z "$ac_cxx_werror_flag"
23904 || test ! -s conftest.err'
23905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23906 (eval $ac_try) 2>&5
23907 ac_status=$?
23908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23909 (exit $ac_status); }; } &&
23910 { ac_try='test -s conftest.$ac_objext'
23911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23912 (eval $ac_try) 2>&5
23913 ac_status=$?
23914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23915 (exit $ac_status); }; }; then
23916 glibcxx_cv_func__atan2f_use=yes
23917 else
23918 echo "$as_me: failed program was:" >&5
23919 sed 's/^/| /' conftest.$ac_ext >&5
23921 glibcxx_cv_func__atan2f_use=no
23923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23924 ac_ext=c
23925 ac_cpp='$CPP $CPPFLAGS'
23926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23934 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
23935 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
23937 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23939 for ac_func in _atan2f
23941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23942 echo "$as_me:$LINENO: checking for $ac_func" >&5
23943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23944 if eval "test \"\${$as_ac_var+set}\" = set"; then
23945 echo $ECHO_N "(cached) $ECHO_C" >&6
23946 else
23947 if test x$gcc_no_link = xyes; then
23948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23950 { (exit 1); exit 1; }; }
23952 cat >conftest.$ac_ext <<_ACEOF
23953 /* confdefs.h. */
23954 _ACEOF
23955 cat confdefs.h >>conftest.$ac_ext
23956 cat >>conftest.$ac_ext <<_ACEOF
23957 /* end confdefs.h. */
23958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23960 #define $ac_func innocuous_$ac_func
23962 /* System header to define __stub macros and hopefully few prototypes,
23963 which can conflict with char $ac_func (); below.
23964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23965 <limits.h> exists even on freestanding compilers. */
23967 #ifdef __STDC__
23968 # include <limits.h>
23969 #else
23970 # include <assert.h>
23971 #endif
23973 #undef $ac_func
23975 /* Override any gcc2 internal prototype to avoid an error. */
23976 #ifdef __cplusplus
23977 extern "C"
23979 #endif
23980 /* We use char because int might match the return type of a gcc2
23981 builtin and then its argument prototype would still apply. */
23982 char $ac_func ();
23983 /* The GNU C library defines this for functions which it implements
23984 to always fail with ENOSYS. Some functions are actually named
23985 something starting with __ and the normal name is an alias. */
23986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23987 choke me
23988 #else
23989 char (*f) () = $ac_func;
23990 #endif
23991 #ifdef __cplusplus
23993 #endif
23996 main ()
23998 return f != $ac_func;
24000 return 0;
24002 _ACEOF
24003 rm -f conftest.$ac_objext conftest$ac_exeext
24004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24005 (eval $ac_link) 2>conftest.er1
24006 ac_status=$?
24007 grep -v '^ *+' conftest.er1 >conftest.err
24008 rm -f conftest.er1
24009 cat conftest.err >&5
24010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24011 (exit $ac_status); } &&
24012 { ac_try='test -z "$ac_c_werror_flag"
24013 || test ! -s conftest.err'
24014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24015 (eval $ac_try) 2>&5
24016 ac_status=$?
24017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018 (exit $ac_status); }; } &&
24019 { ac_try='test -s conftest$ac_exeext'
24020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24021 (eval $ac_try) 2>&5
24022 ac_status=$?
24023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24024 (exit $ac_status); }; }; then
24025 eval "$as_ac_var=yes"
24026 else
24027 echo "$as_me: failed program was:" >&5
24028 sed 's/^/| /' conftest.$ac_ext >&5
24030 eval "$as_ac_var=no"
24032 rm -f conftest.err conftest.$ac_objext \
24033 conftest$ac_exeext conftest.$ac_ext
24035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24037 if test `eval echo '${'$as_ac_var'}'` = yes; then
24038 cat >>confdefs.h <<_ACEOF
24039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24040 _ACEOF
24043 done
24053 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
24054 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
24055 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24056 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
24057 echo $ECHO_N "(cached) $ECHO_C" >&6
24058 else
24062 ac_ext=cc
24063 ac_cpp='$CXXCPP $CPPFLAGS'
24064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24068 cat >conftest.$ac_ext <<_ACEOF
24069 /* confdefs.h. */
24070 _ACEOF
24071 cat confdefs.h >>conftest.$ac_ext
24072 cat >>conftest.$ac_ext <<_ACEOF
24073 /* end confdefs.h. */
24074 #include <math.h>
24075 #ifdef HAVE_IEEEFP_H
24076 #include <ieeefp.h>
24077 #endif
24080 main ()
24082 fabsf(0);
24084 return 0;
24086 _ACEOF
24087 rm -f conftest.$ac_objext
24088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24089 (eval $ac_compile) 2>conftest.er1
24090 ac_status=$?
24091 grep -v '^ *+' conftest.er1 >conftest.err
24092 rm -f conftest.er1
24093 cat conftest.err >&5
24094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24095 (exit $ac_status); } &&
24096 { ac_try='test -z "$ac_cxx_werror_flag"
24097 || test ! -s conftest.err'
24098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24099 (eval $ac_try) 2>&5
24100 ac_status=$?
24101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24102 (exit $ac_status); }; } &&
24103 { ac_try='test -s conftest.$ac_objext'
24104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24105 (eval $ac_try) 2>&5
24106 ac_status=$?
24107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24108 (exit $ac_status); }; }; then
24109 glibcxx_cv_func_fabsf_use=yes
24110 else
24111 echo "$as_me: failed program was:" >&5
24112 sed 's/^/| /' conftest.$ac_ext >&5
24114 glibcxx_cv_func_fabsf_use=no
24116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24117 ac_ext=c
24118 ac_cpp='$CPP $CPPFLAGS'
24119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24127 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
24128 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
24130 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24132 for ac_func in fabsf
24134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24135 echo "$as_me:$LINENO: checking for $ac_func" >&5
24136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24137 if eval "test \"\${$as_ac_var+set}\" = set"; then
24138 echo $ECHO_N "(cached) $ECHO_C" >&6
24139 else
24140 if test x$gcc_no_link = xyes; then
24141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24143 { (exit 1); exit 1; }; }
24145 cat >conftest.$ac_ext <<_ACEOF
24146 /* confdefs.h. */
24147 _ACEOF
24148 cat confdefs.h >>conftest.$ac_ext
24149 cat >>conftest.$ac_ext <<_ACEOF
24150 /* end confdefs.h. */
24151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24153 #define $ac_func innocuous_$ac_func
24155 /* System header to define __stub macros and hopefully few prototypes,
24156 which can conflict with char $ac_func (); below.
24157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24158 <limits.h> exists even on freestanding compilers. */
24160 #ifdef __STDC__
24161 # include <limits.h>
24162 #else
24163 # include <assert.h>
24164 #endif
24166 #undef $ac_func
24168 /* Override any gcc2 internal prototype to avoid an error. */
24169 #ifdef __cplusplus
24170 extern "C"
24172 #endif
24173 /* We use char because int might match the return type of a gcc2
24174 builtin and then its argument prototype would still apply. */
24175 char $ac_func ();
24176 /* The GNU C library defines this for functions which it implements
24177 to always fail with ENOSYS. Some functions are actually named
24178 something starting with __ and the normal name is an alias. */
24179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24180 choke me
24181 #else
24182 char (*f) () = $ac_func;
24183 #endif
24184 #ifdef __cplusplus
24186 #endif
24189 main ()
24191 return f != $ac_func;
24193 return 0;
24195 _ACEOF
24196 rm -f conftest.$ac_objext conftest$ac_exeext
24197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24198 (eval $ac_link) 2>conftest.er1
24199 ac_status=$?
24200 grep -v '^ *+' conftest.er1 >conftest.err
24201 rm -f conftest.er1
24202 cat conftest.err >&5
24203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24204 (exit $ac_status); } &&
24205 { ac_try='test -z "$ac_c_werror_flag"
24206 || test ! -s conftest.err'
24207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24208 (eval $ac_try) 2>&5
24209 ac_status=$?
24210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24211 (exit $ac_status); }; } &&
24212 { ac_try='test -s conftest$ac_exeext'
24213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24214 (eval $ac_try) 2>&5
24215 ac_status=$?
24216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24217 (exit $ac_status); }; }; then
24218 eval "$as_ac_var=yes"
24219 else
24220 echo "$as_me: failed program was:" >&5
24221 sed 's/^/| /' conftest.$ac_ext >&5
24223 eval "$as_ac_var=no"
24225 rm -f conftest.err conftest.$ac_objext \
24226 conftest$ac_exeext conftest.$ac_ext
24228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24230 if test `eval echo '${'$as_ac_var'}'` = yes; then
24231 cat >>confdefs.h <<_ACEOF
24232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24233 _ACEOF
24236 done
24238 else
24240 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
24241 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
24242 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24243 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
24244 echo $ECHO_N "(cached) $ECHO_C" >&6
24245 else
24249 ac_ext=cc
24250 ac_cpp='$CXXCPP $CPPFLAGS'
24251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24255 cat >conftest.$ac_ext <<_ACEOF
24256 /* confdefs.h. */
24257 _ACEOF
24258 cat confdefs.h >>conftest.$ac_ext
24259 cat >>conftest.$ac_ext <<_ACEOF
24260 /* end confdefs.h. */
24261 #include <math.h>
24262 #ifdef HAVE_IEEEFP_H
24263 #include <ieeefp.h>
24264 #endif
24267 main ()
24269 _fabsf(0);
24271 return 0;
24273 _ACEOF
24274 rm -f conftest.$ac_objext
24275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24276 (eval $ac_compile) 2>conftest.er1
24277 ac_status=$?
24278 grep -v '^ *+' conftest.er1 >conftest.err
24279 rm -f conftest.er1
24280 cat conftest.err >&5
24281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24282 (exit $ac_status); } &&
24283 { ac_try='test -z "$ac_cxx_werror_flag"
24284 || test ! -s conftest.err'
24285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24286 (eval $ac_try) 2>&5
24287 ac_status=$?
24288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24289 (exit $ac_status); }; } &&
24290 { ac_try='test -s conftest.$ac_objext'
24291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24292 (eval $ac_try) 2>&5
24293 ac_status=$?
24294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24295 (exit $ac_status); }; }; then
24296 glibcxx_cv_func__fabsf_use=yes
24297 else
24298 echo "$as_me: failed program was:" >&5
24299 sed 's/^/| /' conftest.$ac_ext >&5
24301 glibcxx_cv_func__fabsf_use=no
24303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24304 ac_ext=c
24305 ac_cpp='$CPP $CPPFLAGS'
24306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24314 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
24315 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
24317 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24319 for ac_func in _fabsf
24321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24322 echo "$as_me:$LINENO: checking for $ac_func" >&5
24323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24324 if eval "test \"\${$as_ac_var+set}\" = set"; then
24325 echo $ECHO_N "(cached) $ECHO_C" >&6
24326 else
24327 if test x$gcc_no_link = xyes; then
24328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24330 { (exit 1); exit 1; }; }
24332 cat >conftest.$ac_ext <<_ACEOF
24333 /* confdefs.h. */
24334 _ACEOF
24335 cat confdefs.h >>conftest.$ac_ext
24336 cat >>conftest.$ac_ext <<_ACEOF
24337 /* end confdefs.h. */
24338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24340 #define $ac_func innocuous_$ac_func
24342 /* System header to define __stub macros and hopefully few prototypes,
24343 which can conflict with char $ac_func (); below.
24344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24345 <limits.h> exists even on freestanding compilers. */
24347 #ifdef __STDC__
24348 # include <limits.h>
24349 #else
24350 # include <assert.h>
24351 #endif
24353 #undef $ac_func
24355 /* Override any gcc2 internal prototype to avoid an error. */
24356 #ifdef __cplusplus
24357 extern "C"
24359 #endif
24360 /* We use char because int might match the return type of a gcc2
24361 builtin and then its argument prototype would still apply. */
24362 char $ac_func ();
24363 /* The GNU C library defines this for functions which it implements
24364 to always fail with ENOSYS. Some functions are actually named
24365 something starting with __ and the normal name is an alias. */
24366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24367 choke me
24368 #else
24369 char (*f) () = $ac_func;
24370 #endif
24371 #ifdef __cplusplus
24373 #endif
24376 main ()
24378 return f != $ac_func;
24380 return 0;
24382 _ACEOF
24383 rm -f conftest.$ac_objext conftest$ac_exeext
24384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24385 (eval $ac_link) 2>conftest.er1
24386 ac_status=$?
24387 grep -v '^ *+' conftest.er1 >conftest.err
24388 rm -f conftest.er1
24389 cat conftest.err >&5
24390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24391 (exit $ac_status); } &&
24392 { ac_try='test -z "$ac_c_werror_flag"
24393 || test ! -s conftest.err'
24394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24395 (eval $ac_try) 2>&5
24396 ac_status=$?
24397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24398 (exit $ac_status); }; } &&
24399 { ac_try='test -s conftest$ac_exeext'
24400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24401 (eval $ac_try) 2>&5
24402 ac_status=$?
24403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24404 (exit $ac_status); }; }; then
24405 eval "$as_ac_var=yes"
24406 else
24407 echo "$as_me: failed program was:" >&5
24408 sed 's/^/| /' conftest.$ac_ext >&5
24410 eval "$as_ac_var=no"
24412 rm -f conftest.err conftest.$ac_objext \
24413 conftest$ac_exeext conftest.$ac_ext
24415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24417 if test `eval echo '${'$as_ac_var'}'` = yes; then
24418 cat >>confdefs.h <<_ACEOF
24419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24420 _ACEOF
24423 done
24433 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
24434 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
24435 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24436 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
24437 echo $ECHO_N "(cached) $ECHO_C" >&6
24438 else
24442 ac_ext=cc
24443 ac_cpp='$CXXCPP $CPPFLAGS'
24444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24448 cat >conftest.$ac_ext <<_ACEOF
24449 /* confdefs.h. */
24450 _ACEOF
24451 cat confdefs.h >>conftest.$ac_ext
24452 cat >>conftest.$ac_ext <<_ACEOF
24453 /* end confdefs.h. */
24454 #include <math.h>
24456 main ()
24458 fmodf(0, 0);
24460 return 0;
24462 _ACEOF
24463 rm -f conftest.$ac_objext
24464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24465 (eval $ac_compile) 2>conftest.er1
24466 ac_status=$?
24467 grep -v '^ *+' conftest.er1 >conftest.err
24468 rm -f conftest.er1
24469 cat conftest.err >&5
24470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24471 (exit $ac_status); } &&
24472 { ac_try='test -z "$ac_cxx_werror_flag"
24473 || test ! -s conftest.err'
24474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24475 (eval $ac_try) 2>&5
24476 ac_status=$?
24477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478 (exit $ac_status); }; } &&
24479 { ac_try='test -s conftest.$ac_objext'
24480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24481 (eval $ac_try) 2>&5
24482 ac_status=$?
24483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24484 (exit $ac_status); }; }; then
24485 glibcxx_cv_func_fmodf_use=yes
24486 else
24487 echo "$as_me: failed program was:" >&5
24488 sed 's/^/| /' conftest.$ac_ext >&5
24490 glibcxx_cv_func_fmodf_use=no
24492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24493 ac_ext=c
24494 ac_cpp='$CPP $CPPFLAGS'
24495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24503 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
24504 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
24506 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24508 for ac_func in fmodf
24510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24511 echo "$as_me:$LINENO: checking for $ac_func" >&5
24512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24513 if eval "test \"\${$as_ac_var+set}\" = set"; then
24514 echo $ECHO_N "(cached) $ECHO_C" >&6
24515 else
24516 if test x$gcc_no_link = xyes; then
24517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24519 { (exit 1); exit 1; }; }
24521 cat >conftest.$ac_ext <<_ACEOF
24522 /* confdefs.h. */
24523 _ACEOF
24524 cat confdefs.h >>conftest.$ac_ext
24525 cat >>conftest.$ac_ext <<_ACEOF
24526 /* end confdefs.h. */
24527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24529 #define $ac_func innocuous_$ac_func
24531 /* System header to define __stub macros and hopefully few prototypes,
24532 which can conflict with char $ac_func (); below.
24533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24534 <limits.h> exists even on freestanding compilers. */
24536 #ifdef __STDC__
24537 # include <limits.h>
24538 #else
24539 # include <assert.h>
24540 #endif
24542 #undef $ac_func
24544 /* Override any gcc2 internal prototype to avoid an error. */
24545 #ifdef __cplusplus
24546 extern "C"
24548 #endif
24549 /* We use char because int might match the return type of a gcc2
24550 builtin and then its argument prototype would still apply. */
24551 char $ac_func ();
24552 /* The GNU C library defines this for functions which it implements
24553 to always fail with ENOSYS. Some functions are actually named
24554 something starting with __ and the normal name is an alias. */
24555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24556 choke me
24557 #else
24558 char (*f) () = $ac_func;
24559 #endif
24560 #ifdef __cplusplus
24562 #endif
24565 main ()
24567 return f != $ac_func;
24569 return 0;
24571 _ACEOF
24572 rm -f conftest.$ac_objext conftest$ac_exeext
24573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24574 (eval $ac_link) 2>conftest.er1
24575 ac_status=$?
24576 grep -v '^ *+' conftest.er1 >conftest.err
24577 rm -f conftest.er1
24578 cat conftest.err >&5
24579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24580 (exit $ac_status); } &&
24581 { ac_try='test -z "$ac_c_werror_flag"
24582 || test ! -s conftest.err'
24583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24584 (eval $ac_try) 2>&5
24585 ac_status=$?
24586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24587 (exit $ac_status); }; } &&
24588 { ac_try='test -s conftest$ac_exeext'
24589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24590 (eval $ac_try) 2>&5
24591 ac_status=$?
24592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24593 (exit $ac_status); }; }; then
24594 eval "$as_ac_var=yes"
24595 else
24596 echo "$as_me: failed program was:" >&5
24597 sed 's/^/| /' conftest.$ac_ext >&5
24599 eval "$as_ac_var=no"
24601 rm -f conftest.err conftest.$ac_objext \
24602 conftest$ac_exeext conftest.$ac_ext
24604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24606 if test `eval echo '${'$as_ac_var'}'` = yes; then
24607 cat >>confdefs.h <<_ACEOF
24608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24609 _ACEOF
24612 done
24614 else
24616 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
24617 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
24618 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24619 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
24620 echo $ECHO_N "(cached) $ECHO_C" >&6
24621 else
24625 ac_ext=cc
24626 ac_cpp='$CXXCPP $CPPFLAGS'
24627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24631 cat >conftest.$ac_ext <<_ACEOF
24632 /* confdefs.h. */
24633 _ACEOF
24634 cat confdefs.h >>conftest.$ac_ext
24635 cat >>conftest.$ac_ext <<_ACEOF
24636 /* end confdefs.h. */
24637 #include <math.h>
24639 main ()
24641 _fmodf(0, 0);
24643 return 0;
24645 _ACEOF
24646 rm -f conftest.$ac_objext
24647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24648 (eval $ac_compile) 2>conftest.er1
24649 ac_status=$?
24650 grep -v '^ *+' conftest.er1 >conftest.err
24651 rm -f conftest.er1
24652 cat conftest.err >&5
24653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 (exit $ac_status); } &&
24655 { ac_try='test -z "$ac_cxx_werror_flag"
24656 || test ! -s conftest.err'
24657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24658 (eval $ac_try) 2>&5
24659 ac_status=$?
24660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24661 (exit $ac_status); }; } &&
24662 { ac_try='test -s conftest.$ac_objext'
24663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24664 (eval $ac_try) 2>&5
24665 ac_status=$?
24666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24667 (exit $ac_status); }; }; then
24668 glibcxx_cv_func__fmodf_use=yes
24669 else
24670 echo "$as_me: failed program was:" >&5
24671 sed 's/^/| /' conftest.$ac_ext >&5
24673 glibcxx_cv_func__fmodf_use=no
24675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24676 ac_ext=c
24677 ac_cpp='$CPP $CPPFLAGS'
24678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24686 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
24687 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
24689 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24691 for ac_func in _fmodf
24693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24694 echo "$as_me:$LINENO: checking for $ac_func" >&5
24695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24696 if eval "test \"\${$as_ac_var+set}\" = set"; then
24697 echo $ECHO_N "(cached) $ECHO_C" >&6
24698 else
24699 if test x$gcc_no_link = xyes; then
24700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24702 { (exit 1); exit 1; }; }
24704 cat >conftest.$ac_ext <<_ACEOF
24705 /* confdefs.h. */
24706 _ACEOF
24707 cat confdefs.h >>conftest.$ac_ext
24708 cat >>conftest.$ac_ext <<_ACEOF
24709 /* end confdefs.h. */
24710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24712 #define $ac_func innocuous_$ac_func
24714 /* System header to define __stub macros and hopefully few prototypes,
24715 which can conflict with char $ac_func (); below.
24716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24717 <limits.h> exists even on freestanding compilers. */
24719 #ifdef __STDC__
24720 # include <limits.h>
24721 #else
24722 # include <assert.h>
24723 #endif
24725 #undef $ac_func
24727 /* Override any gcc2 internal prototype to avoid an error. */
24728 #ifdef __cplusplus
24729 extern "C"
24731 #endif
24732 /* We use char because int might match the return type of a gcc2
24733 builtin and then its argument prototype would still apply. */
24734 char $ac_func ();
24735 /* The GNU C library defines this for functions which it implements
24736 to always fail with ENOSYS. Some functions are actually named
24737 something starting with __ and the normal name is an alias. */
24738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24739 choke me
24740 #else
24741 char (*f) () = $ac_func;
24742 #endif
24743 #ifdef __cplusplus
24745 #endif
24748 main ()
24750 return f != $ac_func;
24752 return 0;
24754 _ACEOF
24755 rm -f conftest.$ac_objext conftest$ac_exeext
24756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24757 (eval $ac_link) 2>conftest.er1
24758 ac_status=$?
24759 grep -v '^ *+' conftest.er1 >conftest.err
24760 rm -f conftest.er1
24761 cat conftest.err >&5
24762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24763 (exit $ac_status); } &&
24764 { ac_try='test -z "$ac_c_werror_flag"
24765 || test ! -s conftest.err'
24766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24767 (eval $ac_try) 2>&5
24768 ac_status=$?
24769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24770 (exit $ac_status); }; } &&
24771 { ac_try='test -s conftest$ac_exeext'
24772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24773 (eval $ac_try) 2>&5
24774 ac_status=$?
24775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24776 (exit $ac_status); }; }; then
24777 eval "$as_ac_var=yes"
24778 else
24779 echo "$as_me: failed program was:" >&5
24780 sed 's/^/| /' conftest.$ac_ext >&5
24782 eval "$as_ac_var=no"
24784 rm -f conftest.err conftest.$ac_objext \
24785 conftest$ac_exeext conftest.$ac_ext
24787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24789 if test `eval echo '${'$as_ac_var'}'` = yes; then
24790 cat >>confdefs.h <<_ACEOF
24791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24792 _ACEOF
24795 done
24805 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
24806 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
24807 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24808 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
24809 echo $ECHO_N "(cached) $ECHO_C" >&6
24810 else
24814 ac_ext=cc
24815 ac_cpp='$CXXCPP $CPPFLAGS'
24816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24820 cat >conftest.$ac_ext <<_ACEOF
24821 /* confdefs.h. */
24822 _ACEOF
24823 cat confdefs.h >>conftest.$ac_ext
24824 cat >>conftest.$ac_ext <<_ACEOF
24825 /* end confdefs.h. */
24826 #include <math.h>
24828 main ()
24830 frexpf(0, 0);
24832 return 0;
24834 _ACEOF
24835 rm -f conftest.$ac_objext
24836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24837 (eval $ac_compile) 2>conftest.er1
24838 ac_status=$?
24839 grep -v '^ *+' conftest.er1 >conftest.err
24840 rm -f conftest.er1
24841 cat conftest.err >&5
24842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24843 (exit $ac_status); } &&
24844 { ac_try='test -z "$ac_cxx_werror_flag"
24845 || test ! -s conftest.err'
24846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24847 (eval $ac_try) 2>&5
24848 ac_status=$?
24849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24850 (exit $ac_status); }; } &&
24851 { ac_try='test -s conftest.$ac_objext'
24852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24853 (eval $ac_try) 2>&5
24854 ac_status=$?
24855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856 (exit $ac_status); }; }; then
24857 glibcxx_cv_func_frexpf_use=yes
24858 else
24859 echo "$as_me: failed program was:" >&5
24860 sed 's/^/| /' conftest.$ac_ext >&5
24862 glibcxx_cv_func_frexpf_use=no
24864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24865 ac_ext=c
24866 ac_cpp='$CPP $CPPFLAGS'
24867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24875 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
24876 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
24878 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24880 for ac_func in frexpf
24882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24883 echo "$as_me:$LINENO: checking for $ac_func" >&5
24884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24885 if eval "test \"\${$as_ac_var+set}\" = set"; then
24886 echo $ECHO_N "(cached) $ECHO_C" >&6
24887 else
24888 if test x$gcc_no_link = xyes; then
24889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24891 { (exit 1); exit 1; }; }
24893 cat >conftest.$ac_ext <<_ACEOF
24894 /* confdefs.h. */
24895 _ACEOF
24896 cat confdefs.h >>conftest.$ac_ext
24897 cat >>conftest.$ac_ext <<_ACEOF
24898 /* end confdefs.h. */
24899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24901 #define $ac_func innocuous_$ac_func
24903 /* System header to define __stub macros and hopefully few prototypes,
24904 which can conflict with char $ac_func (); below.
24905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24906 <limits.h> exists even on freestanding compilers. */
24908 #ifdef __STDC__
24909 # include <limits.h>
24910 #else
24911 # include <assert.h>
24912 #endif
24914 #undef $ac_func
24916 /* Override any gcc2 internal prototype to avoid an error. */
24917 #ifdef __cplusplus
24918 extern "C"
24920 #endif
24921 /* We use char because int might match the return type of a gcc2
24922 builtin and then its argument prototype would still apply. */
24923 char $ac_func ();
24924 /* The GNU C library defines this for functions which it implements
24925 to always fail with ENOSYS. Some functions are actually named
24926 something starting with __ and the normal name is an alias. */
24927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24928 choke me
24929 #else
24930 char (*f) () = $ac_func;
24931 #endif
24932 #ifdef __cplusplus
24934 #endif
24937 main ()
24939 return f != $ac_func;
24941 return 0;
24943 _ACEOF
24944 rm -f conftest.$ac_objext conftest$ac_exeext
24945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24946 (eval $ac_link) 2>conftest.er1
24947 ac_status=$?
24948 grep -v '^ *+' conftest.er1 >conftest.err
24949 rm -f conftest.er1
24950 cat conftest.err >&5
24951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952 (exit $ac_status); } &&
24953 { ac_try='test -z "$ac_c_werror_flag"
24954 || test ! -s conftest.err'
24955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24956 (eval $ac_try) 2>&5
24957 ac_status=$?
24958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24959 (exit $ac_status); }; } &&
24960 { ac_try='test -s conftest$ac_exeext'
24961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24962 (eval $ac_try) 2>&5
24963 ac_status=$?
24964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24965 (exit $ac_status); }; }; then
24966 eval "$as_ac_var=yes"
24967 else
24968 echo "$as_me: failed program was:" >&5
24969 sed 's/^/| /' conftest.$ac_ext >&5
24971 eval "$as_ac_var=no"
24973 rm -f conftest.err conftest.$ac_objext \
24974 conftest$ac_exeext conftest.$ac_ext
24976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24978 if test `eval echo '${'$as_ac_var'}'` = yes; then
24979 cat >>confdefs.h <<_ACEOF
24980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24981 _ACEOF
24984 done
24986 else
24988 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
24989 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
24990 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24991 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
24992 echo $ECHO_N "(cached) $ECHO_C" >&6
24993 else
24997 ac_ext=cc
24998 ac_cpp='$CXXCPP $CPPFLAGS'
24999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25003 cat >conftest.$ac_ext <<_ACEOF
25004 /* confdefs.h. */
25005 _ACEOF
25006 cat confdefs.h >>conftest.$ac_ext
25007 cat >>conftest.$ac_ext <<_ACEOF
25008 /* end confdefs.h. */
25009 #include <math.h>
25011 main ()
25013 _frexpf(0, 0);
25015 return 0;
25017 _ACEOF
25018 rm -f conftest.$ac_objext
25019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25020 (eval $ac_compile) 2>conftest.er1
25021 ac_status=$?
25022 grep -v '^ *+' conftest.er1 >conftest.err
25023 rm -f conftest.er1
25024 cat conftest.err >&5
25025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25026 (exit $ac_status); } &&
25027 { ac_try='test -z "$ac_cxx_werror_flag"
25028 || test ! -s conftest.err'
25029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25030 (eval $ac_try) 2>&5
25031 ac_status=$?
25032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25033 (exit $ac_status); }; } &&
25034 { ac_try='test -s conftest.$ac_objext'
25035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25036 (eval $ac_try) 2>&5
25037 ac_status=$?
25038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25039 (exit $ac_status); }; }; then
25040 glibcxx_cv_func__frexpf_use=yes
25041 else
25042 echo "$as_me: failed program was:" >&5
25043 sed 's/^/| /' conftest.$ac_ext >&5
25045 glibcxx_cv_func__frexpf_use=no
25047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25048 ac_ext=c
25049 ac_cpp='$CPP $CPPFLAGS'
25050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25058 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
25059 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
25061 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
25063 for ac_func in _frexpf
25065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25066 echo "$as_me:$LINENO: checking for $ac_func" >&5
25067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25068 if eval "test \"\${$as_ac_var+set}\" = set"; then
25069 echo $ECHO_N "(cached) $ECHO_C" >&6
25070 else
25071 if test x$gcc_no_link = xyes; then
25072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25074 { (exit 1); exit 1; }; }
25076 cat >conftest.$ac_ext <<_ACEOF
25077 /* confdefs.h. */
25078 _ACEOF
25079 cat confdefs.h >>conftest.$ac_ext
25080 cat >>conftest.$ac_ext <<_ACEOF
25081 /* end confdefs.h. */
25082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25084 #define $ac_func innocuous_$ac_func
25086 /* System header to define __stub macros and hopefully few prototypes,
25087 which can conflict with char $ac_func (); below.
25088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25089 <limits.h> exists even on freestanding compilers. */
25091 #ifdef __STDC__
25092 # include <limits.h>
25093 #else
25094 # include <assert.h>
25095 #endif
25097 #undef $ac_func
25099 /* Override any gcc2 internal prototype to avoid an error. */
25100 #ifdef __cplusplus
25101 extern "C"
25103 #endif
25104 /* We use char because int might match the return type of a gcc2
25105 builtin and then its argument prototype would still apply. */
25106 char $ac_func ();
25107 /* The GNU C library defines this for functions which it implements
25108 to always fail with ENOSYS. Some functions are actually named
25109 something starting with __ and the normal name is an alias. */
25110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25111 choke me
25112 #else
25113 char (*f) () = $ac_func;
25114 #endif
25115 #ifdef __cplusplus
25117 #endif
25120 main ()
25122 return f != $ac_func;
25124 return 0;
25126 _ACEOF
25127 rm -f conftest.$ac_objext conftest$ac_exeext
25128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25129 (eval $ac_link) 2>conftest.er1
25130 ac_status=$?
25131 grep -v '^ *+' conftest.er1 >conftest.err
25132 rm -f conftest.er1
25133 cat conftest.err >&5
25134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25135 (exit $ac_status); } &&
25136 { ac_try='test -z "$ac_c_werror_flag"
25137 || test ! -s conftest.err'
25138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25139 (eval $ac_try) 2>&5
25140 ac_status=$?
25141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25142 (exit $ac_status); }; } &&
25143 { ac_try='test -s conftest$ac_exeext'
25144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25145 (eval $ac_try) 2>&5
25146 ac_status=$?
25147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25148 (exit $ac_status); }; }; then
25149 eval "$as_ac_var=yes"
25150 else
25151 echo "$as_me: failed program was:" >&5
25152 sed 's/^/| /' conftest.$ac_ext >&5
25154 eval "$as_ac_var=no"
25156 rm -f conftest.err conftest.$ac_objext \
25157 conftest$ac_exeext conftest.$ac_ext
25159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25161 if test `eval echo '${'$as_ac_var'}'` = yes; then
25162 cat >>confdefs.h <<_ACEOF
25163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25164 _ACEOF
25167 done
25177 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
25178 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
25179 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
25180 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
25181 echo $ECHO_N "(cached) $ECHO_C" >&6
25182 else
25186 ac_ext=cc
25187 ac_cpp='$CXXCPP $CPPFLAGS'
25188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25192 cat >conftest.$ac_ext <<_ACEOF
25193 /* confdefs.h. */
25194 _ACEOF
25195 cat confdefs.h >>conftest.$ac_ext
25196 cat >>conftest.$ac_ext <<_ACEOF
25197 /* end confdefs.h. */
25198 #include <math.h>
25200 main ()
25202 hypotf(0, 0);
25204 return 0;
25206 _ACEOF
25207 rm -f conftest.$ac_objext
25208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25209 (eval $ac_compile) 2>conftest.er1
25210 ac_status=$?
25211 grep -v '^ *+' conftest.er1 >conftest.err
25212 rm -f conftest.er1
25213 cat conftest.err >&5
25214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25215 (exit $ac_status); } &&
25216 { ac_try='test -z "$ac_cxx_werror_flag"
25217 || test ! -s conftest.err'
25218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25219 (eval $ac_try) 2>&5
25220 ac_status=$?
25221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25222 (exit $ac_status); }; } &&
25223 { ac_try='test -s conftest.$ac_objext'
25224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25225 (eval $ac_try) 2>&5
25226 ac_status=$?
25227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25228 (exit $ac_status); }; }; then
25229 glibcxx_cv_func_hypotf_use=yes
25230 else
25231 echo "$as_me: failed program was:" >&5
25232 sed 's/^/| /' conftest.$ac_ext >&5
25234 glibcxx_cv_func_hypotf_use=no
25236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25237 ac_ext=c
25238 ac_cpp='$CPP $CPPFLAGS'
25239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25247 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
25248 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
25250 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
25252 for ac_func in hypotf
25254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25255 echo "$as_me:$LINENO: checking for $ac_func" >&5
25256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25257 if eval "test \"\${$as_ac_var+set}\" = set"; then
25258 echo $ECHO_N "(cached) $ECHO_C" >&6
25259 else
25260 if test x$gcc_no_link = xyes; then
25261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25263 { (exit 1); exit 1; }; }
25265 cat >conftest.$ac_ext <<_ACEOF
25266 /* confdefs.h. */
25267 _ACEOF
25268 cat confdefs.h >>conftest.$ac_ext
25269 cat >>conftest.$ac_ext <<_ACEOF
25270 /* end confdefs.h. */
25271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25273 #define $ac_func innocuous_$ac_func
25275 /* System header to define __stub macros and hopefully few prototypes,
25276 which can conflict with char $ac_func (); below.
25277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25278 <limits.h> exists even on freestanding compilers. */
25280 #ifdef __STDC__
25281 # include <limits.h>
25282 #else
25283 # include <assert.h>
25284 #endif
25286 #undef $ac_func
25288 /* Override any gcc2 internal prototype to avoid an error. */
25289 #ifdef __cplusplus
25290 extern "C"
25292 #endif
25293 /* We use char because int might match the return type of a gcc2
25294 builtin and then its argument prototype would still apply. */
25295 char $ac_func ();
25296 /* The GNU C library defines this for functions which it implements
25297 to always fail with ENOSYS. Some functions are actually named
25298 something starting with __ and the normal name is an alias. */
25299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25300 choke me
25301 #else
25302 char (*f) () = $ac_func;
25303 #endif
25304 #ifdef __cplusplus
25306 #endif
25309 main ()
25311 return f != $ac_func;
25313 return 0;
25315 _ACEOF
25316 rm -f conftest.$ac_objext conftest$ac_exeext
25317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25318 (eval $ac_link) 2>conftest.er1
25319 ac_status=$?
25320 grep -v '^ *+' conftest.er1 >conftest.err
25321 rm -f conftest.er1
25322 cat conftest.err >&5
25323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25324 (exit $ac_status); } &&
25325 { ac_try='test -z "$ac_c_werror_flag"
25326 || test ! -s conftest.err'
25327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25328 (eval $ac_try) 2>&5
25329 ac_status=$?
25330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25331 (exit $ac_status); }; } &&
25332 { ac_try='test -s conftest$ac_exeext'
25333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25334 (eval $ac_try) 2>&5
25335 ac_status=$?
25336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25337 (exit $ac_status); }; }; then
25338 eval "$as_ac_var=yes"
25339 else
25340 echo "$as_me: failed program was:" >&5
25341 sed 's/^/| /' conftest.$ac_ext >&5
25343 eval "$as_ac_var=no"
25345 rm -f conftest.err conftest.$ac_objext \
25346 conftest$ac_exeext conftest.$ac_ext
25348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25350 if test `eval echo '${'$as_ac_var'}'` = yes; then
25351 cat >>confdefs.h <<_ACEOF
25352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25353 _ACEOF
25356 done
25358 else
25360 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
25361 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
25362 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
25363 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
25364 echo $ECHO_N "(cached) $ECHO_C" >&6
25365 else
25369 ac_ext=cc
25370 ac_cpp='$CXXCPP $CPPFLAGS'
25371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25375 cat >conftest.$ac_ext <<_ACEOF
25376 /* confdefs.h. */
25377 _ACEOF
25378 cat confdefs.h >>conftest.$ac_ext
25379 cat >>conftest.$ac_ext <<_ACEOF
25380 /* end confdefs.h. */
25381 #include <math.h>
25383 main ()
25385 _hypotf(0, 0);
25387 return 0;
25389 _ACEOF
25390 rm -f conftest.$ac_objext
25391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25392 (eval $ac_compile) 2>conftest.er1
25393 ac_status=$?
25394 grep -v '^ *+' conftest.er1 >conftest.err
25395 rm -f conftest.er1
25396 cat conftest.err >&5
25397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25398 (exit $ac_status); } &&
25399 { ac_try='test -z "$ac_cxx_werror_flag"
25400 || test ! -s conftest.err'
25401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25402 (eval $ac_try) 2>&5
25403 ac_status=$?
25404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25405 (exit $ac_status); }; } &&
25406 { ac_try='test -s conftest.$ac_objext'
25407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25408 (eval $ac_try) 2>&5
25409 ac_status=$?
25410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25411 (exit $ac_status); }; }; then
25412 glibcxx_cv_func__hypotf_use=yes
25413 else
25414 echo "$as_me: failed program was:" >&5
25415 sed 's/^/| /' conftest.$ac_ext >&5
25417 glibcxx_cv_func__hypotf_use=no
25419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25420 ac_ext=c
25421 ac_cpp='$CPP $CPPFLAGS'
25422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25430 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
25431 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
25433 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25435 for ac_func in _hypotf
25437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25438 echo "$as_me:$LINENO: checking for $ac_func" >&5
25439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25440 if eval "test \"\${$as_ac_var+set}\" = set"; then
25441 echo $ECHO_N "(cached) $ECHO_C" >&6
25442 else
25443 if test x$gcc_no_link = xyes; then
25444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25446 { (exit 1); exit 1; }; }
25448 cat >conftest.$ac_ext <<_ACEOF
25449 /* confdefs.h. */
25450 _ACEOF
25451 cat confdefs.h >>conftest.$ac_ext
25452 cat >>conftest.$ac_ext <<_ACEOF
25453 /* end confdefs.h. */
25454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25456 #define $ac_func innocuous_$ac_func
25458 /* System header to define __stub macros and hopefully few prototypes,
25459 which can conflict with char $ac_func (); below.
25460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25461 <limits.h> exists even on freestanding compilers. */
25463 #ifdef __STDC__
25464 # include <limits.h>
25465 #else
25466 # include <assert.h>
25467 #endif
25469 #undef $ac_func
25471 /* Override any gcc2 internal prototype to avoid an error. */
25472 #ifdef __cplusplus
25473 extern "C"
25475 #endif
25476 /* We use char because int might match the return type of a gcc2
25477 builtin and then its argument prototype would still apply. */
25478 char $ac_func ();
25479 /* The GNU C library defines this for functions which it implements
25480 to always fail with ENOSYS. Some functions are actually named
25481 something starting with __ and the normal name is an alias. */
25482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25483 choke me
25484 #else
25485 char (*f) () = $ac_func;
25486 #endif
25487 #ifdef __cplusplus
25489 #endif
25492 main ()
25494 return f != $ac_func;
25496 return 0;
25498 _ACEOF
25499 rm -f conftest.$ac_objext conftest$ac_exeext
25500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25501 (eval $ac_link) 2>conftest.er1
25502 ac_status=$?
25503 grep -v '^ *+' conftest.er1 >conftest.err
25504 rm -f conftest.er1
25505 cat conftest.err >&5
25506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25507 (exit $ac_status); } &&
25508 { ac_try='test -z "$ac_c_werror_flag"
25509 || test ! -s conftest.err'
25510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25511 (eval $ac_try) 2>&5
25512 ac_status=$?
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); }; } &&
25515 { ac_try='test -s conftest$ac_exeext'
25516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25517 (eval $ac_try) 2>&5
25518 ac_status=$?
25519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25520 (exit $ac_status); }; }; then
25521 eval "$as_ac_var=yes"
25522 else
25523 echo "$as_me: failed program was:" >&5
25524 sed 's/^/| /' conftest.$ac_ext >&5
25526 eval "$as_ac_var=no"
25528 rm -f conftest.err conftest.$ac_objext \
25529 conftest$ac_exeext conftest.$ac_ext
25531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25533 if test `eval echo '${'$as_ac_var'}'` = yes; then
25534 cat >>confdefs.h <<_ACEOF
25535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25536 _ACEOF
25539 done
25549 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
25550 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
25551 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25552 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
25553 echo $ECHO_N "(cached) $ECHO_C" >&6
25554 else
25558 ac_ext=cc
25559 ac_cpp='$CXXCPP $CPPFLAGS'
25560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25564 cat >conftest.$ac_ext <<_ACEOF
25565 /* confdefs.h. */
25566 _ACEOF
25567 cat confdefs.h >>conftest.$ac_ext
25568 cat >>conftest.$ac_ext <<_ACEOF
25569 /* end confdefs.h. */
25570 #include <math.h>
25572 main ()
25574 ldexpf(0, 0);
25576 return 0;
25578 _ACEOF
25579 rm -f conftest.$ac_objext
25580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25581 (eval $ac_compile) 2>conftest.er1
25582 ac_status=$?
25583 grep -v '^ *+' conftest.er1 >conftest.err
25584 rm -f conftest.er1
25585 cat conftest.err >&5
25586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25587 (exit $ac_status); } &&
25588 { ac_try='test -z "$ac_cxx_werror_flag"
25589 || test ! -s conftest.err'
25590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25591 (eval $ac_try) 2>&5
25592 ac_status=$?
25593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25594 (exit $ac_status); }; } &&
25595 { ac_try='test -s conftest.$ac_objext'
25596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25597 (eval $ac_try) 2>&5
25598 ac_status=$?
25599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25600 (exit $ac_status); }; }; then
25601 glibcxx_cv_func_ldexpf_use=yes
25602 else
25603 echo "$as_me: failed program was:" >&5
25604 sed 's/^/| /' conftest.$ac_ext >&5
25606 glibcxx_cv_func_ldexpf_use=no
25608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25609 ac_ext=c
25610 ac_cpp='$CPP $CPPFLAGS'
25611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25619 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
25620 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
25622 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25624 for ac_func in ldexpf
25626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25627 echo "$as_me:$LINENO: checking for $ac_func" >&5
25628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25629 if eval "test \"\${$as_ac_var+set}\" = set"; then
25630 echo $ECHO_N "(cached) $ECHO_C" >&6
25631 else
25632 if test x$gcc_no_link = xyes; then
25633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25635 { (exit 1); exit 1; }; }
25637 cat >conftest.$ac_ext <<_ACEOF
25638 /* confdefs.h. */
25639 _ACEOF
25640 cat confdefs.h >>conftest.$ac_ext
25641 cat >>conftest.$ac_ext <<_ACEOF
25642 /* end confdefs.h. */
25643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25645 #define $ac_func innocuous_$ac_func
25647 /* System header to define __stub macros and hopefully few prototypes,
25648 which can conflict with char $ac_func (); below.
25649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25650 <limits.h> exists even on freestanding compilers. */
25652 #ifdef __STDC__
25653 # include <limits.h>
25654 #else
25655 # include <assert.h>
25656 #endif
25658 #undef $ac_func
25660 /* Override any gcc2 internal prototype to avoid an error. */
25661 #ifdef __cplusplus
25662 extern "C"
25664 #endif
25665 /* We use char because int might match the return type of a gcc2
25666 builtin and then its argument prototype would still apply. */
25667 char $ac_func ();
25668 /* The GNU C library defines this for functions which it implements
25669 to always fail with ENOSYS. Some functions are actually named
25670 something starting with __ and the normal name is an alias. */
25671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25672 choke me
25673 #else
25674 char (*f) () = $ac_func;
25675 #endif
25676 #ifdef __cplusplus
25678 #endif
25681 main ()
25683 return f != $ac_func;
25685 return 0;
25687 _ACEOF
25688 rm -f conftest.$ac_objext conftest$ac_exeext
25689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25690 (eval $ac_link) 2>conftest.er1
25691 ac_status=$?
25692 grep -v '^ *+' conftest.er1 >conftest.err
25693 rm -f conftest.er1
25694 cat conftest.err >&5
25695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25696 (exit $ac_status); } &&
25697 { ac_try='test -z "$ac_c_werror_flag"
25698 || test ! -s conftest.err'
25699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25700 (eval $ac_try) 2>&5
25701 ac_status=$?
25702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25703 (exit $ac_status); }; } &&
25704 { ac_try='test -s conftest$ac_exeext'
25705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25706 (eval $ac_try) 2>&5
25707 ac_status=$?
25708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25709 (exit $ac_status); }; }; then
25710 eval "$as_ac_var=yes"
25711 else
25712 echo "$as_me: failed program was:" >&5
25713 sed 's/^/| /' conftest.$ac_ext >&5
25715 eval "$as_ac_var=no"
25717 rm -f conftest.err conftest.$ac_objext \
25718 conftest$ac_exeext conftest.$ac_ext
25720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25722 if test `eval echo '${'$as_ac_var'}'` = yes; then
25723 cat >>confdefs.h <<_ACEOF
25724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25725 _ACEOF
25728 done
25730 else
25732 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
25733 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
25734 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25735 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
25736 echo $ECHO_N "(cached) $ECHO_C" >&6
25737 else
25741 ac_ext=cc
25742 ac_cpp='$CXXCPP $CPPFLAGS'
25743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25747 cat >conftest.$ac_ext <<_ACEOF
25748 /* confdefs.h. */
25749 _ACEOF
25750 cat confdefs.h >>conftest.$ac_ext
25751 cat >>conftest.$ac_ext <<_ACEOF
25752 /* end confdefs.h. */
25753 #include <math.h>
25755 main ()
25757 _ldexpf(0, 0);
25759 return 0;
25761 _ACEOF
25762 rm -f conftest.$ac_objext
25763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25764 (eval $ac_compile) 2>conftest.er1
25765 ac_status=$?
25766 grep -v '^ *+' conftest.er1 >conftest.err
25767 rm -f conftest.er1
25768 cat conftest.err >&5
25769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25770 (exit $ac_status); } &&
25771 { ac_try='test -z "$ac_cxx_werror_flag"
25772 || test ! -s conftest.err'
25773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25774 (eval $ac_try) 2>&5
25775 ac_status=$?
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); }; } &&
25778 { ac_try='test -s conftest.$ac_objext'
25779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25780 (eval $ac_try) 2>&5
25781 ac_status=$?
25782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25783 (exit $ac_status); }; }; then
25784 glibcxx_cv_func__ldexpf_use=yes
25785 else
25786 echo "$as_me: failed program was:" >&5
25787 sed 's/^/| /' conftest.$ac_ext >&5
25789 glibcxx_cv_func__ldexpf_use=no
25791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25792 ac_ext=c
25793 ac_cpp='$CPP $CPPFLAGS'
25794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25802 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
25803 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
25805 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25807 for ac_func in _ldexpf
25809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25810 echo "$as_me:$LINENO: checking for $ac_func" >&5
25811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25812 if eval "test \"\${$as_ac_var+set}\" = set"; then
25813 echo $ECHO_N "(cached) $ECHO_C" >&6
25814 else
25815 if test x$gcc_no_link = xyes; then
25816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25818 { (exit 1); exit 1; }; }
25820 cat >conftest.$ac_ext <<_ACEOF
25821 /* confdefs.h. */
25822 _ACEOF
25823 cat confdefs.h >>conftest.$ac_ext
25824 cat >>conftest.$ac_ext <<_ACEOF
25825 /* end confdefs.h. */
25826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25828 #define $ac_func innocuous_$ac_func
25830 /* System header to define __stub macros and hopefully few prototypes,
25831 which can conflict with char $ac_func (); below.
25832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25833 <limits.h> exists even on freestanding compilers. */
25835 #ifdef __STDC__
25836 # include <limits.h>
25837 #else
25838 # include <assert.h>
25839 #endif
25841 #undef $ac_func
25843 /* Override any gcc2 internal prototype to avoid an error. */
25844 #ifdef __cplusplus
25845 extern "C"
25847 #endif
25848 /* We use char because int might match the return type of a gcc2
25849 builtin and then its argument prototype would still apply. */
25850 char $ac_func ();
25851 /* The GNU C library defines this for functions which it implements
25852 to always fail with ENOSYS. Some functions are actually named
25853 something starting with __ and the normal name is an alias. */
25854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25855 choke me
25856 #else
25857 char (*f) () = $ac_func;
25858 #endif
25859 #ifdef __cplusplus
25861 #endif
25864 main ()
25866 return f != $ac_func;
25868 return 0;
25870 _ACEOF
25871 rm -f conftest.$ac_objext conftest$ac_exeext
25872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25873 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
25894 else
25895 echo "$as_me: failed program was:" >&5
25896 sed 's/^/| /' conftest.$ac_ext >&5
25898 eval "$as_ac_var=no"
25900 rm -f conftest.err conftest.$ac_objext \
25901 conftest$ac_exeext conftest.$ac_ext
25903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25905 if test `eval echo '${'$as_ac_var'}'` = yes; then
25906 cat >>confdefs.h <<_ACEOF
25907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25908 _ACEOF
25911 done
25921 echo "$as_me:$LINENO: checking for logf declaration" >&5
25922 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
25923 if test x${glibcxx_cv_func_logf_use+set} != xset; then
25924 if test "${glibcxx_cv_func_logf_use+set}" = set; then
25925 echo $ECHO_N "(cached) $ECHO_C" >&6
25926 else
25930 ac_ext=cc
25931 ac_cpp='$CXXCPP $CPPFLAGS'
25932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25936 cat >conftest.$ac_ext <<_ACEOF
25937 /* confdefs.h. */
25938 _ACEOF
25939 cat confdefs.h >>conftest.$ac_ext
25940 cat >>conftest.$ac_ext <<_ACEOF
25941 /* end confdefs.h. */
25942 #include <math.h>
25943 #ifdef HAVE_IEEEFP_H
25944 #include <ieeefp.h>
25945 #endif
25948 main ()
25950 logf(0);
25952 return 0;
25954 _ACEOF
25955 rm -f conftest.$ac_objext
25956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25957 (eval $ac_compile) 2>conftest.er1
25958 ac_status=$?
25959 grep -v '^ *+' conftest.er1 >conftest.err
25960 rm -f conftest.er1
25961 cat conftest.err >&5
25962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25963 (exit $ac_status); } &&
25964 { ac_try='test -z "$ac_cxx_werror_flag"
25965 || test ! -s conftest.err'
25966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25967 (eval $ac_try) 2>&5
25968 ac_status=$?
25969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25970 (exit $ac_status); }; } &&
25971 { ac_try='test -s conftest.$ac_objext'
25972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25973 (eval $ac_try) 2>&5
25974 ac_status=$?
25975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25976 (exit $ac_status); }; }; then
25977 glibcxx_cv_func_logf_use=yes
25978 else
25979 echo "$as_me: failed program was:" >&5
25980 sed 's/^/| /' conftest.$ac_ext >&5
25982 glibcxx_cv_func_logf_use=no
25984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25985 ac_ext=c
25986 ac_cpp='$CPP $CPPFLAGS'
25987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25995 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
25996 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
25998 if test x$glibcxx_cv_func_logf_use = x"yes"; then
26000 for ac_func in logf
26002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26003 echo "$as_me:$LINENO: checking for $ac_func" >&5
26004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26005 if eval "test \"\${$as_ac_var+set}\" = set"; then
26006 echo $ECHO_N "(cached) $ECHO_C" >&6
26007 else
26008 if test x$gcc_no_link = xyes; then
26009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26011 { (exit 1); exit 1; }; }
26013 cat >conftest.$ac_ext <<_ACEOF
26014 /* confdefs.h. */
26015 _ACEOF
26016 cat confdefs.h >>conftest.$ac_ext
26017 cat >>conftest.$ac_ext <<_ACEOF
26018 /* end confdefs.h. */
26019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26021 #define $ac_func innocuous_$ac_func
26023 /* System header to define __stub macros and hopefully few prototypes,
26024 which can conflict with char $ac_func (); below.
26025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26026 <limits.h> exists even on freestanding compilers. */
26028 #ifdef __STDC__
26029 # include <limits.h>
26030 #else
26031 # include <assert.h>
26032 #endif
26034 #undef $ac_func
26036 /* Override any gcc2 internal prototype to avoid an error. */
26037 #ifdef __cplusplus
26038 extern "C"
26040 #endif
26041 /* We use char because int might match the return type of a gcc2
26042 builtin and then its argument prototype would still apply. */
26043 char $ac_func ();
26044 /* The GNU C library defines this for functions which it implements
26045 to always fail with ENOSYS. Some functions are actually named
26046 something starting with __ and the normal name is an alias. */
26047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26048 choke me
26049 #else
26050 char (*f) () = $ac_func;
26051 #endif
26052 #ifdef __cplusplus
26054 #endif
26057 main ()
26059 return f != $ac_func;
26061 return 0;
26063 _ACEOF
26064 rm -f conftest.$ac_objext conftest$ac_exeext
26065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26066 (eval $ac_link) 2>conftest.er1
26067 ac_status=$?
26068 grep -v '^ *+' conftest.er1 >conftest.err
26069 rm -f conftest.er1
26070 cat conftest.err >&5
26071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26072 (exit $ac_status); } &&
26073 { ac_try='test -z "$ac_c_werror_flag"
26074 || test ! -s conftest.err'
26075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26076 (eval $ac_try) 2>&5
26077 ac_status=$?
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); }; } &&
26080 { ac_try='test -s conftest$ac_exeext'
26081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26082 (eval $ac_try) 2>&5
26083 ac_status=$?
26084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26085 (exit $ac_status); }; }; then
26086 eval "$as_ac_var=yes"
26087 else
26088 echo "$as_me: failed program was:" >&5
26089 sed 's/^/| /' conftest.$ac_ext >&5
26091 eval "$as_ac_var=no"
26093 rm -f conftest.err conftest.$ac_objext \
26094 conftest$ac_exeext conftest.$ac_ext
26096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26098 if test `eval echo '${'$as_ac_var'}'` = yes; then
26099 cat >>confdefs.h <<_ACEOF
26100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26101 _ACEOF
26104 done
26106 else
26108 echo "$as_me:$LINENO: checking for _logf declaration" >&5
26109 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
26110 if test x${glibcxx_cv_func__logf_use+set} != xset; then
26111 if test "${glibcxx_cv_func__logf_use+set}" = set; then
26112 echo $ECHO_N "(cached) $ECHO_C" >&6
26113 else
26117 ac_ext=cc
26118 ac_cpp='$CXXCPP $CPPFLAGS'
26119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26123 cat >conftest.$ac_ext <<_ACEOF
26124 /* confdefs.h. */
26125 _ACEOF
26126 cat confdefs.h >>conftest.$ac_ext
26127 cat >>conftest.$ac_ext <<_ACEOF
26128 /* end confdefs.h. */
26129 #include <math.h>
26130 #ifdef HAVE_IEEEFP_H
26131 #include <ieeefp.h>
26132 #endif
26135 main ()
26137 _logf(0);
26139 return 0;
26141 _ACEOF
26142 rm -f conftest.$ac_objext
26143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26144 (eval $ac_compile) 2>conftest.er1
26145 ac_status=$?
26146 grep -v '^ *+' conftest.er1 >conftest.err
26147 rm -f conftest.er1
26148 cat conftest.err >&5
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); } &&
26151 { ac_try='test -z "$ac_cxx_werror_flag"
26152 || test ! -s conftest.err'
26153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26154 (eval $ac_try) 2>&5
26155 ac_status=$?
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); }; } &&
26158 { ac_try='test -s conftest.$ac_objext'
26159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26160 (eval $ac_try) 2>&5
26161 ac_status=$?
26162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26163 (exit $ac_status); }; }; then
26164 glibcxx_cv_func__logf_use=yes
26165 else
26166 echo "$as_me: failed program was:" >&5
26167 sed 's/^/| /' conftest.$ac_ext >&5
26169 glibcxx_cv_func__logf_use=no
26171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26172 ac_ext=c
26173 ac_cpp='$CPP $CPPFLAGS'
26174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26182 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
26183 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
26185 if test x$glibcxx_cv_func__logf_use = x"yes"; then
26187 for ac_func in _logf
26189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26190 echo "$as_me:$LINENO: checking for $ac_func" >&5
26191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26192 if eval "test \"\${$as_ac_var+set}\" = set"; then
26193 echo $ECHO_N "(cached) $ECHO_C" >&6
26194 else
26195 if test x$gcc_no_link = xyes; then
26196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26198 { (exit 1); exit 1; }; }
26200 cat >conftest.$ac_ext <<_ACEOF
26201 /* confdefs.h. */
26202 _ACEOF
26203 cat confdefs.h >>conftest.$ac_ext
26204 cat >>conftest.$ac_ext <<_ACEOF
26205 /* end confdefs.h. */
26206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26208 #define $ac_func innocuous_$ac_func
26210 /* System header to define __stub macros and hopefully few prototypes,
26211 which can conflict with char $ac_func (); below.
26212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26213 <limits.h> exists even on freestanding compilers. */
26215 #ifdef __STDC__
26216 # include <limits.h>
26217 #else
26218 # include <assert.h>
26219 #endif
26221 #undef $ac_func
26223 /* Override any gcc2 internal prototype to avoid an error. */
26224 #ifdef __cplusplus
26225 extern "C"
26227 #endif
26228 /* We use char because int might match the return type of a gcc2
26229 builtin and then its argument prototype would still apply. */
26230 char $ac_func ();
26231 /* The GNU C library defines this for functions which it implements
26232 to always fail with ENOSYS. Some functions are actually named
26233 something starting with __ and the normal name is an alias. */
26234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26235 choke me
26236 #else
26237 char (*f) () = $ac_func;
26238 #endif
26239 #ifdef __cplusplus
26241 #endif
26244 main ()
26246 return f != $ac_func;
26248 return 0;
26250 _ACEOF
26251 rm -f conftest.$ac_objext conftest$ac_exeext
26252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26253 (eval $ac_link) 2>conftest.er1
26254 ac_status=$?
26255 grep -v '^ *+' conftest.er1 >conftest.err
26256 rm -f conftest.er1
26257 cat conftest.err >&5
26258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26259 (exit $ac_status); } &&
26260 { ac_try='test -z "$ac_c_werror_flag"
26261 || test ! -s conftest.err'
26262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26263 (eval $ac_try) 2>&5
26264 ac_status=$?
26265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26266 (exit $ac_status); }; } &&
26267 { ac_try='test -s conftest$ac_exeext'
26268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26269 (eval $ac_try) 2>&5
26270 ac_status=$?
26271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26272 (exit $ac_status); }; }; then
26273 eval "$as_ac_var=yes"
26274 else
26275 echo "$as_me: failed program was:" >&5
26276 sed 's/^/| /' conftest.$ac_ext >&5
26278 eval "$as_ac_var=no"
26280 rm -f conftest.err conftest.$ac_objext \
26281 conftest$ac_exeext conftest.$ac_ext
26283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26285 if test `eval echo '${'$as_ac_var'}'` = yes; then
26286 cat >>confdefs.h <<_ACEOF
26287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26288 _ACEOF
26291 done
26301 echo "$as_me:$LINENO: checking for log10f declaration" >&5
26302 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
26303 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
26304 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
26305 echo $ECHO_N "(cached) $ECHO_C" >&6
26306 else
26310 ac_ext=cc
26311 ac_cpp='$CXXCPP $CPPFLAGS'
26312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26316 cat >conftest.$ac_ext <<_ACEOF
26317 /* confdefs.h. */
26318 _ACEOF
26319 cat confdefs.h >>conftest.$ac_ext
26320 cat >>conftest.$ac_ext <<_ACEOF
26321 /* end confdefs.h. */
26322 #include <math.h>
26323 #ifdef HAVE_IEEEFP_H
26324 #include <ieeefp.h>
26325 #endif
26328 main ()
26330 log10f(0);
26332 return 0;
26334 _ACEOF
26335 rm -f conftest.$ac_objext
26336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26337 (eval $ac_compile) 2>conftest.er1
26338 ac_status=$?
26339 grep -v '^ *+' conftest.er1 >conftest.err
26340 rm -f conftest.er1
26341 cat conftest.err >&5
26342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26343 (exit $ac_status); } &&
26344 { ac_try='test -z "$ac_cxx_werror_flag"
26345 || test ! -s conftest.err'
26346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26347 (eval $ac_try) 2>&5
26348 ac_status=$?
26349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26350 (exit $ac_status); }; } &&
26351 { ac_try='test -s conftest.$ac_objext'
26352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26353 (eval $ac_try) 2>&5
26354 ac_status=$?
26355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26356 (exit $ac_status); }; }; then
26357 glibcxx_cv_func_log10f_use=yes
26358 else
26359 echo "$as_me: failed program was:" >&5
26360 sed 's/^/| /' conftest.$ac_ext >&5
26362 glibcxx_cv_func_log10f_use=no
26364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26365 ac_ext=c
26366 ac_cpp='$CPP $CPPFLAGS'
26367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26375 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
26376 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
26378 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
26380 for ac_func in log10f
26382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26383 echo "$as_me:$LINENO: checking for $ac_func" >&5
26384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26385 if eval "test \"\${$as_ac_var+set}\" = set"; then
26386 echo $ECHO_N "(cached) $ECHO_C" >&6
26387 else
26388 if test x$gcc_no_link = xyes; then
26389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26391 { (exit 1); exit 1; }; }
26393 cat >conftest.$ac_ext <<_ACEOF
26394 /* confdefs.h. */
26395 _ACEOF
26396 cat confdefs.h >>conftest.$ac_ext
26397 cat >>conftest.$ac_ext <<_ACEOF
26398 /* end confdefs.h. */
26399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26401 #define $ac_func innocuous_$ac_func
26403 /* System header to define __stub macros and hopefully few prototypes,
26404 which can conflict with char $ac_func (); below.
26405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26406 <limits.h> exists even on freestanding compilers. */
26408 #ifdef __STDC__
26409 # include <limits.h>
26410 #else
26411 # include <assert.h>
26412 #endif
26414 #undef $ac_func
26416 /* Override any gcc2 internal prototype to avoid an error. */
26417 #ifdef __cplusplus
26418 extern "C"
26420 #endif
26421 /* We use char because int might match the return type of a gcc2
26422 builtin and then its argument prototype would still apply. */
26423 char $ac_func ();
26424 /* The GNU C library defines this for functions which it implements
26425 to always fail with ENOSYS. Some functions are actually named
26426 something starting with __ and the normal name is an alias. */
26427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26428 choke me
26429 #else
26430 char (*f) () = $ac_func;
26431 #endif
26432 #ifdef __cplusplus
26434 #endif
26437 main ()
26439 return f != $ac_func;
26441 return 0;
26443 _ACEOF
26444 rm -f conftest.$ac_objext conftest$ac_exeext
26445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26446 (eval $ac_link) 2>conftest.er1
26447 ac_status=$?
26448 grep -v '^ *+' conftest.er1 >conftest.err
26449 rm -f conftest.er1
26450 cat conftest.err >&5
26451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26452 (exit $ac_status); } &&
26453 { ac_try='test -z "$ac_c_werror_flag"
26454 || test ! -s conftest.err'
26455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26456 (eval $ac_try) 2>&5
26457 ac_status=$?
26458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26459 (exit $ac_status); }; } &&
26460 { ac_try='test -s conftest$ac_exeext'
26461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26462 (eval $ac_try) 2>&5
26463 ac_status=$?
26464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26465 (exit $ac_status); }; }; then
26466 eval "$as_ac_var=yes"
26467 else
26468 echo "$as_me: failed program was:" >&5
26469 sed 's/^/| /' conftest.$ac_ext >&5
26471 eval "$as_ac_var=no"
26473 rm -f conftest.err conftest.$ac_objext \
26474 conftest$ac_exeext conftest.$ac_ext
26476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26478 if test `eval echo '${'$as_ac_var'}'` = yes; then
26479 cat >>confdefs.h <<_ACEOF
26480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26481 _ACEOF
26484 done
26486 else
26488 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
26489 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
26490 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
26491 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
26492 echo $ECHO_N "(cached) $ECHO_C" >&6
26493 else
26497 ac_ext=cc
26498 ac_cpp='$CXXCPP $CPPFLAGS'
26499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26503 cat >conftest.$ac_ext <<_ACEOF
26504 /* confdefs.h. */
26505 _ACEOF
26506 cat confdefs.h >>conftest.$ac_ext
26507 cat >>conftest.$ac_ext <<_ACEOF
26508 /* end confdefs.h. */
26509 #include <math.h>
26510 #ifdef HAVE_IEEEFP_H
26511 #include <ieeefp.h>
26512 #endif
26515 main ()
26517 _log10f(0);
26519 return 0;
26521 _ACEOF
26522 rm -f conftest.$ac_objext
26523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26524 (eval $ac_compile) 2>conftest.er1
26525 ac_status=$?
26526 grep -v '^ *+' conftest.er1 >conftest.err
26527 rm -f conftest.er1
26528 cat conftest.err >&5
26529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26530 (exit $ac_status); } &&
26531 { ac_try='test -z "$ac_cxx_werror_flag"
26532 || test ! -s conftest.err'
26533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26534 (eval $ac_try) 2>&5
26535 ac_status=$?
26536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26537 (exit $ac_status); }; } &&
26538 { ac_try='test -s conftest.$ac_objext'
26539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26540 (eval $ac_try) 2>&5
26541 ac_status=$?
26542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26543 (exit $ac_status); }; }; then
26544 glibcxx_cv_func__log10f_use=yes
26545 else
26546 echo "$as_me: failed program was:" >&5
26547 sed 's/^/| /' conftest.$ac_ext >&5
26549 glibcxx_cv_func__log10f_use=no
26551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26552 ac_ext=c
26553 ac_cpp='$CPP $CPPFLAGS'
26554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26562 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
26563 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
26565 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
26567 for ac_func in _log10f
26569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26570 echo "$as_me:$LINENO: checking for $ac_func" >&5
26571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26572 if eval "test \"\${$as_ac_var+set}\" = set"; then
26573 echo $ECHO_N "(cached) $ECHO_C" >&6
26574 else
26575 if test x$gcc_no_link = xyes; then
26576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26578 { (exit 1); exit 1; }; }
26580 cat >conftest.$ac_ext <<_ACEOF
26581 /* confdefs.h. */
26582 _ACEOF
26583 cat confdefs.h >>conftest.$ac_ext
26584 cat >>conftest.$ac_ext <<_ACEOF
26585 /* end confdefs.h. */
26586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26588 #define $ac_func innocuous_$ac_func
26590 /* System header to define __stub macros and hopefully few prototypes,
26591 which can conflict with char $ac_func (); below.
26592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26593 <limits.h> exists even on freestanding compilers. */
26595 #ifdef __STDC__
26596 # include <limits.h>
26597 #else
26598 # include <assert.h>
26599 #endif
26601 #undef $ac_func
26603 /* Override any gcc2 internal prototype to avoid an error. */
26604 #ifdef __cplusplus
26605 extern "C"
26607 #endif
26608 /* We use char because int might match the return type of a gcc2
26609 builtin and then its argument prototype would still apply. */
26610 char $ac_func ();
26611 /* The GNU C library defines this for functions which it implements
26612 to always fail with ENOSYS. Some functions are actually named
26613 something starting with __ and the normal name is an alias. */
26614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26615 choke me
26616 #else
26617 char (*f) () = $ac_func;
26618 #endif
26619 #ifdef __cplusplus
26621 #endif
26624 main ()
26626 return f != $ac_func;
26628 return 0;
26630 _ACEOF
26631 rm -f conftest.$ac_objext conftest$ac_exeext
26632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26633 (eval $ac_link) 2>conftest.er1
26634 ac_status=$?
26635 grep -v '^ *+' conftest.er1 >conftest.err
26636 rm -f conftest.er1
26637 cat conftest.err >&5
26638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26639 (exit $ac_status); } &&
26640 { ac_try='test -z "$ac_c_werror_flag"
26641 || test ! -s conftest.err'
26642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26643 (eval $ac_try) 2>&5
26644 ac_status=$?
26645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26646 (exit $ac_status); }; } &&
26647 { ac_try='test -s conftest$ac_exeext'
26648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26649 (eval $ac_try) 2>&5
26650 ac_status=$?
26651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26652 (exit $ac_status); }; }; then
26653 eval "$as_ac_var=yes"
26654 else
26655 echo "$as_me: failed program was:" >&5
26656 sed 's/^/| /' conftest.$ac_ext >&5
26658 eval "$as_ac_var=no"
26660 rm -f conftest.err conftest.$ac_objext \
26661 conftest$ac_exeext conftest.$ac_ext
26663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26665 if test `eval echo '${'$as_ac_var'}'` = yes; then
26666 cat >>confdefs.h <<_ACEOF
26667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26668 _ACEOF
26671 done
26681 echo "$as_me:$LINENO: checking for modff declaration" >&5
26682 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
26683 if test x${glibcxx_cv_func_modff_use+set} != xset; then
26684 if test "${glibcxx_cv_func_modff_use+set}" = set; then
26685 echo $ECHO_N "(cached) $ECHO_C" >&6
26686 else
26690 ac_ext=cc
26691 ac_cpp='$CXXCPP $CPPFLAGS'
26692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26696 cat >conftest.$ac_ext <<_ACEOF
26697 /* confdefs.h. */
26698 _ACEOF
26699 cat confdefs.h >>conftest.$ac_ext
26700 cat >>conftest.$ac_ext <<_ACEOF
26701 /* end confdefs.h. */
26702 #include <math.h>
26704 main ()
26706 modff(0, 0);
26708 return 0;
26710 _ACEOF
26711 rm -f conftest.$ac_objext
26712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26713 (eval $ac_compile) 2>conftest.er1
26714 ac_status=$?
26715 grep -v '^ *+' conftest.er1 >conftest.err
26716 rm -f conftest.er1
26717 cat conftest.err >&5
26718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26719 (exit $ac_status); } &&
26720 { ac_try='test -z "$ac_cxx_werror_flag"
26721 || test ! -s conftest.err'
26722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26723 (eval $ac_try) 2>&5
26724 ac_status=$?
26725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26726 (exit $ac_status); }; } &&
26727 { ac_try='test -s conftest.$ac_objext'
26728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26729 (eval $ac_try) 2>&5
26730 ac_status=$?
26731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26732 (exit $ac_status); }; }; then
26733 glibcxx_cv_func_modff_use=yes
26734 else
26735 echo "$as_me: failed program was:" >&5
26736 sed 's/^/| /' conftest.$ac_ext >&5
26738 glibcxx_cv_func_modff_use=no
26740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26741 ac_ext=c
26742 ac_cpp='$CPP $CPPFLAGS'
26743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26751 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
26752 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
26754 if test x$glibcxx_cv_func_modff_use = x"yes"; then
26756 for ac_func in modff
26758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26759 echo "$as_me:$LINENO: checking for $ac_func" >&5
26760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26761 if eval "test \"\${$as_ac_var+set}\" = set"; then
26762 echo $ECHO_N "(cached) $ECHO_C" >&6
26763 else
26764 if test x$gcc_no_link = xyes; then
26765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26767 { (exit 1); exit 1; }; }
26769 cat >conftest.$ac_ext <<_ACEOF
26770 /* confdefs.h. */
26771 _ACEOF
26772 cat confdefs.h >>conftest.$ac_ext
26773 cat >>conftest.$ac_ext <<_ACEOF
26774 /* end confdefs.h. */
26775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26777 #define $ac_func innocuous_$ac_func
26779 /* System header to define __stub macros and hopefully few prototypes,
26780 which can conflict with char $ac_func (); below.
26781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26782 <limits.h> exists even on freestanding compilers. */
26784 #ifdef __STDC__
26785 # include <limits.h>
26786 #else
26787 # include <assert.h>
26788 #endif
26790 #undef $ac_func
26792 /* Override any gcc2 internal prototype to avoid an error. */
26793 #ifdef __cplusplus
26794 extern "C"
26796 #endif
26797 /* We use char because int might match the return type of a gcc2
26798 builtin and then its argument prototype would still apply. */
26799 char $ac_func ();
26800 /* The GNU C library defines this for functions which it implements
26801 to always fail with ENOSYS. Some functions are actually named
26802 something starting with __ and the normal name is an alias. */
26803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26804 choke me
26805 #else
26806 char (*f) () = $ac_func;
26807 #endif
26808 #ifdef __cplusplus
26810 #endif
26813 main ()
26815 return f != $ac_func;
26817 return 0;
26819 _ACEOF
26820 rm -f conftest.$ac_objext conftest$ac_exeext
26821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26822 (eval $ac_link) 2>conftest.er1
26823 ac_status=$?
26824 grep -v '^ *+' conftest.er1 >conftest.err
26825 rm -f conftest.er1
26826 cat conftest.err >&5
26827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26828 (exit $ac_status); } &&
26829 { ac_try='test -z "$ac_c_werror_flag"
26830 || test ! -s conftest.err'
26831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26832 (eval $ac_try) 2>&5
26833 ac_status=$?
26834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835 (exit $ac_status); }; } &&
26836 { ac_try='test -s conftest$ac_exeext'
26837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26838 (eval $ac_try) 2>&5
26839 ac_status=$?
26840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26841 (exit $ac_status); }; }; then
26842 eval "$as_ac_var=yes"
26843 else
26844 echo "$as_me: failed program was:" >&5
26845 sed 's/^/| /' conftest.$ac_ext >&5
26847 eval "$as_ac_var=no"
26849 rm -f conftest.err conftest.$ac_objext \
26850 conftest$ac_exeext conftest.$ac_ext
26852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26854 if test `eval echo '${'$as_ac_var'}'` = yes; then
26855 cat >>confdefs.h <<_ACEOF
26856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26857 _ACEOF
26860 done
26862 else
26864 echo "$as_me:$LINENO: checking for _modff declaration" >&5
26865 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
26866 if test x${glibcxx_cv_func__modff_use+set} != xset; then
26867 if test "${glibcxx_cv_func__modff_use+set}" = set; then
26868 echo $ECHO_N "(cached) $ECHO_C" >&6
26869 else
26873 ac_ext=cc
26874 ac_cpp='$CXXCPP $CPPFLAGS'
26875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26879 cat >conftest.$ac_ext <<_ACEOF
26880 /* confdefs.h. */
26881 _ACEOF
26882 cat confdefs.h >>conftest.$ac_ext
26883 cat >>conftest.$ac_ext <<_ACEOF
26884 /* end confdefs.h. */
26885 #include <math.h>
26887 main ()
26889 _modff(0, 0);
26891 return 0;
26893 _ACEOF
26894 rm -f conftest.$ac_objext
26895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26896 (eval $ac_compile) 2>conftest.er1
26897 ac_status=$?
26898 grep -v '^ *+' conftest.er1 >conftest.err
26899 rm -f conftest.er1
26900 cat conftest.err >&5
26901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26902 (exit $ac_status); } &&
26903 { ac_try='test -z "$ac_cxx_werror_flag"
26904 || test ! -s conftest.err'
26905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26906 (eval $ac_try) 2>&5
26907 ac_status=$?
26908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26909 (exit $ac_status); }; } &&
26910 { ac_try='test -s conftest.$ac_objext'
26911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26912 (eval $ac_try) 2>&5
26913 ac_status=$?
26914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26915 (exit $ac_status); }; }; then
26916 glibcxx_cv_func__modff_use=yes
26917 else
26918 echo "$as_me: failed program was:" >&5
26919 sed 's/^/| /' conftest.$ac_ext >&5
26921 glibcxx_cv_func__modff_use=no
26923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26924 ac_ext=c
26925 ac_cpp='$CPP $CPPFLAGS'
26926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26934 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
26935 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
26937 if test x$glibcxx_cv_func__modff_use = x"yes"; then
26939 for ac_func in _modff
26941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26942 echo "$as_me:$LINENO: checking for $ac_func" >&5
26943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26944 if eval "test \"\${$as_ac_var+set}\" = set"; then
26945 echo $ECHO_N "(cached) $ECHO_C" >&6
26946 else
26947 if test x$gcc_no_link = xyes; then
26948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26950 { (exit 1); exit 1; }; }
26952 cat >conftest.$ac_ext <<_ACEOF
26953 /* confdefs.h. */
26954 _ACEOF
26955 cat confdefs.h >>conftest.$ac_ext
26956 cat >>conftest.$ac_ext <<_ACEOF
26957 /* end confdefs.h. */
26958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26960 #define $ac_func innocuous_$ac_func
26962 /* System header to define __stub macros and hopefully few prototypes,
26963 which can conflict with char $ac_func (); below.
26964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26965 <limits.h> exists even on freestanding compilers. */
26967 #ifdef __STDC__
26968 # include <limits.h>
26969 #else
26970 # include <assert.h>
26971 #endif
26973 #undef $ac_func
26975 /* Override any gcc2 internal prototype to avoid an error. */
26976 #ifdef __cplusplus
26977 extern "C"
26979 #endif
26980 /* We use char because int might match the return type of a gcc2
26981 builtin and then its argument prototype would still apply. */
26982 char $ac_func ();
26983 /* The GNU C library defines this for functions which it implements
26984 to always fail with ENOSYS. Some functions are actually named
26985 something starting with __ and the normal name is an alias. */
26986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26987 choke me
26988 #else
26989 char (*f) () = $ac_func;
26990 #endif
26991 #ifdef __cplusplus
26993 #endif
26996 main ()
26998 return f != $ac_func;
27000 return 0;
27002 _ACEOF
27003 rm -f conftest.$ac_objext conftest$ac_exeext
27004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27005 (eval $ac_link) 2>conftest.er1
27006 ac_status=$?
27007 grep -v '^ *+' conftest.er1 >conftest.err
27008 rm -f conftest.er1
27009 cat conftest.err >&5
27010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27011 (exit $ac_status); } &&
27012 { ac_try='test -z "$ac_c_werror_flag"
27013 || test ! -s conftest.err'
27014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27015 (eval $ac_try) 2>&5
27016 ac_status=$?
27017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27018 (exit $ac_status); }; } &&
27019 { ac_try='test -s conftest$ac_exeext'
27020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27021 (eval $ac_try) 2>&5
27022 ac_status=$?
27023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27024 (exit $ac_status); }; }; then
27025 eval "$as_ac_var=yes"
27026 else
27027 echo "$as_me: failed program was:" >&5
27028 sed 's/^/| /' conftest.$ac_ext >&5
27030 eval "$as_ac_var=no"
27032 rm -f conftest.err conftest.$ac_objext \
27033 conftest$ac_exeext conftest.$ac_ext
27035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27037 if test `eval echo '${'$as_ac_var'}'` = yes; then
27038 cat >>confdefs.h <<_ACEOF
27039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27040 _ACEOF
27043 done
27053 echo "$as_me:$LINENO: checking for modf declaration" >&5
27054 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
27055 if test x${glibcxx_cv_func_modf_use+set} != xset; then
27056 if test "${glibcxx_cv_func_modf_use+set}" = set; then
27057 echo $ECHO_N "(cached) $ECHO_C" >&6
27058 else
27062 ac_ext=cc
27063 ac_cpp='$CXXCPP $CPPFLAGS'
27064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27068 cat >conftest.$ac_ext <<_ACEOF
27069 /* confdefs.h. */
27070 _ACEOF
27071 cat confdefs.h >>conftest.$ac_ext
27072 cat >>conftest.$ac_ext <<_ACEOF
27073 /* end confdefs.h. */
27074 #include <math.h>
27076 main ()
27078 modf(0, 0);
27080 return 0;
27082 _ACEOF
27083 rm -f conftest.$ac_objext
27084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27085 (eval $ac_compile) 2>conftest.er1
27086 ac_status=$?
27087 grep -v '^ *+' conftest.er1 >conftest.err
27088 rm -f conftest.er1
27089 cat conftest.err >&5
27090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27091 (exit $ac_status); } &&
27092 { ac_try='test -z "$ac_cxx_werror_flag"
27093 || test ! -s conftest.err'
27094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27095 (eval $ac_try) 2>&5
27096 ac_status=$?
27097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27098 (exit $ac_status); }; } &&
27099 { ac_try='test -s conftest.$ac_objext'
27100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27101 (eval $ac_try) 2>&5
27102 ac_status=$?
27103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27104 (exit $ac_status); }; }; then
27105 glibcxx_cv_func_modf_use=yes
27106 else
27107 echo "$as_me: failed program was:" >&5
27108 sed 's/^/| /' conftest.$ac_ext >&5
27110 glibcxx_cv_func_modf_use=no
27112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27113 ac_ext=c
27114 ac_cpp='$CPP $CPPFLAGS'
27115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27123 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
27124 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
27126 if test x$glibcxx_cv_func_modf_use = x"yes"; then
27128 for ac_func in modf
27130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27131 echo "$as_me:$LINENO: checking for $ac_func" >&5
27132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27133 if eval "test \"\${$as_ac_var+set}\" = set"; then
27134 echo $ECHO_N "(cached) $ECHO_C" >&6
27135 else
27136 if test x$gcc_no_link = xyes; then
27137 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27139 { (exit 1); exit 1; }; }
27141 cat >conftest.$ac_ext <<_ACEOF
27142 /* confdefs.h. */
27143 _ACEOF
27144 cat confdefs.h >>conftest.$ac_ext
27145 cat >>conftest.$ac_ext <<_ACEOF
27146 /* end confdefs.h. */
27147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27149 #define $ac_func innocuous_$ac_func
27151 /* System header to define __stub macros and hopefully few prototypes,
27152 which can conflict with char $ac_func (); below.
27153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27154 <limits.h> exists even on freestanding compilers. */
27156 #ifdef __STDC__
27157 # include <limits.h>
27158 #else
27159 # include <assert.h>
27160 #endif
27162 #undef $ac_func
27164 /* Override any gcc2 internal prototype to avoid an error. */
27165 #ifdef __cplusplus
27166 extern "C"
27168 #endif
27169 /* We use char because int might match the return type of a gcc2
27170 builtin and then its argument prototype would still apply. */
27171 char $ac_func ();
27172 /* The GNU C library defines this for functions which it implements
27173 to always fail with ENOSYS. Some functions are actually named
27174 something starting with __ and the normal name is an alias. */
27175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27176 choke me
27177 #else
27178 char (*f) () = $ac_func;
27179 #endif
27180 #ifdef __cplusplus
27182 #endif
27185 main ()
27187 return f != $ac_func;
27189 return 0;
27191 _ACEOF
27192 rm -f conftest.$ac_objext conftest$ac_exeext
27193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27194 (eval $ac_link) 2>conftest.er1
27195 ac_status=$?
27196 grep -v '^ *+' conftest.er1 >conftest.err
27197 rm -f conftest.er1
27198 cat conftest.err >&5
27199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27200 (exit $ac_status); } &&
27201 { ac_try='test -z "$ac_c_werror_flag"
27202 || test ! -s conftest.err'
27203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27204 (eval $ac_try) 2>&5
27205 ac_status=$?
27206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27207 (exit $ac_status); }; } &&
27208 { ac_try='test -s conftest$ac_exeext'
27209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27210 (eval $ac_try) 2>&5
27211 ac_status=$?
27212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27213 (exit $ac_status); }; }; then
27214 eval "$as_ac_var=yes"
27215 else
27216 echo "$as_me: failed program was:" >&5
27217 sed 's/^/| /' conftest.$ac_ext >&5
27219 eval "$as_ac_var=no"
27221 rm -f conftest.err conftest.$ac_objext \
27222 conftest$ac_exeext conftest.$ac_ext
27224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27226 if test `eval echo '${'$as_ac_var'}'` = yes; then
27227 cat >>confdefs.h <<_ACEOF
27228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27229 _ACEOF
27232 done
27234 else
27236 echo "$as_me:$LINENO: checking for _modf declaration" >&5
27237 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
27238 if test x${glibcxx_cv_func__modf_use+set} != xset; then
27239 if test "${glibcxx_cv_func__modf_use+set}" = set; then
27240 echo $ECHO_N "(cached) $ECHO_C" >&6
27241 else
27245 ac_ext=cc
27246 ac_cpp='$CXXCPP $CPPFLAGS'
27247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27251 cat >conftest.$ac_ext <<_ACEOF
27252 /* confdefs.h. */
27253 _ACEOF
27254 cat confdefs.h >>conftest.$ac_ext
27255 cat >>conftest.$ac_ext <<_ACEOF
27256 /* end confdefs.h. */
27257 #include <math.h>
27259 main ()
27261 _modf(0, 0);
27263 return 0;
27265 _ACEOF
27266 rm -f conftest.$ac_objext
27267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27268 (eval $ac_compile) 2>conftest.er1
27269 ac_status=$?
27270 grep -v '^ *+' conftest.er1 >conftest.err
27271 rm -f conftest.er1
27272 cat conftest.err >&5
27273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27274 (exit $ac_status); } &&
27275 { ac_try='test -z "$ac_cxx_werror_flag"
27276 || test ! -s conftest.err'
27277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27278 (eval $ac_try) 2>&5
27279 ac_status=$?
27280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27281 (exit $ac_status); }; } &&
27282 { ac_try='test -s conftest.$ac_objext'
27283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27284 (eval $ac_try) 2>&5
27285 ac_status=$?
27286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27287 (exit $ac_status); }; }; then
27288 glibcxx_cv_func__modf_use=yes
27289 else
27290 echo "$as_me: failed program was:" >&5
27291 sed 's/^/| /' conftest.$ac_ext >&5
27293 glibcxx_cv_func__modf_use=no
27295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27296 ac_ext=c
27297 ac_cpp='$CPP $CPPFLAGS'
27298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27306 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
27307 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
27309 if test x$glibcxx_cv_func__modf_use = x"yes"; then
27311 for ac_func in _modf
27313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27314 echo "$as_me:$LINENO: checking for $ac_func" >&5
27315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27316 if eval "test \"\${$as_ac_var+set}\" = set"; then
27317 echo $ECHO_N "(cached) $ECHO_C" >&6
27318 else
27319 if test x$gcc_no_link = xyes; then
27320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27322 { (exit 1); exit 1; }; }
27324 cat >conftest.$ac_ext <<_ACEOF
27325 /* confdefs.h. */
27326 _ACEOF
27327 cat confdefs.h >>conftest.$ac_ext
27328 cat >>conftest.$ac_ext <<_ACEOF
27329 /* end confdefs.h. */
27330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27332 #define $ac_func innocuous_$ac_func
27334 /* System header to define __stub macros and hopefully few prototypes,
27335 which can conflict with char $ac_func (); below.
27336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27337 <limits.h> exists even on freestanding compilers. */
27339 #ifdef __STDC__
27340 # include <limits.h>
27341 #else
27342 # include <assert.h>
27343 #endif
27345 #undef $ac_func
27347 /* Override any gcc2 internal prototype to avoid an error. */
27348 #ifdef __cplusplus
27349 extern "C"
27351 #endif
27352 /* We use char because int might match the return type of a gcc2
27353 builtin and then its argument prototype would still apply. */
27354 char $ac_func ();
27355 /* The GNU C library defines this for functions which it implements
27356 to always fail with ENOSYS. Some functions are actually named
27357 something starting with __ and the normal name is an alias. */
27358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27359 choke me
27360 #else
27361 char (*f) () = $ac_func;
27362 #endif
27363 #ifdef __cplusplus
27365 #endif
27368 main ()
27370 return f != $ac_func;
27372 return 0;
27374 _ACEOF
27375 rm -f conftest.$ac_objext conftest$ac_exeext
27376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27377 (eval $ac_link) 2>conftest.er1
27378 ac_status=$?
27379 grep -v '^ *+' conftest.er1 >conftest.err
27380 rm -f conftest.er1
27381 cat conftest.err >&5
27382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27383 (exit $ac_status); } &&
27384 { ac_try='test -z "$ac_c_werror_flag"
27385 || test ! -s conftest.err'
27386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27387 (eval $ac_try) 2>&5
27388 ac_status=$?
27389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27390 (exit $ac_status); }; } &&
27391 { ac_try='test -s conftest$ac_exeext'
27392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27393 (eval $ac_try) 2>&5
27394 ac_status=$?
27395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27396 (exit $ac_status); }; }; then
27397 eval "$as_ac_var=yes"
27398 else
27399 echo "$as_me: failed program was:" >&5
27400 sed 's/^/| /' conftest.$ac_ext >&5
27402 eval "$as_ac_var=no"
27404 rm -f conftest.err conftest.$ac_objext \
27405 conftest$ac_exeext conftest.$ac_ext
27407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27409 if test `eval echo '${'$as_ac_var'}'` = yes; then
27410 cat >>confdefs.h <<_ACEOF
27411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27412 _ACEOF
27415 done
27425 echo "$as_me:$LINENO: checking for powf declaration" >&5
27426 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
27427 if test x${glibcxx_cv_func_powf_use+set} != xset; then
27428 if test "${glibcxx_cv_func_powf_use+set}" = set; then
27429 echo $ECHO_N "(cached) $ECHO_C" >&6
27430 else
27434 ac_ext=cc
27435 ac_cpp='$CXXCPP $CPPFLAGS'
27436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27440 cat >conftest.$ac_ext <<_ACEOF
27441 /* confdefs.h. */
27442 _ACEOF
27443 cat confdefs.h >>conftest.$ac_ext
27444 cat >>conftest.$ac_ext <<_ACEOF
27445 /* end confdefs.h. */
27446 #include <math.h>
27448 main ()
27450 powf(0, 0);
27452 return 0;
27454 _ACEOF
27455 rm -f conftest.$ac_objext
27456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27457 (eval $ac_compile) 2>conftest.er1
27458 ac_status=$?
27459 grep -v '^ *+' conftest.er1 >conftest.err
27460 rm -f conftest.er1
27461 cat conftest.err >&5
27462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27463 (exit $ac_status); } &&
27464 { ac_try='test -z "$ac_cxx_werror_flag"
27465 || test ! -s conftest.err'
27466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27467 (eval $ac_try) 2>&5
27468 ac_status=$?
27469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27470 (exit $ac_status); }; } &&
27471 { ac_try='test -s conftest.$ac_objext'
27472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27473 (eval $ac_try) 2>&5
27474 ac_status=$?
27475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27476 (exit $ac_status); }; }; then
27477 glibcxx_cv_func_powf_use=yes
27478 else
27479 echo "$as_me: failed program was:" >&5
27480 sed 's/^/| /' conftest.$ac_ext >&5
27482 glibcxx_cv_func_powf_use=no
27484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27485 ac_ext=c
27486 ac_cpp='$CPP $CPPFLAGS'
27487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27495 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
27496 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
27498 if test x$glibcxx_cv_func_powf_use = x"yes"; then
27500 for ac_func in powf
27502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27503 echo "$as_me:$LINENO: checking for $ac_func" >&5
27504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27505 if eval "test \"\${$as_ac_var+set}\" = set"; then
27506 echo $ECHO_N "(cached) $ECHO_C" >&6
27507 else
27508 if test x$gcc_no_link = xyes; then
27509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27511 { (exit 1); exit 1; }; }
27513 cat >conftest.$ac_ext <<_ACEOF
27514 /* confdefs.h. */
27515 _ACEOF
27516 cat confdefs.h >>conftest.$ac_ext
27517 cat >>conftest.$ac_ext <<_ACEOF
27518 /* end confdefs.h. */
27519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27521 #define $ac_func innocuous_$ac_func
27523 /* System header to define __stub macros and hopefully few prototypes,
27524 which can conflict with char $ac_func (); below.
27525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27526 <limits.h> exists even on freestanding compilers. */
27528 #ifdef __STDC__
27529 # include <limits.h>
27530 #else
27531 # include <assert.h>
27532 #endif
27534 #undef $ac_func
27536 /* Override any gcc2 internal prototype to avoid an error. */
27537 #ifdef __cplusplus
27538 extern "C"
27540 #endif
27541 /* We use char because int might match the return type of a gcc2
27542 builtin and then its argument prototype would still apply. */
27543 char $ac_func ();
27544 /* The GNU C library defines this for functions which it implements
27545 to always fail with ENOSYS. Some functions are actually named
27546 something starting with __ and the normal name is an alias. */
27547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27548 choke me
27549 #else
27550 char (*f) () = $ac_func;
27551 #endif
27552 #ifdef __cplusplus
27554 #endif
27557 main ()
27559 return f != $ac_func;
27561 return 0;
27563 _ACEOF
27564 rm -f conftest.$ac_objext conftest$ac_exeext
27565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27566 (eval $ac_link) 2>conftest.er1
27567 ac_status=$?
27568 grep -v '^ *+' conftest.er1 >conftest.err
27569 rm -f conftest.er1
27570 cat conftest.err >&5
27571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27572 (exit $ac_status); } &&
27573 { ac_try='test -z "$ac_c_werror_flag"
27574 || test ! -s conftest.err'
27575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27576 (eval $ac_try) 2>&5
27577 ac_status=$?
27578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27579 (exit $ac_status); }; } &&
27580 { ac_try='test -s conftest$ac_exeext'
27581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27582 (eval $ac_try) 2>&5
27583 ac_status=$?
27584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27585 (exit $ac_status); }; }; then
27586 eval "$as_ac_var=yes"
27587 else
27588 echo "$as_me: failed program was:" >&5
27589 sed 's/^/| /' conftest.$ac_ext >&5
27591 eval "$as_ac_var=no"
27593 rm -f conftest.err conftest.$ac_objext \
27594 conftest$ac_exeext conftest.$ac_ext
27596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27598 if test `eval echo '${'$as_ac_var'}'` = yes; then
27599 cat >>confdefs.h <<_ACEOF
27600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27601 _ACEOF
27604 done
27606 else
27608 echo "$as_me:$LINENO: checking for _powf declaration" >&5
27609 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
27610 if test x${glibcxx_cv_func__powf_use+set} != xset; then
27611 if test "${glibcxx_cv_func__powf_use+set}" = set; then
27612 echo $ECHO_N "(cached) $ECHO_C" >&6
27613 else
27617 ac_ext=cc
27618 ac_cpp='$CXXCPP $CPPFLAGS'
27619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27623 cat >conftest.$ac_ext <<_ACEOF
27624 /* confdefs.h. */
27625 _ACEOF
27626 cat confdefs.h >>conftest.$ac_ext
27627 cat >>conftest.$ac_ext <<_ACEOF
27628 /* end confdefs.h. */
27629 #include <math.h>
27631 main ()
27633 _powf(0, 0);
27635 return 0;
27637 _ACEOF
27638 rm -f conftest.$ac_objext
27639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27640 (eval $ac_compile) 2>conftest.er1
27641 ac_status=$?
27642 grep -v '^ *+' conftest.er1 >conftest.err
27643 rm -f conftest.er1
27644 cat conftest.err >&5
27645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27646 (exit $ac_status); } &&
27647 { ac_try='test -z "$ac_cxx_werror_flag"
27648 || test ! -s conftest.err'
27649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27650 (eval $ac_try) 2>&5
27651 ac_status=$?
27652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27653 (exit $ac_status); }; } &&
27654 { ac_try='test -s conftest.$ac_objext'
27655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27656 (eval $ac_try) 2>&5
27657 ac_status=$?
27658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27659 (exit $ac_status); }; }; then
27660 glibcxx_cv_func__powf_use=yes
27661 else
27662 echo "$as_me: failed program was:" >&5
27663 sed 's/^/| /' conftest.$ac_ext >&5
27665 glibcxx_cv_func__powf_use=no
27667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27668 ac_ext=c
27669 ac_cpp='$CPP $CPPFLAGS'
27670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27678 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
27679 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
27681 if test x$glibcxx_cv_func__powf_use = x"yes"; then
27683 for ac_func in _powf
27685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27686 echo "$as_me:$LINENO: checking for $ac_func" >&5
27687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27688 if eval "test \"\${$as_ac_var+set}\" = set"; then
27689 echo $ECHO_N "(cached) $ECHO_C" >&6
27690 else
27691 if test x$gcc_no_link = xyes; then
27692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27694 { (exit 1); exit 1; }; }
27696 cat >conftest.$ac_ext <<_ACEOF
27697 /* confdefs.h. */
27698 _ACEOF
27699 cat confdefs.h >>conftest.$ac_ext
27700 cat >>conftest.$ac_ext <<_ACEOF
27701 /* end confdefs.h. */
27702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27704 #define $ac_func innocuous_$ac_func
27706 /* System header to define __stub macros and hopefully few prototypes,
27707 which can conflict with char $ac_func (); below.
27708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27709 <limits.h> exists even on freestanding compilers. */
27711 #ifdef __STDC__
27712 # include <limits.h>
27713 #else
27714 # include <assert.h>
27715 #endif
27717 #undef $ac_func
27719 /* Override any gcc2 internal prototype to avoid an error. */
27720 #ifdef __cplusplus
27721 extern "C"
27723 #endif
27724 /* We use char because int might match the return type of a gcc2
27725 builtin and then its argument prototype would still apply. */
27726 char $ac_func ();
27727 /* The GNU C library defines this for functions which it implements
27728 to always fail with ENOSYS. Some functions are actually named
27729 something starting with __ and the normal name is an alias. */
27730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27731 choke me
27732 #else
27733 char (*f) () = $ac_func;
27734 #endif
27735 #ifdef __cplusplus
27737 #endif
27740 main ()
27742 return f != $ac_func;
27744 return 0;
27746 _ACEOF
27747 rm -f conftest.$ac_objext conftest$ac_exeext
27748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27749 (eval $ac_link) 2>conftest.er1
27750 ac_status=$?
27751 grep -v '^ *+' conftest.er1 >conftest.err
27752 rm -f conftest.er1
27753 cat conftest.err >&5
27754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27755 (exit $ac_status); } &&
27756 { ac_try='test -z "$ac_c_werror_flag"
27757 || test ! -s conftest.err'
27758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27759 (eval $ac_try) 2>&5
27760 ac_status=$?
27761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27762 (exit $ac_status); }; } &&
27763 { ac_try='test -s conftest$ac_exeext'
27764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27765 (eval $ac_try) 2>&5
27766 ac_status=$?
27767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27768 (exit $ac_status); }; }; then
27769 eval "$as_ac_var=yes"
27770 else
27771 echo "$as_me: failed program was:" >&5
27772 sed 's/^/| /' conftest.$ac_ext >&5
27774 eval "$as_ac_var=no"
27776 rm -f conftest.err conftest.$ac_objext \
27777 conftest$ac_exeext conftest.$ac_ext
27779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27781 if test `eval echo '${'$as_ac_var'}'` = yes; then
27782 cat >>confdefs.h <<_ACEOF
27783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27784 _ACEOF
27787 done
27797 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
27798 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
27799 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
27800 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
27801 echo $ECHO_N "(cached) $ECHO_C" >&6
27802 else
27806 ac_ext=cc
27807 ac_cpp='$CXXCPP $CPPFLAGS'
27808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27812 cat >conftest.$ac_ext <<_ACEOF
27813 /* confdefs.h. */
27814 _ACEOF
27815 cat confdefs.h >>conftest.$ac_ext
27816 cat >>conftest.$ac_ext <<_ACEOF
27817 /* end confdefs.h. */
27818 #include <math.h>
27819 #ifdef HAVE_IEEEFP_H
27820 #include <ieeefp.h>
27821 #endif
27824 main ()
27826 sqrtf(0);
27828 return 0;
27830 _ACEOF
27831 rm -f conftest.$ac_objext
27832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27833 (eval $ac_compile) 2>conftest.er1
27834 ac_status=$?
27835 grep -v '^ *+' conftest.er1 >conftest.err
27836 rm -f conftest.er1
27837 cat conftest.err >&5
27838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27839 (exit $ac_status); } &&
27840 { ac_try='test -z "$ac_cxx_werror_flag"
27841 || test ! -s conftest.err'
27842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27843 (eval $ac_try) 2>&5
27844 ac_status=$?
27845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27846 (exit $ac_status); }; } &&
27847 { ac_try='test -s conftest.$ac_objext'
27848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27849 (eval $ac_try) 2>&5
27850 ac_status=$?
27851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27852 (exit $ac_status); }; }; then
27853 glibcxx_cv_func_sqrtf_use=yes
27854 else
27855 echo "$as_me: failed program was:" >&5
27856 sed 's/^/| /' conftest.$ac_ext >&5
27858 glibcxx_cv_func_sqrtf_use=no
27860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27861 ac_ext=c
27862 ac_cpp='$CPP $CPPFLAGS'
27863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27871 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
27872 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
27874 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
27876 for ac_func in sqrtf
27878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27879 echo "$as_me:$LINENO: checking for $ac_func" >&5
27880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27881 if eval "test \"\${$as_ac_var+set}\" = set"; then
27882 echo $ECHO_N "(cached) $ECHO_C" >&6
27883 else
27884 if test x$gcc_no_link = xyes; then
27885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27887 { (exit 1); exit 1; }; }
27889 cat >conftest.$ac_ext <<_ACEOF
27890 /* confdefs.h. */
27891 _ACEOF
27892 cat confdefs.h >>conftest.$ac_ext
27893 cat >>conftest.$ac_ext <<_ACEOF
27894 /* end confdefs.h. */
27895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27897 #define $ac_func innocuous_$ac_func
27899 /* System header to define __stub macros and hopefully few prototypes,
27900 which can conflict with char $ac_func (); below.
27901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27902 <limits.h> exists even on freestanding compilers. */
27904 #ifdef __STDC__
27905 # include <limits.h>
27906 #else
27907 # include <assert.h>
27908 #endif
27910 #undef $ac_func
27912 /* Override any gcc2 internal prototype to avoid an error. */
27913 #ifdef __cplusplus
27914 extern "C"
27916 #endif
27917 /* We use char because int might match the return type of a gcc2
27918 builtin and then its argument prototype would still apply. */
27919 char $ac_func ();
27920 /* The GNU C library defines this for functions which it implements
27921 to always fail with ENOSYS. Some functions are actually named
27922 something starting with __ and the normal name is an alias. */
27923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27924 choke me
27925 #else
27926 char (*f) () = $ac_func;
27927 #endif
27928 #ifdef __cplusplus
27930 #endif
27933 main ()
27935 return f != $ac_func;
27937 return 0;
27939 _ACEOF
27940 rm -f conftest.$ac_objext conftest$ac_exeext
27941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27942 (eval $ac_link) 2>conftest.er1
27943 ac_status=$?
27944 grep -v '^ *+' conftest.er1 >conftest.err
27945 rm -f conftest.er1
27946 cat conftest.err >&5
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); } &&
27949 { ac_try='test -z "$ac_c_werror_flag"
27950 || test ! -s conftest.err'
27951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27952 (eval $ac_try) 2>&5
27953 ac_status=$?
27954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27955 (exit $ac_status); }; } &&
27956 { ac_try='test -s conftest$ac_exeext'
27957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27958 (eval $ac_try) 2>&5
27959 ac_status=$?
27960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27961 (exit $ac_status); }; }; then
27962 eval "$as_ac_var=yes"
27963 else
27964 echo "$as_me: failed program was:" >&5
27965 sed 's/^/| /' conftest.$ac_ext >&5
27967 eval "$as_ac_var=no"
27969 rm -f conftest.err conftest.$ac_objext \
27970 conftest$ac_exeext conftest.$ac_ext
27972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27974 if test `eval echo '${'$as_ac_var'}'` = yes; then
27975 cat >>confdefs.h <<_ACEOF
27976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27977 _ACEOF
27980 done
27982 else
27984 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
27985 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
27986 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
27987 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
27988 echo $ECHO_N "(cached) $ECHO_C" >&6
27989 else
27993 ac_ext=cc
27994 ac_cpp='$CXXCPP $CPPFLAGS'
27995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27999 cat >conftest.$ac_ext <<_ACEOF
28000 /* confdefs.h. */
28001 _ACEOF
28002 cat confdefs.h >>conftest.$ac_ext
28003 cat >>conftest.$ac_ext <<_ACEOF
28004 /* end confdefs.h. */
28005 #include <math.h>
28006 #ifdef HAVE_IEEEFP_H
28007 #include <ieeefp.h>
28008 #endif
28011 main ()
28013 _sqrtf(0);
28015 return 0;
28017 _ACEOF
28018 rm -f conftest.$ac_objext
28019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28020 (eval $ac_compile) 2>conftest.er1
28021 ac_status=$?
28022 grep -v '^ *+' conftest.er1 >conftest.err
28023 rm -f conftest.er1
28024 cat conftest.err >&5
28025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28026 (exit $ac_status); } &&
28027 { ac_try='test -z "$ac_cxx_werror_flag"
28028 || test ! -s conftest.err'
28029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28030 (eval $ac_try) 2>&5
28031 ac_status=$?
28032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28033 (exit $ac_status); }; } &&
28034 { ac_try='test -s conftest.$ac_objext'
28035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28036 (eval $ac_try) 2>&5
28037 ac_status=$?
28038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28039 (exit $ac_status); }; }; then
28040 glibcxx_cv_func__sqrtf_use=yes
28041 else
28042 echo "$as_me: failed program was:" >&5
28043 sed 's/^/| /' conftest.$ac_ext >&5
28045 glibcxx_cv_func__sqrtf_use=no
28047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28048 ac_ext=c
28049 ac_cpp='$CPP $CPPFLAGS'
28050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28058 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
28059 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
28061 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
28063 for ac_func in _sqrtf
28065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28066 echo "$as_me:$LINENO: checking for $ac_func" >&5
28067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28068 if eval "test \"\${$as_ac_var+set}\" = set"; then
28069 echo $ECHO_N "(cached) $ECHO_C" >&6
28070 else
28071 if test x$gcc_no_link = xyes; then
28072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28074 { (exit 1); exit 1; }; }
28076 cat >conftest.$ac_ext <<_ACEOF
28077 /* confdefs.h. */
28078 _ACEOF
28079 cat confdefs.h >>conftest.$ac_ext
28080 cat >>conftest.$ac_ext <<_ACEOF
28081 /* end confdefs.h. */
28082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28084 #define $ac_func innocuous_$ac_func
28086 /* System header to define __stub macros and hopefully few prototypes,
28087 which can conflict with char $ac_func (); below.
28088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28089 <limits.h> exists even on freestanding compilers. */
28091 #ifdef __STDC__
28092 # include <limits.h>
28093 #else
28094 # include <assert.h>
28095 #endif
28097 #undef $ac_func
28099 /* Override any gcc2 internal prototype to avoid an error. */
28100 #ifdef __cplusplus
28101 extern "C"
28103 #endif
28104 /* We use char because int might match the return type of a gcc2
28105 builtin and then its argument prototype would still apply. */
28106 char $ac_func ();
28107 /* The GNU C library defines this for functions which it implements
28108 to always fail with ENOSYS. Some functions are actually named
28109 something starting with __ and the normal name is an alias. */
28110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28111 choke me
28112 #else
28113 char (*f) () = $ac_func;
28114 #endif
28115 #ifdef __cplusplus
28117 #endif
28120 main ()
28122 return f != $ac_func;
28124 return 0;
28126 _ACEOF
28127 rm -f conftest.$ac_objext conftest$ac_exeext
28128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28129 (eval $ac_link) 2>conftest.er1
28130 ac_status=$?
28131 grep -v '^ *+' conftest.er1 >conftest.err
28132 rm -f conftest.er1
28133 cat conftest.err >&5
28134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28135 (exit $ac_status); } &&
28136 { ac_try='test -z "$ac_c_werror_flag"
28137 || test ! -s conftest.err'
28138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28139 (eval $ac_try) 2>&5
28140 ac_status=$?
28141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28142 (exit $ac_status); }; } &&
28143 { ac_try='test -s conftest$ac_exeext'
28144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28145 (eval $ac_try) 2>&5
28146 ac_status=$?
28147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28148 (exit $ac_status); }; }; then
28149 eval "$as_ac_var=yes"
28150 else
28151 echo "$as_me: failed program was:" >&5
28152 sed 's/^/| /' conftest.$ac_ext >&5
28154 eval "$as_ac_var=no"
28156 rm -f conftest.err conftest.$ac_objext \
28157 conftest$ac_exeext conftest.$ac_ext
28159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28161 if test `eval echo '${'$as_ac_var'}'` = yes; then
28162 cat >>confdefs.h <<_ACEOF
28163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28164 _ACEOF
28167 done
28177 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
28178 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
28179 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
28180 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
28181 echo $ECHO_N "(cached) $ECHO_C" >&6
28182 else
28186 ac_ext=cc
28187 ac_cpp='$CXXCPP $CPPFLAGS'
28188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28192 cat >conftest.$ac_ext <<_ACEOF
28193 /* confdefs.h. */
28194 _ACEOF
28195 cat confdefs.h >>conftest.$ac_ext
28196 cat >>conftest.$ac_ext <<_ACEOF
28197 /* end confdefs.h. */
28198 #include <math.h>
28200 main ()
28202 sincosf(0, 0, 0);
28204 return 0;
28206 _ACEOF
28207 rm -f conftest.$ac_objext
28208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28209 (eval $ac_compile) 2>conftest.er1
28210 ac_status=$?
28211 grep -v '^ *+' conftest.er1 >conftest.err
28212 rm -f conftest.er1
28213 cat conftest.err >&5
28214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28215 (exit $ac_status); } &&
28216 { ac_try='test -z "$ac_cxx_werror_flag"
28217 || test ! -s conftest.err'
28218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28219 (eval $ac_try) 2>&5
28220 ac_status=$?
28221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28222 (exit $ac_status); }; } &&
28223 { ac_try='test -s conftest.$ac_objext'
28224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28225 (eval $ac_try) 2>&5
28226 ac_status=$?
28227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28228 (exit $ac_status); }; }; then
28229 glibcxx_cv_func_sincosf_use=yes
28230 else
28231 echo "$as_me: failed program was:" >&5
28232 sed 's/^/| /' conftest.$ac_ext >&5
28234 glibcxx_cv_func_sincosf_use=no
28236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28237 ac_ext=c
28238 ac_cpp='$CPP $CPPFLAGS'
28239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28247 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
28248 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
28250 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
28252 for ac_func in sincosf
28254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28255 echo "$as_me:$LINENO: checking for $ac_func" >&5
28256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28257 if eval "test \"\${$as_ac_var+set}\" = set"; then
28258 echo $ECHO_N "(cached) $ECHO_C" >&6
28259 else
28260 if test x$gcc_no_link = xyes; then
28261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28263 { (exit 1); exit 1; }; }
28265 cat >conftest.$ac_ext <<_ACEOF
28266 /* confdefs.h. */
28267 _ACEOF
28268 cat confdefs.h >>conftest.$ac_ext
28269 cat >>conftest.$ac_ext <<_ACEOF
28270 /* end confdefs.h. */
28271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28273 #define $ac_func innocuous_$ac_func
28275 /* System header to define __stub macros and hopefully few prototypes,
28276 which can conflict with char $ac_func (); below.
28277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28278 <limits.h> exists even on freestanding compilers. */
28280 #ifdef __STDC__
28281 # include <limits.h>
28282 #else
28283 # include <assert.h>
28284 #endif
28286 #undef $ac_func
28288 /* Override any gcc2 internal prototype to avoid an error. */
28289 #ifdef __cplusplus
28290 extern "C"
28292 #endif
28293 /* We use char because int might match the return type of a gcc2
28294 builtin and then its argument prototype would still apply. */
28295 char $ac_func ();
28296 /* The GNU C library defines this for functions which it implements
28297 to always fail with ENOSYS. Some functions are actually named
28298 something starting with __ and the normal name is an alias. */
28299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28300 choke me
28301 #else
28302 char (*f) () = $ac_func;
28303 #endif
28304 #ifdef __cplusplus
28306 #endif
28309 main ()
28311 return f != $ac_func;
28313 return 0;
28315 _ACEOF
28316 rm -f conftest.$ac_objext conftest$ac_exeext
28317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28318 (eval $ac_link) 2>conftest.er1
28319 ac_status=$?
28320 grep -v '^ *+' conftest.er1 >conftest.err
28321 rm -f conftest.er1
28322 cat conftest.err >&5
28323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28324 (exit $ac_status); } &&
28325 { ac_try='test -z "$ac_c_werror_flag"
28326 || test ! -s conftest.err'
28327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28328 (eval $ac_try) 2>&5
28329 ac_status=$?
28330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28331 (exit $ac_status); }; } &&
28332 { ac_try='test -s conftest$ac_exeext'
28333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28334 (eval $ac_try) 2>&5
28335 ac_status=$?
28336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28337 (exit $ac_status); }; }; then
28338 eval "$as_ac_var=yes"
28339 else
28340 echo "$as_me: failed program was:" >&5
28341 sed 's/^/| /' conftest.$ac_ext >&5
28343 eval "$as_ac_var=no"
28345 rm -f conftest.err conftest.$ac_objext \
28346 conftest$ac_exeext conftest.$ac_ext
28348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28350 if test `eval echo '${'$as_ac_var'}'` = yes; then
28351 cat >>confdefs.h <<_ACEOF
28352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28353 _ACEOF
28356 done
28358 else
28360 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
28361 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
28362 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
28363 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
28364 echo $ECHO_N "(cached) $ECHO_C" >&6
28365 else
28369 ac_ext=cc
28370 ac_cpp='$CXXCPP $CPPFLAGS'
28371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28375 cat >conftest.$ac_ext <<_ACEOF
28376 /* confdefs.h. */
28377 _ACEOF
28378 cat confdefs.h >>conftest.$ac_ext
28379 cat >>conftest.$ac_ext <<_ACEOF
28380 /* end confdefs.h. */
28381 #include <math.h>
28383 main ()
28385 _sincosf(0, 0, 0);
28387 return 0;
28389 _ACEOF
28390 rm -f conftest.$ac_objext
28391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28392 (eval $ac_compile) 2>conftest.er1
28393 ac_status=$?
28394 grep -v '^ *+' conftest.er1 >conftest.err
28395 rm -f conftest.er1
28396 cat conftest.err >&5
28397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28398 (exit $ac_status); } &&
28399 { ac_try='test -z "$ac_cxx_werror_flag"
28400 || test ! -s conftest.err'
28401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28402 (eval $ac_try) 2>&5
28403 ac_status=$?
28404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28405 (exit $ac_status); }; } &&
28406 { ac_try='test -s conftest.$ac_objext'
28407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28408 (eval $ac_try) 2>&5
28409 ac_status=$?
28410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28411 (exit $ac_status); }; }; then
28412 glibcxx_cv_func__sincosf_use=yes
28413 else
28414 echo "$as_me: failed program was:" >&5
28415 sed 's/^/| /' conftest.$ac_ext >&5
28417 glibcxx_cv_func__sincosf_use=no
28419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28420 ac_ext=c
28421 ac_cpp='$CPP $CPPFLAGS'
28422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28430 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
28431 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
28433 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
28435 for ac_func in _sincosf
28437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28438 echo "$as_me:$LINENO: checking for $ac_func" >&5
28439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28440 if eval "test \"\${$as_ac_var+set}\" = set"; then
28441 echo $ECHO_N "(cached) $ECHO_C" >&6
28442 else
28443 if test x$gcc_no_link = xyes; then
28444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28446 { (exit 1); exit 1; }; }
28448 cat >conftest.$ac_ext <<_ACEOF
28449 /* confdefs.h. */
28450 _ACEOF
28451 cat confdefs.h >>conftest.$ac_ext
28452 cat >>conftest.$ac_ext <<_ACEOF
28453 /* end confdefs.h. */
28454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28456 #define $ac_func innocuous_$ac_func
28458 /* System header to define __stub macros and hopefully few prototypes,
28459 which can conflict with char $ac_func (); below.
28460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28461 <limits.h> exists even on freestanding compilers. */
28463 #ifdef __STDC__
28464 # include <limits.h>
28465 #else
28466 # include <assert.h>
28467 #endif
28469 #undef $ac_func
28471 /* Override any gcc2 internal prototype to avoid an error. */
28472 #ifdef __cplusplus
28473 extern "C"
28475 #endif
28476 /* We use char because int might match the return type of a gcc2
28477 builtin and then its argument prototype would still apply. */
28478 char $ac_func ();
28479 /* The GNU C library defines this for functions which it implements
28480 to always fail with ENOSYS. Some functions are actually named
28481 something starting with __ and the normal name is an alias. */
28482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28483 choke me
28484 #else
28485 char (*f) () = $ac_func;
28486 #endif
28487 #ifdef __cplusplus
28489 #endif
28492 main ()
28494 return f != $ac_func;
28496 return 0;
28498 _ACEOF
28499 rm -f conftest.$ac_objext conftest$ac_exeext
28500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28501 (eval $ac_link) 2>conftest.er1
28502 ac_status=$?
28503 grep -v '^ *+' conftest.er1 >conftest.err
28504 rm -f conftest.er1
28505 cat conftest.err >&5
28506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28507 (exit $ac_status); } &&
28508 { ac_try='test -z "$ac_c_werror_flag"
28509 || test ! -s conftest.err'
28510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28511 (eval $ac_try) 2>&5
28512 ac_status=$?
28513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28514 (exit $ac_status); }; } &&
28515 { ac_try='test -s conftest$ac_exeext'
28516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28517 (eval $ac_try) 2>&5
28518 ac_status=$?
28519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28520 (exit $ac_status); }; }; then
28521 eval "$as_ac_var=yes"
28522 else
28523 echo "$as_me: failed program was:" >&5
28524 sed 's/^/| /' conftest.$ac_ext >&5
28526 eval "$as_ac_var=no"
28528 rm -f conftest.err conftest.$ac_objext \
28529 conftest$ac_exeext conftest.$ac_ext
28531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28533 if test `eval echo '${'$as_ac_var'}'` = yes; then
28534 cat >>confdefs.h <<_ACEOF
28535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28536 _ACEOF
28539 done
28549 echo "$as_me:$LINENO: checking for finitef declaration" >&5
28550 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
28551 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
28552 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
28553 echo $ECHO_N "(cached) $ECHO_C" >&6
28554 else
28558 ac_ext=cc
28559 ac_cpp='$CXXCPP $CPPFLAGS'
28560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28564 cat >conftest.$ac_ext <<_ACEOF
28565 /* confdefs.h. */
28566 _ACEOF
28567 cat confdefs.h >>conftest.$ac_ext
28568 cat >>conftest.$ac_ext <<_ACEOF
28569 /* end confdefs.h. */
28570 #include <math.h>
28571 #ifdef HAVE_IEEEFP_H
28572 #include <ieeefp.h>
28573 #endif
28576 main ()
28578 finitef(0);
28580 return 0;
28582 _ACEOF
28583 rm -f conftest.$ac_objext
28584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28585 (eval $ac_compile) 2>conftest.er1
28586 ac_status=$?
28587 grep -v '^ *+' conftest.er1 >conftest.err
28588 rm -f conftest.er1
28589 cat conftest.err >&5
28590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28591 (exit $ac_status); } &&
28592 { ac_try='test -z "$ac_cxx_werror_flag"
28593 || test ! -s conftest.err'
28594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28595 (eval $ac_try) 2>&5
28596 ac_status=$?
28597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28598 (exit $ac_status); }; } &&
28599 { ac_try='test -s conftest.$ac_objext'
28600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28601 (eval $ac_try) 2>&5
28602 ac_status=$?
28603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28604 (exit $ac_status); }; }; then
28605 glibcxx_cv_func_finitef_use=yes
28606 else
28607 echo "$as_me: failed program was:" >&5
28608 sed 's/^/| /' conftest.$ac_ext >&5
28610 glibcxx_cv_func_finitef_use=no
28612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28613 ac_ext=c
28614 ac_cpp='$CPP $CPPFLAGS'
28615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28623 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
28624 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
28626 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
28628 for ac_func in finitef
28630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28631 echo "$as_me:$LINENO: checking for $ac_func" >&5
28632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28633 if eval "test \"\${$as_ac_var+set}\" = set"; then
28634 echo $ECHO_N "(cached) $ECHO_C" >&6
28635 else
28636 if test x$gcc_no_link = xyes; then
28637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28639 { (exit 1); exit 1; }; }
28641 cat >conftest.$ac_ext <<_ACEOF
28642 /* confdefs.h. */
28643 _ACEOF
28644 cat confdefs.h >>conftest.$ac_ext
28645 cat >>conftest.$ac_ext <<_ACEOF
28646 /* end confdefs.h. */
28647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28649 #define $ac_func innocuous_$ac_func
28651 /* System header to define __stub macros and hopefully few prototypes,
28652 which can conflict with char $ac_func (); below.
28653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28654 <limits.h> exists even on freestanding compilers. */
28656 #ifdef __STDC__
28657 # include <limits.h>
28658 #else
28659 # include <assert.h>
28660 #endif
28662 #undef $ac_func
28664 /* Override any gcc2 internal prototype to avoid an error. */
28665 #ifdef __cplusplus
28666 extern "C"
28668 #endif
28669 /* We use char because int might match the return type of a gcc2
28670 builtin and then its argument prototype would still apply. */
28671 char $ac_func ();
28672 /* The GNU C library defines this for functions which it implements
28673 to always fail with ENOSYS. Some functions are actually named
28674 something starting with __ and the normal name is an alias. */
28675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28676 choke me
28677 #else
28678 char (*f) () = $ac_func;
28679 #endif
28680 #ifdef __cplusplus
28682 #endif
28685 main ()
28687 return f != $ac_func;
28689 return 0;
28691 _ACEOF
28692 rm -f conftest.$ac_objext conftest$ac_exeext
28693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28694 (eval $ac_link) 2>conftest.er1
28695 ac_status=$?
28696 grep -v '^ *+' conftest.er1 >conftest.err
28697 rm -f conftest.er1
28698 cat conftest.err >&5
28699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28700 (exit $ac_status); } &&
28701 { ac_try='test -z "$ac_c_werror_flag"
28702 || test ! -s conftest.err'
28703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28704 (eval $ac_try) 2>&5
28705 ac_status=$?
28706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28707 (exit $ac_status); }; } &&
28708 { ac_try='test -s conftest$ac_exeext'
28709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28710 (eval $ac_try) 2>&5
28711 ac_status=$?
28712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28713 (exit $ac_status); }; }; then
28714 eval "$as_ac_var=yes"
28715 else
28716 echo "$as_me: failed program was:" >&5
28717 sed 's/^/| /' conftest.$ac_ext >&5
28719 eval "$as_ac_var=no"
28721 rm -f conftest.err conftest.$ac_objext \
28722 conftest$ac_exeext conftest.$ac_ext
28724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28726 if test `eval echo '${'$as_ac_var'}'` = yes; then
28727 cat >>confdefs.h <<_ACEOF
28728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28729 _ACEOF
28732 done
28734 else
28736 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
28737 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
28738 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
28739 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
28740 echo $ECHO_N "(cached) $ECHO_C" >&6
28741 else
28745 ac_ext=cc
28746 ac_cpp='$CXXCPP $CPPFLAGS'
28747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28751 cat >conftest.$ac_ext <<_ACEOF
28752 /* confdefs.h. */
28753 _ACEOF
28754 cat confdefs.h >>conftest.$ac_ext
28755 cat >>conftest.$ac_ext <<_ACEOF
28756 /* end confdefs.h. */
28757 #include <math.h>
28758 #ifdef HAVE_IEEEFP_H
28759 #include <ieeefp.h>
28760 #endif
28763 main ()
28765 _finitef(0);
28767 return 0;
28769 _ACEOF
28770 rm -f conftest.$ac_objext
28771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28772 (eval $ac_compile) 2>conftest.er1
28773 ac_status=$?
28774 grep -v '^ *+' conftest.er1 >conftest.err
28775 rm -f conftest.er1
28776 cat conftest.err >&5
28777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28778 (exit $ac_status); } &&
28779 { ac_try='test -z "$ac_cxx_werror_flag"
28780 || test ! -s conftest.err'
28781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28782 (eval $ac_try) 2>&5
28783 ac_status=$?
28784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28785 (exit $ac_status); }; } &&
28786 { ac_try='test -s conftest.$ac_objext'
28787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28788 (eval $ac_try) 2>&5
28789 ac_status=$?
28790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28791 (exit $ac_status); }; }; then
28792 glibcxx_cv_func__finitef_use=yes
28793 else
28794 echo "$as_me: failed program was:" >&5
28795 sed 's/^/| /' conftest.$ac_ext >&5
28797 glibcxx_cv_func__finitef_use=no
28799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28800 ac_ext=c
28801 ac_cpp='$CPP $CPPFLAGS'
28802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28810 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
28811 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
28813 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
28815 for ac_func in _finitef
28817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28818 echo "$as_me:$LINENO: checking for $ac_func" >&5
28819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28820 if eval "test \"\${$as_ac_var+set}\" = set"; then
28821 echo $ECHO_N "(cached) $ECHO_C" >&6
28822 else
28823 if test x$gcc_no_link = xyes; then
28824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28826 { (exit 1); exit 1; }; }
28828 cat >conftest.$ac_ext <<_ACEOF
28829 /* confdefs.h. */
28830 _ACEOF
28831 cat confdefs.h >>conftest.$ac_ext
28832 cat >>conftest.$ac_ext <<_ACEOF
28833 /* end confdefs.h. */
28834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28836 #define $ac_func innocuous_$ac_func
28838 /* System header to define __stub macros and hopefully few prototypes,
28839 which can conflict with char $ac_func (); below.
28840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28841 <limits.h> exists even on freestanding compilers. */
28843 #ifdef __STDC__
28844 # include <limits.h>
28845 #else
28846 # include <assert.h>
28847 #endif
28849 #undef $ac_func
28851 /* Override any gcc2 internal prototype to avoid an error. */
28852 #ifdef __cplusplus
28853 extern "C"
28855 #endif
28856 /* We use char because int might match the return type of a gcc2
28857 builtin and then its argument prototype would still apply. */
28858 char $ac_func ();
28859 /* The GNU C library defines this for functions which it implements
28860 to always fail with ENOSYS. Some functions are actually named
28861 something starting with __ and the normal name is an alias. */
28862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28863 choke me
28864 #else
28865 char (*f) () = $ac_func;
28866 #endif
28867 #ifdef __cplusplus
28869 #endif
28872 main ()
28874 return f != $ac_func;
28876 return 0;
28878 _ACEOF
28879 rm -f conftest.$ac_objext conftest$ac_exeext
28880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28881 (eval $ac_link) 2>conftest.er1
28882 ac_status=$?
28883 grep -v '^ *+' conftest.er1 >conftest.err
28884 rm -f conftest.er1
28885 cat conftest.err >&5
28886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28887 (exit $ac_status); } &&
28888 { ac_try='test -z "$ac_c_werror_flag"
28889 || test ! -s conftest.err'
28890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28891 (eval $ac_try) 2>&5
28892 ac_status=$?
28893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28894 (exit $ac_status); }; } &&
28895 { ac_try='test -s conftest$ac_exeext'
28896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28897 (eval $ac_try) 2>&5
28898 ac_status=$?
28899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28900 (exit $ac_status); }; }; then
28901 eval "$as_ac_var=yes"
28902 else
28903 echo "$as_me: failed program was:" >&5
28904 sed 's/^/| /' conftest.$ac_ext >&5
28906 eval "$as_ac_var=no"
28908 rm -f conftest.err conftest.$ac_objext \
28909 conftest$ac_exeext conftest.$ac_ext
28911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28913 if test `eval echo '${'$as_ac_var'}'` = yes; then
28914 cat >>confdefs.h <<_ACEOF
28915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28916 _ACEOF
28919 done
28929 echo "$as_me:$LINENO: checking for long double trig functions" >&5
28930 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
28931 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
28932 echo $ECHO_N "(cached) $ECHO_C" >&6
28933 else
28937 ac_ext=cc
28938 ac_cpp='$CXXCPP $CPPFLAGS'
28939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28943 cat >conftest.$ac_ext <<_ACEOF
28944 /* confdefs.h. */
28945 _ACEOF
28946 cat confdefs.h >>conftest.$ac_ext
28947 cat >>conftest.$ac_ext <<_ACEOF
28948 /* end confdefs.h. */
28949 #include <math.h>
28951 main ()
28953 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
28955 return 0;
28957 _ACEOF
28958 rm -f conftest.$ac_objext
28959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28960 (eval $ac_compile) 2>conftest.er1
28961 ac_status=$?
28962 grep -v '^ *+' conftest.er1 >conftest.err
28963 rm -f conftest.er1
28964 cat conftest.err >&5
28965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28966 (exit $ac_status); } &&
28967 { ac_try='test -z "$ac_cxx_werror_flag"
28968 || test ! -s conftest.err'
28969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28970 (eval $ac_try) 2>&5
28971 ac_status=$?
28972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28973 (exit $ac_status); }; } &&
28974 { ac_try='test -s conftest.$ac_objext'
28975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28976 (eval $ac_try) 2>&5
28977 ac_status=$?
28978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28979 (exit $ac_status); }; }; then
28980 glibcxx_cv_func_long_double_trig_use=yes
28981 else
28982 echo "$as_me: failed program was:" >&5
28983 sed 's/^/| /' conftest.$ac_ext >&5
28985 glibcxx_cv_func_long_double_trig_use=no
28987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28988 ac_ext=c
28989 ac_cpp='$CPP $CPPFLAGS'
28990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28996 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
28997 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
28998 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29008 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29011 echo "$as_me:$LINENO: checking for $ac_func" >&5
29012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29013 if eval "test \"\${$as_ac_var+set}\" = set"; then
29014 echo $ECHO_N "(cached) $ECHO_C" >&6
29015 else
29016 if test x$gcc_no_link = xyes; then
29017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29019 { (exit 1); exit 1; }; }
29021 cat >conftest.$ac_ext <<_ACEOF
29022 /* confdefs.h. */
29023 _ACEOF
29024 cat confdefs.h >>conftest.$ac_ext
29025 cat >>conftest.$ac_ext <<_ACEOF
29026 /* end confdefs.h. */
29027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29029 #define $ac_func innocuous_$ac_func
29031 /* System header to define __stub macros and hopefully few prototypes,
29032 which can conflict with char $ac_func (); below.
29033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29034 <limits.h> exists even on freestanding compilers. */
29036 #ifdef __STDC__
29037 # include <limits.h>
29038 #else
29039 # include <assert.h>
29040 #endif
29042 #undef $ac_func
29044 /* Override any gcc2 internal prototype to avoid an error. */
29045 #ifdef __cplusplus
29046 extern "C"
29048 #endif
29049 /* We use char because int might match the return type of a gcc2
29050 builtin and then its argument prototype would still apply. */
29051 char $ac_func ();
29052 /* The GNU C library defines this for functions which it implements
29053 to always fail with ENOSYS. Some functions are actually named
29054 something starting with __ and the normal name is an alias. */
29055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29056 choke me
29057 #else
29058 char (*f) () = $ac_func;
29059 #endif
29060 #ifdef __cplusplus
29062 #endif
29065 main ()
29067 return f != $ac_func;
29069 return 0;
29071 _ACEOF
29072 rm -f conftest.$ac_objext conftest$ac_exeext
29073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29074 (eval $ac_link) 2>conftest.er1
29075 ac_status=$?
29076 grep -v '^ *+' conftest.er1 >conftest.err
29077 rm -f conftest.er1
29078 cat conftest.err >&5
29079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29080 (exit $ac_status); } &&
29081 { ac_try='test -z "$ac_c_werror_flag"
29082 || test ! -s conftest.err'
29083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29084 (eval $ac_try) 2>&5
29085 ac_status=$?
29086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29087 (exit $ac_status); }; } &&
29088 { ac_try='test -s conftest$ac_exeext'
29089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29090 (eval $ac_try) 2>&5
29091 ac_status=$?
29092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29093 (exit $ac_status); }; }; then
29094 eval "$as_ac_var=yes"
29095 else
29096 echo "$as_me: failed program was:" >&5
29097 sed 's/^/| /' conftest.$ac_ext >&5
29099 eval "$as_ac_var=no"
29101 rm -f conftest.err conftest.$ac_objext \
29102 conftest$ac_exeext conftest.$ac_ext
29104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29106 if test `eval echo '${'$as_ac_var'}'` = yes; then
29107 cat >>confdefs.h <<_ACEOF
29108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29109 _ACEOF
29112 done
29114 else
29115 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
29116 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
29117 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
29118 echo $ECHO_N "(cached) $ECHO_C" >&6
29119 else
29123 ac_ext=cc
29124 ac_cpp='$CXXCPP $CPPFLAGS'
29125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29129 cat >conftest.$ac_ext <<_ACEOF
29130 /* confdefs.h. */
29131 _ACEOF
29132 cat confdefs.h >>conftest.$ac_ext
29133 cat >>conftest.$ac_ext <<_ACEOF
29134 /* end confdefs.h. */
29135 #include <math.h>
29137 main ()
29139 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
29141 return 0;
29143 _ACEOF
29144 rm -f conftest.$ac_objext
29145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29146 (eval $ac_compile) 2>conftest.er1
29147 ac_status=$?
29148 grep -v '^ *+' conftest.er1 >conftest.err
29149 rm -f conftest.er1
29150 cat conftest.err >&5
29151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29152 (exit $ac_status); } &&
29153 { ac_try='test -z "$ac_cxx_werror_flag"
29154 || test ! -s conftest.err'
29155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29156 (eval $ac_try) 2>&5
29157 ac_status=$?
29158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29159 (exit $ac_status); }; } &&
29160 { ac_try='test -s conftest.$ac_objext'
29161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29162 (eval $ac_try) 2>&5
29163 ac_status=$?
29164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29165 (exit $ac_status); }; }; then
29166 glibcxx_cv_func__long_double_trig_use=yes
29167 else
29168 echo "$as_me: failed program was:" >&5
29169 sed 's/^/| /' conftest.$ac_ext >&5
29171 glibcxx_cv_func__long_double_trig_use=no
29173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29174 ac_ext=c
29175 ac_cpp='$CPP $CPPFLAGS'
29176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29182 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
29183 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
29184 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
29194 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
29196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29197 echo "$as_me:$LINENO: checking for $ac_func" >&5
29198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29199 if eval "test \"\${$as_ac_var+set}\" = set"; then
29200 echo $ECHO_N "(cached) $ECHO_C" >&6
29201 else
29202 if test x$gcc_no_link = xyes; then
29203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29205 { (exit 1); exit 1; }; }
29207 cat >conftest.$ac_ext <<_ACEOF
29208 /* confdefs.h. */
29209 _ACEOF
29210 cat confdefs.h >>conftest.$ac_ext
29211 cat >>conftest.$ac_ext <<_ACEOF
29212 /* end confdefs.h. */
29213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29215 #define $ac_func innocuous_$ac_func
29217 /* System header to define __stub macros and hopefully few prototypes,
29218 which can conflict with char $ac_func (); below.
29219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29220 <limits.h> exists even on freestanding compilers. */
29222 #ifdef __STDC__
29223 # include <limits.h>
29224 #else
29225 # include <assert.h>
29226 #endif
29228 #undef $ac_func
29230 /* Override any gcc2 internal prototype to avoid an error. */
29231 #ifdef __cplusplus
29232 extern "C"
29234 #endif
29235 /* We use char because int might match the return type of a gcc2
29236 builtin and then its argument prototype would still apply. */
29237 char $ac_func ();
29238 /* The GNU C library defines this for functions which it implements
29239 to always fail with ENOSYS. Some functions are actually named
29240 something starting with __ and the normal name is an alias. */
29241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29242 choke me
29243 #else
29244 char (*f) () = $ac_func;
29245 #endif
29246 #ifdef __cplusplus
29248 #endif
29251 main ()
29253 return f != $ac_func;
29255 return 0;
29257 _ACEOF
29258 rm -f conftest.$ac_objext conftest$ac_exeext
29259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29260 (eval $ac_link) 2>conftest.er1
29261 ac_status=$?
29262 grep -v '^ *+' conftest.er1 >conftest.err
29263 rm -f conftest.er1
29264 cat conftest.err >&5
29265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29266 (exit $ac_status); } &&
29267 { ac_try='test -z "$ac_c_werror_flag"
29268 || test ! -s conftest.err'
29269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29270 (eval $ac_try) 2>&5
29271 ac_status=$?
29272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29273 (exit $ac_status); }; } &&
29274 { ac_try='test -s conftest$ac_exeext'
29275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29276 (eval $ac_try) 2>&5
29277 ac_status=$?
29278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29279 (exit $ac_status); }; }; then
29280 eval "$as_ac_var=yes"
29281 else
29282 echo "$as_me: failed program was:" >&5
29283 sed 's/^/| /' conftest.$ac_ext >&5
29285 eval "$as_ac_var=no"
29287 rm -f conftest.err conftest.$ac_objext \
29288 conftest$ac_exeext conftest.$ac_ext
29290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29292 if test `eval echo '${'$as_ac_var'}'` = yes; then
29293 cat >>confdefs.h <<_ACEOF
29294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29295 _ACEOF
29298 done
29316 echo "$as_me:$LINENO: checking for long double round functions" >&5
29317 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
29318 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
29319 echo $ECHO_N "(cached) $ECHO_C" >&6
29320 else
29324 ac_ext=cc
29325 ac_cpp='$CXXCPP $CPPFLAGS'
29326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29330 cat >conftest.$ac_ext <<_ACEOF
29331 /* confdefs.h. */
29332 _ACEOF
29333 cat confdefs.h >>conftest.$ac_ext
29334 cat >>conftest.$ac_ext <<_ACEOF
29335 /* end confdefs.h. */
29336 #include <math.h>
29338 main ()
29340 ceill (0); floorl (0);
29342 return 0;
29344 _ACEOF
29345 rm -f conftest.$ac_objext
29346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29347 (eval $ac_compile) 2>conftest.er1
29348 ac_status=$?
29349 grep -v '^ *+' conftest.er1 >conftest.err
29350 rm -f conftest.er1
29351 cat conftest.err >&5
29352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29353 (exit $ac_status); } &&
29354 { ac_try='test -z "$ac_cxx_werror_flag"
29355 || test ! -s conftest.err'
29356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29357 (eval $ac_try) 2>&5
29358 ac_status=$?
29359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29360 (exit $ac_status); }; } &&
29361 { ac_try='test -s conftest.$ac_objext'
29362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29363 (eval $ac_try) 2>&5
29364 ac_status=$?
29365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29366 (exit $ac_status); }; }; then
29367 glibcxx_cv_func_long_double_round_use=yes
29368 else
29369 echo "$as_me: failed program was:" >&5
29370 sed 's/^/| /' conftest.$ac_ext >&5
29372 glibcxx_cv_func_long_double_round_use=no
29374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29375 ac_ext=c
29376 ac_cpp='$CPP $CPPFLAGS'
29377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29383 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
29384 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
29385 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
29388 for ac_func in ceill floorl
29390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29391 echo "$as_me:$LINENO: checking for $ac_func" >&5
29392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29393 if eval "test \"\${$as_ac_var+set}\" = set"; then
29394 echo $ECHO_N "(cached) $ECHO_C" >&6
29395 else
29396 if test x$gcc_no_link = xyes; then
29397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29399 { (exit 1); exit 1; }; }
29401 cat >conftest.$ac_ext <<_ACEOF
29402 /* confdefs.h. */
29403 _ACEOF
29404 cat confdefs.h >>conftest.$ac_ext
29405 cat >>conftest.$ac_ext <<_ACEOF
29406 /* end confdefs.h. */
29407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29409 #define $ac_func innocuous_$ac_func
29411 /* System header to define __stub macros and hopefully few prototypes,
29412 which can conflict with char $ac_func (); below.
29413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29414 <limits.h> exists even on freestanding compilers. */
29416 #ifdef __STDC__
29417 # include <limits.h>
29418 #else
29419 # include <assert.h>
29420 #endif
29422 #undef $ac_func
29424 /* Override any gcc2 internal prototype to avoid an error. */
29425 #ifdef __cplusplus
29426 extern "C"
29428 #endif
29429 /* We use char because int might match the return type of a gcc2
29430 builtin and then its argument prototype would still apply. */
29431 char $ac_func ();
29432 /* The GNU C library defines this for functions which it implements
29433 to always fail with ENOSYS. Some functions are actually named
29434 something starting with __ and the normal name is an alias. */
29435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29436 choke me
29437 #else
29438 char (*f) () = $ac_func;
29439 #endif
29440 #ifdef __cplusplus
29442 #endif
29445 main ()
29447 return f != $ac_func;
29449 return 0;
29451 _ACEOF
29452 rm -f conftest.$ac_objext conftest$ac_exeext
29453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29454 (eval $ac_link) 2>conftest.er1
29455 ac_status=$?
29456 grep -v '^ *+' conftest.er1 >conftest.err
29457 rm -f conftest.er1
29458 cat conftest.err >&5
29459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29460 (exit $ac_status); } &&
29461 { ac_try='test -z "$ac_c_werror_flag"
29462 || test ! -s conftest.err'
29463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29464 (eval $ac_try) 2>&5
29465 ac_status=$?
29466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29467 (exit $ac_status); }; } &&
29468 { ac_try='test -s conftest$ac_exeext'
29469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29470 (eval $ac_try) 2>&5
29471 ac_status=$?
29472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29473 (exit $ac_status); }; }; then
29474 eval "$as_ac_var=yes"
29475 else
29476 echo "$as_me: failed program was:" >&5
29477 sed 's/^/| /' conftest.$ac_ext >&5
29479 eval "$as_ac_var=no"
29481 rm -f conftest.err conftest.$ac_objext \
29482 conftest$ac_exeext conftest.$ac_ext
29484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29486 if test `eval echo '${'$as_ac_var'}'` = yes; then
29487 cat >>confdefs.h <<_ACEOF
29488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29489 _ACEOF
29492 done
29494 else
29495 echo "$as_me:$LINENO: checking for _long double round functions" >&5
29496 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
29497 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
29498 echo $ECHO_N "(cached) $ECHO_C" >&6
29499 else
29503 ac_ext=cc
29504 ac_cpp='$CXXCPP $CPPFLAGS'
29505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29509 cat >conftest.$ac_ext <<_ACEOF
29510 /* confdefs.h. */
29511 _ACEOF
29512 cat confdefs.h >>conftest.$ac_ext
29513 cat >>conftest.$ac_ext <<_ACEOF
29514 /* end confdefs.h. */
29515 #include <math.h>
29517 main ()
29519 _ceill (0); _floorl (0);
29521 return 0;
29523 _ACEOF
29524 rm -f conftest.$ac_objext
29525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29526 (eval $ac_compile) 2>conftest.er1
29527 ac_status=$?
29528 grep -v '^ *+' conftest.er1 >conftest.err
29529 rm -f conftest.er1
29530 cat conftest.err >&5
29531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29532 (exit $ac_status); } &&
29533 { ac_try='test -z "$ac_cxx_werror_flag"
29534 || test ! -s conftest.err'
29535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29536 (eval $ac_try) 2>&5
29537 ac_status=$?
29538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29539 (exit $ac_status); }; } &&
29540 { ac_try='test -s conftest.$ac_objext'
29541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29542 (eval $ac_try) 2>&5
29543 ac_status=$?
29544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29545 (exit $ac_status); }; }; then
29546 glibcxx_cv_func__long_double_round_use=yes
29547 else
29548 echo "$as_me: failed program was:" >&5
29549 sed 's/^/| /' conftest.$ac_ext >&5
29551 glibcxx_cv_func__long_double_round_use=no
29553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29554 ac_ext=c
29555 ac_cpp='$CPP $CPPFLAGS'
29556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29562 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
29563 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
29564 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
29567 for ac_func in _ceill _floorl
29569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29570 echo "$as_me:$LINENO: checking for $ac_func" >&5
29571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29572 if eval "test \"\${$as_ac_var+set}\" = set"; then
29573 echo $ECHO_N "(cached) $ECHO_C" >&6
29574 else
29575 if test x$gcc_no_link = xyes; then
29576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29578 { (exit 1); exit 1; }; }
29580 cat >conftest.$ac_ext <<_ACEOF
29581 /* confdefs.h. */
29582 _ACEOF
29583 cat confdefs.h >>conftest.$ac_ext
29584 cat >>conftest.$ac_ext <<_ACEOF
29585 /* end confdefs.h. */
29586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29588 #define $ac_func innocuous_$ac_func
29590 /* System header to define __stub macros and hopefully few prototypes,
29591 which can conflict with char $ac_func (); below.
29592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29593 <limits.h> exists even on freestanding compilers. */
29595 #ifdef __STDC__
29596 # include <limits.h>
29597 #else
29598 # include <assert.h>
29599 #endif
29601 #undef $ac_func
29603 /* Override any gcc2 internal prototype to avoid an error. */
29604 #ifdef __cplusplus
29605 extern "C"
29607 #endif
29608 /* We use char because int might match the return type of a gcc2
29609 builtin and then its argument prototype would still apply. */
29610 char $ac_func ();
29611 /* The GNU C library defines this for functions which it implements
29612 to always fail with ENOSYS. Some functions are actually named
29613 something starting with __ and the normal name is an alias. */
29614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29615 choke me
29616 #else
29617 char (*f) () = $ac_func;
29618 #endif
29619 #ifdef __cplusplus
29621 #endif
29624 main ()
29626 return f != $ac_func;
29628 return 0;
29630 _ACEOF
29631 rm -f conftest.$ac_objext conftest$ac_exeext
29632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29633 (eval $ac_link) 2>conftest.er1
29634 ac_status=$?
29635 grep -v '^ *+' conftest.er1 >conftest.err
29636 rm -f conftest.er1
29637 cat conftest.err >&5
29638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29639 (exit $ac_status); } &&
29640 { ac_try='test -z "$ac_c_werror_flag"
29641 || test ! -s conftest.err'
29642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29643 (eval $ac_try) 2>&5
29644 ac_status=$?
29645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29646 (exit $ac_status); }; } &&
29647 { ac_try='test -s conftest$ac_exeext'
29648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29649 (eval $ac_try) 2>&5
29650 ac_status=$?
29651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29652 (exit $ac_status); }; }; then
29653 eval "$as_ac_var=yes"
29654 else
29655 echo "$as_me: failed program was:" >&5
29656 sed 's/^/| /' conftest.$ac_ext >&5
29658 eval "$as_ac_var=no"
29660 rm -f conftest.err conftest.$ac_objext \
29661 conftest$ac_exeext conftest.$ac_ext
29663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29665 if test `eval echo '${'$as_ac_var'}'` = yes; then
29666 cat >>confdefs.h <<_ACEOF
29667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29668 _ACEOF
29671 done
29683 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
29684 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
29685 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
29686 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
29687 echo $ECHO_N "(cached) $ECHO_C" >&6
29688 else
29692 ac_ext=cc
29693 ac_cpp='$CXXCPP $CPPFLAGS'
29694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29698 cat >conftest.$ac_ext <<_ACEOF
29699 /* confdefs.h. */
29700 _ACEOF
29701 cat confdefs.h >>conftest.$ac_ext
29702 cat >>conftest.$ac_ext <<_ACEOF
29703 /* end confdefs.h. */
29704 #include <math.h>
29705 #ifdef HAVE_IEEEFP_H
29706 #include <ieeefp.h>
29707 #endif
29710 main ()
29712 isnanl(0);
29714 return 0;
29716 _ACEOF
29717 rm -f conftest.$ac_objext
29718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29719 (eval $ac_compile) 2>conftest.er1
29720 ac_status=$?
29721 grep -v '^ *+' conftest.er1 >conftest.err
29722 rm -f conftest.er1
29723 cat conftest.err >&5
29724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29725 (exit $ac_status); } &&
29726 { ac_try='test -z "$ac_cxx_werror_flag"
29727 || test ! -s conftest.err'
29728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29729 (eval $ac_try) 2>&5
29730 ac_status=$?
29731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29732 (exit $ac_status); }; } &&
29733 { ac_try='test -s conftest.$ac_objext'
29734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29735 (eval $ac_try) 2>&5
29736 ac_status=$?
29737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29738 (exit $ac_status); }; }; then
29739 glibcxx_cv_func_isnanl_use=yes
29740 else
29741 echo "$as_me: failed program was:" >&5
29742 sed 's/^/| /' conftest.$ac_ext >&5
29744 glibcxx_cv_func_isnanl_use=no
29746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29747 ac_ext=c
29748 ac_cpp='$CPP $CPPFLAGS'
29749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29757 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
29758 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
29760 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
29762 for ac_func in isnanl
29764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29765 echo "$as_me:$LINENO: checking for $ac_func" >&5
29766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29767 if eval "test \"\${$as_ac_var+set}\" = set"; then
29768 echo $ECHO_N "(cached) $ECHO_C" >&6
29769 else
29770 if test x$gcc_no_link = xyes; then
29771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29773 { (exit 1); exit 1; }; }
29775 cat >conftest.$ac_ext <<_ACEOF
29776 /* confdefs.h. */
29777 _ACEOF
29778 cat confdefs.h >>conftest.$ac_ext
29779 cat >>conftest.$ac_ext <<_ACEOF
29780 /* end confdefs.h. */
29781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29783 #define $ac_func innocuous_$ac_func
29785 /* System header to define __stub macros and hopefully few prototypes,
29786 which can conflict with char $ac_func (); below.
29787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29788 <limits.h> exists even on freestanding compilers. */
29790 #ifdef __STDC__
29791 # include <limits.h>
29792 #else
29793 # include <assert.h>
29794 #endif
29796 #undef $ac_func
29798 /* Override any gcc2 internal prototype to avoid an error. */
29799 #ifdef __cplusplus
29800 extern "C"
29802 #endif
29803 /* We use char because int might match the return type of a gcc2
29804 builtin and then its argument prototype would still apply. */
29805 char $ac_func ();
29806 /* The GNU C library defines this for functions which it implements
29807 to always fail with ENOSYS. Some functions are actually named
29808 something starting with __ and the normal name is an alias. */
29809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29810 choke me
29811 #else
29812 char (*f) () = $ac_func;
29813 #endif
29814 #ifdef __cplusplus
29816 #endif
29819 main ()
29821 return f != $ac_func;
29823 return 0;
29825 _ACEOF
29826 rm -f conftest.$ac_objext conftest$ac_exeext
29827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29828 (eval $ac_link) 2>conftest.er1
29829 ac_status=$?
29830 grep -v '^ *+' conftest.er1 >conftest.err
29831 rm -f conftest.er1
29832 cat conftest.err >&5
29833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29834 (exit $ac_status); } &&
29835 { ac_try='test -z "$ac_c_werror_flag"
29836 || test ! -s conftest.err'
29837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29838 (eval $ac_try) 2>&5
29839 ac_status=$?
29840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29841 (exit $ac_status); }; } &&
29842 { ac_try='test -s conftest$ac_exeext'
29843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29844 (eval $ac_try) 2>&5
29845 ac_status=$?
29846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29847 (exit $ac_status); }; }; then
29848 eval "$as_ac_var=yes"
29849 else
29850 echo "$as_me: failed program was:" >&5
29851 sed 's/^/| /' conftest.$ac_ext >&5
29853 eval "$as_ac_var=no"
29855 rm -f conftest.err conftest.$ac_objext \
29856 conftest$ac_exeext conftest.$ac_ext
29858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29860 if test `eval echo '${'$as_ac_var'}'` = yes; then
29861 cat >>confdefs.h <<_ACEOF
29862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29863 _ACEOF
29866 done
29868 else
29870 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
29871 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
29872 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
29873 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
29874 echo $ECHO_N "(cached) $ECHO_C" >&6
29875 else
29879 ac_ext=cc
29880 ac_cpp='$CXXCPP $CPPFLAGS'
29881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29885 cat >conftest.$ac_ext <<_ACEOF
29886 /* confdefs.h. */
29887 _ACEOF
29888 cat confdefs.h >>conftest.$ac_ext
29889 cat >>conftest.$ac_ext <<_ACEOF
29890 /* end confdefs.h. */
29891 #include <math.h>
29892 #ifdef HAVE_IEEEFP_H
29893 #include <ieeefp.h>
29894 #endif
29897 main ()
29899 _isnanl(0);
29901 return 0;
29903 _ACEOF
29904 rm -f conftest.$ac_objext
29905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29906 (eval $ac_compile) 2>conftest.er1
29907 ac_status=$?
29908 grep -v '^ *+' conftest.er1 >conftest.err
29909 rm -f conftest.er1
29910 cat conftest.err >&5
29911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29912 (exit $ac_status); } &&
29913 { ac_try='test -z "$ac_cxx_werror_flag"
29914 || test ! -s conftest.err'
29915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29916 (eval $ac_try) 2>&5
29917 ac_status=$?
29918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29919 (exit $ac_status); }; } &&
29920 { ac_try='test -s conftest.$ac_objext'
29921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29922 (eval $ac_try) 2>&5
29923 ac_status=$?
29924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29925 (exit $ac_status); }; }; then
29926 glibcxx_cv_func__isnanl_use=yes
29927 else
29928 echo "$as_me: failed program was:" >&5
29929 sed 's/^/| /' conftest.$ac_ext >&5
29931 glibcxx_cv_func__isnanl_use=no
29933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29934 ac_ext=c
29935 ac_cpp='$CPP $CPPFLAGS'
29936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29944 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
29945 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
29947 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
29949 for ac_func in _isnanl
29951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29952 echo "$as_me:$LINENO: checking for $ac_func" >&5
29953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29954 if eval "test \"\${$as_ac_var+set}\" = set"; then
29955 echo $ECHO_N "(cached) $ECHO_C" >&6
29956 else
29957 if test x$gcc_no_link = xyes; then
29958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29960 { (exit 1); exit 1; }; }
29962 cat >conftest.$ac_ext <<_ACEOF
29963 /* confdefs.h. */
29964 _ACEOF
29965 cat confdefs.h >>conftest.$ac_ext
29966 cat >>conftest.$ac_ext <<_ACEOF
29967 /* end confdefs.h. */
29968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29970 #define $ac_func innocuous_$ac_func
29972 /* System header to define __stub macros and hopefully few prototypes,
29973 which can conflict with char $ac_func (); below.
29974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29975 <limits.h> exists even on freestanding compilers. */
29977 #ifdef __STDC__
29978 # include <limits.h>
29979 #else
29980 # include <assert.h>
29981 #endif
29983 #undef $ac_func
29985 /* Override any gcc2 internal prototype to avoid an error. */
29986 #ifdef __cplusplus
29987 extern "C"
29989 #endif
29990 /* We use char because int might match the return type of a gcc2
29991 builtin and then its argument prototype would still apply. */
29992 char $ac_func ();
29993 /* The GNU C library defines this for functions which it implements
29994 to always fail with ENOSYS. Some functions are actually named
29995 something starting with __ and the normal name is an alias. */
29996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29997 choke me
29998 #else
29999 char (*f) () = $ac_func;
30000 #endif
30001 #ifdef __cplusplus
30003 #endif
30006 main ()
30008 return f != $ac_func;
30010 return 0;
30012 _ACEOF
30013 rm -f conftest.$ac_objext conftest$ac_exeext
30014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30015 (eval $ac_link) 2>conftest.er1
30016 ac_status=$?
30017 grep -v '^ *+' conftest.er1 >conftest.err
30018 rm -f conftest.er1
30019 cat conftest.err >&5
30020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30021 (exit $ac_status); } &&
30022 { ac_try='test -z "$ac_c_werror_flag"
30023 || test ! -s conftest.err'
30024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30025 (eval $ac_try) 2>&5
30026 ac_status=$?
30027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30028 (exit $ac_status); }; } &&
30029 { ac_try='test -s conftest$ac_exeext'
30030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30031 (eval $ac_try) 2>&5
30032 ac_status=$?
30033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30034 (exit $ac_status); }; }; then
30035 eval "$as_ac_var=yes"
30036 else
30037 echo "$as_me: failed program was:" >&5
30038 sed 's/^/| /' conftest.$ac_ext >&5
30040 eval "$as_ac_var=no"
30042 rm -f conftest.err conftest.$ac_objext \
30043 conftest$ac_exeext conftest.$ac_ext
30045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30047 if test `eval echo '${'$as_ac_var'}'` = yes; then
30048 cat >>confdefs.h <<_ACEOF
30049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30050 _ACEOF
30053 done
30063 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
30064 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
30065 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30066 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
30067 echo $ECHO_N "(cached) $ECHO_C" >&6
30068 else
30072 ac_ext=cc
30073 ac_cpp='$CXXCPP $CPPFLAGS'
30074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30078 cat >conftest.$ac_ext <<_ACEOF
30079 /* confdefs.h. */
30080 _ACEOF
30081 cat confdefs.h >>conftest.$ac_ext
30082 cat >>conftest.$ac_ext <<_ACEOF
30083 /* end confdefs.h. */
30084 #include <math.h>
30085 #ifdef HAVE_IEEEFP_H
30086 #include <ieeefp.h>
30087 #endif
30090 main ()
30092 isinfl(0);
30094 return 0;
30096 _ACEOF
30097 rm -f conftest.$ac_objext
30098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30099 (eval $ac_compile) 2>conftest.er1
30100 ac_status=$?
30101 grep -v '^ *+' conftest.er1 >conftest.err
30102 rm -f conftest.er1
30103 cat conftest.err >&5
30104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30105 (exit $ac_status); } &&
30106 { ac_try='test -z "$ac_cxx_werror_flag"
30107 || test ! -s conftest.err'
30108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30109 (eval $ac_try) 2>&5
30110 ac_status=$?
30111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30112 (exit $ac_status); }; } &&
30113 { ac_try='test -s conftest.$ac_objext'
30114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30115 (eval $ac_try) 2>&5
30116 ac_status=$?
30117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30118 (exit $ac_status); }; }; then
30119 glibcxx_cv_func_isinfl_use=yes
30120 else
30121 echo "$as_me: failed program was:" >&5
30122 sed 's/^/| /' conftest.$ac_ext >&5
30124 glibcxx_cv_func_isinfl_use=no
30126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30127 ac_ext=c
30128 ac_cpp='$CPP $CPPFLAGS'
30129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30137 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
30138 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
30140 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30142 for ac_func in isinfl
30144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30145 echo "$as_me:$LINENO: checking for $ac_func" >&5
30146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30147 if eval "test \"\${$as_ac_var+set}\" = set"; then
30148 echo $ECHO_N "(cached) $ECHO_C" >&6
30149 else
30150 if test x$gcc_no_link = xyes; then
30151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30153 { (exit 1); exit 1; }; }
30155 cat >conftest.$ac_ext <<_ACEOF
30156 /* confdefs.h. */
30157 _ACEOF
30158 cat confdefs.h >>conftest.$ac_ext
30159 cat >>conftest.$ac_ext <<_ACEOF
30160 /* end confdefs.h. */
30161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30163 #define $ac_func innocuous_$ac_func
30165 /* System header to define __stub macros and hopefully few prototypes,
30166 which can conflict with char $ac_func (); below.
30167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30168 <limits.h> exists even on freestanding compilers. */
30170 #ifdef __STDC__
30171 # include <limits.h>
30172 #else
30173 # include <assert.h>
30174 #endif
30176 #undef $ac_func
30178 /* Override any gcc2 internal prototype to avoid an error. */
30179 #ifdef __cplusplus
30180 extern "C"
30182 #endif
30183 /* We use char because int might match the return type of a gcc2
30184 builtin and then its argument prototype would still apply. */
30185 char $ac_func ();
30186 /* The GNU C library defines this for functions which it implements
30187 to always fail with ENOSYS. Some functions are actually named
30188 something starting with __ and the normal name is an alias. */
30189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30190 choke me
30191 #else
30192 char (*f) () = $ac_func;
30193 #endif
30194 #ifdef __cplusplus
30196 #endif
30199 main ()
30201 return f != $ac_func;
30203 return 0;
30205 _ACEOF
30206 rm -f conftest.$ac_objext conftest$ac_exeext
30207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30208 (eval $ac_link) 2>conftest.er1
30209 ac_status=$?
30210 grep -v '^ *+' conftest.er1 >conftest.err
30211 rm -f conftest.er1
30212 cat conftest.err >&5
30213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30214 (exit $ac_status); } &&
30215 { ac_try='test -z "$ac_c_werror_flag"
30216 || test ! -s conftest.err'
30217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30218 (eval $ac_try) 2>&5
30219 ac_status=$?
30220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30221 (exit $ac_status); }; } &&
30222 { ac_try='test -s conftest$ac_exeext'
30223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30224 (eval $ac_try) 2>&5
30225 ac_status=$?
30226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30227 (exit $ac_status); }; }; then
30228 eval "$as_ac_var=yes"
30229 else
30230 echo "$as_me: failed program was:" >&5
30231 sed 's/^/| /' conftest.$ac_ext >&5
30233 eval "$as_ac_var=no"
30235 rm -f conftest.err conftest.$ac_objext \
30236 conftest$ac_exeext conftest.$ac_ext
30238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30240 if test `eval echo '${'$as_ac_var'}'` = yes; then
30241 cat >>confdefs.h <<_ACEOF
30242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30243 _ACEOF
30246 done
30248 else
30250 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
30251 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
30252 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30253 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
30254 echo $ECHO_N "(cached) $ECHO_C" >&6
30255 else
30259 ac_ext=cc
30260 ac_cpp='$CXXCPP $CPPFLAGS'
30261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30265 cat >conftest.$ac_ext <<_ACEOF
30266 /* confdefs.h. */
30267 _ACEOF
30268 cat confdefs.h >>conftest.$ac_ext
30269 cat >>conftest.$ac_ext <<_ACEOF
30270 /* end confdefs.h. */
30271 #include <math.h>
30272 #ifdef HAVE_IEEEFP_H
30273 #include <ieeefp.h>
30274 #endif
30277 main ()
30279 _isinfl(0);
30281 return 0;
30283 _ACEOF
30284 rm -f conftest.$ac_objext
30285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30286 (eval $ac_compile) 2>conftest.er1
30287 ac_status=$?
30288 grep -v '^ *+' conftest.er1 >conftest.err
30289 rm -f conftest.er1
30290 cat conftest.err >&5
30291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30292 (exit $ac_status); } &&
30293 { ac_try='test -z "$ac_cxx_werror_flag"
30294 || test ! -s conftest.err'
30295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30296 (eval $ac_try) 2>&5
30297 ac_status=$?
30298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30299 (exit $ac_status); }; } &&
30300 { ac_try='test -s conftest.$ac_objext'
30301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30302 (eval $ac_try) 2>&5
30303 ac_status=$?
30304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30305 (exit $ac_status); }; }; then
30306 glibcxx_cv_func__isinfl_use=yes
30307 else
30308 echo "$as_me: failed program was:" >&5
30309 sed 's/^/| /' conftest.$ac_ext >&5
30311 glibcxx_cv_func__isinfl_use=no
30313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30314 ac_ext=c
30315 ac_cpp='$CPP $CPPFLAGS'
30316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30324 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
30325 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
30327 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30329 for ac_func in _isinfl
30331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30332 echo "$as_me:$LINENO: checking for $ac_func" >&5
30333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30334 if eval "test \"\${$as_ac_var+set}\" = set"; then
30335 echo $ECHO_N "(cached) $ECHO_C" >&6
30336 else
30337 if test x$gcc_no_link = xyes; then
30338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30340 { (exit 1); exit 1; }; }
30342 cat >conftest.$ac_ext <<_ACEOF
30343 /* confdefs.h. */
30344 _ACEOF
30345 cat confdefs.h >>conftest.$ac_ext
30346 cat >>conftest.$ac_ext <<_ACEOF
30347 /* end confdefs.h. */
30348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30350 #define $ac_func innocuous_$ac_func
30352 /* System header to define __stub macros and hopefully few prototypes,
30353 which can conflict with char $ac_func (); below.
30354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30355 <limits.h> exists even on freestanding compilers. */
30357 #ifdef __STDC__
30358 # include <limits.h>
30359 #else
30360 # include <assert.h>
30361 #endif
30363 #undef $ac_func
30365 /* Override any gcc2 internal prototype to avoid an error. */
30366 #ifdef __cplusplus
30367 extern "C"
30369 #endif
30370 /* We use char because int might match the return type of a gcc2
30371 builtin and then its argument prototype would still apply. */
30372 char $ac_func ();
30373 /* The GNU C library defines this for functions which it implements
30374 to always fail with ENOSYS. Some functions are actually named
30375 something starting with __ and the normal name is an alias. */
30376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30377 choke me
30378 #else
30379 char (*f) () = $ac_func;
30380 #endif
30381 #ifdef __cplusplus
30383 #endif
30386 main ()
30388 return f != $ac_func;
30390 return 0;
30392 _ACEOF
30393 rm -f conftest.$ac_objext conftest$ac_exeext
30394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30395 (eval $ac_link) 2>conftest.er1
30396 ac_status=$?
30397 grep -v '^ *+' conftest.er1 >conftest.err
30398 rm -f conftest.er1
30399 cat conftest.err >&5
30400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30401 (exit $ac_status); } &&
30402 { ac_try='test -z "$ac_c_werror_flag"
30403 || test ! -s conftest.err'
30404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30405 (eval $ac_try) 2>&5
30406 ac_status=$?
30407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30408 (exit $ac_status); }; } &&
30409 { ac_try='test -s conftest$ac_exeext'
30410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30411 (eval $ac_try) 2>&5
30412 ac_status=$?
30413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30414 (exit $ac_status); }; }; then
30415 eval "$as_ac_var=yes"
30416 else
30417 echo "$as_me: failed program was:" >&5
30418 sed 's/^/| /' conftest.$ac_ext >&5
30420 eval "$as_ac_var=no"
30422 rm -f conftest.err conftest.$ac_objext \
30423 conftest$ac_exeext conftest.$ac_ext
30425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30427 if test `eval echo '${'$as_ac_var'}'` = yes; then
30428 cat >>confdefs.h <<_ACEOF
30429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30430 _ACEOF
30433 done
30443 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
30444 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
30445 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
30446 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
30447 echo $ECHO_N "(cached) $ECHO_C" >&6
30448 else
30452 ac_ext=cc
30453 ac_cpp='$CXXCPP $CPPFLAGS'
30454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30458 cat >conftest.$ac_ext <<_ACEOF
30459 /* confdefs.h. */
30460 _ACEOF
30461 cat confdefs.h >>conftest.$ac_ext
30462 cat >>conftest.$ac_ext <<_ACEOF
30463 /* end confdefs.h. */
30464 #include <math.h>
30466 main ()
30468 copysignl(0, 0);
30470 return 0;
30472 _ACEOF
30473 rm -f conftest.$ac_objext
30474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30475 (eval $ac_compile) 2>conftest.er1
30476 ac_status=$?
30477 grep -v '^ *+' conftest.er1 >conftest.err
30478 rm -f conftest.er1
30479 cat conftest.err >&5
30480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30481 (exit $ac_status); } &&
30482 { ac_try='test -z "$ac_cxx_werror_flag"
30483 || test ! -s conftest.err'
30484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30485 (eval $ac_try) 2>&5
30486 ac_status=$?
30487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30488 (exit $ac_status); }; } &&
30489 { ac_try='test -s conftest.$ac_objext'
30490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30491 (eval $ac_try) 2>&5
30492 ac_status=$?
30493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30494 (exit $ac_status); }; }; then
30495 glibcxx_cv_func_copysignl_use=yes
30496 else
30497 echo "$as_me: failed program was:" >&5
30498 sed 's/^/| /' conftest.$ac_ext >&5
30500 glibcxx_cv_func_copysignl_use=no
30502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30503 ac_ext=c
30504 ac_cpp='$CPP $CPPFLAGS'
30505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30513 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
30514 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
30516 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
30518 for ac_func in copysignl
30520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30521 echo "$as_me:$LINENO: checking for $ac_func" >&5
30522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30523 if eval "test \"\${$as_ac_var+set}\" = set"; then
30524 echo $ECHO_N "(cached) $ECHO_C" >&6
30525 else
30526 if test x$gcc_no_link = xyes; then
30527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30529 { (exit 1); exit 1; }; }
30531 cat >conftest.$ac_ext <<_ACEOF
30532 /* confdefs.h. */
30533 _ACEOF
30534 cat confdefs.h >>conftest.$ac_ext
30535 cat >>conftest.$ac_ext <<_ACEOF
30536 /* end confdefs.h. */
30537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30539 #define $ac_func innocuous_$ac_func
30541 /* System header to define __stub macros and hopefully few prototypes,
30542 which can conflict with char $ac_func (); below.
30543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30544 <limits.h> exists even on freestanding compilers. */
30546 #ifdef __STDC__
30547 # include <limits.h>
30548 #else
30549 # include <assert.h>
30550 #endif
30552 #undef $ac_func
30554 /* Override any gcc2 internal prototype to avoid an error. */
30555 #ifdef __cplusplus
30556 extern "C"
30558 #endif
30559 /* We use char because int might match the return type of a gcc2
30560 builtin and then its argument prototype would still apply. */
30561 char $ac_func ();
30562 /* The GNU C library defines this for functions which it implements
30563 to always fail with ENOSYS. Some functions are actually named
30564 something starting with __ and the normal name is an alias. */
30565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30566 choke me
30567 #else
30568 char (*f) () = $ac_func;
30569 #endif
30570 #ifdef __cplusplus
30572 #endif
30575 main ()
30577 return f != $ac_func;
30579 return 0;
30581 _ACEOF
30582 rm -f conftest.$ac_objext conftest$ac_exeext
30583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30584 (eval $ac_link) 2>conftest.er1
30585 ac_status=$?
30586 grep -v '^ *+' conftest.er1 >conftest.err
30587 rm -f conftest.er1
30588 cat conftest.err >&5
30589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30590 (exit $ac_status); } &&
30591 { ac_try='test -z "$ac_c_werror_flag"
30592 || test ! -s conftest.err'
30593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30594 (eval $ac_try) 2>&5
30595 ac_status=$?
30596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30597 (exit $ac_status); }; } &&
30598 { ac_try='test -s conftest$ac_exeext'
30599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30600 (eval $ac_try) 2>&5
30601 ac_status=$?
30602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30603 (exit $ac_status); }; }; then
30604 eval "$as_ac_var=yes"
30605 else
30606 echo "$as_me: failed program was:" >&5
30607 sed 's/^/| /' conftest.$ac_ext >&5
30609 eval "$as_ac_var=no"
30611 rm -f conftest.err conftest.$ac_objext \
30612 conftest$ac_exeext conftest.$ac_ext
30614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30616 if test `eval echo '${'$as_ac_var'}'` = yes; then
30617 cat >>confdefs.h <<_ACEOF
30618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30619 _ACEOF
30622 done
30624 else
30626 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
30627 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
30628 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
30629 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
30630 echo $ECHO_N "(cached) $ECHO_C" >&6
30631 else
30635 ac_ext=cc
30636 ac_cpp='$CXXCPP $CPPFLAGS'
30637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30641 cat >conftest.$ac_ext <<_ACEOF
30642 /* confdefs.h. */
30643 _ACEOF
30644 cat confdefs.h >>conftest.$ac_ext
30645 cat >>conftest.$ac_ext <<_ACEOF
30646 /* end confdefs.h. */
30647 #include <math.h>
30649 main ()
30651 _copysignl(0, 0);
30653 return 0;
30655 _ACEOF
30656 rm -f conftest.$ac_objext
30657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30658 (eval $ac_compile) 2>conftest.er1
30659 ac_status=$?
30660 grep -v '^ *+' conftest.er1 >conftest.err
30661 rm -f conftest.er1
30662 cat conftest.err >&5
30663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664 (exit $ac_status); } &&
30665 { ac_try='test -z "$ac_cxx_werror_flag"
30666 || test ! -s conftest.err'
30667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30668 (eval $ac_try) 2>&5
30669 ac_status=$?
30670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30671 (exit $ac_status); }; } &&
30672 { ac_try='test -s conftest.$ac_objext'
30673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30674 (eval $ac_try) 2>&5
30675 ac_status=$?
30676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30677 (exit $ac_status); }; }; then
30678 glibcxx_cv_func__copysignl_use=yes
30679 else
30680 echo "$as_me: failed program was:" >&5
30681 sed 's/^/| /' conftest.$ac_ext >&5
30683 glibcxx_cv_func__copysignl_use=no
30685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30686 ac_ext=c
30687 ac_cpp='$CPP $CPPFLAGS'
30688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30696 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
30697 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
30699 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
30701 for ac_func in _copysignl
30703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30704 echo "$as_me:$LINENO: checking for $ac_func" >&5
30705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30706 if eval "test \"\${$as_ac_var+set}\" = set"; then
30707 echo $ECHO_N "(cached) $ECHO_C" >&6
30708 else
30709 if test x$gcc_no_link = xyes; then
30710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30712 { (exit 1); exit 1; }; }
30714 cat >conftest.$ac_ext <<_ACEOF
30715 /* confdefs.h. */
30716 _ACEOF
30717 cat confdefs.h >>conftest.$ac_ext
30718 cat >>conftest.$ac_ext <<_ACEOF
30719 /* end confdefs.h. */
30720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30722 #define $ac_func innocuous_$ac_func
30724 /* System header to define __stub macros and hopefully few prototypes,
30725 which can conflict with char $ac_func (); below.
30726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30727 <limits.h> exists even on freestanding compilers. */
30729 #ifdef __STDC__
30730 # include <limits.h>
30731 #else
30732 # include <assert.h>
30733 #endif
30735 #undef $ac_func
30737 /* Override any gcc2 internal prototype to avoid an error. */
30738 #ifdef __cplusplus
30739 extern "C"
30741 #endif
30742 /* We use char because int might match the return type of a gcc2
30743 builtin and then its argument prototype would still apply. */
30744 char $ac_func ();
30745 /* The GNU C library defines this for functions which it implements
30746 to always fail with ENOSYS. Some functions are actually named
30747 something starting with __ and the normal name is an alias. */
30748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30749 choke me
30750 #else
30751 char (*f) () = $ac_func;
30752 #endif
30753 #ifdef __cplusplus
30755 #endif
30758 main ()
30760 return f != $ac_func;
30762 return 0;
30764 _ACEOF
30765 rm -f conftest.$ac_objext conftest$ac_exeext
30766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30767 (eval $ac_link) 2>conftest.er1
30768 ac_status=$?
30769 grep -v '^ *+' conftest.er1 >conftest.err
30770 rm -f conftest.er1
30771 cat conftest.err >&5
30772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30773 (exit $ac_status); } &&
30774 { ac_try='test -z "$ac_c_werror_flag"
30775 || test ! -s conftest.err'
30776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30777 (eval $ac_try) 2>&5
30778 ac_status=$?
30779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30780 (exit $ac_status); }; } &&
30781 { ac_try='test -s conftest$ac_exeext'
30782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30783 (eval $ac_try) 2>&5
30784 ac_status=$?
30785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30786 (exit $ac_status); }; }; then
30787 eval "$as_ac_var=yes"
30788 else
30789 echo "$as_me: failed program was:" >&5
30790 sed 's/^/| /' conftest.$ac_ext >&5
30792 eval "$as_ac_var=no"
30794 rm -f conftest.err conftest.$ac_objext \
30795 conftest$ac_exeext conftest.$ac_ext
30797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30799 if test `eval echo '${'$as_ac_var'}'` = yes; then
30800 cat >>confdefs.h <<_ACEOF
30801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30802 _ACEOF
30805 done
30815 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
30816 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
30817 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30818 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
30819 echo $ECHO_N "(cached) $ECHO_C" >&6
30820 else
30824 ac_ext=cc
30825 ac_cpp='$CXXCPP $CPPFLAGS'
30826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30830 cat >conftest.$ac_ext <<_ACEOF
30831 /* confdefs.h. */
30832 _ACEOF
30833 cat confdefs.h >>conftest.$ac_ext
30834 cat >>conftest.$ac_ext <<_ACEOF
30835 /* end confdefs.h. */
30836 #include <math.h>
30838 main ()
30840 atan2l(0, 0);
30842 return 0;
30844 _ACEOF
30845 rm -f conftest.$ac_objext
30846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30847 (eval $ac_compile) 2>conftest.er1
30848 ac_status=$?
30849 grep -v '^ *+' conftest.er1 >conftest.err
30850 rm -f conftest.er1
30851 cat conftest.err >&5
30852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853 (exit $ac_status); } &&
30854 { ac_try='test -z "$ac_cxx_werror_flag"
30855 || test ! -s conftest.err'
30856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30857 (eval $ac_try) 2>&5
30858 ac_status=$?
30859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30860 (exit $ac_status); }; } &&
30861 { ac_try='test -s conftest.$ac_objext'
30862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30863 (eval $ac_try) 2>&5
30864 ac_status=$?
30865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30866 (exit $ac_status); }; }; then
30867 glibcxx_cv_func_atan2l_use=yes
30868 else
30869 echo "$as_me: failed program was:" >&5
30870 sed 's/^/| /' conftest.$ac_ext >&5
30872 glibcxx_cv_func_atan2l_use=no
30874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30875 ac_ext=c
30876 ac_cpp='$CPP $CPPFLAGS'
30877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30885 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
30886 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
30888 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30890 for ac_func in atan2l
30892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30893 echo "$as_me:$LINENO: checking for $ac_func" >&5
30894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30895 if eval "test \"\${$as_ac_var+set}\" = set"; then
30896 echo $ECHO_N "(cached) $ECHO_C" >&6
30897 else
30898 if test x$gcc_no_link = xyes; then
30899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30901 { (exit 1); exit 1; }; }
30903 cat >conftest.$ac_ext <<_ACEOF
30904 /* confdefs.h. */
30905 _ACEOF
30906 cat confdefs.h >>conftest.$ac_ext
30907 cat >>conftest.$ac_ext <<_ACEOF
30908 /* end confdefs.h. */
30909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30911 #define $ac_func innocuous_$ac_func
30913 /* System header to define __stub macros and hopefully few prototypes,
30914 which can conflict with char $ac_func (); below.
30915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30916 <limits.h> exists even on freestanding compilers. */
30918 #ifdef __STDC__
30919 # include <limits.h>
30920 #else
30921 # include <assert.h>
30922 #endif
30924 #undef $ac_func
30926 /* Override any gcc2 internal prototype to avoid an error. */
30927 #ifdef __cplusplus
30928 extern "C"
30930 #endif
30931 /* We use char because int might match the return type of a gcc2
30932 builtin and then its argument prototype would still apply. */
30933 char $ac_func ();
30934 /* The GNU C library defines this for functions which it implements
30935 to always fail with ENOSYS. Some functions are actually named
30936 something starting with __ and the normal name is an alias. */
30937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30938 choke me
30939 #else
30940 char (*f) () = $ac_func;
30941 #endif
30942 #ifdef __cplusplus
30944 #endif
30947 main ()
30949 return f != $ac_func;
30951 return 0;
30953 _ACEOF
30954 rm -f conftest.$ac_objext conftest$ac_exeext
30955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30956 (eval $ac_link) 2>conftest.er1
30957 ac_status=$?
30958 grep -v '^ *+' conftest.er1 >conftest.err
30959 rm -f conftest.er1
30960 cat conftest.err >&5
30961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30962 (exit $ac_status); } &&
30963 { ac_try='test -z "$ac_c_werror_flag"
30964 || test ! -s conftest.err'
30965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30966 (eval $ac_try) 2>&5
30967 ac_status=$?
30968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30969 (exit $ac_status); }; } &&
30970 { ac_try='test -s conftest$ac_exeext'
30971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30972 (eval $ac_try) 2>&5
30973 ac_status=$?
30974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30975 (exit $ac_status); }; }; then
30976 eval "$as_ac_var=yes"
30977 else
30978 echo "$as_me: failed program was:" >&5
30979 sed 's/^/| /' conftest.$ac_ext >&5
30981 eval "$as_ac_var=no"
30983 rm -f conftest.err conftest.$ac_objext \
30984 conftest$ac_exeext conftest.$ac_ext
30986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30988 if test `eval echo '${'$as_ac_var'}'` = yes; then
30989 cat >>confdefs.h <<_ACEOF
30990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30991 _ACEOF
30994 done
30996 else
30998 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
30999 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
31000 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31001 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
31002 echo $ECHO_N "(cached) $ECHO_C" >&6
31003 else
31007 ac_ext=cc
31008 ac_cpp='$CXXCPP $CPPFLAGS'
31009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31013 cat >conftest.$ac_ext <<_ACEOF
31014 /* confdefs.h. */
31015 _ACEOF
31016 cat confdefs.h >>conftest.$ac_ext
31017 cat >>conftest.$ac_ext <<_ACEOF
31018 /* end confdefs.h. */
31019 #include <math.h>
31021 main ()
31023 _atan2l(0, 0);
31025 return 0;
31027 _ACEOF
31028 rm -f conftest.$ac_objext
31029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31030 (eval $ac_compile) 2>conftest.er1
31031 ac_status=$?
31032 grep -v '^ *+' conftest.er1 >conftest.err
31033 rm -f conftest.er1
31034 cat conftest.err >&5
31035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31036 (exit $ac_status); } &&
31037 { ac_try='test -z "$ac_cxx_werror_flag"
31038 || test ! -s conftest.err'
31039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31040 (eval $ac_try) 2>&5
31041 ac_status=$?
31042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31043 (exit $ac_status); }; } &&
31044 { ac_try='test -s conftest.$ac_objext'
31045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31046 (eval $ac_try) 2>&5
31047 ac_status=$?
31048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31049 (exit $ac_status); }; }; then
31050 glibcxx_cv_func__atan2l_use=yes
31051 else
31052 echo "$as_me: failed program was:" >&5
31053 sed 's/^/| /' conftest.$ac_ext >&5
31055 glibcxx_cv_func__atan2l_use=no
31057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31058 ac_ext=c
31059 ac_cpp='$CPP $CPPFLAGS'
31060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31068 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
31069 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
31071 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31073 for ac_func in _atan2l
31075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31076 echo "$as_me:$LINENO: checking for $ac_func" >&5
31077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31078 if eval "test \"\${$as_ac_var+set}\" = set"; then
31079 echo $ECHO_N "(cached) $ECHO_C" >&6
31080 else
31081 if test x$gcc_no_link = xyes; then
31082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31084 { (exit 1); exit 1; }; }
31086 cat >conftest.$ac_ext <<_ACEOF
31087 /* confdefs.h. */
31088 _ACEOF
31089 cat confdefs.h >>conftest.$ac_ext
31090 cat >>conftest.$ac_ext <<_ACEOF
31091 /* end confdefs.h. */
31092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31094 #define $ac_func innocuous_$ac_func
31096 /* System header to define __stub macros and hopefully few prototypes,
31097 which can conflict with char $ac_func (); below.
31098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31099 <limits.h> exists even on freestanding compilers. */
31101 #ifdef __STDC__
31102 # include <limits.h>
31103 #else
31104 # include <assert.h>
31105 #endif
31107 #undef $ac_func
31109 /* Override any gcc2 internal prototype to avoid an error. */
31110 #ifdef __cplusplus
31111 extern "C"
31113 #endif
31114 /* We use char because int might match the return type of a gcc2
31115 builtin and then its argument prototype would still apply. */
31116 char $ac_func ();
31117 /* The GNU C library defines this for functions which it implements
31118 to always fail with ENOSYS. Some functions are actually named
31119 something starting with __ and the normal name is an alias. */
31120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31121 choke me
31122 #else
31123 char (*f) () = $ac_func;
31124 #endif
31125 #ifdef __cplusplus
31127 #endif
31130 main ()
31132 return f != $ac_func;
31134 return 0;
31136 _ACEOF
31137 rm -f conftest.$ac_objext conftest$ac_exeext
31138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31139 (eval $ac_link) 2>conftest.er1
31140 ac_status=$?
31141 grep -v '^ *+' conftest.er1 >conftest.err
31142 rm -f conftest.er1
31143 cat conftest.err >&5
31144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31145 (exit $ac_status); } &&
31146 { ac_try='test -z "$ac_c_werror_flag"
31147 || test ! -s conftest.err'
31148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31149 (eval $ac_try) 2>&5
31150 ac_status=$?
31151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31152 (exit $ac_status); }; } &&
31153 { ac_try='test -s conftest$ac_exeext'
31154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31155 (eval $ac_try) 2>&5
31156 ac_status=$?
31157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31158 (exit $ac_status); }; }; then
31159 eval "$as_ac_var=yes"
31160 else
31161 echo "$as_me: failed program was:" >&5
31162 sed 's/^/| /' conftest.$ac_ext >&5
31164 eval "$as_ac_var=no"
31166 rm -f conftest.err conftest.$ac_objext \
31167 conftest$ac_exeext conftest.$ac_ext
31169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31171 if test `eval echo '${'$as_ac_var'}'` = yes; then
31172 cat >>confdefs.h <<_ACEOF
31173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31174 _ACEOF
31177 done
31187 echo "$as_me:$LINENO: checking for expl declaration" >&5
31188 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
31189 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31190 if test "${glibcxx_cv_func_expl_use+set}" = set; then
31191 echo $ECHO_N "(cached) $ECHO_C" >&6
31192 else
31196 ac_ext=cc
31197 ac_cpp='$CXXCPP $CPPFLAGS'
31198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31202 cat >conftest.$ac_ext <<_ACEOF
31203 /* confdefs.h. */
31204 _ACEOF
31205 cat confdefs.h >>conftest.$ac_ext
31206 cat >>conftest.$ac_ext <<_ACEOF
31207 /* end confdefs.h. */
31208 #include <math.h>
31209 #ifdef HAVE_IEEEFP_H
31210 #include <ieeefp.h>
31211 #endif
31214 main ()
31216 expl(0);
31218 return 0;
31220 _ACEOF
31221 rm -f conftest.$ac_objext
31222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31223 (eval $ac_compile) 2>conftest.er1
31224 ac_status=$?
31225 grep -v '^ *+' conftest.er1 >conftest.err
31226 rm -f conftest.er1
31227 cat conftest.err >&5
31228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31229 (exit $ac_status); } &&
31230 { ac_try='test -z "$ac_cxx_werror_flag"
31231 || test ! -s conftest.err'
31232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31233 (eval $ac_try) 2>&5
31234 ac_status=$?
31235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31236 (exit $ac_status); }; } &&
31237 { ac_try='test -s conftest.$ac_objext'
31238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31239 (eval $ac_try) 2>&5
31240 ac_status=$?
31241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31242 (exit $ac_status); }; }; then
31243 glibcxx_cv_func_expl_use=yes
31244 else
31245 echo "$as_me: failed program was:" >&5
31246 sed 's/^/| /' conftest.$ac_ext >&5
31248 glibcxx_cv_func_expl_use=no
31250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31251 ac_ext=c
31252 ac_cpp='$CPP $CPPFLAGS'
31253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31261 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
31262 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
31264 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31266 for ac_func in expl
31268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31269 echo "$as_me:$LINENO: checking for $ac_func" >&5
31270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31271 if eval "test \"\${$as_ac_var+set}\" = set"; then
31272 echo $ECHO_N "(cached) $ECHO_C" >&6
31273 else
31274 if test x$gcc_no_link = xyes; then
31275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31277 { (exit 1); exit 1; }; }
31279 cat >conftest.$ac_ext <<_ACEOF
31280 /* confdefs.h. */
31281 _ACEOF
31282 cat confdefs.h >>conftest.$ac_ext
31283 cat >>conftest.$ac_ext <<_ACEOF
31284 /* end confdefs.h. */
31285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31287 #define $ac_func innocuous_$ac_func
31289 /* System header to define __stub macros and hopefully few prototypes,
31290 which can conflict with char $ac_func (); below.
31291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31292 <limits.h> exists even on freestanding compilers. */
31294 #ifdef __STDC__
31295 # include <limits.h>
31296 #else
31297 # include <assert.h>
31298 #endif
31300 #undef $ac_func
31302 /* Override any gcc2 internal prototype to avoid an error. */
31303 #ifdef __cplusplus
31304 extern "C"
31306 #endif
31307 /* We use char because int might match the return type of a gcc2
31308 builtin and then its argument prototype would still apply. */
31309 char $ac_func ();
31310 /* The GNU C library defines this for functions which it implements
31311 to always fail with ENOSYS. Some functions are actually named
31312 something starting with __ and the normal name is an alias. */
31313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31314 choke me
31315 #else
31316 char (*f) () = $ac_func;
31317 #endif
31318 #ifdef __cplusplus
31320 #endif
31323 main ()
31325 return f != $ac_func;
31327 return 0;
31329 _ACEOF
31330 rm -f conftest.$ac_objext conftest$ac_exeext
31331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31332 (eval $ac_link) 2>conftest.er1
31333 ac_status=$?
31334 grep -v '^ *+' conftest.er1 >conftest.err
31335 rm -f conftest.er1
31336 cat conftest.err >&5
31337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31338 (exit $ac_status); } &&
31339 { ac_try='test -z "$ac_c_werror_flag"
31340 || test ! -s conftest.err'
31341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31342 (eval $ac_try) 2>&5
31343 ac_status=$?
31344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31345 (exit $ac_status); }; } &&
31346 { ac_try='test -s conftest$ac_exeext'
31347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31348 (eval $ac_try) 2>&5
31349 ac_status=$?
31350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31351 (exit $ac_status); }; }; then
31352 eval "$as_ac_var=yes"
31353 else
31354 echo "$as_me: failed program was:" >&5
31355 sed 's/^/| /' conftest.$ac_ext >&5
31357 eval "$as_ac_var=no"
31359 rm -f conftest.err conftest.$ac_objext \
31360 conftest$ac_exeext conftest.$ac_ext
31362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31364 if test `eval echo '${'$as_ac_var'}'` = yes; then
31365 cat >>confdefs.h <<_ACEOF
31366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31367 _ACEOF
31370 done
31372 else
31374 echo "$as_me:$LINENO: checking for _expl declaration" >&5
31375 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
31376 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31377 if test "${glibcxx_cv_func__expl_use+set}" = set; then
31378 echo $ECHO_N "(cached) $ECHO_C" >&6
31379 else
31383 ac_ext=cc
31384 ac_cpp='$CXXCPP $CPPFLAGS'
31385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31389 cat >conftest.$ac_ext <<_ACEOF
31390 /* confdefs.h. */
31391 _ACEOF
31392 cat confdefs.h >>conftest.$ac_ext
31393 cat >>conftest.$ac_ext <<_ACEOF
31394 /* end confdefs.h. */
31395 #include <math.h>
31396 #ifdef HAVE_IEEEFP_H
31397 #include <ieeefp.h>
31398 #endif
31401 main ()
31403 _expl(0);
31405 return 0;
31407 _ACEOF
31408 rm -f conftest.$ac_objext
31409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31410 (eval $ac_compile) 2>conftest.er1
31411 ac_status=$?
31412 grep -v '^ *+' conftest.er1 >conftest.err
31413 rm -f conftest.er1
31414 cat conftest.err >&5
31415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31416 (exit $ac_status); } &&
31417 { ac_try='test -z "$ac_cxx_werror_flag"
31418 || test ! -s conftest.err'
31419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31420 (eval $ac_try) 2>&5
31421 ac_status=$?
31422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31423 (exit $ac_status); }; } &&
31424 { ac_try='test -s conftest.$ac_objext'
31425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31426 (eval $ac_try) 2>&5
31427 ac_status=$?
31428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31429 (exit $ac_status); }; }; then
31430 glibcxx_cv_func__expl_use=yes
31431 else
31432 echo "$as_me: failed program was:" >&5
31433 sed 's/^/| /' conftest.$ac_ext >&5
31435 glibcxx_cv_func__expl_use=no
31437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31438 ac_ext=c
31439 ac_cpp='$CPP $CPPFLAGS'
31440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31448 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
31449 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
31451 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31453 for ac_func in _expl
31455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31456 echo "$as_me:$LINENO: checking for $ac_func" >&5
31457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31458 if eval "test \"\${$as_ac_var+set}\" = set"; then
31459 echo $ECHO_N "(cached) $ECHO_C" >&6
31460 else
31461 if test x$gcc_no_link = xyes; then
31462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31464 { (exit 1); exit 1; }; }
31466 cat >conftest.$ac_ext <<_ACEOF
31467 /* confdefs.h. */
31468 _ACEOF
31469 cat confdefs.h >>conftest.$ac_ext
31470 cat >>conftest.$ac_ext <<_ACEOF
31471 /* end confdefs.h. */
31472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31474 #define $ac_func innocuous_$ac_func
31476 /* System header to define __stub macros and hopefully few prototypes,
31477 which can conflict with char $ac_func (); below.
31478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31479 <limits.h> exists even on freestanding compilers. */
31481 #ifdef __STDC__
31482 # include <limits.h>
31483 #else
31484 # include <assert.h>
31485 #endif
31487 #undef $ac_func
31489 /* Override any gcc2 internal prototype to avoid an error. */
31490 #ifdef __cplusplus
31491 extern "C"
31493 #endif
31494 /* We use char because int might match the return type of a gcc2
31495 builtin and then its argument prototype would still apply. */
31496 char $ac_func ();
31497 /* The GNU C library defines this for functions which it implements
31498 to always fail with ENOSYS. Some functions are actually named
31499 something starting with __ and the normal name is an alias. */
31500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31501 choke me
31502 #else
31503 char (*f) () = $ac_func;
31504 #endif
31505 #ifdef __cplusplus
31507 #endif
31510 main ()
31512 return f != $ac_func;
31514 return 0;
31516 _ACEOF
31517 rm -f conftest.$ac_objext conftest$ac_exeext
31518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31519 (eval $ac_link) 2>conftest.er1
31520 ac_status=$?
31521 grep -v '^ *+' conftest.er1 >conftest.err
31522 rm -f conftest.er1
31523 cat conftest.err >&5
31524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31525 (exit $ac_status); } &&
31526 { ac_try='test -z "$ac_c_werror_flag"
31527 || test ! -s conftest.err'
31528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31529 (eval $ac_try) 2>&5
31530 ac_status=$?
31531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31532 (exit $ac_status); }; } &&
31533 { ac_try='test -s conftest$ac_exeext'
31534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31535 (eval $ac_try) 2>&5
31536 ac_status=$?
31537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31538 (exit $ac_status); }; }; then
31539 eval "$as_ac_var=yes"
31540 else
31541 echo "$as_me: failed program was:" >&5
31542 sed 's/^/| /' conftest.$ac_ext >&5
31544 eval "$as_ac_var=no"
31546 rm -f conftest.err conftest.$ac_objext \
31547 conftest$ac_exeext conftest.$ac_ext
31549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31551 if test `eval echo '${'$as_ac_var'}'` = yes; then
31552 cat >>confdefs.h <<_ACEOF
31553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31554 _ACEOF
31557 done
31567 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
31568 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
31569 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31570 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
31571 echo $ECHO_N "(cached) $ECHO_C" >&6
31572 else
31576 ac_ext=cc
31577 ac_cpp='$CXXCPP $CPPFLAGS'
31578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31582 cat >conftest.$ac_ext <<_ACEOF
31583 /* confdefs.h. */
31584 _ACEOF
31585 cat confdefs.h >>conftest.$ac_ext
31586 cat >>conftest.$ac_ext <<_ACEOF
31587 /* end confdefs.h. */
31588 #include <math.h>
31589 #ifdef HAVE_IEEEFP_H
31590 #include <ieeefp.h>
31591 #endif
31594 main ()
31596 fabsl(0);
31598 return 0;
31600 _ACEOF
31601 rm -f conftest.$ac_objext
31602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31603 (eval $ac_compile) 2>conftest.er1
31604 ac_status=$?
31605 grep -v '^ *+' conftest.er1 >conftest.err
31606 rm -f conftest.er1
31607 cat conftest.err >&5
31608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31609 (exit $ac_status); } &&
31610 { ac_try='test -z "$ac_cxx_werror_flag"
31611 || test ! -s conftest.err'
31612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31613 (eval $ac_try) 2>&5
31614 ac_status=$?
31615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616 (exit $ac_status); }; } &&
31617 { ac_try='test -s conftest.$ac_objext'
31618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31619 (eval $ac_try) 2>&5
31620 ac_status=$?
31621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31622 (exit $ac_status); }; }; then
31623 glibcxx_cv_func_fabsl_use=yes
31624 else
31625 echo "$as_me: failed program was:" >&5
31626 sed 's/^/| /' conftest.$ac_ext >&5
31628 glibcxx_cv_func_fabsl_use=no
31630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31631 ac_ext=c
31632 ac_cpp='$CPP $CPPFLAGS'
31633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31641 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
31642 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
31644 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31646 for ac_func in fabsl
31648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31649 echo "$as_me:$LINENO: checking for $ac_func" >&5
31650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31651 if eval "test \"\${$as_ac_var+set}\" = set"; then
31652 echo $ECHO_N "(cached) $ECHO_C" >&6
31653 else
31654 if test x$gcc_no_link = xyes; then
31655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31657 { (exit 1); exit 1; }; }
31659 cat >conftest.$ac_ext <<_ACEOF
31660 /* confdefs.h. */
31661 _ACEOF
31662 cat confdefs.h >>conftest.$ac_ext
31663 cat >>conftest.$ac_ext <<_ACEOF
31664 /* end confdefs.h. */
31665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31667 #define $ac_func innocuous_$ac_func
31669 /* System header to define __stub macros and hopefully few prototypes,
31670 which can conflict with char $ac_func (); below.
31671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31672 <limits.h> exists even on freestanding compilers. */
31674 #ifdef __STDC__
31675 # include <limits.h>
31676 #else
31677 # include <assert.h>
31678 #endif
31680 #undef $ac_func
31682 /* Override any gcc2 internal prototype to avoid an error. */
31683 #ifdef __cplusplus
31684 extern "C"
31686 #endif
31687 /* We use char because int might match the return type of a gcc2
31688 builtin and then its argument prototype would still apply. */
31689 char $ac_func ();
31690 /* The GNU C library defines this for functions which it implements
31691 to always fail with ENOSYS. Some functions are actually named
31692 something starting with __ and the normal name is an alias. */
31693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31694 choke me
31695 #else
31696 char (*f) () = $ac_func;
31697 #endif
31698 #ifdef __cplusplus
31700 #endif
31703 main ()
31705 return f != $ac_func;
31707 return 0;
31709 _ACEOF
31710 rm -f conftest.$ac_objext conftest$ac_exeext
31711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31712 (eval $ac_link) 2>conftest.er1
31713 ac_status=$?
31714 grep -v '^ *+' conftest.er1 >conftest.err
31715 rm -f conftest.er1
31716 cat conftest.err >&5
31717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31718 (exit $ac_status); } &&
31719 { ac_try='test -z "$ac_c_werror_flag"
31720 || test ! -s conftest.err'
31721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31722 (eval $ac_try) 2>&5
31723 ac_status=$?
31724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31725 (exit $ac_status); }; } &&
31726 { ac_try='test -s conftest$ac_exeext'
31727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31728 (eval $ac_try) 2>&5
31729 ac_status=$?
31730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31731 (exit $ac_status); }; }; then
31732 eval "$as_ac_var=yes"
31733 else
31734 echo "$as_me: failed program was:" >&5
31735 sed 's/^/| /' conftest.$ac_ext >&5
31737 eval "$as_ac_var=no"
31739 rm -f conftest.err conftest.$ac_objext \
31740 conftest$ac_exeext conftest.$ac_ext
31742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31744 if test `eval echo '${'$as_ac_var'}'` = yes; then
31745 cat >>confdefs.h <<_ACEOF
31746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31747 _ACEOF
31750 done
31752 else
31754 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
31755 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
31756 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31757 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
31758 echo $ECHO_N "(cached) $ECHO_C" >&6
31759 else
31763 ac_ext=cc
31764 ac_cpp='$CXXCPP $CPPFLAGS'
31765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31769 cat >conftest.$ac_ext <<_ACEOF
31770 /* confdefs.h. */
31771 _ACEOF
31772 cat confdefs.h >>conftest.$ac_ext
31773 cat >>conftest.$ac_ext <<_ACEOF
31774 /* end confdefs.h. */
31775 #include <math.h>
31776 #ifdef HAVE_IEEEFP_H
31777 #include <ieeefp.h>
31778 #endif
31781 main ()
31783 _fabsl(0);
31785 return 0;
31787 _ACEOF
31788 rm -f conftest.$ac_objext
31789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31790 (eval $ac_compile) 2>conftest.er1
31791 ac_status=$?
31792 grep -v '^ *+' conftest.er1 >conftest.err
31793 rm -f conftest.er1
31794 cat conftest.err >&5
31795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31796 (exit $ac_status); } &&
31797 { ac_try='test -z "$ac_cxx_werror_flag"
31798 || test ! -s conftest.err'
31799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31800 (eval $ac_try) 2>&5
31801 ac_status=$?
31802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31803 (exit $ac_status); }; } &&
31804 { ac_try='test -s conftest.$ac_objext'
31805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31806 (eval $ac_try) 2>&5
31807 ac_status=$?
31808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809 (exit $ac_status); }; }; then
31810 glibcxx_cv_func__fabsl_use=yes
31811 else
31812 echo "$as_me: failed program was:" >&5
31813 sed 's/^/| /' conftest.$ac_ext >&5
31815 glibcxx_cv_func__fabsl_use=no
31817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31818 ac_ext=c
31819 ac_cpp='$CPP $CPPFLAGS'
31820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31828 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
31829 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
31831 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31833 for ac_func in _fabsl
31835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31836 echo "$as_me:$LINENO: checking for $ac_func" >&5
31837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31838 if eval "test \"\${$as_ac_var+set}\" = set"; then
31839 echo $ECHO_N "(cached) $ECHO_C" >&6
31840 else
31841 if test x$gcc_no_link = xyes; then
31842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31844 { (exit 1); exit 1; }; }
31846 cat >conftest.$ac_ext <<_ACEOF
31847 /* confdefs.h. */
31848 _ACEOF
31849 cat confdefs.h >>conftest.$ac_ext
31850 cat >>conftest.$ac_ext <<_ACEOF
31851 /* end confdefs.h. */
31852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31854 #define $ac_func innocuous_$ac_func
31856 /* System header to define __stub macros and hopefully few prototypes,
31857 which can conflict with char $ac_func (); below.
31858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31859 <limits.h> exists even on freestanding compilers. */
31861 #ifdef __STDC__
31862 # include <limits.h>
31863 #else
31864 # include <assert.h>
31865 #endif
31867 #undef $ac_func
31869 /* Override any gcc2 internal prototype to avoid an error. */
31870 #ifdef __cplusplus
31871 extern "C"
31873 #endif
31874 /* We use char because int might match the return type of a gcc2
31875 builtin and then its argument prototype would still apply. */
31876 char $ac_func ();
31877 /* The GNU C library defines this for functions which it implements
31878 to always fail with ENOSYS. Some functions are actually named
31879 something starting with __ and the normal name is an alias. */
31880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31881 choke me
31882 #else
31883 char (*f) () = $ac_func;
31884 #endif
31885 #ifdef __cplusplus
31887 #endif
31890 main ()
31892 return f != $ac_func;
31894 return 0;
31896 _ACEOF
31897 rm -f conftest.$ac_objext conftest$ac_exeext
31898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31899 (eval $ac_link) 2>conftest.er1
31900 ac_status=$?
31901 grep -v '^ *+' conftest.er1 >conftest.err
31902 rm -f conftest.er1
31903 cat conftest.err >&5
31904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31905 (exit $ac_status); } &&
31906 { ac_try='test -z "$ac_c_werror_flag"
31907 || test ! -s conftest.err'
31908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31909 (eval $ac_try) 2>&5
31910 ac_status=$?
31911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31912 (exit $ac_status); }; } &&
31913 { ac_try='test -s conftest$ac_exeext'
31914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31915 (eval $ac_try) 2>&5
31916 ac_status=$?
31917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31918 (exit $ac_status); }; }; then
31919 eval "$as_ac_var=yes"
31920 else
31921 echo "$as_me: failed program was:" >&5
31922 sed 's/^/| /' conftest.$ac_ext >&5
31924 eval "$as_ac_var=no"
31926 rm -f conftest.err conftest.$ac_objext \
31927 conftest$ac_exeext conftest.$ac_ext
31929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31931 if test `eval echo '${'$as_ac_var'}'` = yes; then
31932 cat >>confdefs.h <<_ACEOF
31933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31934 _ACEOF
31937 done
31947 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
31948 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
31949 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31950 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
31951 echo $ECHO_N "(cached) $ECHO_C" >&6
31952 else
31956 ac_ext=cc
31957 ac_cpp='$CXXCPP $CPPFLAGS'
31958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31962 cat >conftest.$ac_ext <<_ACEOF
31963 /* confdefs.h. */
31964 _ACEOF
31965 cat confdefs.h >>conftest.$ac_ext
31966 cat >>conftest.$ac_ext <<_ACEOF
31967 /* end confdefs.h. */
31968 #include <math.h>
31970 main ()
31972 fmodl(0, 0);
31974 return 0;
31976 _ACEOF
31977 rm -f conftest.$ac_objext
31978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31979 (eval $ac_compile) 2>conftest.er1
31980 ac_status=$?
31981 grep -v '^ *+' conftest.er1 >conftest.err
31982 rm -f conftest.er1
31983 cat conftest.err >&5
31984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31985 (exit $ac_status); } &&
31986 { ac_try='test -z "$ac_cxx_werror_flag"
31987 || test ! -s conftest.err'
31988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31989 (eval $ac_try) 2>&5
31990 ac_status=$?
31991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31992 (exit $ac_status); }; } &&
31993 { ac_try='test -s conftest.$ac_objext'
31994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31995 (eval $ac_try) 2>&5
31996 ac_status=$?
31997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31998 (exit $ac_status); }; }; then
31999 glibcxx_cv_func_fmodl_use=yes
32000 else
32001 echo "$as_me: failed program was:" >&5
32002 sed 's/^/| /' conftest.$ac_ext >&5
32004 glibcxx_cv_func_fmodl_use=no
32006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32007 ac_ext=c
32008 ac_cpp='$CPP $CPPFLAGS'
32009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32017 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
32018 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
32020 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32022 for ac_func in fmodl
32024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32025 echo "$as_me:$LINENO: checking for $ac_func" >&5
32026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32027 if eval "test \"\${$as_ac_var+set}\" = set"; then
32028 echo $ECHO_N "(cached) $ECHO_C" >&6
32029 else
32030 if test x$gcc_no_link = xyes; then
32031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32033 { (exit 1); exit 1; }; }
32035 cat >conftest.$ac_ext <<_ACEOF
32036 /* confdefs.h. */
32037 _ACEOF
32038 cat confdefs.h >>conftest.$ac_ext
32039 cat >>conftest.$ac_ext <<_ACEOF
32040 /* end confdefs.h. */
32041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32043 #define $ac_func innocuous_$ac_func
32045 /* System header to define __stub macros and hopefully few prototypes,
32046 which can conflict with char $ac_func (); below.
32047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32048 <limits.h> exists even on freestanding compilers. */
32050 #ifdef __STDC__
32051 # include <limits.h>
32052 #else
32053 # include <assert.h>
32054 #endif
32056 #undef $ac_func
32058 /* Override any gcc2 internal prototype to avoid an error. */
32059 #ifdef __cplusplus
32060 extern "C"
32062 #endif
32063 /* We use char because int might match the return type of a gcc2
32064 builtin and then its argument prototype would still apply. */
32065 char $ac_func ();
32066 /* The GNU C library defines this for functions which it implements
32067 to always fail with ENOSYS. Some functions are actually named
32068 something starting with __ and the normal name is an alias. */
32069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32070 choke me
32071 #else
32072 char (*f) () = $ac_func;
32073 #endif
32074 #ifdef __cplusplus
32076 #endif
32079 main ()
32081 return f != $ac_func;
32083 return 0;
32085 _ACEOF
32086 rm -f conftest.$ac_objext conftest$ac_exeext
32087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32088 (eval $ac_link) 2>conftest.er1
32089 ac_status=$?
32090 grep -v '^ *+' conftest.er1 >conftest.err
32091 rm -f conftest.er1
32092 cat conftest.err >&5
32093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32094 (exit $ac_status); } &&
32095 { ac_try='test -z "$ac_c_werror_flag"
32096 || test ! -s conftest.err'
32097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32098 (eval $ac_try) 2>&5
32099 ac_status=$?
32100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32101 (exit $ac_status); }; } &&
32102 { ac_try='test -s conftest$ac_exeext'
32103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32104 (eval $ac_try) 2>&5
32105 ac_status=$?
32106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32107 (exit $ac_status); }; }; then
32108 eval "$as_ac_var=yes"
32109 else
32110 echo "$as_me: failed program was:" >&5
32111 sed 's/^/| /' conftest.$ac_ext >&5
32113 eval "$as_ac_var=no"
32115 rm -f conftest.err conftest.$ac_objext \
32116 conftest$ac_exeext conftest.$ac_ext
32118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32120 if test `eval echo '${'$as_ac_var'}'` = yes; then
32121 cat >>confdefs.h <<_ACEOF
32122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32123 _ACEOF
32126 done
32128 else
32130 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
32131 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
32132 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32133 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
32134 echo $ECHO_N "(cached) $ECHO_C" >&6
32135 else
32139 ac_ext=cc
32140 ac_cpp='$CXXCPP $CPPFLAGS'
32141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
32153 main ()
32155 _fmodl(0, 0);
32157 return 0;
32159 _ACEOF
32160 rm -f conftest.$ac_objext
32161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32162 (eval $ac_compile) 2>conftest.er1
32163 ac_status=$?
32164 grep -v '^ *+' conftest.er1 >conftest.err
32165 rm -f conftest.er1
32166 cat conftest.err >&5
32167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32168 (exit $ac_status); } &&
32169 { ac_try='test -z "$ac_cxx_werror_flag"
32170 || test ! -s conftest.err'
32171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32172 (eval $ac_try) 2>&5
32173 ac_status=$?
32174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32175 (exit $ac_status); }; } &&
32176 { ac_try='test -s conftest.$ac_objext'
32177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32178 (eval $ac_try) 2>&5
32179 ac_status=$?
32180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32181 (exit $ac_status); }; }; then
32182 glibcxx_cv_func__fmodl_use=yes
32183 else
32184 echo "$as_me: failed program was:" >&5
32185 sed 's/^/| /' conftest.$ac_ext >&5
32187 glibcxx_cv_func__fmodl_use=no
32189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32190 ac_ext=c
32191 ac_cpp='$CPP $CPPFLAGS'
32192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32200 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
32201 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
32203 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32205 for ac_func in _fmodl
32207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32208 echo "$as_me:$LINENO: checking for $ac_func" >&5
32209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32210 if eval "test \"\${$as_ac_var+set}\" = set"; then
32211 echo $ECHO_N "(cached) $ECHO_C" >&6
32212 else
32213 if test x$gcc_no_link = xyes; then
32214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32216 { (exit 1); exit 1; }; }
32218 cat >conftest.$ac_ext <<_ACEOF
32219 /* confdefs.h. */
32220 _ACEOF
32221 cat confdefs.h >>conftest.$ac_ext
32222 cat >>conftest.$ac_ext <<_ACEOF
32223 /* end confdefs.h. */
32224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32226 #define $ac_func innocuous_$ac_func
32228 /* System header to define __stub macros and hopefully few prototypes,
32229 which can conflict with char $ac_func (); below.
32230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32231 <limits.h> exists even on freestanding compilers. */
32233 #ifdef __STDC__
32234 # include <limits.h>
32235 #else
32236 # include <assert.h>
32237 #endif
32239 #undef $ac_func
32241 /* Override any gcc2 internal prototype to avoid an error. */
32242 #ifdef __cplusplus
32243 extern "C"
32245 #endif
32246 /* We use char because int might match the return type of a gcc2
32247 builtin and then its argument prototype would still apply. */
32248 char $ac_func ();
32249 /* The GNU C library defines this for functions which it implements
32250 to always fail with ENOSYS. Some functions are actually named
32251 something starting with __ and the normal name is an alias. */
32252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32253 choke me
32254 #else
32255 char (*f) () = $ac_func;
32256 #endif
32257 #ifdef __cplusplus
32259 #endif
32262 main ()
32264 return f != $ac_func;
32266 return 0;
32268 _ACEOF
32269 rm -f conftest.$ac_objext conftest$ac_exeext
32270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32271 (eval $ac_link) 2>conftest.er1
32272 ac_status=$?
32273 grep -v '^ *+' conftest.er1 >conftest.err
32274 rm -f conftest.er1
32275 cat conftest.err >&5
32276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32277 (exit $ac_status); } &&
32278 { ac_try='test -z "$ac_c_werror_flag"
32279 || test ! -s conftest.err'
32280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32281 (eval $ac_try) 2>&5
32282 ac_status=$?
32283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32284 (exit $ac_status); }; } &&
32285 { ac_try='test -s conftest$ac_exeext'
32286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32287 (eval $ac_try) 2>&5
32288 ac_status=$?
32289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32290 (exit $ac_status); }; }; then
32291 eval "$as_ac_var=yes"
32292 else
32293 echo "$as_me: failed program was:" >&5
32294 sed 's/^/| /' conftest.$ac_ext >&5
32296 eval "$as_ac_var=no"
32298 rm -f conftest.err conftest.$ac_objext \
32299 conftest$ac_exeext conftest.$ac_ext
32301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32303 if test `eval echo '${'$as_ac_var'}'` = yes; then
32304 cat >>confdefs.h <<_ACEOF
32305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32306 _ACEOF
32309 done
32319 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
32320 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
32321 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32322 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
32323 echo $ECHO_N "(cached) $ECHO_C" >&6
32324 else
32328 ac_ext=cc
32329 ac_cpp='$CXXCPP $CPPFLAGS'
32330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32334 cat >conftest.$ac_ext <<_ACEOF
32335 /* confdefs.h. */
32336 _ACEOF
32337 cat confdefs.h >>conftest.$ac_ext
32338 cat >>conftest.$ac_ext <<_ACEOF
32339 /* end confdefs.h. */
32340 #include <math.h>
32342 main ()
32344 frexpl(0, 0);
32346 return 0;
32348 _ACEOF
32349 rm -f conftest.$ac_objext
32350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32351 (eval $ac_compile) 2>conftest.er1
32352 ac_status=$?
32353 grep -v '^ *+' conftest.er1 >conftest.err
32354 rm -f conftest.er1
32355 cat conftest.err >&5
32356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32357 (exit $ac_status); } &&
32358 { ac_try='test -z "$ac_cxx_werror_flag"
32359 || test ! -s conftest.err'
32360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32361 (eval $ac_try) 2>&5
32362 ac_status=$?
32363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32364 (exit $ac_status); }; } &&
32365 { ac_try='test -s conftest.$ac_objext'
32366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32367 (eval $ac_try) 2>&5
32368 ac_status=$?
32369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32370 (exit $ac_status); }; }; then
32371 glibcxx_cv_func_frexpl_use=yes
32372 else
32373 echo "$as_me: failed program was:" >&5
32374 sed 's/^/| /' conftest.$ac_ext >&5
32376 glibcxx_cv_func_frexpl_use=no
32378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32379 ac_ext=c
32380 ac_cpp='$CPP $CPPFLAGS'
32381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32389 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
32390 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
32392 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32394 for ac_func in frexpl
32396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32397 echo "$as_me:$LINENO: checking for $ac_func" >&5
32398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32399 if eval "test \"\${$as_ac_var+set}\" = set"; then
32400 echo $ECHO_N "(cached) $ECHO_C" >&6
32401 else
32402 if test x$gcc_no_link = xyes; then
32403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32405 { (exit 1); exit 1; }; }
32407 cat >conftest.$ac_ext <<_ACEOF
32408 /* confdefs.h. */
32409 _ACEOF
32410 cat confdefs.h >>conftest.$ac_ext
32411 cat >>conftest.$ac_ext <<_ACEOF
32412 /* end confdefs.h. */
32413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32415 #define $ac_func innocuous_$ac_func
32417 /* System header to define __stub macros and hopefully few prototypes,
32418 which can conflict with char $ac_func (); below.
32419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32420 <limits.h> exists even on freestanding compilers. */
32422 #ifdef __STDC__
32423 # include <limits.h>
32424 #else
32425 # include <assert.h>
32426 #endif
32428 #undef $ac_func
32430 /* Override any gcc2 internal prototype to avoid an error. */
32431 #ifdef __cplusplus
32432 extern "C"
32434 #endif
32435 /* We use char because int might match the return type of a gcc2
32436 builtin and then its argument prototype would still apply. */
32437 char $ac_func ();
32438 /* The GNU C library defines this for functions which it implements
32439 to always fail with ENOSYS. Some functions are actually named
32440 something starting with __ and the normal name is an alias. */
32441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32442 choke me
32443 #else
32444 char (*f) () = $ac_func;
32445 #endif
32446 #ifdef __cplusplus
32448 #endif
32451 main ()
32453 return f != $ac_func;
32455 return 0;
32457 _ACEOF
32458 rm -f conftest.$ac_objext conftest$ac_exeext
32459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32460 (eval $ac_link) 2>conftest.er1
32461 ac_status=$?
32462 grep -v '^ *+' conftest.er1 >conftest.err
32463 rm -f conftest.er1
32464 cat conftest.err >&5
32465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32466 (exit $ac_status); } &&
32467 { ac_try='test -z "$ac_c_werror_flag"
32468 || test ! -s conftest.err'
32469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32470 (eval $ac_try) 2>&5
32471 ac_status=$?
32472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32473 (exit $ac_status); }; } &&
32474 { ac_try='test -s conftest$ac_exeext'
32475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32476 (eval $ac_try) 2>&5
32477 ac_status=$?
32478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32479 (exit $ac_status); }; }; then
32480 eval "$as_ac_var=yes"
32481 else
32482 echo "$as_me: failed program was:" >&5
32483 sed 's/^/| /' conftest.$ac_ext >&5
32485 eval "$as_ac_var=no"
32487 rm -f conftest.err conftest.$ac_objext \
32488 conftest$ac_exeext conftest.$ac_ext
32490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32492 if test `eval echo '${'$as_ac_var'}'` = yes; then
32493 cat >>confdefs.h <<_ACEOF
32494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32495 _ACEOF
32498 done
32500 else
32502 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
32503 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
32504 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32505 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
32506 echo $ECHO_N "(cached) $ECHO_C" >&6
32507 else
32511 ac_ext=cc
32512 ac_cpp='$CXXCPP $CPPFLAGS'
32513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32517 cat >conftest.$ac_ext <<_ACEOF
32518 /* confdefs.h. */
32519 _ACEOF
32520 cat confdefs.h >>conftest.$ac_ext
32521 cat >>conftest.$ac_ext <<_ACEOF
32522 /* end confdefs.h. */
32523 #include <math.h>
32525 main ()
32527 _frexpl(0, 0);
32529 return 0;
32531 _ACEOF
32532 rm -f conftest.$ac_objext
32533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32534 (eval $ac_compile) 2>conftest.er1
32535 ac_status=$?
32536 grep -v '^ *+' conftest.er1 >conftest.err
32537 rm -f conftest.er1
32538 cat conftest.err >&5
32539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32540 (exit $ac_status); } &&
32541 { ac_try='test -z "$ac_cxx_werror_flag"
32542 || test ! -s conftest.err'
32543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32544 (eval $ac_try) 2>&5
32545 ac_status=$?
32546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32547 (exit $ac_status); }; } &&
32548 { ac_try='test -s conftest.$ac_objext'
32549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32550 (eval $ac_try) 2>&5
32551 ac_status=$?
32552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32553 (exit $ac_status); }; }; then
32554 glibcxx_cv_func__frexpl_use=yes
32555 else
32556 echo "$as_me: failed program was:" >&5
32557 sed 's/^/| /' conftest.$ac_ext >&5
32559 glibcxx_cv_func__frexpl_use=no
32561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32562 ac_ext=c
32563 ac_cpp='$CPP $CPPFLAGS'
32564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32572 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
32573 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
32575 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32577 for ac_func in _frexpl
32579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32580 echo "$as_me:$LINENO: checking for $ac_func" >&5
32581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32582 if eval "test \"\${$as_ac_var+set}\" = set"; then
32583 echo $ECHO_N "(cached) $ECHO_C" >&6
32584 else
32585 if test x$gcc_no_link = xyes; then
32586 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32588 { (exit 1); exit 1; }; }
32590 cat >conftest.$ac_ext <<_ACEOF
32591 /* confdefs.h. */
32592 _ACEOF
32593 cat confdefs.h >>conftest.$ac_ext
32594 cat >>conftest.$ac_ext <<_ACEOF
32595 /* end confdefs.h. */
32596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32598 #define $ac_func innocuous_$ac_func
32600 /* System header to define __stub macros and hopefully few prototypes,
32601 which can conflict with char $ac_func (); below.
32602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32603 <limits.h> exists even on freestanding compilers. */
32605 #ifdef __STDC__
32606 # include <limits.h>
32607 #else
32608 # include <assert.h>
32609 #endif
32611 #undef $ac_func
32613 /* Override any gcc2 internal prototype to avoid an error. */
32614 #ifdef __cplusplus
32615 extern "C"
32617 #endif
32618 /* We use char because int might match the return type of a gcc2
32619 builtin and then its argument prototype would still apply. */
32620 char $ac_func ();
32621 /* The GNU C library defines this for functions which it implements
32622 to always fail with ENOSYS. Some functions are actually named
32623 something starting with __ and the normal name is an alias. */
32624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32625 choke me
32626 #else
32627 char (*f) () = $ac_func;
32628 #endif
32629 #ifdef __cplusplus
32631 #endif
32634 main ()
32636 return f != $ac_func;
32638 return 0;
32640 _ACEOF
32641 rm -f conftest.$ac_objext conftest$ac_exeext
32642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32643 (eval $ac_link) 2>conftest.er1
32644 ac_status=$?
32645 grep -v '^ *+' conftest.er1 >conftest.err
32646 rm -f conftest.er1
32647 cat conftest.err >&5
32648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32649 (exit $ac_status); } &&
32650 { ac_try='test -z "$ac_c_werror_flag"
32651 || test ! -s conftest.err'
32652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32653 (eval $ac_try) 2>&5
32654 ac_status=$?
32655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32656 (exit $ac_status); }; } &&
32657 { ac_try='test -s conftest$ac_exeext'
32658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32659 (eval $ac_try) 2>&5
32660 ac_status=$?
32661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32662 (exit $ac_status); }; }; then
32663 eval "$as_ac_var=yes"
32664 else
32665 echo "$as_me: failed program was:" >&5
32666 sed 's/^/| /' conftest.$ac_ext >&5
32668 eval "$as_ac_var=no"
32670 rm -f conftest.err conftest.$ac_objext \
32671 conftest$ac_exeext conftest.$ac_ext
32673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32675 if test `eval echo '${'$as_ac_var'}'` = yes; then
32676 cat >>confdefs.h <<_ACEOF
32677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32678 _ACEOF
32681 done
32691 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
32692 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
32693 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32694 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
32695 echo $ECHO_N "(cached) $ECHO_C" >&6
32696 else
32700 ac_ext=cc
32701 ac_cpp='$CXXCPP $CPPFLAGS'
32702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32706 cat >conftest.$ac_ext <<_ACEOF
32707 /* confdefs.h. */
32708 _ACEOF
32709 cat confdefs.h >>conftest.$ac_ext
32710 cat >>conftest.$ac_ext <<_ACEOF
32711 /* end confdefs.h. */
32712 #include <math.h>
32714 main ()
32716 hypotl(0, 0);
32718 return 0;
32720 _ACEOF
32721 rm -f conftest.$ac_objext
32722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32723 (eval $ac_compile) 2>conftest.er1
32724 ac_status=$?
32725 grep -v '^ *+' conftest.er1 >conftest.err
32726 rm -f conftest.er1
32727 cat conftest.err >&5
32728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32729 (exit $ac_status); } &&
32730 { ac_try='test -z "$ac_cxx_werror_flag"
32731 || test ! -s conftest.err'
32732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32733 (eval $ac_try) 2>&5
32734 ac_status=$?
32735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32736 (exit $ac_status); }; } &&
32737 { ac_try='test -s conftest.$ac_objext'
32738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32739 (eval $ac_try) 2>&5
32740 ac_status=$?
32741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742 (exit $ac_status); }; }; then
32743 glibcxx_cv_func_hypotl_use=yes
32744 else
32745 echo "$as_me: failed program was:" >&5
32746 sed 's/^/| /' conftest.$ac_ext >&5
32748 glibcxx_cv_func_hypotl_use=no
32750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32751 ac_ext=c
32752 ac_cpp='$CPP $CPPFLAGS'
32753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32761 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
32762 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
32764 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32766 for ac_func in hypotl
32768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32769 echo "$as_me:$LINENO: checking for $ac_func" >&5
32770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32771 if eval "test \"\${$as_ac_var+set}\" = set"; then
32772 echo $ECHO_N "(cached) $ECHO_C" >&6
32773 else
32774 if test x$gcc_no_link = xyes; then
32775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32777 { (exit 1); exit 1; }; }
32779 cat >conftest.$ac_ext <<_ACEOF
32780 /* confdefs.h. */
32781 _ACEOF
32782 cat confdefs.h >>conftest.$ac_ext
32783 cat >>conftest.$ac_ext <<_ACEOF
32784 /* end confdefs.h. */
32785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32787 #define $ac_func innocuous_$ac_func
32789 /* System header to define __stub macros and hopefully few prototypes,
32790 which can conflict with char $ac_func (); below.
32791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32792 <limits.h> exists even on freestanding compilers. */
32794 #ifdef __STDC__
32795 # include <limits.h>
32796 #else
32797 # include <assert.h>
32798 #endif
32800 #undef $ac_func
32802 /* Override any gcc2 internal prototype to avoid an error. */
32803 #ifdef __cplusplus
32804 extern "C"
32806 #endif
32807 /* We use char because int might match the return type of a gcc2
32808 builtin and then its argument prototype would still apply. */
32809 char $ac_func ();
32810 /* The GNU C library defines this for functions which it implements
32811 to always fail with ENOSYS. Some functions are actually named
32812 something starting with __ and the normal name is an alias. */
32813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32814 choke me
32815 #else
32816 char (*f) () = $ac_func;
32817 #endif
32818 #ifdef __cplusplus
32820 #endif
32823 main ()
32825 return f != $ac_func;
32827 return 0;
32829 _ACEOF
32830 rm -f conftest.$ac_objext conftest$ac_exeext
32831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32832 (eval $ac_link) 2>conftest.er1
32833 ac_status=$?
32834 grep -v '^ *+' conftest.er1 >conftest.err
32835 rm -f conftest.er1
32836 cat conftest.err >&5
32837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32838 (exit $ac_status); } &&
32839 { ac_try='test -z "$ac_c_werror_flag"
32840 || test ! -s conftest.err'
32841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32842 (eval $ac_try) 2>&5
32843 ac_status=$?
32844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32845 (exit $ac_status); }; } &&
32846 { ac_try='test -s conftest$ac_exeext'
32847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32848 (eval $ac_try) 2>&5
32849 ac_status=$?
32850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32851 (exit $ac_status); }; }; then
32852 eval "$as_ac_var=yes"
32853 else
32854 echo "$as_me: failed program was:" >&5
32855 sed 's/^/| /' conftest.$ac_ext >&5
32857 eval "$as_ac_var=no"
32859 rm -f conftest.err conftest.$ac_objext \
32860 conftest$ac_exeext conftest.$ac_ext
32862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32864 if test `eval echo '${'$as_ac_var'}'` = yes; then
32865 cat >>confdefs.h <<_ACEOF
32866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32867 _ACEOF
32870 done
32872 else
32874 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
32875 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
32876 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32877 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
32878 echo $ECHO_N "(cached) $ECHO_C" >&6
32879 else
32883 ac_ext=cc
32884 ac_cpp='$CXXCPP $CPPFLAGS'
32885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32889 cat >conftest.$ac_ext <<_ACEOF
32890 /* confdefs.h. */
32891 _ACEOF
32892 cat confdefs.h >>conftest.$ac_ext
32893 cat >>conftest.$ac_ext <<_ACEOF
32894 /* end confdefs.h. */
32895 #include <math.h>
32897 main ()
32899 _hypotl(0, 0);
32901 return 0;
32903 _ACEOF
32904 rm -f conftest.$ac_objext
32905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32906 (eval $ac_compile) 2>conftest.er1
32907 ac_status=$?
32908 grep -v '^ *+' conftest.er1 >conftest.err
32909 rm -f conftest.er1
32910 cat conftest.err >&5
32911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32912 (exit $ac_status); } &&
32913 { ac_try='test -z "$ac_cxx_werror_flag"
32914 || test ! -s conftest.err'
32915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32916 (eval $ac_try) 2>&5
32917 ac_status=$?
32918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32919 (exit $ac_status); }; } &&
32920 { ac_try='test -s conftest.$ac_objext'
32921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32922 (eval $ac_try) 2>&5
32923 ac_status=$?
32924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32925 (exit $ac_status); }; }; then
32926 glibcxx_cv_func__hypotl_use=yes
32927 else
32928 echo "$as_me: failed program was:" >&5
32929 sed 's/^/| /' conftest.$ac_ext >&5
32931 glibcxx_cv_func__hypotl_use=no
32933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32934 ac_ext=c
32935 ac_cpp='$CPP $CPPFLAGS'
32936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32944 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
32945 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
32947 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32949 for ac_func in _hypotl
32951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32952 echo "$as_me:$LINENO: checking for $ac_func" >&5
32953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32954 if eval "test \"\${$as_ac_var+set}\" = set"; then
32955 echo $ECHO_N "(cached) $ECHO_C" >&6
32956 else
32957 if test x$gcc_no_link = xyes; then
32958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32960 { (exit 1); exit 1; }; }
32962 cat >conftest.$ac_ext <<_ACEOF
32963 /* confdefs.h. */
32964 _ACEOF
32965 cat confdefs.h >>conftest.$ac_ext
32966 cat >>conftest.$ac_ext <<_ACEOF
32967 /* end confdefs.h. */
32968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32970 #define $ac_func innocuous_$ac_func
32972 /* System header to define __stub macros and hopefully few prototypes,
32973 which can conflict with char $ac_func (); below.
32974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32975 <limits.h> exists even on freestanding compilers. */
32977 #ifdef __STDC__
32978 # include <limits.h>
32979 #else
32980 # include <assert.h>
32981 #endif
32983 #undef $ac_func
32985 /* Override any gcc2 internal prototype to avoid an error. */
32986 #ifdef __cplusplus
32987 extern "C"
32989 #endif
32990 /* We use char because int might match the return type of a gcc2
32991 builtin and then its argument prototype would still apply. */
32992 char $ac_func ();
32993 /* The GNU C library defines this for functions which it implements
32994 to always fail with ENOSYS. Some functions are actually named
32995 something starting with __ and the normal name is an alias. */
32996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32997 choke me
32998 #else
32999 char (*f) () = $ac_func;
33000 #endif
33001 #ifdef __cplusplus
33003 #endif
33006 main ()
33008 return f != $ac_func;
33010 return 0;
33012 _ACEOF
33013 rm -f conftest.$ac_objext conftest$ac_exeext
33014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33015 (eval $ac_link) 2>conftest.er1
33016 ac_status=$?
33017 grep -v '^ *+' conftest.er1 >conftest.err
33018 rm -f conftest.er1
33019 cat conftest.err >&5
33020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33021 (exit $ac_status); } &&
33022 { ac_try='test -z "$ac_c_werror_flag"
33023 || test ! -s conftest.err'
33024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33025 (eval $ac_try) 2>&5
33026 ac_status=$?
33027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33028 (exit $ac_status); }; } &&
33029 { ac_try='test -s conftest$ac_exeext'
33030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33031 (eval $ac_try) 2>&5
33032 ac_status=$?
33033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33034 (exit $ac_status); }; }; then
33035 eval "$as_ac_var=yes"
33036 else
33037 echo "$as_me: failed program was:" >&5
33038 sed 's/^/| /' conftest.$ac_ext >&5
33040 eval "$as_ac_var=no"
33042 rm -f conftest.err conftest.$ac_objext \
33043 conftest$ac_exeext conftest.$ac_ext
33045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33047 if test `eval echo '${'$as_ac_var'}'` = yes; then
33048 cat >>confdefs.h <<_ACEOF
33049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33050 _ACEOF
33053 done
33063 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
33064 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
33065 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33066 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
33067 echo $ECHO_N "(cached) $ECHO_C" >&6
33068 else
33072 ac_ext=cc
33073 ac_cpp='$CXXCPP $CPPFLAGS'
33074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33078 cat >conftest.$ac_ext <<_ACEOF
33079 /* confdefs.h. */
33080 _ACEOF
33081 cat confdefs.h >>conftest.$ac_ext
33082 cat >>conftest.$ac_ext <<_ACEOF
33083 /* end confdefs.h. */
33084 #include <math.h>
33086 main ()
33088 ldexpl(0, 0);
33090 return 0;
33092 _ACEOF
33093 rm -f conftest.$ac_objext
33094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33095 (eval $ac_compile) 2>conftest.er1
33096 ac_status=$?
33097 grep -v '^ *+' conftest.er1 >conftest.err
33098 rm -f conftest.er1
33099 cat conftest.err >&5
33100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33101 (exit $ac_status); } &&
33102 { ac_try='test -z "$ac_cxx_werror_flag"
33103 || test ! -s conftest.err'
33104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33105 (eval $ac_try) 2>&5
33106 ac_status=$?
33107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33108 (exit $ac_status); }; } &&
33109 { ac_try='test -s conftest.$ac_objext'
33110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33111 (eval $ac_try) 2>&5
33112 ac_status=$?
33113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33114 (exit $ac_status); }; }; then
33115 glibcxx_cv_func_ldexpl_use=yes
33116 else
33117 echo "$as_me: failed program was:" >&5
33118 sed 's/^/| /' conftest.$ac_ext >&5
33120 glibcxx_cv_func_ldexpl_use=no
33122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33123 ac_ext=c
33124 ac_cpp='$CPP $CPPFLAGS'
33125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33133 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
33134 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
33136 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33138 for ac_func in ldexpl
33140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33141 echo "$as_me:$LINENO: checking for $ac_func" >&5
33142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33143 if eval "test \"\${$as_ac_var+set}\" = set"; then
33144 echo $ECHO_N "(cached) $ECHO_C" >&6
33145 else
33146 if test x$gcc_no_link = xyes; then
33147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33149 { (exit 1); exit 1; }; }
33151 cat >conftest.$ac_ext <<_ACEOF
33152 /* confdefs.h. */
33153 _ACEOF
33154 cat confdefs.h >>conftest.$ac_ext
33155 cat >>conftest.$ac_ext <<_ACEOF
33156 /* end confdefs.h. */
33157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33159 #define $ac_func innocuous_$ac_func
33161 /* System header to define __stub macros and hopefully few prototypes,
33162 which can conflict with char $ac_func (); below.
33163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33164 <limits.h> exists even on freestanding compilers. */
33166 #ifdef __STDC__
33167 # include <limits.h>
33168 #else
33169 # include <assert.h>
33170 #endif
33172 #undef $ac_func
33174 /* Override any gcc2 internal prototype to avoid an error. */
33175 #ifdef __cplusplus
33176 extern "C"
33178 #endif
33179 /* We use char because int might match the return type of a gcc2
33180 builtin and then its argument prototype would still apply. */
33181 char $ac_func ();
33182 /* The GNU C library defines this for functions which it implements
33183 to always fail with ENOSYS. Some functions are actually named
33184 something starting with __ and the normal name is an alias. */
33185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33186 choke me
33187 #else
33188 char (*f) () = $ac_func;
33189 #endif
33190 #ifdef __cplusplus
33192 #endif
33195 main ()
33197 return f != $ac_func;
33199 return 0;
33201 _ACEOF
33202 rm -f conftest.$ac_objext conftest$ac_exeext
33203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33204 (eval $ac_link) 2>conftest.er1
33205 ac_status=$?
33206 grep -v '^ *+' conftest.er1 >conftest.err
33207 rm -f conftest.er1
33208 cat conftest.err >&5
33209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33210 (exit $ac_status); } &&
33211 { ac_try='test -z "$ac_c_werror_flag"
33212 || test ! -s conftest.err'
33213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33214 (eval $ac_try) 2>&5
33215 ac_status=$?
33216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33217 (exit $ac_status); }; } &&
33218 { ac_try='test -s conftest$ac_exeext'
33219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33220 (eval $ac_try) 2>&5
33221 ac_status=$?
33222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33223 (exit $ac_status); }; }; then
33224 eval "$as_ac_var=yes"
33225 else
33226 echo "$as_me: failed program was:" >&5
33227 sed 's/^/| /' conftest.$ac_ext >&5
33229 eval "$as_ac_var=no"
33231 rm -f conftest.err conftest.$ac_objext \
33232 conftest$ac_exeext conftest.$ac_ext
33234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33236 if test `eval echo '${'$as_ac_var'}'` = yes; then
33237 cat >>confdefs.h <<_ACEOF
33238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33239 _ACEOF
33242 done
33244 else
33246 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
33247 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
33248 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33249 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
33250 echo $ECHO_N "(cached) $ECHO_C" >&6
33251 else
33255 ac_ext=cc
33256 ac_cpp='$CXXCPP $CPPFLAGS'
33257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33261 cat >conftest.$ac_ext <<_ACEOF
33262 /* confdefs.h. */
33263 _ACEOF
33264 cat confdefs.h >>conftest.$ac_ext
33265 cat >>conftest.$ac_ext <<_ACEOF
33266 /* end confdefs.h. */
33267 #include <math.h>
33269 main ()
33271 _ldexpl(0, 0);
33273 return 0;
33275 _ACEOF
33276 rm -f conftest.$ac_objext
33277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33278 (eval $ac_compile) 2>conftest.er1
33279 ac_status=$?
33280 grep -v '^ *+' conftest.er1 >conftest.err
33281 rm -f conftest.er1
33282 cat conftest.err >&5
33283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33284 (exit $ac_status); } &&
33285 { ac_try='test -z "$ac_cxx_werror_flag"
33286 || test ! -s conftest.err'
33287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33288 (eval $ac_try) 2>&5
33289 ac_status=$?
33290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33291 (exit $ac_status); }; } &&
33292 { ac_try='test -s conftest.$ac_objext'
33293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33294 (eval $ac_try) 2>&5
33295 ac_status=$?
33296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33297 (exit $ac_status); }; }; then
33298 glibcxx_cv_func__ldexpl_use=yes
33299 else
33300 echo "$as_me: failed program was:" >&5
33301 sed 's/^/| /' conftest.$ac_ext >&5
33303 glibcxx_cv_func__ldexpl_use=no
33305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33306 ac_ext=c
33307 ac_cpp='$CPP $CPPFLAGS'
33308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33316 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
33317 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
33319 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33321 for ac_func in _ldexpl
33323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33324 echo "$as_me:$LINENO: checking for $ac_func" >&5
33325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33326 if eval "test \"\${$as_ac_var+set}\" = set"; then
33327 echo $ECHO_N "(cached) $ECHO_C" >&6
33328 else
33329 if test x$gcc_no_link = xyes; then
33330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33332 { (exit 1); exit 1; }; }
33334 cat >conftest.$ac_ext <<_ACEOF
33335 /* confdefs.h. */
33336 _ACEOF
33337 cat confdefs.h >>conftest.$ac_ext
33338 cat >>conftest.$ac_ext <<_ACEOF
33339 /* end confdefs.h. */
33340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33342 #define $ac_func innocuous_$ac_func
33344 /* System header to define __stub macros and hopefully few prototypes,
33345 which can conflict with char $ac_func (); below.
33346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33347 <limits.h> exists even on freestanding compilers. */
33349 #ifdef __STDC__
33350 # include <limits.h>
33351 #else
33352 # include <assert.h>
33353 #endif
33355 #undef $ac_func
33357 /* Override any gcc2 internal prototype to avoid an error. */
33358 #ifdef __cplusplus
33359 extern "C"
33361 #endif
33362 /* We use char because int might match the return type of a gcc2
33363 builtin and then its argument prototype would still apply. */
33364 char $ac_func ();
33365 /* The GNU C library defines this for functions which it implements
33366 to always fail with ENOSYS. Some functions are actually named
33367 something starting with __ and the normal name is an alias. */
33368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33369 choke me
33370 #else
33371 char (*f) () = $ac_func;
33372 #endif
33373 #ifdef __cplusplus
33375 #endif
33378 main ()
33380 return f != $ac_func;
33382 return 0;
33384 _ACEOF
33385 rm -f conftest.$ac_objext conftest$ac_exeext
33386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33387 (eval $ac_link) 2>conftest.er1
33388 ac_status=$?
33389 grep -v '^ *+' conftest.er1 >conftest.err
33390 rm -f conftest.er1
33391 cat conftest.err >&5
33392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33393 (exit $ac_status); } &&
33394 { ac_try='test -z "$ac_c_werror_flag"
33395 || test ! -s conftest.err'
33396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33397 (eval $ac_try) 2>&5
33398 ac_status=$?
33399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33400 (exit $ac_status); }; } &&
33401 { ac_try='test -s conftest$ac_exeext'
33402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33403 (eval $ac_try) 2>&5
33404 ac_status=$?
33405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33406 (exit $ac_status); }; }; then
33407 eval "$as_ac_var=yes"
33408 else
33409 echo "$as_me: failed program was:" >&5
33410 sed 's/^/| /' conftest.$ac_ext >&5
33412 eval "$as_ac_var=no"
33414 rm -f conftest.err conftest.$ac_objext \
33415 conftest$ac_exeext conftest.$ac_ext
33417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33419 if test `eval echo '${'$as_ac_var'}'` = yes; then
33420 cat >>confdefs.h <<_ACEOF
33421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33422 _ACEOF
33425 done
33435 echo "$as_me:$LINENO: checking for logl declaration" >&5
33436 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
33437 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33438 if test "${glibcxx_cv_func_logl_use+set}" = set; then
33439 echo $ECHO_N "(cached) $ECHO_C" >&6
33440 else
33444 ac_ext=cc
33445 ac_cpp='$CXXCPP $CPPFLAGS'
33446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33450 cat >conftest.$ac_ext <<_ACEOF
33451 /* confdefs.h. */
33452 _ACEOF
33453 cat confdefs.h >>conftest.$ac_ext
33454 cat >>conftest.$ac_ext <<_ACEOF
33455 /* end confdefs.h. */
33456 #include <math.h>
33457 #ifdef HAVE_IEEEFP_H
33458 #include <ieeefp.h>
33459 #endif
33462 main ()
33464 logl(0);
33466 return 0;
33468 _ACEOF
33469 rm -f conftest.$ac_objext
33470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33471 (eval $ac_compile) 2>conftest.er1
33472 ac_status=$?
33473 grep -v '^ *+' conftest.er1 >conftest.err
33474 rm -f conftest.er1
33475 cat conftest.err >&5
33476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33477 (exit $ac_status); } &&
33478 { ac_try='test -z "$ac_cxx_werror_flag"
33479 || test ! -s conftest.err'
33480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33481 (eval $ac_try) 2>&5
33482 ac_status=$?
33483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33484 (exit $ac_status); }; } &&
33485 { ac_try='test -s conftest.$ac_objext'
33486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33487 (eval $ac_try) 2>&5
33488 ac_status=$?
33489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33490 (exit $ac_status); }; }; then
33491 glibcxx_cv_func_logl_use=yes
33492 else
33493 echo "$as_me: failed program was:" >&5
33494 sed 's/^/| /' conftest.$ac_ext >&5
33496 glibcxx_cv_func_logl_use=no
33498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33499 ac_ext=c
33500 ac_cpp='$CPP $CPPFLAGS'
33501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33509 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
33510 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
33512 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33514 for ac_func in logl
33516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33517 echo "$as_me:$LINENO: checking for $ac_func" >&5
33518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33519 if eval "test \"\${$as_ac_var+set}\" = set"; then
33520 echo $ECHO_N "(cached) $ECHO_C" >&6
33521 else
33522 if test x$gcc_no_link = xyes; then
33523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33525 { (exit 1); exit 1; }; }
33527 cat >conftest.$ac_ext <<_ACEOF
33528 /* confdefs.h. */
33529 _ACEOF
33530 cat confdefs.h >>conftest.$ac_ext
33531 cat >>conftest.$ac_ext <<_ACEOF
33532 /* end confdefs.h. */
33533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33535 #define $ac_func innocuous_$ac_func
33537 /* System header to define __stub macros and hopefully few prototypes,
33538 which can conflict with char $ac_func (); below.
33539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33540 <limits.h> exists even on freestanding compilers. */
33542 #ifdef __STDC__
33543 # include <limits.h>
33544 #else
33545 # include <assert.h>
33546 #endif
33548 #undef $ac_func
33550 /* Override any gcc2 internal prototype to avoid an error. */
33551 #ifdef __cplusplus
33552 extern "C"
33554 #endif
33555 /* We use char because int might match the return type of a gcc2
33556 builtin and then its argument prototype would still apply. */
33557 char $ac_func ();
33558 /* The GNU C library defines this for functions which it implements
33559 to always fail with ENOSYS. Some functions are actually named
33560 something starting with __ and the normal name is an alias. */
33561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33562 choke me
33563 #else
33564 char (*f) () = $ac_func;
33565 #endif
33566 #ifdef __cplusplus
33568 #endif
33571 main ()
33573 return f != $ac_func;
33575 return 0;
33577 _ACEOF
33578 rm -f conftest.$ac_objext conftest$ac_exeext
33579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33580 (eval $ac_link) 2>conftest.er1
33581 ac_status=$?
33582 grep -v '^ *+' conftest.er1 >conftest.err
33583 rm -f conftest.er1
33584 cat conftest.err >&5
33585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33586 (exit $ac_status); } &&
33587 { ac_try='test -z "$ac_c_werror_flag"
33588 || test ! -s conftest.err'
33589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33590 (eval $ac_try) 2>&5
33591 ac_status=$?
33592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33593 (exit $ac_status); }; } &&
33594 { ac_try='test -s conftest$ac_exeext'
33595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33596 (eval $ac_try) 2>&5
33597 ac_status=$?
33598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33599 (exit $ac_status); }; }; then
33600 eval "$as_ac_var=yes"
33601 else
33602 echo "$as_me: failed program was:" >&5
33603 sed 's/^/| /' conftest.$ac_ext >&5
33605 eval "$as_ac_var=no"
33607 rm -f conftest.err conftest.$ac_objext \
33608 conftest$ac_exeext conftest.$ac_ext
33610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33612 if test `eval echo '${'$as_ac_var'}'` = yes; then
33613 cat >>confdefs.h <<_ACEOF
33614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33615 _ACEOF
33618 done
33620 else
33622 echo "$as_me:$LINENO: checking for _logl declaration" >&5
33623 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
33624 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33625 if test "${glibcxx_cv_func__logl_use+set}" = set; then
33626 echo $ECHO_N "(cached) $ECHO_C" >&6
33627 else
33631 ac_ext=cc
33632 ac_cpp='$CXXCPP $CPPFLAGS'
33633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33637 cat >conftest.$ac_ext <<_ACEOF
33638 /* confdefs.h. */
33639 _ACEOF
33640 cat confdefs.h >>conftest.$ac_ext
33641 cat >>conftest.$ac_ext <<_ACEOF
33642 /* end confdefs.h. */
33643 #include <math.h>
33644 #ifdef HAVE_IEEEFP_H
33645 #include <ieeefp.h>
33646 #endif
33649 main ()
33651 _logl(0);
33653 return 0;
33655 _ACEOF
33656 rm -f conftest.$ac_objext
33657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33658 (eval $ac_compile) 2>conftest.er1
33659 ac_status=$?
33660 grep -v '^ *+' conftest.er1 >conftest.err
33661 rm -f conftest.er1
33662 cat conftest.err >&5
33663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33664 (exit $ac_status); } &&
33665 { ac_try='test -z "$ac_cxx_werror_flag"
33666 || test ! -s conftest.err'
33667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33668 (eval $ac_try) 2>&5
33669 ac_status=$?
33670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33671 (exit $ac_status); }; } &&
33672 { ac_try='test -s conftest.$ac_objext'
33673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33674 (eval $ac_try) 2>&5
33675 ac_status=$?
33676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33677 (exit $ac_status); }; }; then
33678 glibcxx_cv_func__logl_use=yes
33679 else
33680 echo "$as_me: failed program was:" >&5
33681 sed 's/^/| /' conftest.$ac_ext >&5
33683 glibcxx_cv_func__logl_use=no
33685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33686 ac_ext=c
33687 ac_cpp='$CPP $CPPFLAGS'
33688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33696 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
33697 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
33699 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33701 for ac_func in _logl
33703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33704 echo "$as_me:$LINENO: checking for $ac_func" >&5
33705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33706 if eval "test \"\${$as_ac_var+set}\" = set"; then
33707 echo $ECHO_N "(cached) $ECHO_C" >&6
33708 else
33709 if test x$gcc_no_link = xyes; then
33710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33712 { (exit 1); exit 1; }; }
33714 cat >conftest.$ac_ext <<_ACEOF
33715 /* confdefs.h. */
33716 _ACEOF
33717 cat confdefs.h >>conftest.$ac_ext
33718 cat >>conftest.$ac_ext <<_ACEOF
33719 /* end confdefs.h. */
33720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33722 #define $ac_func innocuous_$ac_func
33724 /* System header to define __stub macros and hopefully few prototypes,
33725 which can conflict with char $ac_func (); below.
33726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33727 <limits.h> exists even on freestanding compilers. */
33729 #ifdef __STDC__
33730 # include <limits.h>
33731 #else
33732 # include <assert.h>
33733 #endif
33735 #undef $ac_func
33737 /* Override any gcc2 internal prototype to avoid an error. */
33738 #ifdef __cplusplus
33739 extern "C"
33741 #endif
33742 /* We use char because int might match the return type of a gcc2
33743 builtin and then its argument prototype would still apply. */
33744 char $ac_func ();
33745 /* The GNU C library defines this for functions which it implements
33746 to always fail with ENOSYS. Some functions are actually named
33747 something starting with __ and the normal name is an alias. */
33748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33749 choke me
33750 #else
33751 char (*f) () = $ac_func;
33752 #endif
33753 #ifdef __cplusplus
33755 #endif
33758 main ()
33760 return f != $ac_func;
33762 return 0;
33764 _ACEOF
33765 rm -f conftest.$ac_objext conftest$ac_exeext
33766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33767 (eval $ac_link) 2>conftest.er1
33768 ac_status=$?
33769 grep -v '^ *+' conftest.er1 >conftest.err
33770 rm -f conftest.er1
33771 cat conftest.err >&5
33772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33773 (exit $ac_status); } &&
33774 { ac_try='test -z "$ac_c_werror_flag"
33775 || test ! -s conftest.err'
33776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33777 (eval $ac_try) 2>&5
33778 ac_status=$?
33779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33780 (exit $ac_status); }; } &&
33781 { ac_try='test -s conftest$ac_exeext'
33782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33783 (eval $ac_try) 2>&5
33784 ac_status=$?
33785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33786 (exit $ac_status); }; }; then
33787 eval "$as_ac_var=yes"
33788 else
33789 echo "$as_me: failed program was:" >&5
33790 sed 's/^/| /' conftest.$ac_ext >&5
33792 eval "$as_ac_var=no"
33794 rm -f conftest.err conftest.$ac_objext \
33795 conftest$ac_exeext conftest.$ac_ext
33797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33799 if test `eval echo '${'$as_ac_var'}'` = yes; then
33800 cat >>confdefs.h <<_ACEOF
33801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33802 _ACEOF
33805 done
33815 echo "$as_me:$LINENO: checking for log10l declaration" >&5
33816 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
33817 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33818 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
33819 echo $ECHO_N "(cached) $ECHO_C" >&6
33820 else
33824 ac_ext=cc
33825 ac_cpp='$CXXCPP $CPPFLAGS'
33826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33830 cat >conftest.$ac_ext <<_ACEOF
33831 /* confdefs.h. */
33832 _ACEOF
33833 cat confdefs.h >>conftest.$ac_ext
33834 cat >>conftest.$ac_ext <<_ACEOF
33835 /* end confdefs.h. */
33836 #include <math.h>
33837 #ifdef HAVE_IEEEFP_H
33838 #include <ieeefp.h>
33839 #endif
33842 main ()
33844 log10l(0);
33846 return 0;
33848 _ACEOF
33849 rm -f conftest.$ac_objext
33850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33851 (eval $ac_compile) 2>conftest.er1
33852 ac_status=$?
33853 grep -v '^ *+' conftest.er1 >conftest.err
33854 rm -f conftest.er1
33855 cat conftest.err >&5
33856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33857 (exit $ac_status); } &&
33858 { ac_try='test -z "$ac_cxx_werror_flag"
33859 || test ! -s conftest.err'
33860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33861 (eval $ac_try) 2>&5
33862 ac_status=$?
33863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33864 (exit $ac_status); }; } &&
33865 { ac_try='test -s conftest.$ac_objext'
33866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33867 (eval $ac_try) 2>&5
33868 ac_status=$?
33869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33870 (exit $ac_status); }; }; then
33871 glibcxx_cv_func_log10l_use=yes
33872 else
33873 echo "$as_me: failed program was:" >&5
33874 sed 's/^/| /' conftest.$ac_ext >&5
33876 glibcxx_cv_func_log10l_use=no
33878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33879 ac_ext=c
33880 ac_cpp='$CPP $CPPFLAGS'
33881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33889 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
33890 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
33892 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33894 for ac_func in log10l
33896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33897 echo "$as_me:$LINENO: checking for $ac_func" >&5
33898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33899 if eval "test \"\${$as_ac_var+set}\" = set"; then
33900 echo $ECHO_N "(cached) $ECHO_C" >&6
33901 else
33902 if test x$gcc_no_link = xyes; then
33903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33905 { (exit 1); exit 1; }; }
33907 cat >conftest.$ac_ext <<_ACEOF
33908 /* confdefs.h. */
33909 _ACEOF
33910 cat confdefs.h >>conftest.$ac_ext
33911 cat >>conftest.$ac_ext <<_ACEOF
33912 /* end confdefs.h. */
33913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33915 #define $ac_func innocuous_$ac_func
33917 /* System header to define __stub macros and hopefully few prototypes,
33918 which can conflict with char $ac_func (); below.
33919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33920 <limits.h> exists even on freestanding compilers. */
33922 #ifdef __STDC__
33923 # include <limits.h>
33924 #else
33925 # include <assert.h>
33926 #endif
33928 #undef $ac_func
33930 /* Override any gcc2 internal prototype to avoid an error. */
33931 #ifdef __cplusplus
33932 extern "C"
33934 #endif
33935 /* We use char because int might match the return type of a gcc2
33936 builtin and then its argument prototype would still apply. */
33937 char $ac_func ();
33938 /* The GNU C library defines this for functions which it implements
33939 to always fail with ENOSYS. Some functions are actually named
33940 something starting with __ and the normal name is an alias. */
33941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33942 choke me
33943 #else
33944 char (*f) () = $ac_func;
33945 #endif
33946 #ifdef __cplusplus
33948 #endif
33951 main ()
33953 return f != $ac_func;
33955 return 0;
33957 _ACEOF
33958 rm -f conftest.$ac_objext conftest$ac_exeext
33959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33960 (eval $ac_link) 2>conftest.er1
33961 ac_status=$?
33962 grep -v '^ *+' conftest.er1 >conftest.err
33963 rm -f conftest.er1
33964 cat conftest.err >&5
33965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33966 (exit $ac_status); } &&
33967 { ac_try='test -z "$ac_c_werror_flag"
33968 || test ! -s conftest.err'
33969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33970 (eval $ac_try) 2>&5
33971 ac_status=$?
33972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33973 (exit $ac_status); }; } &&
33974 { ac_try='test -s conftest$ac_exeext'
33975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33976 (eval $ac_try) 2>&5
33977 ac_status=$?
33978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33979 (exit $ac_status); }; }; then
33980 eval "$as_ac_var=yes"
33981 else
33982 echo "$as_me: failed program was:" >&5
33983 sed 's/^/| /' conftest.$ac_ext >&5
33985 eval "$as_ac_var=no"
33987 rm -f conftest.err conftest.$ac_objext \
33988 conftest$ac_exeext conftest.$ac_ext
33990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33992 if test `eval echo '${'$as_ac_var'}'` = yes; then
33993 cat >>confdefs.h <<_ACEOF
33994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33995 _ACEOF
33998 done
34000 else
34002 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
34003 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
34004 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34005 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
34006 echo $ECHO_N "(cached) $ECHO_C" >&6
34007 else
34011 ac_ext=cc
34012 ac_cpp='$CXXCPP $CPPFLAGS'
34013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34017 cat >conftest.$ac_ext <<_ACEOF
34018 /* confdefs.h. */
34019 _ACEOF
34020 cat confdefs.h >>conftest.$ac_ext
34021 cat >>conftest.$ac_ext <<_ACEOF
34022 /* end confdefs.h. */
34023 #include <math.h>
34024 #ifdef HAVE_IEEEFP_H
34025 #include <ieeefp.h>
34026 #endif
34029 main ()
34031 _log10l(0);
34033 return 0;
34035 _ACEOF
34036 rm -f conftest.$ac_objext
34037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34038 (eval $ac_compile) 2>conftest.er1
34039 ac_status=$?
34040 grep -v '^ *+' conftest.er1 >conftest.err
34041 rm -f conftest.er1
34042 cat conftest.err >&5
34043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34044 (exit $ac_status); } &&
34045 { ac_try='test -z "$ac_cxx_werror_flag"
34046 || test ! -s conftest.err'
34047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34048 (eval $ac_try) 2>&5
34049 ac_status=$?
34050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34051 (exit $ac_status); }; } &&
34052 { ac_try='test -s conftest.$ac_objext'
34053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34054 (eval $ac_try) 2>&5
34055 ac_status=$?
34056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34057 (exit $ac_status); }; }; then
34058 glibcxx_cv_func__log10l_use=yes
34059 else
34060 echo "$as_me: failed program was:" >&5
34061 sed 's/^/| /' conftest.$ac_ext >&5
34063 glibcxx_cv_func__log10l_use=no
34065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34066 ac_ext=c
34067 ac_cpp='$CPP $CPPFLAGS'
34068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34076 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
34077 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
34079 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34081 for ac_func in _log10l
34083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34084 echo "$as_me:$LINENO: checking for $ac_func" >&5
34085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34086 if eval "test \"\${$as_ac_var+set}\" = set"; then
34087 echo $ECHO_N "(cached) $ECHO_C" >&6
34088 else
34089 if test x$gcc_no_link = xyes; then
34090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34092 { (exit 1); exit 1; }; }
34094 cat >conftest.$ac_ext <<_ACEOF
34095 /* confdefs.h. */
34096 _ACEOF
34097 cat confdefs.h >>conftest.$ac_ext
34098 cat >>conftest.$ac_ext <<_ACEOF
34099 /* end confdefs.h. */
34100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34102 #define $ac_func innocuous_$ac_func
34104 /* System header to define __stub macros and hopefully few prototypes,
34105 which can conflict with char $ac_func (); below.
34106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34107 <limits.h> exists even on freestanding compilers. */
34109 #ifdef __STDC__
34110 # include <limits.h>
34111 #else
34112 # include <assert.h>
34113 #endif
34115 #undef $ac_func
34117 /* Override any gcc2 internal prototype to avoid an error. */
34118 #ifdef __cplusplus
34119 extern "C"
34121 #endif
34122 /* We use char because int might match the return type of a gcc2
34123 builtin and then its argument prototype would still apply. */
34124 char $ac_func ();
34125 /* The GNU C library defines this for functions which it implements
34126 to always fail with ENOSYS. Some functions are actually named
34127 something starting with __ and the normal name is an alias. */
34128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34129 choke me
34130 #else
34131 char (*f) () = $ac_func;
34132 #endif
34133 #ifdef __cplusplus
34135 #endif
34138 main ()
34140 return f != $ac_func;
34142 return 0;
34144 _ACEOF
34145 rm -f conftest.$ac_objext conftest$ac_exeext
34146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34147 (eval $ac_link) 2>conftest.er1
34148 ac_status=$?
34149 grep -v '^ *+' conftest.er1 >conftest.err
34150 rm -f conftest.er1
34151 cat conftest.err >&5
34152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34153 (exit $ac_status); } &&
34154 { ac_try='test -z "$ac_c_werror_flag"
34155 || test ! -s conftest.err'
34156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34157 (eval $ac_try) 2>&5
34158 ac_status=$?
34159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34160 (exit $ac_status); }; } &&
34161 { ac_try='test -s conftest$ac_exeext'
34162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34163 (eval $ac_try) 2>&5
34164 ac_status=$?
34165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34166 (exit $ac_status); }; }; then
34167 eval "$as_ac_var=yes"
34168 else
34169 echo "$as_me: failed program was:" >&5
34170 sed 's/^/| /' conftest.$ac_ext >&5
34172 eval "$as_ac_var=no"
34174 rm -f conftest.err conftest.$ac_objext \
34175 conftest$ac_exeext conftest.$ac_ext
34177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34179 if test `eval echo '${'$as_ac_var'}'` = yes; then
34180 cat >>confdefs.h <<_ACEOF
34181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34182 _ACEOF
34185 done
34195 echo "$as_me:$LINENO: checking for modfl declaration" >&5
34196 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
34197 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34198 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
34199 echo $ECHO_N "(cached) $ECHO_C" >&6
34200 else
34204 ac_ext=cc
34205 ac_cpp='$CXXCPP $CPPFLAGS'
34206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34210 cat >conftest.$ac_ext <<_ACEOF
34211 /* confdefs.h. */
34212 _ACEOF
34213 cat confdefs.h >>conftest.$ac_ext
34214 cat >>conftest.$ac_ext <<_ACEOF
34215 /* end confdefs.h. */
34216 #include <math.h>
34218 main ()
34220 modfl(0, 0);
34222 return 0;
34224 _ACEOF
34225 rm -f conftest.$ac_objext
34226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34227 (eval $ac_compile) 2>conftest.er1
34228 ac_status=$?
34229 grep -v '^ *+' conftest.er1 >conftest.err
34230 rm -f conftest.er1
34231 cat conftest.err >&5
34232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34233 (exit $ac_status); } &&
34234 { ac_try='test -z "$ac_cxx_werror_flag"
34235 || test ! -s conftest.err'
34236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34237 (eval $ac_try) 2>&5
34238 ac_status=$?
34239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34240 (exit $ac_status); }; } &&
34241 { ac_try='test -s conftest.$ac_objext'
34242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34243 (eval $ac_try) 2>&5
34244 ac_status=$?
34245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34246 (exit $ac_status); }; }; then
34247 glibcxx_cv_func_modfl_use=yes
34248 else
34249 echo "$as_me: failed program was:" >&5
34250 sed 's/^/| /' conftest.$ac_ext >&5
34252 glibcxx_cv_func_modfl_use=no
34254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34255 ac_ext=c
34256 ac_cpp='$CPP $CPPFLAGS'
34257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34265 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
34266 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
34268 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34270 for ac_func in modfl
34272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34273 echo "$as_me:$LINENO: checking for $ac_func" >&5
34274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34275 if eval "test \"\${$as_ac_var+set}\" = set"; then
34276 echo $ECHO_N "(cached) $ECHO_C" >&6
34277 else
34278 if test x$gcc_no_link = xyes; then
34279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34281 { (exit 1); exit 1; }; }
34283 cat >conftest.$ac_ext <<_ACEOF
34284 /* confdefs.h. */
34285 _ACEOF
34286 cat confdefs.h >>conftest.$ac_ext
34287 cat >>conftest.$ac_ext <<_ACEOF
34288 /* end confdefs.h. */
34289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34291 #define $ac_func innocuous_$ac_func
34293 /* System header to define __stub macros and hopefully few prototypes,
34294 which can conflict with char $ac_func (); below.
34295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34296 <limits.h> exists even on freestanding compilers. */
34298 #ifdef __STDC__
34299 # include <limits.h>
34300 #else
34301 # include <assert.h>
34302 #endif
34304 #undef $ac_func
34306 /* Override any gcc2 internal prototype to avoid an error. */
34307 #ifdef __cplusplus
34308 extern "C"
34310 #endif
34311 /* We use char because int might match the return type of a gcc2
34312 builtin and then its argument prototype would still apply. */
34313 char $ac_func ();
34314 /* The GNU C library defines this for functions which it implements
34315 to always fail with ENOSYS. Some functions are actually named
34316 something starting with __ and the normal name is an alias. */
34317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34318 choke me
34319 #else
34320 char (*f) () = $ac_func;
34321 #endif
34322 #ifdef __cplusplus
34324 #endif
34327 main ()
34329 return f != $ac_func;
34331 return 0;
34333 _ACEOF
34334 rm -f conftest.$ac_objext conftest$ac_exeext
34335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34336 (eval $ac_link) 2>conftest.er1
34337 ac_status=$?
34338 grep -v '^ *+' conftest.er1 >conftest.err
34339 rm -f conftest.er1
34340 cat conftest.err >&5
34341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34342 (exit $ac_status); } &&
34343 { ac_try='test -z "$ac_c_werror_flag"
34344 || test ! -s conftest.err'
34345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34346 (eval $ac_try) 2>&5
34347 ac_status=$?
34348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34349 (exit $ac_status); }; } &&
34350 { ac_try='test -s conftest$ac_exeext'
34351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34352 (eval $ac_try) 2>&5
34353 ac_status=$?
34354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34355 (exit $ac_status); }; }; then
34356 eval "$as_ac_var=yes"
34357 else
34358 echo "$as_me: failed program was:" >&5
34359 sed 's/^/| /' conftest.$ac_ext >&5
34361 eval "$as_ac_var=no"
34363 rm -f conftest.err conftest.$ac_objext \
34364 conftest$ac_exeext conftest.$ac_ext
34366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34368 if test `eval echo '${'$as_ac_var'}'` = yes; then
34369 cat >>confdefs.h <<_ACEOF
34370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34371 _ACEOF
34374 done
34376 else
34378 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
34379 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
34380 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34381 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
34382 echo $ECHO_N "(cached) $ECHO_C" >&6
34383 else
34387 ac_ext=cc
34388 ac_cpp='$CXXCPP $CPPFLAGS'
34389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34393 cat >conftest.$ac_ext <<_ACEOF
34394 /* confdefs.h. */
34395 _ACEOF
34396 cat confdefs.h >>conftest.$ac_ext
34397 cat >>conftest.$ac_ext <<_ACEOF
34398 /* end confdefs.h. */
34399 #include <math.h>
34401 main ()
34403 _modfl(0, 0);
34405 return 0;
34407 _ACEOF
34408 rm -f conftest.$ac_objext
34409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34410 (eval $ac_compile) 2>conftest.er1
34411 ac_status=$?
34412 grep -v '^ *+' conftest.er1 >conftest.err
34413 rm -f conftest.er1
34414 cat conftest.err >&5
34415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34416 (exit $ac_status); } &&
34417 { ac_try='test -z "$ac_cxx_werror_flag"
34418 || test ! -s conftest.err'
34419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34420 (eval $ac_try) 2>&5
34421 ac_status=$?
34422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34423 (exit $ac_status); }; } &&
34424 { ac_try='test -s conftest.$ac_objext'
34425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34426 (eval $ac_try) 2>&5
34427 ac_status=$?
34428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34429 (exit $ac_status); }; }; then
34430 glibcxx_cv_func__modfl_use=yes
34431 else
34432 echo "$as_me: failed program was:" >&5
34433 sed 's/^/| /' conftest.$ac_ext >&5
34435 glibcxx_cv_func__modfl_use=no
34437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34438 ac_ext=c
34439 ac_cpp='$CPP $CPPFLAGS'
34440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34448 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
34449 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
34451 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34453 for ac_func in _modfl
34455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34456 echo "$as_me:$LINENO: checking for $ac_func" >&5
34457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34458 if eval "test \"\${$as_ac_var+set}\" = set"; then
34459 echo $ECHO_N "(cached) $ECHO_C" >&6
34460 else
34461 if test x$gcc_no_link = xyes; then
34462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34464 { (exit 1); exit 1; }; }
34466 cat >conftest.$ac_ext <<_ACEOF
34467 /* confdefs.h. */
34468 _ACEOF
34469 cat confdefs.h >>conftest.$ac_ext
34470 cat >>conftest.$ac_ext <<_ACEOF
34471 /* end confdefs.h. */
34472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34474 #define $ac_func innocuous_$ac_func
34476 /* System header to define __stub macros and hopefully few prototypes,
34477 which can conflict with char $ac_func (); below.
34478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34479 <limits.h> exists even on freestanding compilers. */
34481 #ifdef __STDC__
34482 # include <limits.h>
34483 #else
34484 # include <assert.h>
34485 #endif
34487 #undef $ac_func
34489 /* Override any gcc2 internal prototype to avoid an error. */
34490 #ifdef __cplusplus
34491 extern "C"
34493 #endif
34494 /* We use char because int might match the return type of a gcc2
34495 builtin and then its argument prototype would still apply. */
34496 char $ac_func ();
34497 /* The GNU C library defines this for functions which it implements
34498 to always fail with ENOSYS. Some functions are actually named
34499 something starting with __ and the normal name is an alias. */
34500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34501 choke me
34502 #else
34503 char (*f) () = $ac_func;
34504 #endif
34505 #ifdef __cplusplus
34507 #endif
34510 main ()
34512 return f != $ac_func;
34514 return 0;
34516 _ACEOF
34517 rm -f conftest.$ac_objext conftest$ac_exeext
34518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34519 (eval $ac_link) 2>conftest.er1
34520 ac_status=$?
34521 grep -v '^ *+' conftest.er1 >conftest.err
34522 rm -f conftest.er1
34523 cat conftest.err >&5
34524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34525 (exit $ac_status); } &&
34526 { ac_try='test -z "$ac_c_werror_flag"
34527 || test ! -s conftest.err'
34528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34529 (eval $ac_try) 2>&5
34530 ac_status=$?
34531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34532 (exit $ac_status); }; } &&
34533 { ac_try='test -s conftest$ac_exeext'
34534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34535 (eval $ac_try) 2>&5
34536 ac_status=$?
34537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34538 (exit $ac_status); }; }; then
34539 eval "$as_ac_var=yes"
34540 else
34541 echo "$as_me: failed program was:" >&5
34542 sed 's/^/| /' conftest.$ac_ext >&5
34544 eval "$as_ac_var=no"
34546 rm -f conftest.err conftest.$ac_objext \
34547 conftest$ac_exeext conftest.$ac_ext
34549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34551 if test `eval echo '${'$as_ac_var'}'` = yes; then
34552 cat >>confdefs.h <<_ACEOF
34553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34554 _ACEOF
34557 done
34567 echo "$as_me:$LINENO: checking for powl declaration" >&5
34568 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
34569 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34570 if test "${glibcxx_cv_func_powl_use+set}" = set; then
34571 echo $ECHO_N "(cached) $ECHO_C" >&6
34572 else
34576 ac_ext=cc
34577 ac_cpp='$CXXCPP $CPPFLAGS'
34578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34582 cat >conftest.$ac_ext <<_ACEOF
34583 /* confdefs.h. */
34584 _ACEOF
34585 cat confdefs.h >>conftest.$ac_ext
34586 cat >>conftest.$ac_ext <<_ACEOF
34587 /* end confdefs.h. */
34588 #include <math.h>
34590 main ()
34592 powl(0, 0);
34594 return 0;
34596 _ACEOF
34597 rm -f conftest.$ac_objext
34598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34599 (eval $ac_compile) 2>conftest.er1
34600 ac_status=$?
34601 grep -v '^ *+' conftest.er1 >conftest.err
34602 rm -f conftest.er1
34603 cat conftest.err >&5
34604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34605 (exit $ac_status); } &&
34606 { ac_try='test -z "$ac_cxx_werror_flag"
34607 || test ! -s conftest.err'
34608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34609 (eval $ac_try) 2>&5
34610 ac_status=$?
34611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34612 (exit $ac_status); }; } &&
34613 { ac_try='test -s conftest.$ac_objext'
34614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34615 (eval $ac_try) 2>&5
34616 ac_status=$?
34617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34618 (exit $ac_status); }; }; then
34619 glibcxx_cv_func_powl_use=yes
34620 else
34621 echo "$as_me: failed program was:" >&5
34622 sed 's/^/| /' conftest.$ac_ext >&5
34624 glibcxx_cv_func_powl_use=no
34626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34627 ac_ext=c
34628 ac_cpp='$CPP $CPPFLAGS'
34629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34637 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
34638 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
34640 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34642 for ac_func in powl
34644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34645 echo "$as_me:$LINENO: checking for $ac_func" >&5
34646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34647 if eval "test \"\${$as_ac_var+set}\" = set"; then
34648 echo $ECHO_N "(cached) $ECHO_C" >&6
34649 else
34650 if test x$gcc_no_link = xyes; then
34651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34653 { (exit 1); exit 1; }; }
34655 cat >conftest.$ac_ext <<_ACEOF
34656 /* confdefs.h. */
34657 _ACEOF
34658 cat confdefs.h >>conftest.$ac_ext
34659 cat >>conftest.$ac_ext <<_ACEOF
34660 /* end confdefs.h. */
34661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34663 #define $ac_func innocuous_$ac_func
34665 /* System header to define __stub macros and hopefully few prototypes,
34666 which can conflict with char $ac_func (); below.
34667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34668 <limits.h> exists even on freestanding compilers. */
34670 #ifdef __STDC__
34671 # include <limits.h>
34672 #else
34673 # include <assert.h>
34674 #endif
34676 #undef $ac_func
34678 /* Override any gcc2 internal prototype to avoid an error. */
34679 #ifdef __cplusplus
34680 extern "C"
34682 #endif
34683 /* We use char because int might match the return type of a gcc2
34684 builtin and then its argument prototype would still apply. */
34685 char $ac_func ();
34686 /* The GNU C library defines this for functions which it implements
34687 to always fail with ENOSYS. Some functions are actually named
34688 something starting with __ and the normal name is an alias. */
34689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34690 choke me
34691 #else
34692 char (*f) () = $ac_func;
34693 #endif
34694 #ifdef __cplusplus
34696 #endif
34699 main ()
34701 return f != $ac_func;
34703 return 0;
34705 _ACEOF
34706 rm -f conftest.$ac_objext conftest$ac_exeext
34707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34708 (eval $ac_link) 2>conftest.er1
34709 ac_status=$?
34710 grep -v '^ *+' conftest.er1 >conftest.err
34711 rm -f conftest.er1
34712 cat conftest.err >&5
34713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34714 (exit $ac_status); } &&
34715 { ac_try='test -z "$ac_c_werror_flag"
34716 || test ! -s conftest.err'
34717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34718 (eval $ac_try) 2>&5
34719 ac_status=$?
34720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34721 (exit $ac_status); }; } &&
34722 { ac_try='test -s conftest$ac_exeext'
34723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34724 (eval $ac_try) 2>&5
34725 ac_status=$?
34726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34727 (exit $ac_status); }; }; then
34728 eval "$as_ac_var=yes"
34729 else
34730 echo "$as_me: failed program was:" >&5
34731 sed 's/^/| /' conftest.$ac_ext >&5
34733 eval "$as_ac_var=no"
34735 rm -f conftest.err conftest.$ac_objext \
34736 conftest$ac_exeext conftest.$ac_ext
34738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34740 if test `eval echo '${'$as_ac_var'}'` = yes; then
34741 cat >>confdefs.h <<_ACEOF
34742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34743 _ACEOF
34746 done
34748 else
34750 echo "$as_me:$LINENO: checking for _powl declaration" >&5
34751 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
34752 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34753 if test "${glibcxx_cv_func__powl_use+set}" = set; then
34754 echo $ECHO_N "(cached) $ECHO_C" >&6
34755 else
34759 ac_ext=cc
34760 ac_cpp='$CXXCPP $CPPFLAGS'
34761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34765 cat >conftest.$ac_ext <<_ACEOF
34766 /* confdefs.h. */
34767 _ACEOF
34768 cat confdefs.h >>conftest.$ac_ext
34769 cat >>conftest.$ac_ext <<_ACEOF
34770 /* end confdefs.h. */
34771 #include <math.h>
34773 main ()
34775 _powl(0, 0);
34777 return 0;
34779 _ACEOF
34780 rm -f conftest.$ac_objext
34781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34782 (eval $ac_compile) 2>conftest.er1
34783 ac_status=$?
34784 grep -v '^ *+' conftest.er1 >conftest.err
34785 rm -f conftest.er1
34786 cat conftest.err >&5
34787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34788 (exit $ac_status); } &&
34789 { ac_try='test -z "$ac_cxx_werror_flag"
34790 || test ! -s conftest.err'
34791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34792 (eval $ac_try) 2>&5
34793 ac_status=$?
34794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34795 (exit $ac_status); }; } &&
34796 { ac_try='test -s conftest.$ac_objext'
34797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34798 (eval $ac_try) 2>&5
34799 ac_status=$?
34800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34801 (exit $ac_status); }; }; then
34802 glibcxx_cv_func__powl_use=yes
34803 else
34804 echo "$as_me: failed program was:" >&5
34805 sed 's/^/| /' conftest.$ac_ext >&5
34807 glibcxx_cv_func__powl_use=no
34809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34810 ac_ext=c
34811 ac_cpp='$CPP $CPPFLAGS'
34812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34820 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
34821 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
34823 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34825 for ac_func in _powl
34827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34828 echo "$as_me:$LINENO: checking for $ac_func" >&5
34829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34830 if eval "test \"\${$as_ac_var+set}\" = set"; then
34831 echo $ECHO_N "(cached) $ECHO_C" >&6
34832 else
34833 if test x$gcc_no_link = xyes; then
34834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34836 { (exit 1); exit 1; }; }
34838 cat >conftest.$ac_ext <<_ACEOF
34839 /* confdefs.h. */
34840 _ACEOF
34841 cat confdefs.h >>conftest.$ac_ext
34842 cat >>conftest.$ac_ext <<_ACEOF
34843 /* end confdefs.h. */
34844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34846 #define $ac_func innocuous_$ac_func
34848 /* System header to define __stub macros and hopefully few prototypes,
34849 which can conflict with char $ac_func (); below.
34850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34851 <limits.h> exists even on freestanding compilers. */
34853 #ifdef __STDC__
34854 # include <limits.h>
34855 #else
34856 # include <assert.h>
34857 #endif
34859 #undef $ac_func
34861 /* Override any gcc2 internal prototype to avoid an error. */
34862 #ifdef __cplusplus
34863 extern "C"
34865 #endif
34866 /* We use char because int might match the return type of a gcc2
34867 builtin and then its argument prototype would still apply. */
34868 char $ac_func ();
34869 /* The GNU C library defines this for functions which it implements
34870 to always fail with ENOSYS. Some functions are actually named
34871 something starting with __ and the normal name is an alias. */
34872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34873 choke me
34874 #else
34875 char (*f) () = $ac_func;
34876 #endif
34877 #ifdef __cplusplus
34879 #endif
34882 main ()
34884 return f != $ac_func;
34886 return 0;
34888 _ACEOF
34889 rm -f conftest.$ac_objext conftest$ac_exeext
34890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34891 (eval $ac_link) 2>conftest.er1
34892 ac_status=$?
34893 grep -v '^ *+' conftest.er1 >conftest.err
34894 rm -f conftest.er1
34895 cat conftest.err >&5
34896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34897 (exit $ac_status); } &&
34898 { ac_try='test -z "$ac_c_werror_flag"
34899 || test ! -s conftest.err'
34900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34901 (eval $ac_try) 2>&5
34902 ac_status=$?
34903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34904 (exit $ac_status); }; } &&
34905 { ac_try='test -s conftest$ac_exeext'
34906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34907 (eval $ac_try) 2>&5
34908 ac_status=$?
34909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34910 (exit $ac_status); }; }; then
34911 eval "$as_ac_var=yes"
34912 else
34913 echo "$as_me: failed program was:" >&5
34914 sed 's/^/| /' conftest.$ac_ext >&5
34916 eval "$as_ac_var=no"
34918 rm -f conftest.err conftest.$ac_objext \
34919 conftest$ac_exeext conftest.$ac_ext
34921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34923 if test `eval echo '${'$as_ac_var'}'` = yes; then
34924 cat >>confdefs.h <<_ACEOF
34925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34926 _ACEOF
34929 done
34939 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
34940 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
34941 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34942 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
34943 echo $ECHO_N "(cached) $ECHO_C" >&6
34944 else
34948 ac_ext=cc
34949 ac_cpp='$CXXCPP $CPPFLAGS'
34950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34954 cat >conftest.$ac_ext <<_ACEOF
34955 /* confdefs.h. */
34956 _ACEOF
34957 cat confdefs.h >>conftest.$ac_ext
34958 cat >>conftest.$ac_ext <<_ACEOF
34959 /* end confdefs.h. */
34960 #include <math.h>
34961 #ifdef HAVE_IEEEFP_H
34962 #include <ieeefp.h>
34963 #endif
34966 main ()
34968 sqrtl(0);
34970 return 0;
34972 _ACEOF
34973 rm -f conftest.$ac_objext
34974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34975 (eval $ac_compile) 2>conftest.er1
34976 ac_status=$?
34977 grep -v '^ *+' conftest.er1 >conftest.err
34978 rm -f conftest.er1
34979 cat conftest.err >&5
34980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34981 (exit $ac_status); } &&
34982 { ac_try='test -z "$ac_cxx_werror_flag"
34983 || test ! -s conftest.err'
34984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34985 (eval $ac_try) 2>&5
34986 ac_status=$?
34987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34988 (exit $ac_status); }; } &&
34989 { ac_try='test -s conftest.$ac_objext'
34990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34991 (eval $ac_try) 2>&5
34992 ac_status=$?
34993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34994 (exit $ac_status); }; }; then
34995 glibcxx_cv_func_sqrtl_use=yes
34996 else
34997 echo "$as_me: failed program was:" >&5
34998 sed 's/^/| /' conftest.$ac_ext >&5
35000 glibcxx_cv_func_sqrtl_use=no
35002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35003 ac_ext=c
35004 ac_cpp='$CPP $CPPFLAGS'
35005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35013 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
35014 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
35016 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
35018 for ac_func in sqrtl
35020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35021 echo "$as_me:$LINENO: checking for $ac_func" >&5
35022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35023 if eval "test \"\${$as_ac_var+set}\" = set"; then
35024 echo $ECHO_N "(cached) $ECHO_C" >&6
35025 else
35026 if test x$gcc_no_link = xyes; then
35027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35029 { (exit 1); exit 1; }; }
35031 cat >conftest.$ac_ext <<_ACEOF
35032 /* confdefs.h. */
35033 _ACEOF
35034 cat confdefs.h >>conftest.$ac_ext
35035 cat >>conftest.$ac_ext <<_ACEOF
35036 /* end confdefs.h. */
35037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35039 #define $ac_func innocuous_$ac_func
35041 /* System header to define __stub macros and hopefully few prototypes,
35042 which can conflict with char $ac_func (); below.
35043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35044 <limits.h> exists even on freestanding compilers. */
35046 #ifdef __STDC__
35047 # include <limits.h>
35048 #else
35049 # include <assert.h>
35050 #endif
35052 #undef $ac_func
35054 /* Override any gcc2 internal prototype to avoid an error. */
35055 #ifdef __cplusplus
35056 extern "C"
35058 #endif
35059 /* We use char because int might match the return type of a gcc2
35060 builtin and then its argument prototype would still apply. */
35061 char $ac_func ();
35062 /* The GNU C library defines this for functions which it implements
35063 to always fail with ENOSYS. Some functions are actually named
35064 something starting with __ and the normal name is an alias. */
35065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35066 choke me
35067 #else
35068 char (*f) () = $ac_func;
35069 #endif
35070 #ifdef __cplusplus
35072 #endif
35075 main ()
35077 return f != $ac_func;
35079 return 0;
35081 _ACEOF
35082 rm -f conftest.$ac_objext conftest$ac_exeext
35083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35084 (eval $ac_link) 2>conftest.er1
35085 ac_status=$?
35086 grep -v '^ *+' conftest.er1 >conftest.err
35087 rm -f conftest.er1
35088 cat conftest.err >&5
35089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35090 (exit $ac_status); } &&
35091 { ac_try='test -z "$ac_c_werror_flag"
35092 || test ! -s conftest.err'
35093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35094 (eval $ac_try) 2>&5
35095 ac_status=$?
35096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35097 (exit $ac_status); }; } &&
35098 { ac_try='test -s conftest$ac_exeext'
35099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35100 (eval $ac_try) 2>&5
35101 ac_status=$?
35102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35103 (exit $ac_status); }; }; then
35104 eval "$as_ac_var=yes"
35105 else
35106 echo "$as_me: failed program was:" >&5
35107 sed 's/^/| /' conftest.$ac_ext >&5
35109 eval "$as_ac_var=no"
35111 rm -f conftest.err conftest.$ac_objext \
35112 conftest$ac_exeext conftest.$ac_ext
35114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35116 if test `eval echo '${'$as_ac_var'}'` = yes; then
35117 cat >>confdefs.h <<_ACEOF
35118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35119 _ACEOF
35122 done
35124 else
35126 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
35127 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
35128 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
35129 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
35130 echo $ECHO_N "(cached) $ECHO_C" >&6
35131 else
35135 ac_ext=cc
35136 ac_cpp='$CXXCPP $CPPFLAGS'
35137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35141 cat >conftest.$ac_ext <<_ACEOF
35142 /* confdefs.h. */
35143 _ACEOF
35144 cat confdefs.h >>conftest.$ac_ext
35145 cat >>conftest.$ac_ext <<_ACEOF
35146 /* end confdefs.h. */
35147 #include <math.h>
35148 #ifdef HAVE_IEEEFP_H
35149 #include <ieeefp.h>
35150 #endif
35153 main ()
35155 _sqrtl(0);
35157 return 0;
35159 _ACEOF
35160 rm -f conftest.$ac_objext
35161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35162 (eval $ac_compile) 2>conftest.er1
35163 ac_status=$?
35164 grep -v '^ *+' conftest.er1 >conftest.err
35165 rm -f conftest.er1
35166 cat conftest.err >&5
35167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35168 (exit $ac_status); } &&
35169 { ac_try='test -z "$ac_cxx_werror_flag"
35170 || test ! -s conftest.err'
35171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35172 (eval $ac_try) 2>&5
35173 ac_status=$?
35174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35175 (exit $ac_status); }; } &&
35176 { ac_try='test -s conftest.$ac_objext'
35177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35178 (eval $ac_try) 2>&5
35179 ac_status=$?
35180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35181 (exit $ac_status); }; }; then
35182 glibcxx_cv_func__sqrtl_use=yes
35183 else
35184 echo "$as_me: failed program was:" >&5
35185 sed 's/^/| /' conftest.$ac_ext >&5
35187 glibcxx_cv_func__sqrtl_use=no
35189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35190 ac_ext=c
35191 ac_cpp='$CPP $CPPFLAGS'
35192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35200 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
35201 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
35203 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
35205 for ac_func in _sqrtl
35207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35208 echo "$as_me:$LINENO: checking for $ac_func" >&5
35209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35210 if eval "test \"\${$as_ac_var+set}\" = set"; then
35211 echo $ECHO_N "(cached) $ECHO_C" >&6
35212 else
35213 if test x$gcc_no_link = xyes; then
35214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35216 { (exit 1); exit 1; }; }
35218 cat >conftest.$ac_ext <<_ACEOF
35219 /* confdefs.h. */
35220 _ACEOF
35221 cat confdefs.h >>conftest.$ac_ext
35222 cat >>conftest.$ac_ext <<_ACEOF
35223 /* end confdefs.h. */
35224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35226 #define $ac_func innocuous_$ac_func
35228 /* System header to define __stub macros and hopefully few prototypes,
35229 which can conflict with char $ac_func (); below.
35230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35231 <limits.h> exists even on freestanding compilers. */
35233 #ifdef __STDC__
35234 # include <limits.h>
35235 #else
35236 # include <assert.h>
35237 #endif
35239 #undef $ac_func
35241 /* Override any gcc2 internal prototype to avoid an error. */
35242 #ifdef __cplusplus
35243 extern "C"
35245 #endif
35246 /* We use char because int might match the return type of a gcc2
35247 builtin and then its argument prototype would still apply. */
35248 char $ac_func ();
35249 /* The GNU C library defines this for functions which it implements
35250 to always fail with ENOSYS. Some functions are actually named
35251 something starting with __ and the normal name is an alias. */
35252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35253 choke me
35254 #else
35255 char (*f) () = $ac_func;
35256 #endif
35257 #ifdef __cplusplus
35259 #endif
35262 main ()
35264 return f != $ac_func;
35266 return 0;
35268 _ACEOF
35269 rm -f conftest.$ac_objext conftest$ac_exeext
35270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35271 (eval $ac_link) 2>conftest.er1
35272 ac_status=$?
35273 grep -v '^ *+' conftest.er1 >conftest.err
35274 rm -f conftest.er1
35275 cat conftest.err >&5
35276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35277 (exit $ac_status); } &&
35278 { ac_try='test -z "$ac_c_werror_flag"
35279 || test ! -s conftest.err'
35280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35281 (eval $ac_try) 2>&5
35282 ac_status=$?
35283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35284 (exit $ac_status); }; } &&
35285 { ac_try='test -s conftest$ac_exeext'
35286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35287 (eval $ac_try) 2>&5
35288 ac_status=$?
35289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35290 (exit $ac_status); }; }; then
35291 eval "$as_ac_var=yes"
35292 else
35293 echo "$as_me: failed program was:" >&5
35294 sed 's/^/| /' conftest.$ac_ext >&5
35296 eval "$as_ac_var=no"
35298 rm -f conftest.err conftest.$ac_objext \
35299 conftest$ac_exeext conftest.$ac_ext
35301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35303 if test `eval echo '${'$as_ac_var'}'` = yes; then
35304 cat >>confdefs.h <<_ACEOF
35305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35306 _ACEOF
35309 done
35319 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
35320 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
35321 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
35322 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
35323 echo $ECHO_N "(cached) $ECHO_C" >&6
35324 else
35328 ac_ext=cc
35329 ac_cpp='$CXXCPP $CPPFLAGS'
35330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35334 cat >conftest.$ac_ext <<_ACEOF
35335 /* confdefs.h. */
35336 _ACEOF
35337 cat confdefs.h >>conftest.$ac_ext
35338 cat >>conftest.$ac_ext <<_ACEOF
35339 /* end confdefs.h. */
35340 #include <math.h>
35342 main ()
35344 sincosl(0, 0, 0);
35346 return 0;
35348 _ACEOF
35349 rm -f conftest.$ac_objext
35350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35351 (eval $ac_compile) 2>conftest.er1
35352 ac_status=$?
35353 grep -v '^ *+' conftest.er1 >conftest.err
35354 rm -f conftest.er1
35355 cat conftest.err >&5
35356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35357 (exit $ac_status); } &&
35358 { ac_try='test -z "$ac_cxx_werror_flag"
35359 || test ! -s conftest.err'
35360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35361 (eval $ac_try) 2>&5
35362 ac_status=$?
35363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35364 (exit $ac_status); }; } &&
35365 { ac_try='test -s conftest.$ac_objext'
35366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35367 (eval $ac_try) 2>&5
35368 ac_status=$?
35369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35370 (exit $ac_status); }; }; then
35371 glibcxx_cv_func_sincosl_use=yes
35372 else
35373 echo "$as_me: failed program was:" >&5
35374 sed 's/^/| /' conftest.$ac_ext >&5
35376 glibcxx_cv_func_sincosl_use=no
35378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35379 ac_ext=c
35380 ac_cpp='$CPP $CPPFLAGS'
35381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35389 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
35390 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
35392 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35394 for ac_func in sincosl
35396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35397 echo "$as_me:$LINENO: checking for $ac_func" >&5
35398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35399 if eval "test \"\${$as_ac_var+set}\" = set"; then
35400 echo $ECHO_N "(cached) $ECHO_C" >&6
35401 else
35402 if test x$gcc_no_link = xyes; then
35403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35405 { (exit 1); exit 1; }; }
35407 cat >conftest.$ac_ext <<_ACEOF
35408 /* confdefs.h. */
35409 _ACEOF
35410 cat confdefs.h >>conftest.$ac_ext
35411 cat >>conftest.$ac_ext <<_ACEOF
35412 /* end confdefs.h. */
35413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35415 #define $ac_func innocuous_$ac_func
35417 /* System header to define __stub macros and hopefully few prototypes,
35418 which can conflict with char $ac_func (); below.
35419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35420 <limits.h> exists even on freestanding compilers. */
35422 #ifdef __STDC__
35423 # include <limits.h>
35424 #else
35425 # include <assert.h>
35426 #endif
35428 #undef $ac_func
35430 /* Override any gcc2 internal prototype to avoid an error. */
35431 #ifdef __cplusplus
35432 extern "C"
35434 #endif
35435 /* We use char because int might match the return type of a gcc2
35436 builtin and then its argument prototype would still apply. */
35437 char $ac_func ();
35438 /* The GNU C library defines this for functions which it implements
35439 to always fail with ENOSYS. Some functions are actually named
35440 something starting with __ and the normal name is an alias. */
35441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35442 choke me
35443 #else
35444 char (*f) () = $ac_func;
35445 #endif
35446 #ifdef __cplusplus
35448 #endif
35451 main ()
35453 return f != $ac_func;
35455 return 0;
35457 _ACEOF
35458 rm -f conftest.$ac_objext conftest$ac_exeext
35459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35460 (eval $ac_link) 2>conftest.er1
35461 ac_status=$?
35462 grep -v '^ *+' conftest.er1 >conftest.err
35463 rm -f conftest.er1
35464 cat conftest.err >&5
35465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35466 (exit $ac_status); } &&
35467 { ac_try='test -z "$ac_c_werror_flag"
35468 || test ! -s conftest.err'
35469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35470 (eval $ac_try) 2>&5
35471 ac_status=$?
35472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35473 (exit $ac_status); }; } &&
35474 { ac_try='test -s conftest$ac_exeext'
35475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35476 (eval $ac_try) 2>&5
35477 ac_status=$?
35478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35479 (exit $ac_status); }; }; then
35480 eval "$as_ac_var=yes"
35481 else
35482 echo "$as_me: failed program was:" >&5
35483 sed 's/^/| /' conftest.$ac_ext >&5
35485 eval "$as_ac_var=no"
35487 rm -f conftest.err conftest.$ac_objext \
35488 conftest$ac_exeext conftest.$ac_ext
35490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35492 if test `eval echo '${'$as_ac_var'}'` = yes; then
35493 cat >>confdefs.h <<_ACEOF
35494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35495 _ACEOF
35498 done
35500 else
35502 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
35503 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
35504 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35505 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
35506 echo $ECHO_N "(cached) $ECHO_C" >&6
35507 else
35511 ac_ext=cc
35512 ac_cpp='$CXXCPP $CPPFLAGS'
35513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35517 cat >conftest.$ac_ext <<_ACEOF
35518 /* confdefs.h. */
35519 _ACEOF
35520 cat confdefs.h >>conftest.$ac_ext
35521 cat >>conftest.$ac_ext <<_ACEOF
35522 /* end confdefs.h. */
35523 #include <math.h>
35525 main ()
35527 _sincosl(0, 0, 0);
35529 return 0;
35531 _ACEOF
35532 rm -f conftest.$ac_objext
35533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35534 (eval $ac_compile) 2>conftest.er1
35535 ac_status=$?
35536 grep -v '^ *+' conftest.er1 >conftest.err
35537 rm -f conftest.er1
35538 cat conftest.err >&5
35539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35540 (exit $ac_status); } &&
35541 { ac_try='test -z "$ac_cxx_werror_flag"
35542 || test ! -s conftest.err'
35543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35544 (eval $ac_try) 2>&5
35545 ac_status=$?
35546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35547 (exit $ac_status); }; } &&
35548 { ac_try='test -s conftest.$ac_objext'
35549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35550 (eval $ac_try) 2>&5
35551 ac_status=$?
35552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35553 (exit $ac_status); }; }; then
35554 glibcxx_cv_func__sincosl_use=yes
35555 else
35556 echo "$as_me: failed program was:" >&5
35557 sed 's/^/| /' conftest.$ac_ext >&5
35559 glibcxx_cv_func__sincosl_use=no
35561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35562 ac_ext=c
35563 ac_cpp='$CPP $CPPFLAGS'
35564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35572 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
35573 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
35575 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35577 for ac_func in _sincosl
35579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35580 echo "$as_me:$LINENO: checking for $ac_func" >&5
35581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35582 if eval "test \"\${$as_ac_var+set}\" = set"; then
35583 echo $ECHO_N "(cached) $ECHO_C" >&6
35584 else
35585 if test x$gcc_no_link = xyes; then
35586 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35588 { (exit 1); exit 1; }; }
35590 cat >conftest.$ac_ext <<_ACEOF
35591 /* confdefs.h. */
35592 _ACEOF
35593 cat confdefs.h >>conftest.$ac_ext
35594 cat >>conftest.$ac_ext <<_ACEOF
35595 /* end confdefs.h. */
35596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35598 #define $ac_func innocuous_$ac_func
35600 /* System header to define __stub macros and hopefully few prototypes,
35601 which can conflict with char $ac_func (); below.
35602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35603 <limits.h> exists even on freestanding compilers. */
35605 #ifdef __STDC__
35606 # include <limits.h>
35607 #else
35608 # include <assert.h>
35609 #endif
35611 #undef $ac_func
35613 /* Override any gcc2 internal prototype to avoid an error. */
35614 #ifdef __cplusplus
35615 extern "C"
35617 #endif
35618 /* We use char because int might match the return type of a gcc2
35619 builtin and then its argument prototype would still apply. */
35620 char $ac_func ();
35621 /* The GNU C library defines this for functions which it implements
35622 to always fail with ENOSYS. Some functions are actually named
35623 something starting with __ and the normal name is an alias. */
35624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35625 choke me
35626 #else
35627 char (*f) () = $ac_func;
35628 #endif
35629 #ifdef __cplusplus
35631 #endif
35634 main ()
35636 return f != $ac_func;
35638 return 0;
35640 _ACEOF
35641 rm -f conftest.$ac_objext conftest$ac_exeext
35642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35643 (eval $ac_link) 2>conftest.er1
35644 ac_status=$?
35645 grep -v '^ *+' conftest.er1 >conftest.err
35646 rm -f conftest.er1
35647 cat conftest.err >&5
35648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35649 (exit $ac_status); } &&
35650 { ac_try='test -z "$ac_c_werror_flag"
35651 || test ! -s conftest.err'
35652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35653 (eval $ac_try) 2>&5
35654 ac_status=$?
35655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35656 (exit $ac_status); }; } &&
35657 { ac_try='test -s conftest$ac_exeext'
35658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35659 (eval $ac_try) 2>&5
35660 ac_status=$?
35661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35662 (exit $ac_status); }; }; then
35663 eval "$as_ac_var=yes"
35664 else
35665 echo "$as_me: failed program was:" >&5
35666 sed 's/^/| /' conftest.$ac_ext >&5
35668 eval "$as_ac_var=no"
35670 rm -f conftest.err conftest.$ac_objext \
35671 conftest$ac_exeext conftest.$ac_ext
35673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35675 if test `eval echo '${'$as_ac_var'}'` = yes; then
35676 cat >>confdefs.h <<_ACEOF
35677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35678 _ACEOF
35681 done
35691 echo "$as_me:$LINENO: checking for finitel declaration" >&5
35692 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
35693 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35694 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
35695 echo $ECHO_N "(cached) $ECHO_C" >&6
35696 else
35700 ac_ext=cc
35701 ac_cpp='$CXXCPP $CPPFLAGS'
35702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35706 cat >conftest.$ac_ext <<_ACEOF
35707 /* confdefs.h. */
35708 _ACEOF
35709 cat confdefs.h >>conftest.$ac_ext
35710 cat >>conftest.$ac_ext <<_ACEOF
35711 /* end confdefs.h. */
35712 #include <math.h>
35713 #ifdef HAVE_IEEEFP_H
35714 #include <ieeefp.h>
35715 #endif
35718 main ()
35720 finitel(0);
35722 return 0;
35724 _ACEOF
35725 rm -f conftest.$ac_objext
35726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35727 (eval $ac_compile) 2>conftest.er1
35728 ac_status=$?
35729 grep -v '^ *+' conftest.er1 >conftest.err
35730 rm -f conftest.er1
35731 cat conftest.err >&5
35732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35733 (exit $ac_status); } &&
35734 { ac_try='test -z "$ac_cxx_werror_flag"
35735 || test ! -s conftest.err'
35736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35737 (eval $ac_try) 2>&5
35738 ac_status=$?
35739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35740 (exit $ac_status); }; } &&
35741 { ac_try='test -s conftest.$ac_objext'
35742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35743 (eval $ac_try) 2>&5
35744 ac_status=$?
35745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35746 (exit $ac_status); }; }; then
35747 glibcxx_cv_func_finitel_use=yes
35748 else
35749 echo "$as_me: failed program was:" >&5
35750 sed 's/^/| /' conftest.$ac_ext >&5
35752 glibcxx_cv_func_finitel_use=no
35754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35755 ac_ext=c
35756 ac_cpp='$CPP $CPPFLAGS'
35757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35765 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
35766 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
35768 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35770 for ac_func in finitel
35772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35773 echo "$as_me:$LINENO: checking for $ac_func" >&5
35774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35775 if eval "test \"\${$as_ac_var+set}\" = set"; then
35776 echo $ECHO_N "(cached) $ECHO_C" >&6
35777 else
35778 if test x$gcc_no_link = xyes; then
35779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35781 { (exit 1); exit 1; }; }
35783 cat >conftest.$ac_ext <<_ACEOF
35784 /* confdefs.h. */
35785 _ACEOF
35786 cat confdefs.h >>conftest.$ac_ext
35787 cat >>conftest.$ac_ext <<_ACEOF
35788 /* end confdefs.h. */
35789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35791 #define $ac_func innocuous_$ac_func
35793 /* System header to define __stub macros and hopefully few prototypes,
35794 which can conflict with char $ac_func (); below.
35795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35796 <limits.h> exists even on freestanding compilers. */
35798 #ifdef __STDC__
35799 # include <limits.h>
35800 #else
35801 # include <assert.h>
35802 #endif
35804 #undef $ac_func
35806 /* Override any gcc2 internal prototype to avoid an error. */
35807 #ifdef __cplusplus
35808 extern "C"
35810 #endif
35811 /* We use char because int might match the return type of a gcc2
35812 builtin and then its argument prototype would still apply. */
35813 char $ac_func ();
35814 /* The GNU C library defines this for functions which it implements
35815 to always fail with ENOSYS. Some functions are actually named
35816 something starting with __ and the normal name is an alias. */
35817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35818 choke me
35819 #else
35820 char (*f) () = $ac_func;
35821 #endif
35822 #ifdef __cplusplus
35824 #endif
35827 main ()
35829 return f != $ac_func;
35831 return 0;
35833 _ACEOF
35834 rm -f conftest.$ac_objext conftest$ac_exeext
35835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35836 (eval $ac_link) 2>conftest.er1
35837 ac_status=$?
35838 grep -v '^ *+' conftest.er1 >conftest.err
35839 rm -f conftest.er1
35840 cat conftest.err >&5
35841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35842 (exit $ac_status); } &&
35843 { ac_try='test -z "$ac_c_werror_flag"
35844 || test ! -s conftest.err'
35845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35846 (eval $ac_try) 2>&5
35847 ac_status=$?
35848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35849 (exit $ac_status); }; } &&
35850 { ac_try='test -s conftest$ac_exeext'
35851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35852 (eval $ac_try) 2>&5
35853 ac_status=$?
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); }; }; then
35856 eval "$as_ac_var=yes"
35857 else
35858 echo "$as_me: failed program was:" >&5
35859 sed 's/^/| /' conftest.$ac_ext >&5
35861 eval "$as_ac_var=no"
35863 rm -f conftest.err conftest.$ac_objext \
35864 conftest$ac_exeext conftest.$ac_ext
35866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35868 if test `eval echo '${'$as_ac_var'}'` = yes; then
35869 cat >>confdefs.h <<_ACEOF
35870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35871 _ACEOF
35874 done
35876 else
35878 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
35879 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
35880 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35881 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
35882 echo $ECHO_N "(cached) $ECHO_C" >&6
35883 else
35887 ac_ext=cc
35888 ac_cpp='$CXXCPP $CPPFLAGS'
35889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35893 cat >conftest.$ac_ext <<_ACEOF
35894 /* confdefs.h. */
35895 _ACEOF
35896 cat confdefs.h >>conftest.$ac_ext
35897 cat >>conftest.$ac_ext <<_ACEOF
35898 /* end confdefs.h. */
35899 #include <math.h>
35900 #ifdef HAVE_IEEEFP_H
35901 #include <ieeefp.h>
35902 #endif
35905 main ()
35907 _finitel(0);
35909 return 0;
35911 _ACEOF
35912 rm -f conftest.$ac_objext
35913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35914 (eval $ac_compile) 2>conftest.er1
35915 ac_status=$?
35916 grep -v '^ *+' conftest.er1 >conftest.err
35917 rm -f conftest.er1
35918 cat conftest.err >&5
35919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35920 (exit $ac_status); } &&
35921 { ac_try='test -z "$ac_cxx_werror_flag"
35922 || test ! -s conftest.err'
35923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35924 (eval $ac_try) 2>&5
35925 ac_status=$?
35926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35927 (exit $ac_status); }; } &&
35928 { ac_try='test -s conftest.$ac_objext'
35929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35930 (eval $ac_try) 2>&5
35931 ac_status=$?
35932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35933 (exit $ac_status); }; }; then
35934 glibcxx_cv_func__finitel_use=yes
35935 else
35936 echo "$as_me: failed program was:" >&5
35937 sed 's/^/| /' conftest.$ac_ext >&5
35939 glibcxx_cv_func__finitel_use=no
35941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35942 ac_ext=c
35943 ac_cpp='$CPP $CPPFLAGS'
35944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35952 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
35953 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
35955 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35957 for ac_func in _finitel
35959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35960 echo "$as_me:$LINENO: checking for $ac_func" >&5
35961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35962 if eval "test \"\${$as_ac_var+set}\" = set"; then
35963 echo $ECHO_N "(cached) $ECHO_C" >&6
35964 else
35965 if test x$gcc_no_link = xyes; then
35966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35968 { (exit 1); exit 1; }; }
35970 cat >conftest.$ac_ext <<_ACEOF
35971 /* confdefs.h. */
35972 _ACEOF
35973 cat confdefs.h >>conftest.$ac_ext
35974 cat >>conftest.$ac_ext <<_ACEOF
35975 /* end confdefs.h. */
35976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35978 #define $ac_func innocuous_$ac_func
35980 /* System header to define __stub macros and hopefully few prototypes,
35981 which can conflict with char $ac_func (); below.
35982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35983 <limits.h> exists even on freestanding compilers. */
35985 #ifdef __STDC__
35986 # include <limits.h>
35987 #else
35988 # include <assert.h>
35989 #endif
35991 #undef $ac_func
35993 /* Override any gcc2 internal prototype to avoid an error. */
35994 #ifdef __cplusplus
35995 extern "C"
35997 #endif
35998 /* We use char because int might match the return type of a gcc2
35999 builtin and then its argument prototype would still apply. */
36000 char $ac_func ();
36001 /* The GNU C library defines this for functions which it implements
36002 to always fail with ENOSYS. Some functions are actually named
36003 something starting with __ and the normal name is an alias. */
36004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36005 choke me
36006 #else
36007 char (*f) () = $ac_func;
36008 #endif
36009 #ifdef __cplusplus
36011 #endif
36014 main ()
36016 return f != $ac_func;
36018 return 0;
36020 _ACEOF
36021 rm -f conftest.$ac_objext conftest$ac_exeext
36022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36023 (eval $ac_link) 2>conftest.er1
36024 ac_status=$?
36025 grep -v '^ *+' conftest.er1 >conftest.err
36026 rm -f conftest.er1
36027 cat conftest.err >&5
36028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36029 (exit $ac_status); } &&
36030 { ac_try='test -z "$ac_c_werror_flag"
36031 || test ! -s conftest.err'
36032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36033 (eval $ac_try) 2>&5
36034 ac_status=$?
36035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36036 (exit $ac_status); }; } &&
36037 { ac_try='test -s conftest$ac_exeext'
36038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36039 (eval $ac_try) 2>&5
36040 ac_status=$?
36041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36042 (exit $ac_status); }; }; then
36043 eval "$as_ac_var=yes"
36044 else
36045 echo "$as_me: failed program was:" >&5
36046 sed 's/^/| /' conftest.$ac_ext >&5
36048 eval "$as_ac_var=no"
36050 rm -f conftest.err conftest.$ac_objext \
36051 conftest$ac_exeext conftest.$ac_ext
36053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36055 if test `eval echo '${'$as_ac_var'}'` = yes; then
36056 cat >>confdefs.h <<_ACEOF
36057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36058 _ACEOF
36061 done
36070 LIBS="$ac_save_LIBS"
36071 CXXFLAGS="$ac_save_CXXFLAGS"
36075 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
36076 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
36077 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
36078 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
36079 echo $ECHO_N "(cached) $ECHO_C" >&6
36080 else
36084 ac_ext=cc
36085 ac_cpp='$CXXCPP $CPPFLAGS'
36086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36090 cat >conftest.$ac_ext <<_ACEOF
36091 /* confdefs.h. */
36092 _ACEOF
36093 cat confdefs.h >>conftest.$ac_ext
36094 cat >>conftest.$ac_ext <<_ACEOF
36095 /* end confdefs.h. */
36096 #include <math.h>
36098 main ()
36100 __builtin_abs(0);
36102 return 0;
36104 _ACEOF
36105 rm -f conftest.$ac_objext
36106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36107 (eval $ac_compile) 2>conftest.er1
36108 ac_status=$?
36109 grep -v '^ *+' conftest.er1 >conftest.err
36110 rm -f conftest.er1
36111 cat conftest.err >&5
36112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36113 (exit $ac_status); } &&
36114 { ac_try='test -z "$ac_cxx_werror_flag"
36115 || test ! -s conftest.err'
36116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36117 (eval $ac_try) 2>&5
36118 ac_status=$?
36119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36120 (exit $ac_status); }; } &&
36121 { ac_try='test -s conftest.$ac_objext'
36122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36123 (eval $ac_try) 2>&5
36124 ac_status=$?
36125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36126 (exit $ac_status); }; }; then
36127 glibcxx_cv_func___builtin_abs_use=yes
36128 else
36129 echo "$as_me: failed program was:" >&5
36130 sed 's/^/| /' conftest.$ac_ext >&5
36132 glibcxx_cv_func___builtin_abs_use=no
36134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36135 ac_ext=c
36136 ac_cpp='$CPP $CPPFLAGS'
36137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36145 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
36146 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
36147 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
36148 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
36149 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
36150 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
36151 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
36152 echo $ECHO_N "(cached) $ECHO_C" >&6
36153 else
36155 if test x$gcc_no_link = xyes; then
36156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36158 { (exit 1); exit 1; }; }
36160 cat >conftest.$ac_ext <<_ACEOF
36161 /* confdefs.h. */
36162 _ACEOF
36163 cat confdefs.h >>conftest.$ac_ext
36164 cat >>conftest.$ac_ext <<_ACEOF
36165 /* end confdefs.h. */
36166 #include <math.h>
36168 main ()
36170 __builtin_abs(0);
36172 return 0;
36174 _ACEOF
36175 rm -f conftest.$ac_objext conftest$ac_exeext
36176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36177 (eval $ac_link) 2>conftest.er1
36178 ac_status=$?
36179 grep -v '^ *+' conftest.er1 >conftest.err
36180 rm -f conftest.er1
36181 cat conftest.err >&5
36182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36183 (exit $ac_status); } &&
36184 { ac_try='test -z "$ac_c_werror_flag"
36185 || test ! -s conftest.err'
36186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36187 (eval $ac_try) 2>&5
36188 ac_status=$?
36189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36190 (exit $ac_status); }; } &&
36191 { ac_try='test -s conftest$ac_exeext'
36192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36193 (eval $ac_try) 2>&5
36194 ac_status=$?
36195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36196 (exit $ac_status); }; }; then
36197 glibcxx_cv_func___builtin_abs_link=yes
36198 else
36199 echo "$as_me: failed program was:" >&5
36200 sed 's/^/| /' conftest.$ac_ext >&5
36202 glibcxx_cv_func___builtin_abs_link=no
36204 rm -f conftest.err conftest.$ac_objext \
36205 conftest$ac_exeext conftest.$ac_ext
36210 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
36211 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
36213 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
36215 cat >>confdefs.h <<\_ACEOF
36216 #define HAVE___BUILTIN_ABS 1
36217 _ACEOF
36224 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
36225 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
36226 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
36227 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
36228 echo $ECHO_N "(cached) $ECHO_C" >&6
36229 else
36233 ac_ext=cc
36234 ac_cpp='$CXXCPP $CPPFLAGS'
36235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36239 cat >conftest.$ac_ext <<_ACEOF
36240 /* confdefs.h. */
36241 _ACEOF
36242 cat confdefs.h >>conftest.$ac_ext
36243 cat >>conftest.$ac_ext <<_ACEOF
36244 /* end confdefs.h. */
36245 #include <math.h>
36247 main ()
36249 __builtin_fabsf(0);
36251 return 0;
36253 _ACEOF
36254 rm -f conftest.$ac_objext
36255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36256 (eval $ac_compile) 2>conftest.er1
36257 ac_status=$?
36258 grep -v '^ *+' conftest.er1 >conftest.err
36259 rm -f conftest.er1
36260 cat conftest.err >&5
36261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36262 (exit $ac_status); } &&
36263 { ac_try='test -z "$ac_cxx_werror_flag"
36264 || test ! -s conftest.err'
36265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36266 (eval $ac_try) 2>&5
36267 ac_status=$?
36268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36269 (exit $ac_status); }; } &&
36270 { ac_try='test -s conftest.$ac_objext'
36271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36272 (eval $ac_try) 2>&5
36273 ac_status=$?
36274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36275 (exit $ac_status); }; }; then
36276 glibcxx_cv_func___builtin_fabsf_use=yes
36277 else
36278 echo "$as_me: failed program was:" >&5
36279 sed 's/^/| /' conftest.$ac_ext >&5
36281 glibcxx_cv_func___builtin_fabsf_use=no
36283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36284 ac_ext=c
36285 ac_cpp='$CPP $CPPFLAGS'
36286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36294 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
36295 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
36296 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
36297 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
36298 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
36299 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
36300 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
36301 echo $ECHO_N "(cached) $ECHO_C" >&6
36302 else
36304 if test x$gcc_no_link = xyes; then
36305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36307 { (exit 1); exit 1; }; }
36309 cat >conftest.$ac_ext <<_ACEOF
36310 /* confdefs.h. */
36311 _ACEOF
36312 cat confdefs.h >>conftest.$ac_ext
36313 cat >>conftest.$ac_ext <<_ACEOF
36314 /* end confdefs.h. */
36315 #include <math.h>
36317 main ()
36319 __builtin_fabsf(0);
36321 return 0;
36323 _ACEOF
36324 rm -f conftest.$ac_objext conftest$ac_exeext
36325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36326 (eval $ac_link) 2>conftest.er1
36327 ac_status=$?
36328 grep -v '^ *+' conftest.er1 >conftest.err
36329 rm -f conftest.er1
36330 cat conftest.err >&5
36331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36332 (exit $ac_status); } &&
36333 { ac_try='test -z "$ac_c_werror_flag"
36334 || test ! -s conftest.err'
36335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36336 (eval $ac_try) 2>&5
36337 ac_status=$?
36338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36339 (exit $ac_status); }; } &&
36340 { ac_try='test -s conftest$ac_exeext'
36341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36342 (eval $ac_try) 2>&5
36343 ac_status=$?
36344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36345 (exit $ac_status); }; }; then
36346 glibcxx_cv_func___builtin_fabsf_link=yes
36347 else
36348 echo "$as_me: failed program was:" >&5
36349 sed 's/^/| /' conftest.$ac_ext >&5
36351 glibcxx_cv_func___builtin_fabsf_link=no
36353 rm -f conftest.err conftest.$ac_objext \
36354 conftest$ac_exeext conftest.$ac_ext
36359 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
36360 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
36362 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
36364 cat >>confdefs.h <<\_ACEOF
36365 #define HAVE___BUILTIN_FABSF 1
36366 _ACEOF
36373 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
36374 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
36375 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
36376 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
36377 echo $ECHO_N "(cached) $ECHO_C" >&6
36378 else
36382 ac_ext=cc
36383 ac_cpp='$CXXCPP $CPPFLAGS'
36384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36388 cat >conftest.$ac_ext <<_ACEOF
36389 /* confdefs.h. */
36390 _ACEOF
36391 cat confdefs.h >>conftest.$ac_ext
36392 cat >>conftest.$ac_ext <<_ACEOF
36393 /* end confdefs.h. */
36394 #include <math.h>
36396 main ()
36398 __builtin_fabs(0);
36400 return 0;
36402 _ACEOF
36403 rm -f conftest.$ac_objext
36404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36405 (eval $ac_compile) 2>conftest.er1
36406 ac_status=$?
36407 grep -v '^ *+' conftest.er1 >conftest.err
36408 rm -f conftest.er1
36409 cat conftest.err >&5
36410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36411 (exit $ac_status); } &&
36412 { ac_try='test -z "$ac_cxx_werror_flag"
36413 || test ! -s conftest.err'
36414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36415 (eval $ac_try) 2>&5
36416 ac_status=$?
36417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36418 (exit $ac_status); }; } &&
36419 { ac_try='test -s conftest.$ac_objext'
36420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36421 (eval $ac_try) 2>&5
36422 ac_status=$?
36423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36424 (exit $ac_status); }; }; then
36425 glibcxx_cv_func___builtin_fabs_use=yes
36426 else
36427 echo "$as_me: failed program was:" >&5
36428 sed 's/^/| /' conftest.$ac_ext >&5
36430 glibcxx_cv_func___builtin_fabs_use=no
36432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36433 ac_ext=c
36434 ac_cpp='$CPP $CPPFLAGS'
36435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36443 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
36444 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
36445 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
36446 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
36447 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
36448 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
36449 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
36450 echo $ECHO_N "(cached) $ECHO_C" >&6
36451 else
36453 if test x$gcc_no_link = xyes; then
36454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36456 { (exit 1); exit 1; }; }
36458 cat >conftest.$ac_ext <<_ACEOF
36459 /* confdefs.h. */
36460 _ACEOF
36461 cat confdefs.h >>conftest.$ac_ext
36462 cat >>conftest.$ac_ext <<_ACEOF
36463 /* end confdefs.h. */
36464 #include <math.h>
36466 main ()
36468 __builtin_fabs(0);
36470 return 0;
36472 _ACEOF
36473 rm -f conftest.$ac_objext conftest$ac_exeext
36474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36475 (eval $ac_link) 2>conftest.er1
36476 ac_status=$?
36477 grep -v '^ *+' conftest.er1 >conftest.err
36478 rm -f conftest.er1
36479 cat conftest.err >&5
36480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36481 (exit $ac_status); } &&
36482 { ac_try='test -z "$ac_c_werror_flag"
36483 || test ! -s conftest.err'
36484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36485 (eval $ac_try) 2>&5
36486 ac_status=$?
36487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36488 (exit $ac_status); }; } &&
36489 { ac_try='test -s conftest$ac_exeext'
36490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36491 (eval $ac_try) 2>&5
36492 ac_status=$?
36493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36494 (exit $ac_status); }; }; then
36495 glibcxx_cv_func___builtin_fabs_link=yes
36496 else
36497 echo "$as_me: failed program was:" >&5
36498 sed 's/^/| /' conftest.$ac_ext >&5
36500 glibcxx_cv_func___builtin_fabs_link=no
36502 rm -f conftest.err conftest.$ac_objext \
36503 conftest$ac_exeext conftest.$ac_ext
36508 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
36509 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
36511 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
36513 cat >>confdefs.h <<\_ACEOF
36514 #define HAVE___BUILTIN_FABS 1
36515 _ACEOF
36522 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
36523 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
36524 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
36525 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
36526 echo $ECHO_N "(cached) $ECHO_C" >&6
36527 else
36531 ac_ext=cc
36532 ac_cpp='$CXXCPP $CPPFLAGS'
36533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36537 cat >conftest.$ac_ext <<_ACEOF
36538 /* confdefs.h. */
36539 _ACEOF
36540 cat confdefs.h >>conftest.$ac_ext
36541 cat >>conftest.$ac_ext <<_ACEOF
36542 /* end confdefs.h. */
36543 #include <math.h>
36545 main ()
36547 __builtin_fabsl(0);
36549 return 0;
36551 _ACEOF
36552 rm -f conftest.$ac_objext
36553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36554 (eval $ac_compile) 2>conftest.er1
36555 ac_status=$?
36556 grep -v '^ *+' conftest.er1 >conftest.err
36557 rm -f conftest.er1
36558 cat conftest.err >&5
36559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36560 (exit $ac_status); } &&
36561 { ac_try='test -z "$ac_cxx_werror_flag"
36562 || test ! -s conftest.err'
36563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36564 (eval $ac_try) 2>&5
36565 ac_status=$?
36566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36567 (exit $ac_status); }; } &&
36568 { ac_try='test -s conftest.$ac_objext'
36569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36570 (eval $ac_try) 2>&5
36571 ac_status=$?
36572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36573 (exit $ac_status); }; }; then
36574 glibcxx_cv_func___builtin_fabsl_use=yes
36575 else
36576 echo "$as_me: failed program was:" >&5
36577 sed 's/^/| /' conftest.$ac_ext >&5
36579 glibcxx_cv_func___builtin_fabsl_use=no
36581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36582 ac_ext=c
36583 ac_cpp='$CPP $CPPFLAGS'
36584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36592 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
36593 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
36594 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
36595 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
36596 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
36597 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
36598 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
36599 echo $ECHO_N "(cached) $ECHO_C" >&6
36600 else
36602 if test x$gcc_no_link = xyes; then
36603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36605 { (exit 1); exit 1; }; }
36607 cat >conftest.$ac_ext <<_ACEOF
36608 /* confdefs.h. */
36609 _ACEOF
36610 cat confdefs.h >>conftest.$ac_ext
36611 cat >>conftest.$ac_ext <<_ACEOF
36612 /* end confdefs.h. */
36613 #include <math.h>
36615 main ()
36617 __builtin_fabsl(0);
36619 return 0;
36621 _ACEOF
36622 rm -f conftest.$ac_objext conftest$ac_exeext
36623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36624 (eval $ac_link) 2>conftest.er1
36625 ac_status=$?
36626 grep -v '^ *+' conftest.er1 >conftest.err
36627 rm -f conftest.er1
36628 cat conftest.err >&5
36629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36630 (exit $ac_status); } &&
36631 { ac_try='test -z "$ac_c_werror_flag"
36632 || test ! -s conftest.err'
36633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36634 (eval $ac_try) 2>&5
36635 ac_status=$?
36636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36637 (exit $ac_status); }; } &&
36638 { ac_try='test -s conftest$ac_exeext'
36639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36640 (eval $ac_try) 2>&5
36641 ac_status=$?
36642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36643 (exit $ac_status); }; }; then
36644 glibcxx_cv_func___builtin_fabsl_link=yes
36645 else
36646 echo "$as_me: failed program was:" >&5
36647 sed 's/^/| /' conftest.$ac_ext >&5
36649 glibcxx_cv_func___builtin_fabsl_link=no
36651 rm -f conftest.err conftest.$ac_objext \
36652 conftest$ac_exeext conftest.$ac_ext
36657 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
36658 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
36660 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
36662 cat >>confdefs.h <<\_ACEOF
36663 #define HAVE___BUILTIN_FABSL 1
36664 _ACEOF
36671 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
36672 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
36673 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
36674 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
36675 echo $ECHO_N "(cached) $ECHO_C" >&6
36676 else
36680 ac_ext=cc
36681 ac_cpp='$CXXCPP $CPPFLAGS'
36682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36686 cat >conftest.$ac_ext <<_ACEOF
36687 /* confdefs.h. */
36688 _ACEOF
36689 cat confdefs.h >>conftest.$ac_ext
36690 cat >>conftest.$ac_ext <<_ACEOF
36691 /* end confdefs.h. */
36692 #include <math.h>
36694 main ()
36696 __builtin_labs(0);
36698 return 0;
36700 _ACEOF
36701 rm -f conftest.$ac_objext
36702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36703 (eval $ac_compile) 2>conftest.er1
36704 ac_status=$?
36705 grep -v '^ *+' conftest.er1 >conftest.err
36706 rm -f conftest.er1
36707 cat conftest.err >&5
36708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36709 (exit $ac_status); } &&
36710 { ac_try='test -z "$ac_cxx_werror_flag"
36711 || test ! -s conftest.err'
36712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36713 (eval $ac_try) 2>&5
36714 ac_status=$?
36715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36716 (exit $ac_status); }; } &&
36717 { ac_try='test -s conftest.$ac_objext'
36718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36719 (eval $ac_try) 2>&5
36720 ac_status=$?
36721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36722 (exit $ac_status); }; }; then
36723 glibcxx_cv_func___builtin_labs_use=yes
36724 else
36725 echo "$as_me: failed program was:" >&5
36726 sed 's/^/| /' conftest.$ac_ext >&5
36728 glibcxx_cv_func___builtin_labs_use=no
36730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36731 ac_ext=c
36732 ac_cpp='$CPP $CPPFLAGS'
36733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36741 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
36742 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
36743 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
36744 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
36745 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
36746 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
36747 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
36748 echo $ECHO_N "(cached) $ECHO_C" >&6
36749 else
36751 if test x$gcc_no_link = xyes; then
36752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36754 { (exit 1); exit 1; }; }
36756 cat >conftest.$ac_ext <<_ACEOF
36757 /* confdefs.h. */
36758 _ACEOF
36759 cat confdefs.h >>conftest.$ac_ext
36760 cat >>conftest.$ac_ext <<_ACEOF
36761 /* end confdefs.h. */
36762 #include <math.h>
36764 main ()
36766 __builtin_labs(0);
36768 return 0;
36770 _ACEOF
36771 rm -f conftest.$ac_objext conftest$ac_exeext
36772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36773 (eval $ac_link) 2>conftest.er1
36774 ac_status=$?
36775 grep -v '^ *+' conftest.er1 >conftest.err
36776 rm -f conftest.er1
36777 cat conftest.err >&5
36778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36779 (exit $ac_status); } &&
36780 { ac_try='test -z "$ac_c_werror_flag"
36781 || test ! -s conftest.err'
36782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36783 (eval $ac_try) 2>&5
36784 ac_status=$?
36785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36786 (exit $ac_status); }; } &&
36787 { ac_try='test -s conftest$ac_exeext'
36788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36789 (eval $ac_try) 2>&5
36790 ac_status=$?
36791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36792 (exit $ac_status); }; }; then
36793 glibcxx_cv_func___builtin_labs_link=yes
36794 else
36795 echo "$as_me: failed program was:" >&5
36796 sed 's/^/| /' conftest.$ac_ext >&5
36798 glibcxx_cv_func___builtin_labs_link=no
36800 rm -f conftest.err conftest.$ac_objext \
36801 conftest$ac_exeext conftest.$ac_ext
36806 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
36807 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
36809 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
36811 cat >>confdefs.h <<\_ACEOF
36812 #define HAVE___BUILTIN_LABS 1
36813 _ACEOF
36821 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
36822 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
36823 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
36824 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
36825 echo $ECHO_N "(cached) $ECHO_C" >&6
36826 else
36830 ac_ext=cc
36831 ac_cpp='$CXXCPP $CPPFLAGS'
36832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36836 cat >conftest.$ac_ext <<_ACEOF
36837 /* confdefs.h. */
36838 _ACEOF
36839 cat confdefs.h >>conftest.$ac_ext
36840 cat >>conftest.$ac_ext <<_ACEOF
36841 /* end confdefs.h. */
36842 #include <math.h>
36844 main ()
36846 __builtin_sqrtf(0);
36848 return 0;
36850 _ACEOF
36851 rm -f conftest.$ac_objext
36852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36853 (eval $ac_compile) 2>conftest.er1
36854 ac_status=$?
36855 grep -v '^ *+' conftest.er1 >conftest.err
36856 rm -f conftest.er1
36857 cat conftest.err >&5
36858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36859 (exit $ac_status); } &&
36860 { ac_try='test -z "$ac_cxx_werror_flag"
36861 || test ! -s conftest.err'
36862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36863 (eval $ac_try) 2>&5
36864 ac_status=$?
36865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36866 (exit $ac_status); }; } &&
36867 { ac_try='test -s conftest.$ac_objext'
36868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36869 (eval $ac_try) 2>&5
36870 ac_status=$?
36871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36872 (exit $ac_status); }; }; then
36873 glibcxx_cv_func___builtin_sqrtf_use=yes
36874 else
36875 echo "$as_me: failed program was:" >&5
36876 sed 's/^/| /' conftest.$ac_ext >&5
36878 glibcxx_cv_func___builtin_sqrtf_use=no
36880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36881 ac_ext=c
36882 ac_cpp='$CPP $CPPFLAGS'
36883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36891 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
36892 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
36893 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
36894 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
36895 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
36896 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
36897 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
36898 echo $ECHO_N "(cached) $ECHO_C" >&6
36899 else
36901 if test x$gcc_no_link = xyes; then
36902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36904 { (exit 1); exit 1; }; }
36906 cat >conftest.$ac_ext <<_ACEOF
36907 /* confdefs.h. */
36908 _ACEOF
36909 cat confdefs.h >>conftest.$ac_ext
36910 cat >>conftest.$ac_ext <<_ACEOF
36911 /* end confdefs.h. */
36912 #include <math.h>
36914 main ()
36916 __builtin_sqrtf(0);
36918 return 0;
36920 _ACEOF
36921 rm -f conftest.$ac_objext conftest$ac_exeext
36922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36923 (eval $ac_link) 2>conftest.er1
36924 ac_status=$?
36925 grep -v '^ *+' conftest.er1 >conftest.err
36926 rm -f conftest.er1
36927 cat conftest.err >&5
36928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36929 (exit $ac_status); } &&
36930 { ac_try='test -z "$ac_c_werror_flag"
36931 || test ! -s conftest.err'
36932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36933 (eval $ac_try) 2>&5
36934 ac_status=$?
36935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36936 (exit $ac_status); }; } &&
36937 { ac_try='test -s conftest$ac_exeext'
36938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36939 (eval $ac_try) 2>&5
36940 ac_status=$?
36941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36942 (exit $ac_status); }; }; then
36943 glibcxx_cv_func___builtin_sqrtf_link=yes
36944 else
36945 echo "$as_me: failed program was:" >&5
36946 sed 's/^/| /' conftest.$ac_ext >&5
36948 glibcxx_cv_func___builtin_sqrtf_link=no
36950 rm -f conftest.err conftest.$ac_objext \
36951 conftest$ac_exeext conftest.$ac_ext
36956 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
36957 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
36959 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
36961 cat >>confdefs.h <<\_ACEOF
36962 #define HAVE___BUILTIN_SQRTF 1
36963 _ACEOF
36970 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
36971 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
36972 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
36973 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
36974 echo $ECHO_N "(cached) $ECHO_C" >&6
36975 else
36979 ac_ext=cc
36980 ac_cpp='$CXXCPP $CPPFLAGS'
36981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36985 cat >conftest.$ac_ext <<_ACEOF
36986 /* confdefs.h. */
36987 _ACEOF
36988 cat confdefs.h >>conftest.$ac_ext
36989 cat >>conftest.$ac_ext <<_ACEOF
36990 /* end confdefs.h. */
36991 #include <math.h>
36993 main ()
36995 __builtin_sqrt(0);
36997 return 0;
36999 _ACEOF
37000 rm -f conftest.$ac_objext
37001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37002 (eval $ac_compile) 2>conftest.er1
37003 ac_status=$?
37004 grep -v '^ *+' conftest.er1 >conftest.err
37005 rm -f conftest.er1
37006 cat conftest.err >&5
37007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37008 (exit $ac_status); } &&
37009 { ac_try='test -z "$ac_cxx_werror_flag"
37010 || test ! -s conftest.err'
37011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37012 (eval $ac_try) 2>&5
37013 ac_status=$?
37014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37015 (exit $ac_status); }; } &&
37016 { ac_try='test -s conftest.$ac_objext'
37017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37018 (eval $ac_try) 2>&5
37019 ac_status=$?
37020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37021 (exit $ac_status); }; }; then
37022 glibcxx_cv_func___builtin_sqrt_use=yes
37023 else
37024 echo "$as_me: failed program was:" >&5
37025 sed 's/^/| /' conftest.$ac_ext >&5
37027 glibcxx_cv_func___builtin_sqrt_use=no
37029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37030 ac_ext=c
37031 ac_cpp='$CPP $CPPFLAGS'
37032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37040 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
37041 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
37042 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
37043 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
37044 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
37045 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
37046 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
37047 echo $ECHO_N "(cached) $ECHO_C" >&6
37048 else
37050 if test x$gcc_no_link = xyes; then
37051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37053 { (exit 1); exit 1; }; }
37055 cat >conftest.$ac_ext <<_ACEOF
37056 /* confdefs.h. */
37057 _ACEOF
37058 cat confdefs.h >>conftest.$ac_ext
37059 cat >>conftest.$ac_ext <<_ACEOF
37060 /* end confdefs.h. */
37061 #include <math.h>
37063 main ()
37065 __builtin_sqrt(0);
37067 return 0;
37069 _ACEOF
37070 rm -f conftest.$ac_objext conftest$ac_exeext
37071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37072 (eval $ac_link) 2>conftest.er1
37073 ac_status=$?
37074 grep -v '^ *+' conftest.er1 >conftest.err
37075 rm -f conftest.er1
37076 cat conftest.err >&5
37077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37078 (exit $ac_status); } &&
37079 { ac_try='test -z "$ac_c_werror_flag"
37080 || test ! -s conftest.err'
37081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37082 (eval $ac_try) 2>&5
37083 ac_status=$?
37084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37085 (exit $ac_status); }; } &&
37086 { ac_try='test -s conftest$ac_exeext'
37087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37088 (eval $ac_try) 2>&5
37089 ac_status=$?
37090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37091 (exit $ac_status); }; }; then
37092 glibcxx_cv_func___builtin_sqrt_link=yes
37093 else
37094 echo "$as_me: failed program was:" >&5
37095 sed 's/^/| /' conftest.$ac_ext >&5
37097 glibcxx_cv_func___builtin_sqrt_link=no
37099 rm -f conftest.err conftest.$ac_objext \
37100 conftest$ac_exeext conftest.$ac_ext
37105 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
37106 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
37108 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
37110 cat >>confdefs.h <<\_ACEOF
37111 #define HAVE___BUILTIN_SQRT 1
37112 _ACEOF
37119 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
37120 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
37121 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
37122 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
37123 echo $ECHO_N "(cached) $ECHO_C" >&6
37124 else
37128 ac_ext=cc
37129 ac_cpp='$CXXCPP $CPPFLAGS'
37130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37134 cat >conftest.$ac_ext <<_ACEOF
37135 /* confdefs.h. */
37136 _ACEOF
37137 cat confdefs.h >>conftest.$ac_ext
37138 cat >>conftest.$ac_ext <<_ACEOF
37139 /* end confdefs.h. */
37140 #include <math.h>
37142 main ()
37144 __builtin_sqrtl(0);
37146 return 0;
37148 _ACEOF
37149 rm -f conftest.$ac_objext
37150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37151 (eval $ac_compile) 2>conftest.er1
37152 ac_status=$?
37153 grep -v '^ *+' conftest.er1 >conftest.err
37154 rm -f conftest.er1
37155 cat conftest.err >&5
37156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37157 (exit $ac_status); } &&
37158 { ac_try='test -z "$ac_cxx_werror_flag"
37159 || test ! -s conftest.err'
37160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37161 (eval $ac_try) 2>&5
37162 ac_status=$?
37163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37164 (exit $ac_status); }; } &&
37165 { ac_try='test -s conftest.$ac_objext'
37166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37167 (eval $ac_try) 2>&5
37168 ac_status=$?
37169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37170 (exit $ac_status); }; }; then
37171 glibcxx_cv_func___builtin_sqrtl_use=yes
37172 else
37173 echo "$as_me: failed program was:" >&5
37174 sed 's/^/| /' conftest.$ac_ext >&5
37176 glibcxx_cv_func___builtin_sqrtl_use=no
37178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37179 ac_ext=c
37180 ac_cpp='$CPP $CPPFLAGS'
37181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37189 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
37190 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
37191 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
37192 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
37193 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
37194 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
37195 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
37196 echo $ECHO_N "(cached) $ECHO_C" >&6
37197 else
37199 if test x$gcc_no_link = xyes; then
37200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37202 { (exit 1); exit 1; }; }
37204 cat >conftest.$ac_ext <<_ACEOF
37205 /* confdefs.h. */
37206 _ACEOF
37207 cat confdefs.h >>conftest.$ac_ext
37208 cat >>conftest.$ac_ext <<_ACEOF
37209 /* end confdefs.h. */
37210 #include <math.h>
37212 main ()
37214 __builtin_sqrtl(0);
37216 return 0;
37218 _ACEOF
37219 rm -f conftest.$ac_objext conftest$ac_exeext
37220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37221 (eval $ac_link) 2>conftest.er1
37222 ac_status=$?
37223 grep -v '^ *+' conftest.er1 >conftest.err
37224 rm -f conftest.er1
37225 cat conftest.err >&5
37226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37227 (exit $ac_status); } &&
37228 { ac_try='test -z "$ac_c_werror_flag"
37229 || test ! -s conftest.err'
37230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37231 (eval $ac_try) 2>&5
37232 ac_status=$?
37233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37234 (exit $ac_status); }; } &&
37235 { ac_try='test -s conftest$ac_exeext'
37236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37237 (eval $ac_try) 2>&5
37238 ac_status=$?
37239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37240 (exit $ac_status); }; }; then
37241 glibcxx_cv_func___builtin_sqrtl_link=yes
37242 else
37243 echo "$as_me: failed program was:" >&5
37244 sed 's/^/| /' conftest.$ac_ext >&5
37246 glibcxx_cv_func___builtin_sqrtl_link=no
37248 rm -f conftest.err conftest.$ac_objext \
37249 conftest$ac_exeext conftest.$ac_ext
37254 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
37255 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
37257 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
37259 cat >>confdefs.h <<\_ACEOF
37260 #define HAVE___BUILTIN_SQRTL 1
37261 _ACEOF
37269 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
37270 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
37271 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
37272 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
37273 echo $ECHO_N "(cached) $ECHO_C" >&6
37274 else
37278 ac_ext=cc
37279 ac_cpp='$CXXCPP $CPPFLAGS'
37280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37284 cat >conftest.$ac_ext <<_ACEOF
37285 /* confdefs.h. */
37286 _ACEOF
37287 cat confdefs.h >>conftest.$ac_ext
37288 cat >>conftest.$ac_ext <<_ACEOF
37289 /* end confdefs.h. */
37290 #include <math.h>
37292 main ()
37294 __builtin_sinf(0);
37296 return 0;
37298 _ACEOF
37299 rm -f conftest.$ac_objext
37300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37301 (eval $ac_compile) 2>conftest.er1
37302 ac_status=$?
37303 grep -v '^ *+' conftest.er1 >conftest.err
37304 rm -f conftest.er1
37305 cat conftest.err >&5
37306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37307 (exit $ac_status); } &&
37308 { ac_try='test -z "$ac_cxx_werror_flag"
37309 || test ! -s conftest.err'
37310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37311 (eval $ac_try) 2>&5
37312 ac_status=$?
37313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37314 (exit $ac_status); }; } &&
37315 { ac_try='test -s conftest.$ac_objext'
37316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37317 (eval $ac_try) 2>&5
37318 ac_status=$?
37319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37320 (exit $ac_status); }; }; then
37321 glibcxx_cv_func___builtin_sinf_use=yes
37322 else
37323 echo "$as_me: failed program was:" >&5
37324 sed 's/^/| /' conftest.$ac_ext >&5
37326 glibcxx_cv_func___builtin_sinf_use=no
37328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37329 ac_ext=c
37330 ac_cpp='$CPP $CPPFLAGS'
37331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37339 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
37340 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
37341 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
37342 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
37343 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
37344 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
37345 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
37346 echo $ECHO_N "(cached) $ECHO_C" >&6
37347 else
37349 if test x$gcc_no_link = xyes; then
37350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37352 { (exit 1); exit 1; }; }
37354 cat >conftest.$ac_ext <<_ACEOF
37355 /* confdefs.h. */
37356 _ACEOF
37357 cat confdefs.h >>conftest.$ac_ext
37358 cat >>conftest.$ac_ext <<_ACEOF
37359 /* end confdefs.h. */
37360 #include <math.h>
37362 main ()
37364 __builtin_sinf(0);
37366 return 0;
37368 _ACEOF
37369 rm -f conftest.$ac_objext conftest$ac_exeext
37370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37371 (eval $ac_link) 2>conftest.er1
37372 ac_status=$?
37373 grep -v '^ *+' conftest.er1 >conftest.err
37374 rm -f conftest.er1
37375 cat conftest.err >&5
37376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37377 (exit $ac_status); } &&
37378 { ac_try='test -z "$ac_c_werror_flag"
37379 || test ! -s conftest.err'
37380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37381 (eval $ac_try) 2>&5
37382 ac_status=$?
37383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37384 (exit $ac_status); }; } &&
37385 { ac_try='test -s conftest$ac_exeext'
37386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37387 (eval $ac_try) 2>&5
37388 ac_status=$?
37389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37390 (exit $ac_status); }; }; then
37391 glibcxx_cv_func___builtin_sinf_link=yes
37392 else
37393 echo "$as_me: failed program was:" >&5
37394 sed 's/^/| /' conftest.$ac_ext >&5
37396 glibcxx_cv_func___builtin_sinf_link=no
37398 rm -f conftest.err conftest.$ac_objext \
37399 conftest$ac_exeext conftest.$ac_ext
37404 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
37405 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
37407 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
37409 cat >>confdefs.h <<\_ACEOF
37410 #define HAVE___BUILTIN_SINF 1
37411 _ACEOF
37418 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
37419 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
37420 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
37421 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
37422 echo $ECHO_N "(cached) $ECHO_C" >&6
37423 else
37427 ac_ext=cc
37428 ac_cpp='$CXXCPP $CPPFLAGS'
37429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37433 cat >conftest.$ac_ext <<_ACEOF
37434 /* confdefs.h. */
37435 _ACEOF
37436 cat confdefs.h >>conftest.$ac_ext
37437 cat >>conftest.$ac_ext <<_ACEOF
37438 /* end confdefs.h. */
37439 #include <math.h>
37441 main ()
37443 __builtin_sin(0);
37445 return 0;
37447 _ACEOF
37448 rm -f conftest.$ac_objext
37449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37450 (eval $ac_compile) 2>conftest.er1
37451 ac_status=$?
37452 grep -v '^ *+' conftest.er1 >conftest.err
37453 rm -f conftest.er1
37454 cat conftest.err >&5
37455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37456 (exit $ac_status); } &&
37457 { ac_try='test -z "$ac_cxx_werror_flag"
37458 || test ! -s conftest.err'
37459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37460 (eval $ac_try) 2>&5
37461 ac_status=$?
37462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37463 (exit $ac_status); }; } &&
37464 { ac_try='test -s conftest.$ac_objext'
37465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37466 (eval $ac_try) 2>&5
37467 ac_status=$?
37468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37469 (exit $ac_status); }; }; then
37470 glibcxx_cv_func___builtin_sin_use=yes
37471 else
37472 echo "$as_me: failed program was:" >&5
37473 sed 's/^/| /' conftest.$ac_ext >&5
37475 glibcxx_cv_func___builtin_sin_use=no
37477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37478 ac_ext=c
37479 ac_cpp='$CPP $CPPFLAGS'
37480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37488 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
37489 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
37490 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
37491 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
37492 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
37493 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
37494 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
37495 echo $ECHO_N "(cached) $ECHO_C" >&6
37496 else
37498 if test x$gcc_no_link = xyes; then
37499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37501 { (exit 1); exit 1; }; }
37503 cat >conftest.$ac_ext <<_ACEOF
37504 /* confdefs.h. */
37505 _ACEOF
37506 cat confdefs.h >>conftest.$ac_ext
37507 cat >>conftest.$ac_ext <<_ACEOF
37508 /* end confdefs.h. */
37509 #include <math.h>
37511 main ()
37513 __builtin_sin(0);
37515 return 0;
37517 _ACEOF
37518 rm -f conftest.$ac_objext conftest$ac_exeext
37519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37520 (eval $ac_link) 2>conftest.er1
37521 ac_status=$?
37522 grep -v '^ *+' conftest.er1 >conftest.err
37523 rm -f conftest.er1
37524 cat conftest.err >&5
37525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37526 (exit $ac_status); } &&
37527 { ac_try='test -z "$ac_c_werror_flag"
37528 || test ! -s conftest.err'
37529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37530 (eval $ac_try) 2>&5
37531 ac_status=$?
37532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37533 (exit $ac_status); }; } &&
37534 { ac_try='test -s conftest$ac_exeext'
37535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37536 (eval $ac_try) 2>&5
37537 ac_status=$?
37538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37539 (exit $ac_status); }; }; then
37540 glibcxx_cv_func___builtin_sin_link=yes
37541 else
37542 echo "$as_me: failed program was:" >&5
37543 sed 's/^/| /' conftest.$ac_ext >&5
37545 glibcxx_cv_func___builtin_sin_link=no
37547 rm -f conftest.err conftest.$ac_objext \
37548 conftest$ac_exeext conftest.$ac_ext
37553 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
37554 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
37556 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
37558 cat >>confdefs.h <<\_ACEOF
37559 #define HAVE___BUILTIN_SIN 1
37560 _ACEOF
37567 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
37568 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
37569 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
37570 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
37571 echo $ECHO_N "(cached) $ECHO_C" >&6
37572 else
37576 ac_ext=cc
37577 ac_cpp='$CXXCPP $CPPFLAGS'
37578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37582 cat >conftest.$ac_ext <<_ACEOF
37583 /* confdefs.h. */
37584 _ACEOF
37585 cat confdefs.h >>conftest.$ac_ext
37586 cat >>conftest.$ac_ext <<_ACEOF
37587 /* end confdefs.h. */
37588 #include <math.h>
37590 main ()
37592 __builtin_sinl(0);
37594 return 0;
37596 _ACEOF
37597 rm -f conftest.$ac_objext
37598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37599 (eval $ac_compile) 2>conftest.er1
37600 ac_status=$?
37601 grep -v '^ *+' conftest.er1 >conftest.err
37602 rm -f conftest.er1
37603 cat conftest.err >&5
37604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37605 (exit $ac_status); } &&
37606 { ac_try='test -z "$ac_cxx_werror_flag"
37607 || test ! -s conftest.err'
37608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37609 (eval $ac_try) 2>&5
37610 ac_status=$?
37611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37612 (exit $ac_status); }; } &&
37613 { ac_try='test -s conftest.$ac_objext'
37614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37615 (eval $ac_try) 2>&5
37616 ac_status=$?
37617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37618 (exit $ac_status); }; }; then
37619 glibcxx_cv_func___builtin_sinl_use=yes
37620 else
37621 echo "$as_me: failed program was:" >&5
37622 sed 's/^/| /' conftest.$ac_ext >&5
37624 glibcxx_cv_func___builtin_sinl_use=no
37626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37627 ac_ext=c
37628 ac_cpp='$CPP $CPPFLAGS'
37629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37637 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
37638 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
37639 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
37640 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
37641 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
37642 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
37643 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
37644 echo $ECHO_N "(cached) $ECHO_C" >&6
37645 else
37647 if test x$gcc_no_link = xyes; then
37648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37650 { (exit 1); exit 1; }; }
37652 cat >conftest.$ac_ext <<_ACEOF
37653 /* confdefs.h. */
37654 _ACEOF
37655 cat confdefs.h >>conftest.$ac_ext
37656 cat >>conftest.$ac_ext <<_ACEOF
37657 /* end confdefs.h. */
37658 #include <math.h>
37660 main ()
37662 __builtin_sinl(0);
37664 return 0;
37666 _ACEOF
37667 rm -f conftest.$ac_objext conftest$ac_exeext
37668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37669 (eval $ac_link) 2>conftest.er1
37670 ac_status=$?
37671 grep -v '^ *+' conftest.er1 >conftest.err
37672 rm -f conftest.er1
37673 cat conftest.err >&5
37674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37675 (exit $ac_status); } &&
37676 { ac_try='test -z "$ac_c_werror_flag"
37677 || test ! -s conftest.err'
37678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37679 (eval $ac_try) 2>&5
37680 ac_status=$?
37681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37682 (exit $ac_status); }; } &&
37683 { ac_try='test -s conftest$ac_exeext'
37684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37685 (eval $ac_try) 2>&5
37686 ac_status=$?
37687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37688 (exit $ac_status); }; }; then
37689 glibcxx_cv_func___builtin_sinl_link=yes
37690 else
37691 echo "$as_me: failed program was:" >&5
37692 sed 's/^/| /' conftest.$ac_ext >&5
37694 glibcxx_cv_func___builtin_sinl_link=no
37696 rm -f conftest.err conftest.$ac_objext \
37697 conftest$ac_exeext conftest.$ac_ext
37702 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
37703 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
37705 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
37707 cat >>confdefs.h <<\_ACEOF
37708 #define HAVE___BUILTIN_SINL 1
37709 _ACEOF
37717 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
37718 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
37719 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
37720 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
37721 echo $ECHO_N "(cached) $ECHO_C" >&6
37722 else
37726 ac_ext=cc
37727 ac_cpp='$CXXCPP $CPPFLAGS'
37728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37732 cat >conftest.$ac_ext <<_ACEOF
37733 /* confdefs.h. */
37734 _ACEOF
37735 cat confdefs.h >>conftest.$ac_ext
37736 cat >>conftest.$ac_ext <<_ACEOF
37737 /* end confdefs.h. */
37738 #include <math.h>
37740 main ()
37742 __builtin_cosf(0);
37744 return 0;
37746 _ACEOF
37747 rm -f conftest.$ac_objext
37748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37749 (eval $ac_compile) 2>conftest.er1
37750 ac_status=$?
37751 grep -v '^ *+' conftest.er1 >conftest.err
37752 rm -f conftest.er1
37753 cat conftest.err >&5
37754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37755 (exit $ac_status); } &&
37756 { ac_try='test -z "$ac_cxx_werror_flag"
37757 || test ! -s conftest.err'
37758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37759 (eval $ac_try) 2>&5
37760 ac_status=$?
37761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37762 (exit $ac_status); }; } &&
37763 { ac_try='test -s conftest.$ac_objext'
37764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37765 (eval $ac_try) 2>&5
37766 ac_status=$?
37767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37768 (exit $ac_status); }; }; then
37769 glibcxx_cv_func___builtin_cosf_use=yes
37770 else
37771 echo "$as_me: failed program was:" >&5
37772 sed 's/^/| /' conftest.$ac_ext >&5
37774 glibcxx_cv_func___builtin_cosf_use=no
37776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37777 ac_ext=c
37778 ac_cpp='$CPP $CPPFLAGS'
37779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37787 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
37788 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
37789 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
37790 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
37791 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
37792 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
37793 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
37794 echo $ECHO_N "(cached) $ECHO_C" >&6
37795 else
37797 if test x$gcc_no_link = xyes; then
37798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37800 { (exit 1); exit 1; }; }
37802 cat >conftest.$ac_ext <<_ACEOF
37803 /* confdefs.h. */
37804 _ACEOF
37805 cat confdefs.h >>conftest.$ac_ext
37806 cat >>conftest.$ac_ext <<_ACEOF
37807 /* end confdefs.h. */
37808 #include <math.h>
37810 main ()
37812 __builtin_cosf(0);
37814 return 0;
37816 _ACEOF
37817 rm -f conftest.$ac_objext conftest$ac_exeext
37818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37819 (eval $ac_link) 2>conftest.er1
37820 ac_status=$?
37821 grep -v '^ *+' conftest.er1 >conftest.err
37822 rm -f conftest.er1
37823 cat conftest.err >&5
37824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37825 (exit $ac_status); } &&
37826 { ac_try='test -z "$ac_c_werror_flag"
37827 || test ! -s conftest.err'
37828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37829 (eval $ac_try) 2>&5
37830 ac_status=$?
37831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37832 (exit $ac_status); }; } &&
37833 { ac_try='test -s conftest$ac_exeext'
37834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37835 (eval $ac_try) 2>&5
37836 ac_status=$?
37837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37838 (exit $ac_status); }; }; then
37839 glibcxx_cv_func___builtin_cosf_link=yes
37840 else
37841 echo "$as_me: failed program was:" >&5
37842 sed 's/^/| /' conftest.$ac_ext >&5
37844 glibcxx_cv_func___builtin_cosf_link=no
37846 rm -f conftest.err conftest.$ac_objext \
37847 conftest$ac_exeext conftest.$ac_ext
37852 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
37853 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
37855 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
37857 cat >>confdefs.h <<\_ACEOF
37858 #define HAVE___BUILTIN_COSF 1
37859 _ACEOF
37866 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
37867 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
37868 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
37869 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
37870 echo $ECHO_N "(cached) $ECHO_C" >&6
37871 else
37875 ac_ext=cc
37876 ac_cpp='$CXXCPP $CPPFLAGS'
37877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37881 cat >conftest.$ac_ext <<_ACEOF
37882 /* confdefs.h. */
37883 _ACEOF
37884 cat confdefs.h >>conftest.$ac_ext
37885 cat >>conftest.$ac_ext <<_ACEOF
37886 /* end confdefs.h. */
37887 #include <math.h>
37889 main ()
37891 __builtin_cos(0);
37893 return 0;
37895 _ACEOF
37896 rm -f conftest.$ac_objext
37897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37898 (eval $ac_compile) 2>conftest.er1
37899 ac_status=$?
37900 grep -v '^ *+' conftest.er1 >conftest.err
37901 rm -f conftest.er1
37902 cat conftest.err >&5
37903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37904 (exit $ac_status); } &&
37905 { ac_try='test -z "$ac_cxx_werror_flag"
37906 || test ! -s conftest.err'
37907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37908 (eval $ac_try) 2>&5
37909 ac_status=$?
37910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37911 (exit $ac_status); }; } &&
37912 { ac_try='test -s conftest.$ac_objext'
37913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37914 (eval $ac_try) 2>&5
37915 ac_status=$?
37916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37917 (exit $ac_status); }; }; then
37918 glibcxx_cv_func___builtin_cos_use=yes
37919 else
37920 echo "$as_me: failed program was:" >&5
37921 sed 's/^/| /' conftest.$ac_ext >&5
37923 glibcxx_cv_func___builtin_cos_use=no
37925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37926 ac_ext=c
37927 ac_cpp='$CPP $CPPFLAGS'
37928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37936 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
37937 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
37938 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
37939 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
37940 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
37941 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
37942 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
37943 echo $ECHO_N "(cached) $ECHO_C" >&6
37944 else
37946 if test x$gcc_no_link = xyes; then
37947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37949 { (exit 1); exit 1; }; }
37951 cat >conftest.$ac_ext <<_ACEOF
37952 /* confdefs.h. */
37953 _ACEOF
37954 cat confdefs.h >>conftest.$ac_ext
37955 cat >>conftest.$ac_ext <<_ACEOF
37956 /* end confdefs.h. */
37957 #include <math.h>
37959 main ()
37961 __builtin_cos(0);
37963 return 0;
37965 _ACEOF
37966 rm -f conftest.$ac_objext conftest$ac_exeext
37967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37968 (eval $ac_link) 2>conftest.er1
37969 ac_status=$?
37970 grep -v '^ *+' conftest.er1 >conftest.err
37971 rm -f conftest.er1
37972 cat conftest.err >&5
37973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37974 (exit $ac_status); } &&
37975 { ac_try='test -z "$ac_c_werror_flag"
37976 || test ! -s conftest.err'
37977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37978 (eval $ac_try) 2>&5
37979 ac_status=$?
37980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37981 (exit $ac_status); }; } &&
37982 { ac_try='test -s conftest$ac_exeext'
37983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37984 (eval $ac_try) 2>&5
37985 ac_status=$?
37986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37987 (exit $ac_status); }; }; then
37988 glibcxx_cv_func___builtin_cos_link=yes
37989 else
37990 echo "$as_me: failed program was:" >&5
37991 sed 's/^/| /' conftest.$ac_ext >&5
37993 glibcxx_cv_func___builtin_cos_link=no
37995 rm -f conftest.err conftest.$ac_objext \
37996 conftest$ac_exeext conftest.$ac_ext
38001 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
38002 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
38004 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
38006 cat >>confdefs.h <<\_ACEOF
38007 #define HAVE___BUILTIN_COS 1
38008 _ACEOF
38015 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
38016 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
38017 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
38018 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
38019 echo $ECHO_N "(cached) $ECHO_C" >&6
38020 else
38024 ac_ext=cc
38025 ac_cpp='$CXXCPP $CPPFLAGS'
38026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38030 cat >conftest.$ac_ext <<_ACEOF
38031 /* confdefs.h. */
38032 _ACEOF
38033 cat confdefs.h >>conftest.$ac_ext
38034 cat >>conftest.$ac_ext <<_ACEOF
38035 /* end confdefs.h. */
38036 #include <math.h>
38038 main ()
38040 __builtin_cosl(0);
38042 return 0;
38044 _ACEOF
38045 rm -f conftest.$ac_objext
38046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38047 (eval $ac_compile) 2>conftest.er1
38048 ac_status=$?
38049 grep -v '^ *+' conftest.er1 >conftest.err
38050 rm -f conftest.er1
38051 cat conftest.err >&5
38052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38053 (exit $ac_status); } &&
38054 { ac_try='test -z "$ac_cxx_werror_flag"
38055 || test ! -s conftest.err'
38056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38057 (eval $ac_try) 2>&5
38058 ac_status=$?
38059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38060 (exit $ac_status); }; } &&
38061 { ac_try='test -s conftest.$ac_objext'
38062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38063 (eval $ac_try) 2>&5
38064 ac_status=$?
38065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38066 (exit $ac_status); }; }; then
38067 glibcxx_cv_func___builtin_cosl_use=yes
38068 else
38069 echo "$as_me: failed program was:" >&5
38070 sed 's/^/| /' conftest.$ac_ext >&5
38072 glibcxx_cv_func___builtin_cosl_use=no
38074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38075 ac_ext=c
38076 ac_cpp='$CPP $CPPFLAGS'
38077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38085 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
38086 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
38087 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
38088 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
38089 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
38090 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
38091 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
38092 echo $ECHO_N "(cached) $ECHO_C" >&6
38093 else
38095 if test x$gcc_no_link = xyes; then
38096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38098 { (exit 1); exit 1; }; }
38100 cat >conftest.$ac_ext <<_ACEOF
38101 /* confdefs.h. */
38102 _ACEOF
38103 cat confdefs.h >>conftest.$ac_ext
38104 cat >>conftest.$ac_ext <<_ACEOF
38105 /* end confdefs.h. */
38106 #include <math.h>
38108 main ()
38110 __builtin_cosl(0);
38112 return 0;
38114 _ACEOF
38115 rm -f conftest.$ac_objext conftest$ac_exeext
38116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38117 (eval $ac_link) 2>conftest.er1
38118 ac_status=$?
38119 grep -v '^ *+' conftest.er1 >conftest.err
38120 rm -f conftest.er1
38121 cat conftest.err >&5
38122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38123 (exit $ac_status); } &&
38124 { ac_try='test -z "$ac_c_werror_flag"
38125 || test ! -s conftest.err'
38126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38127 (eval $ac_try) 2>&5
38128 ac_status=$?
38129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38130 (exit $ac_status); }; } &&
38131 { ac_try='test -s conftest$ac_exeext'
38132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38133 (eval $ac_try) 2>&5
38134 ac_status=$?
38135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38136 (exit $ac_status); }; }; then
38137 glibcxx_cv_func___builtin_cosl_link=yes
38138 else
38139 echo "$as_me: failed program was:" >&5
38140 sed 's/^/| /' conftest.$ac_ext >&5
38142 glibcxx_cv_func___builtin_cosl_link=no
38144 rm -f conftest.err conftest.$ac_objext \
38145 conftest$ac_exeext conftest.$ac_ext
38150 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
38151 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
38153 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
38155 cat >>confdefs.h <<\_ACEOF
38156 #define HAVE___BUILTIN_COSL 1
38157 _ACEOF
38166 echo "$as_me:$LINENO: checking for main in -lm" >&5
38167 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
38168 if test "${ac_cv_lib_m_main+set}" = set; then
38169 echo $ECHO_N "(cached) $ECHO_C" >&6
38170 else
38171 ac_check_lib_save_LIBS=$LIBS
38172 LIBS="-lm $LIBS"
38173 if test x$gcc_no_link = xyes; then
38174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38176 { (exit 1); exit 1; }; }
38178 cat >conftest.$ac_ext <<_ACEOF
38179 /* confdefs.h. */
38180 _ACEOF
38181 cat confdefs.h >>conftest.$ac_ext
38182 cat >>conftest.$ac_ext <<_ACEOF
38183 /* end confdefs.h. */
38187 main ()
38189 main ();
38191 return 0;
38193 _ACEOF
38194 rm -f conftest.$ac_objext conftest$ac_exeext
38195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38196 (eval $ac_link) 2>conftest.er1
38197 ac_status=$?
38198 grep -v '^ *+' conftest.er1 >conftest.err
38199 rm -f conftest.er1
38200 cat conftest.err >&5
38201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38202 (exit $ac_status); } &&
38203 { ac_try='test -z "$ac_c_werror_flag"
38204 || test ! -s conftest.err'
38205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38206 (eval $ac_try) 2>&5
38207 ac_status=$?
38208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38209 (exit $ac_status); }; } &&
38210 { ac_try='test -s conftest$ac_exeext'
38211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38212 (eval $ac_try) 2>&5
38213 ac_status=$?
38214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38215 (exit $ac_status); }; }; then
38216 ac_cv_lib_m_main=yes
38217 else
38218 echo "$as_me: failed program was:" >&5
38219 sed 's/^/| /' conftest.$ac_ext >&5
38221 ac_cv_lib_m_main=no
38223 rm -f conftest.err conftest.$ac_objext \
38224 conftest$ac_exeext conftest.$ac_ext
38225 LIBS=$ac_check_lib_save_LIBS
38227 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
38228 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
38229 if test $ac_cv_lib_m_main = yes; then
38230 cat >>confdefs.h <<_ACEOF
38231 #define HAVE_LIBM 1
38232 _ACEOF
38234 LIBS="-lm $LIBS"
38239 for ac_func in copysignf
38241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38242 echo "$as_me:$LINENO: checking for $ac_func" >&5
38243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38244 if eval "test \"\${$as_ac_var+set}\" = set"; then
38245 echo $ECHO_N "(cached) $ECHO_C" >&6
38246 else
38247 if test x$gcc_no_link = xyes; then
38248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38250 { (exit 1); exit 1; }; }
38252 cat >conftest.$ac_ext <<_ACEOF
38253 /* confdefs.h. */
38254 _ACEOF
38255 cat confdefs.h >>conftest.$ac_ext
38256 cat >>conftest.$ac_ext <<_ACEOF
38257 /* end confdefs.h. */
38258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38260 #define $ac_func innocuous_$ac_func
38262 /* System header to define __stub macros and hopefully few prototypes,
38263 which can conflict with char $ac_func (); below.
38264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38265 <limits.h> exists even on freestanding compilers. */
38267 #ifdef __STDC__
38268 # include <limits.h>
38269 #else
38270 # include <assert.h>
38271 #endif
38273 #undef $ac_func
38275 /* Override any gcc2 internal prototype to avoid an error. */
38276 #ifdef __cplusplus
38277 extern "C"
38279 #endif
38280 /* We use char because int might match the return type of a gcc2
38281 builtin and then its argument prototype would still apply. */
38282 char $ac_func ();
38283 /* The GNU C library defines this for functions which it implements
38284 to always fail with ENOSYS. Some functions are actually named
38285 something starting with __ and the normal name is an alias. */
38286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38287 choke me
38288 #else
38289 char (*f) () = $ac_func;
38290 #endif
38291 #ifdef __cplusplus
38293 #endif
38296 main ()
38298 return f != $ac_func;
38300 return 0;
38302 _ACEOF
38303 rm -f conftest.$ac_objext conftest$ac_exeext
38304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38305 (eval $ac_link) 2>conftest.er1
38306 ac_status=$?
38307 grep -v '^ *+' conftest.er1 >conftest.err
38308 rm -f conftest.er1
38309 cat conftest.err >&5
38310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38311 (exit $ac_status); } &&
38312 { ac_try='test -z "$ac_c_werror_flag"
38313 || test ! -s conftest.err'
38314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38315 (eval $ac_try) 2>&5
38316 ac_status=$?
38317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38318 (exit $ac_status); }; } &&
38319 { ac_try='test -s conftest$ac_exeext'
38320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38321 (eval $ac_try) 2>&5
38322 ac_status=$?
38323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38324 (exit $ac_status); }; }; then
38325 eval "$as_ac_var=yes"
38326 else
38327 echo "$as_me: failed program was:" >&5
38328 sed 's/^/| /' conftest.$ac_ext >&5
38330 eval "$as_ac_var=no"
38332 rm -f conftest.err conftest.$ac_objext \
38333 conftest$ac_exeext conftest.$ac_ext
38335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38337 if test `eval echo '${'$as_ac_var'}'` = yes; then
38338 cat >>confdefs.h <<_ACEOF
38339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38340 _ACEOF
38342 else
38343 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
38345 done
38349 for ac_func in __signbit
38351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38352 echo "$as_me:$LINENO: checking for $ac_func" >&5
38353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38354 if eval "test \"\${$as_ac_var+set}\" = set"; then
38355 echo $ECHO_N "(cached) $ECHO_C" >&6
38356 else
38357 if test x$gcc_no_link = xyes; then
38358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38360 { (exit 1); exit 1; }; }
38362 cat >conftest.$ac_ext <<_ACEOF
38363 /* confdefs.h. */
38364 _ACEOF
38365 cat confdefs.h >>conftest.$ac_ext
38366 cat >>conftest.$ac_ext <<_ACEOF
38367 /* end confdefs.h. */
38368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38370 #define $ac_func innocuous_$ac_func
38372 /* System header to define __stub macros and hopefully few prototypes,
38373 which can conflict with char $ac_func (); below.
38374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38375 <limits.h> exists even on freestanding compilers. */
38377 #ifdef __STDC__
38378 # include <limits.h>
38379 #else
38380 # include <assert.h>
38381 #endif
38383 #undef $ac_func
38385 /* Override any gcc2 internal prototype to avoid an error. */
38386 #ifdef __cplusplus
38387 extern "C"
38389 #endif
38390 /* We use char because int might match the return type of a gcc2
38391 builtin and then its argument prototype would still apply. */
38392 char $ac_func ();
38393 /* The GNU C library defines this for functions which it implements
38394 to always fail with ENOSYS. Some functions are actually named
38395 something starting with __ and the normal name is an alias. */
38396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38397 choke me
38398 #else
38399 char (*f) () = $ac_func;
38400 #endif
38401 #ifdef __cplusplus
38403 #endif
38406 main ()
38408 return f != $ac_func;
38410 return 0;
38412 _ACEOF
38413 rm -f conftest.$ac_objext conftest$ac_exeext
38414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38415 (eval $ac_link) 2>conftest.er1
38416 ac_status=$?
38417 grep -v '^ *+' conftest.er1 >conftest.err
38418 rm -f conftest.er1
38419 cat conftest.err >&5
38420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38421 (exit $ac_status); } &&
38422 { ac_try='test -z "$ac_c_werror_flag"
38423 || test ! -s conftest.err'
38424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38425 (eval $ac_try) 2>&5
38426 ac_status=$?
38427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38428 (exit $ac_status); }; } &&
38429 { ac_try='test -s conftest$ac_exeext'
38430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38431 (eval $ac_try) 2>&5
38432 ac_status=$?
38433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38434 (exit $ac_status); }; }; then
38435 eval "$as_ac_var=yes"
38436 else
38437 echo "$as_me: failed program was:" >&5
38438 sed 's/^/| /' conftest.$ac_ext >&5
38440 eval "$as_ac_var=no"
38442 rm -f conftest.err conftest.$ac_objext \
38443 conftest$ac_exeext conftest.$ac_ext
38445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38447 if test `eval echo '${'$as_ac_var'}'` = yes; then
38448 cat >>confdefs.h <<_ACEOF
38449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38450 _ACEOF
38452 else
38453 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
38455 done
38459 for ac_func in __signbitf
38461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38462 echo "$as_me:$LINENO: checking for $ac_func" >&5
38463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38464 if eval "test \"\${$as_ac_var+set}\" = set"; then
38465 echo $ECHO_N "(cached) $ECHO_C" >&6
38466 else
38467 if test x$gcc_no_link = xyes; then
38468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38470 { (exit 1); exit 1; }; }
38472 cat >conftest.$ac_ext <<_ACEOF
38473 /* confdefs.h. */
38474 _ACEOF
38475 cat confdefs.h >>conftest.$ac_ext
38476 cat >>conftest.$ac_ext <<_ACEOF
38477 /* end confdefs.h. */
38478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38480 #define $ac_func innocuous_$ac_func
38482 /* System header to define __stub macros and hopefully few prototypes,
38483 which can conflict with char $ac_func (); below.
38484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38485 <limits.h> exists even on freestanding compilers. */
38487 #ifdef __STDC__
38488 # include <limits.h>
38489 #else
38490 # include <assert.h>
38491 #endif
38493 #undef $ac_func
38495 /* Override any gcc2 internal prototype to avoid an error. */
38496 #ifdef __cplusplus
38497 extern "C"
38499 #endif
38500 /* We use char because int might match the return type of a gcc2
38501 builtin and then its argument prototype would still apply. */
38502 char $ac_func ();
38503 /* The GNU C library defines this for functions which it implements
38504 to always fail with ENOSYS. Some functions are actually named
38505 something starting with __ and the normal name is an alias. */
38506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38507 choke me
38508 #else
38509 char (*f) () = $ac_func;
38510 #endif
38511 #ifdef __cplusplus
38513 #endif
38516 main ()
38518 return f != $ac_func;
38520 return 0;
38522 _ACEOF
38523 rm -f conftest.$ac_objext conftest$ac_exeext
38524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38525 (eval $ac_link) 2>conftest.er1
38526 ac_status=$?
38527 grep -v '^ *+' conftest.er1 >conftest.err
38528 rm -f conftest.er1
38529 cat conftest.err >&5
38530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38531 (exit $ac_status); } &&
38532 { ac_try='test -z "$ac_c_werror_flag"
38533 || test ! -s conftest.err'
38534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38535 (eval $ac_try) 2>&5
38536 ac_status=$?
38537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38538 (exit $ac_status); }; } &&
38539 { ac_try='test -s conftest$ac_exeext'
38540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38541 (eval $ac_try) 2>&5
38542 ac_status=$?
38543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38544 (exit $ac_status); }; }; then
38545 eval "$as_ac_var=yes"
38546 else
38547 echo "$as_me: failed program was:" >&5
38548 sed 's/^/| /' conftest.$ac_ext >&5
38550 eval "$as_ac_var=no"
38552 rm -f conftest.err conftest.$ac_objext \
38553 conftest$ac_exeext conftest.$ac_ext
38555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38557 if test `eval echo '${'$as_ac_var'}'` = yes; then
38558 cat >>confdefs.h <<_ACEOF
38559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38560 _ACEOF
38562 else
38563 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
38565 done
38568 if test x$ac_cv_func_copysignl = x"yes"; then
38570 for ac_func in __signbitl
38572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38573 echo "$as_me:$LINENO: checking for $ac_func" >&5
38574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38575 if eval "test \"\${$as_ac_var+set}\" = set"; then
38576 echo $ECHO_N "(cached) $ECHO_C" >&6
38577 else
38578 if test x$gcc_no_link = xyes; then
38579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38581 { (exit 1); exit 1; }; }
38583 cat >conftest.$ac_ext <<_ACEOF
38584 /* confdefs.h. */
38585 _ACEOF
38586 cat confdefs.h >>conftest.$ac_ext
38587 cat >>conftest.$ac_ext <<_ACEOF
38588 /* end confdefs.h. */
38589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38591 #define $ac_func innocuous_$ac_func
38593 /* System header to define __stub macros and hopefully few prototypes,
38594 which can conflict with char $ac_func (); below.
38595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38596 <limits.h> exists even on freestanding compilers. */
38598 #ifdef __STDC__
38599 # include <limits.h>
38600 #else
38601 # include <assert.h>
38602 #endif
38604 #undef $ac_func
38606 /* Override any gcc2 internal prototype to avoid an error. */
38607 #ifdef __cplusplus
38608 extern "C"
38610 #endif
38611 /* We use char because int might match the return type of a gcc2
38612 builtin and then its argument prototype would still apply. */
38613 char $ac_func ();
38614 /* The GNU C library defines this for functions which it implements
38615 to always fail with ENOSYS. Some functions are actually named
38616 something starting with __ and the normal name is an alias. */
38617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38618 choke me
38619 #else
38620 char (*f) () = $ac_func;
38621 #endif
38622 #ifdef __cplusplus
38624 #endif
38627 main ()
38629 return f != $ac_func;
38631 return 0;
38633 _ACEOF
38634 rm -f conftest.$ac_objext conftest$ac_exeext
38635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38636 (eval $ac_link) 2>conftest.er1
38637 ac_status=$?
38638 grep -v '^ *+' conftest.er1 >conftest.err
38639 rm -f conftest.er1
38640 cat conftest.err >&5
38641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38642 (exit $ac_status); } &&
38643 { ac_try='test -z "$ac_c_werror_flag"
38644 || test ! -s conftest.err'
38645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38646 (eval $ac_try) 2>&5
38647 ac_status=$?
38648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38649 (exit $ac_status); }; } &&
38650 { ac_try='test -s conftest$ac_exeext'
38651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38652 (eval $ac_try) 2>&5
38653 ac_status=$?
38654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38655 (exit $ac_status); }; }; then
38656 eval "$as_ac_var=yes"
38657 else
38658 echo "$as_me: failed program was:" >&5
38659 sed 's/^/| /' conftest.$ac_ext >&5
38661 eval "$as_ac_var=no"
38663 rm -f conftest.err conftest.$ac_objext \
38664 conftest$ac_exeext conftest.$ac_ext
38666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38668 if test `eval echo '${'$as_ac_var'}'` = yes; then
38669 cat >>confdefs.h <<_ACEOF
38670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38671 _ACEOF
38673 else
38674 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
38676 done
38680 # Used in libmath/Makefile.am.
38681 if test -n "$LIBMATHOBJS"; then
38682 need_libmath=yes
38687 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38688 ac_save_CXXFLAGS="$CXXFLAGS"
38689 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38692 echo "$as_me:$LINENO: checking for strtold declaration" >&5
38693 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
38694 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38695 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
38696 echo $ECHO_N "(cached) $ECHO_C" >&6
38697 else
38701 ac_ext=cc
38702 ac_cpp='$CXXCPP $CPPFLAGS'
38703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38707 cat >conftest.$ac_ext <<_ACEOF
38708 /* confdefs.h. */
38709 _ACEOF
38710 cat confdefs.h >>conftest.$ac_ext
38711 cat >>conftest.$ac_ext <<_ACEOF
38712 /* end confdefs.h. */
38713 #include <stdlib.h>
38715 main ()
38717 strtold(0, 0);
38719 return 0;
38721 _ACEOF
38722 rm -f conftest.$ac_objext
38723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38724 (eval $ac_compile) 2>conftest.er1
38725 ac_status=$?
38726 grep -v '^ *+' conftest.er1 >conftest.err
38727 rm -f conftest.er1
38728 cat conftest.err >&5
38729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38730 (exit $ac_status); } &&
38731 { ac_try='test -z "$ac_cxx_werror_flag"
38732 || test ! -s conftest.err'
38733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38734 (eval $ac_try) 2>&5
38735 ac_status=$?
38736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38737 (exit $ac_status); }; } &&
38738 { ac_try='test -s conftest.$ac_objext'
38739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38740 (eval $ac_try) 2>&5
38741 ac_status=$?
38742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38743 (exit $ac_status); }; }; then
38744 glibcxx_cv_func_strtold_use=yes
38745 else
38746 echo "$as_me: failed program was:" >&5
38747 sed 's/^/| /' conftest.$ac_ext >&5
38749 glibcxx_cv_func_strtold_use=no
38751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38752 ac_ext=c
38753 ac_cpp='$CPP $CPPFLAGS'
38754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38762 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
38763 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
38764 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38766 for ac_func in strtold
38768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38769 echo "$as_me:$LINENO: checking for $ac_func" >&5
38770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38771 if eval "test \"\${$as_ac_var+set}\" = set"; then
38772 echo $ECHO_N "(cached) $ECHO_C" >&6
38773 else
38774 if test x$gcc_no_link = xyes; then
38775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38777 { (exit 1); exit 1; }; }
38779 cat >conftest.$ac_ext <<_ACEOF
38780 /* confdefs.h. */
38781 _ACEOF
38782 cat confdefs.h >>conftest.$ac_ext
38783 cat >>conftest.$ac_ext <<_ACEOF
38784 /* end confdefs.h. */
38785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38787 #define $ac_func innocuous_$ac_func
38789 /* System header to define __stub macros and hopefully few prototypes,
38790 which can conflict with char $ac_func (); below.
38791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38792 <limits.h> exists even on freestanding compilers. */
38794 #ifdef __STDC__
38795 # include <limits.h>
38796 #else
38797 # include <assert.h>
38798 #endif
38800 #undef $ac_func
38802 /* Override any gcc2 internal prototype to avoid an error. */
38803 #ifdef __cplusplus
38804 extern "C"
38806 #endif
38807 /* We use char because int might match the return type of a gcc2
38808 builtin and then its argument prototype would still apply. */
38809 char $ac_func ();
38810 /* The GNU C library defines this for functions which it implements
38811 to always fail with ENOSYS. Some functions are actually named
38812 something starting with __ and the normal name is an alias. */
38813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38814 choke me
38815 #else
38816 char (*f) () = $ac_func;
38817 #endif
38818 #ifdef __cplusplus
38820 #endif
38823 main ()
38825 return f != $ac_func;
38827 return 0;
38829 _ACEOF
38830 rm -f conftest.$ac_objext conftest$ac_exeext
38831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38832 (eval $ac_link) 2>conftest.er1
38833 ac_status=$?
38834 grep -v '^ *+' conftest.er1 >conftest.err
38835 rm -f conftest.er1
38836 cat conftest.err >&5
38837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38838 (exit $ac_status); } &&
38839 { ac_try='test -z "$ac_c_werror_flag"
38840 || test ! -s conftest.err'
38841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38842 (eval $ac_try) 2>&5
38843 ac_status=$?
38844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38845 (exit $ac_status); }; } &&
38846 { ac_try='test -s conftest$ac_exeext'
38847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38848 (eval $ac_try) 2>&5
38849 ac_status=$?
38850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38851 (exit $ac_status); }; }; then
38852 eval "$as_ac_var=yes"
38853 else
38854 echo "$as_me: failed program was:" >&5
38855 sed 's/^/| /' conftest.$ac_ext >&5
38857 eval "$as_ac_var=no"
38859 rm -f conftest.err conftest.$ac_objext \
38860 conftest$ac_exeext conftest.$ac_ext
38862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38864 if test `eval echo '${'$as_ac_var'}'` = yes; then
38865 cat >>confdefs.h <<_ACEOF
38866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38867 _ACEOF
38870 done
38878 echo "$as_me:$LINENO: checking for strtof declaration" >&5
38879 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
38880 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38881 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
38882 echo $ECHO_N "(cached) $ECHO_C" >&6
38883 else
38887 ac_ext=cc
38888 ac_cpp='$CXXCPP $CPPFLAGS'
38889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38893 cat >conftest.$ac_ext <<_ACEOF
38894 /* confdefs.h. */
38895 _ACEOF
38896 cat confdefs.h >>conftest.$ac_ext
38897 cat >>conftest.$ac_ext <<_ACEOF
38898 /* end confdefs.h. */
38899 #include <stdlib.h>
38901 main ()
38903 strtof(0, 0);
38905 return 0;
38907 _ACEOF
38908 rm -f conftest.$ac_objext
38909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38910 (eval $ac_compile) 2>conftest.er1
38911 ac_status=$?
38912 grep -v '^ *+' conftest.er1 >conftest.err
38913 rm -f conftest.er1
38914 cat conftest.err >&5
38915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38916 (exit $ac_status); } &&
38917 { ac_try='test -z "$ac_cxx_werror_flag"
38918 || test ! -s conftest.err'
38919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38920 (eval $ac_try) 2>&5
38921 ac_status=$?
38922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38923 (exit $ac_status); }; } &&
38924 { ac_try='test -s conftest.$ac_objext'
38925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38926 (eval $ac_try) 2>&5
38927 ac_status=$?
38928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38929 (exit $ac_status); }; }; then
38930 glibcxx_cv_func_strtof_use=yes
38931 else
38932 echo "$as_me: failed program was:" >&5
38933 sed 's/^/| /' conftest.$ac_ext >&5
38935 glibcxx_cv_func_strtof_use=no
38937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38938 ac_ext=c
38939 ac_cpp='$CPP $CPPFLAGS'
38940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38948 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
38949 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
38950 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38952 for ac_func in strtof
38954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38955 echo "$as_me:$LINENO: checking for $ac_func" >&5
38956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38957 if eval "test \"\${$as_ac_var+set}\" = set"; then
38958 echo $ECHO_N "(cached) $ECHO_C" >&6
38959 else
38960 if test x$gcc_no_link = xyes; then
38961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38963 { (exit 1); exit 1; }; }
38965 cat >conftest.$ac_ext <<_ACEOF
38966 /* confdefs.h. */
38967 _ACEOF
38968 cat confdefs.h >>conftest.$ac_ext
38969 cat >>conftest.$ac_ext <<_ACEOF
38970 /* end confdefs.h. */
38971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38973 #define $ac_func innocuous_$ac_func
38975 /* System header to define __stub macros and hopefully few prototypes,
38976 which can conflict with char $ac_func (); below.
38977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38978 <limits.h> exists even on freestanding compilers. */
38980 #ifdef __STDC__
38981 # include <limits.h>
38982 #else
38983 # include <assert.h>
38984 #endif
38986 #undef $ac_func
38988 /* Override any gcc2 internal prototype to avoid an error. */
38989 #ifdef __cplusplus
38990 extern "C"
38992 #endif
38993 /* We use char because int might match the return type of a gcc2
38994 builtin and then its argument prototype would still apply. */
38995 char $ac_func ();
38996 /* The GNU C library defines this for functions which it implements
38997 to always fail with ENOSYS. Some functions are actually named
38998 something starting with __ and the normal name is an alias. */
38999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39000 choke me
39001 #else
39002 char (*f) () = $ac_func;
39003 #endif
39004 #ifdef __cplusplus
39006 #endif
39009 main ()
39011 return f != $ac_func;
39013 return 0;
39015 _ACEOF
39016 rm -f conftest.$ac_objext conftest$ac_exeext
39017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39018 (eval $ac_link) 2>conftest.er1
39019 ac_status=$?
39020 grep -v '^ *+' conftest.er1 >conftest.err
39021 rm -f conftest.er1
39022 cat conftest.err >&5
39023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39024 (exit $ac_status); } &&
39025 { ac_try='test -z "$ac_c_werror_flag"
39026 || test ! -s conftest.err'
39027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39028 (eval $ac_try) 2>&5
39029 ac_status=$?
39030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39031 (exit $ac_status); }; } &&
39032 { ac_try='test -s conftest$ac_exeext'
39033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39034 (eval $ac_try) 2>&5
39035 ac_status=$?
39036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39037 (exit $ac_status); }; }; then
39038 eval "$as_ac_var=yes"
39039 else
39040 echo "$as_me: failed program was:" >&5
39041 sed 's/^/| /' conftest.$ac_ext >&5
39043 eval "$as_ac_var=no"
39045 rm -f conftest.err conftest.$ac_objext \
39046 conftest$ac_exeext conftest.$ac_ext
39048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39050 if test `eval echo '${'$as_ac_var'}'` = yes; then
39051 cat >>confdefs.h <<_ACEOF
39052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39053 _ACEOF
39056 done
39064 CXXFLAGS="$ac_save_CXXFLAGS"
39067 # For showmanyc_helper().
39070 for ac_header in sys/ioctl.h sys/filio.h
39072 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39074 echo "$as_me:$LINENO: checking for $ac_header" >&5
39075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39077 echo $ECHO_N "(cached) $ECHO_C" >&6
39079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39081 else
39082 # Is the header compilable?
39083 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39084 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39085 cat >conftest.$ac_ext <<_ACEOF
39086 /* confdefs.h. */
39087 _ACEOF
39088 cat confdefs.h >>conftest.$ac_ext
39089 cat >>conftest.$ac_ext <<_ACEOF
39090 /* end confdefs.h. */
39091 $ac_includes_default
39092 #include <$ac_header>
39093 _ACEOF
39094 rm -f conftest.$ac_objext
39095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39096 (eval $ac_compile) 2>conftest.er1
39097 ac_status=$?
39098 grep -v '^ *+' conftest.er1 >conftest.err
39099 rm -f conftest.er1
39100 cat conftest.err >&5
39101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39102 (exit $ac_status); } &&
39103 { ac_try='test -z "$ac_c_werror_flag"
39104 || test ! -s conftest.err'
39105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39106 (eval $ac_try) 2>&5
39107 ac_status=$?
39108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39109 (exit $ac_status); }; } &&
39110 { ac_try='test -s conftest.$ac_objext'
39111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39112 (eval $ac_try) 2>&5
39113 ac_status=$?
39114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39115 (exit $ac_status); }; }; then
39116 ac_header_compiler=yes
39117 else
39118 echo "$as_me: failed program was:" >&5
39119 sed 's/^/| /' conftest.$ac_ext >&5
39121 ac_header_compiler=no
39123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39124 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39125 echo "${ECHO_T}$ac_header_compiler" >&6
39127 # Is the header present?
39128 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39129 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39130 cat >conftest.$ac_ext <<_ACEOF
39131 /* confdefs.h. */
39132 _ACEOF
39133 cat confdefs.h >>conftest.$ac_ext
39134 cat >>conftest.$ac_ext <<_ACEOF
39135 /* end confdefs.h. */
39136 #include <$ac_header>
39137 _ACEOF
39138 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39139 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39140 ac_status=$?
39141 grep -v '^ *+' conftest.er1 >conftest.err
39142 rm -f conftest.er1
39143 cat conftest.err >&5
39144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39145 (exit $ac_status); } >/dev/null; then
39146 if test -s conftest.err; then
39147 ac_cpp_err=$ac_c_preproc_warn_flag
39148 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39149 else
39150 ac_cpp_err=
39152 else
39153 ac_cpp_err=yes
39155 if test -z "$ac_cpp_err"; then
39156 ac_header_preproc=yes
39157 else
39158 echo "$as_me: failed program was:" >&5
39159 sed 's/^/| /' conftest.$ac_ext >&5
39161 ac_header_preproc=no
39163 rm -f conftest.err conftest.$ac_ext
39164 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39165 echo "${ECHO_T}$ac_header_preproc" >&6
39167 # So? What about this header?
39168 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39169 yes:no: )
39170 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39171 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39172 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39173 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39174 ac_header_preproc=yes
39176 no:yes:* )
39177 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39178 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39179 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39180 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39181 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39182 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39183 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39184 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39185 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39186 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39187 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39188 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39190 cat <<\_ASBOX
39191 ## ----------------------------------------- ##
39192 ## Report this to the package-unused lists. ##
39193 ## ----------------------------------------- ##
39194 _ASBOX
39196 sed "s/^/$as_me: WARNING: /" >&2
39198 esac
39199 echo "$as_me:$LINENO: checking for $ac_header" >&5
39200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39202 echo $ECHO_N "(cached) $ECHO_C" >&6
39203 else
39204 eval "$as_ac_Header=\$ac_header_preproc"
39206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39210 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39211 cat >>confdefs.h <<_ACEOF
39212 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39213 _ACEOF
39217 done
39220 echo "$as_me:$LINENO: checking for poll" >&5
39221 echo $ECHO_N "checking for poll... $ECHO_C" >&6
39222 if test "${glibcxx_cv_POLL+set}" = set; then
39223 echo $ECHO_N "(cached) $ECHO_C" >&6
39224 else
39226 if test x$gcc_no_link = xyes; then
39227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39229 { (exit 1); exit 1; }; }
39231 cat >conftest.$ac_ext <<_ACEOF
39232 /* confdefs.h. */
39233 _ACEOF
39234 cat confdefs.h >>conftest.$ac_ext
39235 cat >>conftest.$ac_ext <<_ACEOF
39236 /* end confdefs.h. */
39237 #include <poll.h>
39239 main ()
39241 struct pollfd pfd[1];
39242 pfd[0].events = POLLIN;
39243 poll(pfd, 1, 0);
39245 return 0;
39247 _ACEOF
39248 rm -f conftest.$ac_objext conftest$ac_exeext
39249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39250 (eval $ac_link) 2>conftest.er1
39251 ac_status=$?
39252 grep -v '^ *+' conftest.er1 >conftest.err
39253 rm -f conftest.er1
39254 cat conftest.err >&5
39255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39256 (exit $ac_status); } &&
39257 { ac_try='test -z "$ac_c_werror_flag"
39258 || test ! -s conftest.err'
39259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39260 (eval $ac_try) 2>&5
39261 ac_status=$?
39262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39263 (exit $ac_status); }; } &&
39264 { ac_try='test -s conftest$ac_exeext'
39265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39266 (eval $ac_try) 2>&5
39267 ac_status=$?
39268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39269 (exit $ac_status); }; }; then
39270 glibcxx_cv_POLL=yes
39271 else
39272 echo "$as_me: failed program was:" >&5
39273 sed 's/^/| /' conftest.$ac_ext >&5
39275 glibcxx_cv_POLL=no
39277 rm -f conftest.err conftest.$ac_objext \
39278 conftest$ac_exeext conftest.$ac_ext
39282 if test $glibcxx_cv_POLL = yes; then
39284 cat >>confdefs.h <<\_ACEOF
39285 #define HAVE_POLL 1
39286 _ACEOF
39289 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
39290 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
39293 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
39294 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
39295 if test "${glibcxx_cv_S_ISREG+set}" = set; then
39296 echo $ECHO_N "(cached) $ECHO_C" >&6
39297 else
39299 if test x$gcc_no_link = xyes; then
39300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39302 { (exit 1); exit 1; }; }
39304 cat >conftest.$ac_ext <<_ACEOF
39305 /* confdefs.h. */
39306 _ACEOF
39307 cat confdefs.h >>conftest.$ac_ext
39308 cat >>conftest.$ac_ext <<_ACEOF
39309 /* end confdefs.h. */
39310 #include <sys/stat.h>
39312 main ()
39314 struct stat buffer;
39315 fstat(0, &buffer);
39316 S_ISREG(buffer.st_mode);
39318 return 0;
39320 _ACEOF
39321 rm -f conftest.$ac_objext conftest$ac_exeext
39322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39323 (eval $ac_link) 2>conftest.er1
39324 ac_status=$?
39325 grep -v '^ *+' conftest.er1 >conftest.err
39326 rm -f conftest.er1
39327 cat conftest.err >&5
39328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39329 (exit $ac_status); } &&
39330 { ac_try='test -z "$ac_c_werror_flag"
39331 || test ! -s conftest.err'
39332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39333 (eval $ac_try) 2>&5
39334 ac_status=$?
39335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39336 (exit $ac_status); }; } &&
39337 { ac_try='test -s conftest$ac_exeext'
39338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39339 (eval $ac_try) 2>&5
39340 ac_status=$?
39341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39342 (exit $ac_status); }; }; then
39343 glibcxx_cv_S_ISREG=yes
39344 else
39345 echo "$as_me: failed program was:" >&5
39346 sed 's/^/| /' conftest.$ac_ext >&5
39348 glibcxx_cv_S_ISREG=no
39350 rm -f conftest.err conftest.$ac_objext \
39351 conftest$ac_exeext conftest.$ac_ext
39355 if test "${glibcxx_cv_S_IFREG+set}" = set; then
39356 echo $ECHO_N "(cached) $ECHO_C" >&6
39357 else
39359 if test x$gcc_no_link = xyes; then
39360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39362 { (exit 1); exit 1; }; }
39364 cat >conftest.$ac_ext <<_ACEOF
39365 /* confdefs.h. */
39366 _ACEOF
39367 cat confdefs.h >>conftest.$ac_ext
39368 cat >>conftest.$ac_ext <<_ACEOF
39369 /* end confdefs.h. */
39370 #include <sys/stat.h>
39372 main ()
39374 struct stat buffer;
39375 fstat(0, &buffer);
39376 S_IFREG & buffer.st_mode;
39378 return 0;
39380 _ACEOF
39381 rm -f conftest.$ac_objext conftest$ac_exeext
39382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39383 (eval $ac_link) 2>conftest.er1
39384 ac_status=$?
39385 grep -v '^ *+' conftest.er1 >conftest.err
39386 rm -f conftest.er1
39387 cat conftest.err >&5
39388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39389 (exit $ac_status); } &&
39390 { ac_try='test -z "$ac_c_werror_flag"
39391 || test ! -s conftest.err'
39392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39393 (eval $ac_try) 2>&5
39394 ac_status=$?
39395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39396 (exit $ac_status); }; } &&
39397 { ac_try='test -s conftest$ac_exeext'
39398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39399 (eval $ac_try) 2>&5
39400 ac_status=$?
39401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39402 (exit $ac_status); }; }; then
39403 glibcxx_cv_S_IFREG=yes
39404 else
39405 echo "$as_me: failed program was:" >&5
39406 sed 's/^/| /' conftest.$ac_ext >&5
39408 glibcxx_cv_S_IFREG=no
39410 rm -f conftest.err conftest.$ac_objext \
39411 conftest$ac_exeext conftest.$ac_ext
39415 res=no
39416 if test $glibcxx_cv_S_ISREG = yes; then
39418 cat >>confdefs.h <<\_ACEOF
39419 #define HAVE_S_ISREG 1
39420 _ACEOF
39422 res=S_ISREG
39423 elif test $glibcxx_cv_S_IFREG = yes; then
39425 cat >>confdefs.h <<\_ACEOF
39426 #define HAVE_S_IFREG 1
39427 _ACEOF
39429 res=S_IFREG
39431 echo "$as_me:$LINENO: result: $res" >&5
39432 echo "${ECHO_T}$res" >&6
39435 # For xsputn_2().
39437 for ac_header in sys/uio.h
39439 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39441 echo "$as_me:$LINENO: checking for $ac_header" >&5
39442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39444 echo $ECHO_N "(cached) $ECHO_C" >&6
39446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39448 else
39449 # Is the header compilable?
39450 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39451 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39452 cat >conftest.$ac_ext <<_ACEOF
39453 /* confdefs.h. */
39454 _ACEOF
39455 cat confdefs.h >>conftest.$ac_ext
39456 cat >>conftest.$ac_ext <<_ACEOF
39457 /* end confdefs.h. */
39458 $ac_includes_default
39459 #include <$ac_header>
39460 _ACEOF
39461 rm -f conftest.$ac_objext
39462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39463 (eval $ac_compile) 2>conftest.er1
39464 ac_status=$?
39465 grep -v '^ *+' conftest.er1 >conftest.err
39466 rm -f conftest.er1
39467 cat conftest.err >&5
39468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39469 (exit $ac_status); } &&
39470 { ac_try='test -z "$ac_c_werror_flag"
39471 || test ! -s conftest.err'
39472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39473 (eval $ac_try) 2>&5
39474 ac_status=$?
39475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39476 (exit $ac_status); }; } &&
39477 { ac_try='test -s conftest.$ac_objext'
39478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39479 (eval $ac_try) 2>&5
39480 ac_status=$?
39481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39482 (exit $ac_status); }; }; then
39483 ac_header_compiler=yes
39484 else
39485 echo "$as_me: failed program was:" >&5
39486 sed 's/^/| /' conftest.$ac_ext >&5
39488 ac_header_compiler=no
39490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39491 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39492 echo "${ECHO_T}$ac_header_compiler" >&6
39494 # Is the header present?
39495 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39496 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39497 cat >conftest.$ac_ext <<_ACEOF
39498 /* confdefs.h. */
39499 _ACEOF
39500 cat confdefs.h >>conftest.$ac_ext
39501 cat >>conftest.$ac_ext <<_ACEOF
39502 /* end confdefs.h. */
39503 #include <$ac_header>
39504 _ACEOF
39505 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39506 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39507 ac_status=$?
39508 grep -v '^ *+' conftest.er1 >conftest.err
39509 rm -f conftest.er1
39510 cat conftest.err >&5
39511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39512 (exit $ac_status); } >/dev/null; then
39513 if test -s conftest.err; then
39514 ac_cpp_err=$ac_c_preproc_warn_flag
39515 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39516 else
39517 ac_cpp_err=
39519 else
39520 ac_cpp_err=yes
39522 if test -z "$ac_cpp_err"; then
39523 ac_header_preproc=yes
39524 else
39525 echo "$as_me: failed program was:" >&5
39526 sed 's/^/| /' conftest.$ac_ext >&5
39528 ac_header_preproc=no
39530 rm -f conftest.err conftest.$ac_ext
39531 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39532 echo "${ECHO_T}$ac_header_preproc" >&6
39534 # So? What about this header?
39535 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39536 yes:no: )
39537 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39538 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39539 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39540 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39541 ac_header_preproc=yes
39543 no:yes:* )
39544 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39545 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39546 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39547 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39548 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39549 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39550 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39551 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39552 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39553 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39554 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39555 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39557 cat <<\_ASBOX
39558 ## ----------------------------------------- ##
39559 ## Report this to the package-unused lists. ##
39560 ## ----------------------------------------- ##
39561 _ASBOX
39563 sed "s/^/$as_me: WARNING: /" >&2
39565 esac
39566 echo "$as_me:$LINENO: checking for $ac_header" >&5
39567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39569 echo $ECHO_N "(cached) $ECHO_C" >&6
39570 else
39571 eval "$as_ac_Header=\$ac_header_preproc"
39573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39574 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39577 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39578 cat >>confdefs.h <<_ACEOF
39579 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39580 _ACEOF
39584 done
39587 echo "$as_me:$LINENO: checking for writev" >&5
39588 echo $ECHO_N "checking for writev... $ECHO_C" >&6
39589 if test "${glibcxx_cv_WRITEV+set}" = set; then
39590 echo $ECHO_N "(cached) $ECHO_C" >&6
39591 else
39593 if test x$gcc_no_link = xyes; then
39594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39596 { (exit 1); exit 1; }; }
39598 cat >conftest.$ac_ext <<_ACEOF
39599 /* confdefs.h. */
39600 _ACEOF
39601 cat confdefs.h >>conftest.$ac_ext
39602 cat >>conftest.$ac_ext <<_ACEOF
39603 /* end confdefs.h. */
39604 #include <sys/uio.h>
39606 main ()
39608 struct iovec iov[2];
39609 writev(0, iov, 0);
39611 return 0;
39613 _ACEOF
39614 rm -f conftest.$ac_objext conftest$ac_exeext
39615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39616 (eval $ac_link) 2>conftest.er1
39617 ac_status=$?
39618 grep -v '^ *+' conftest.er1 >conftest.err
39619 rm -f conftest.er1
39620 cat conftest.err >&5
39621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39622 (exit $ac_status); } &&
39623 { ac_try='test -z "$ac_c_werror_flag"
39624 || test ! -s conftest.err'
39625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39626 (eval $ac_try) 2>&5
39627 ac_status=$?
39628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39629 (exit $ac_status); }; } &&
39630 { ac_try='test -s conftest$ac_exeext'
39631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39632 (eval $ac_try) 2>&5
39633 ac_status=$?
39634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39635 (exit $ac_status); }; }; then
39636 glibcxx_cv_WRITEV=yes
39637 else
39638 echo "$as_me: failed program was:" >&5
39639 sed 's/^/| /' conftest.$ac_ext >&5
39641 glibcxx_cv_WRITEV=no
39643 rm -f conftest.err conftest.$ac_objext \
39644 conftest$ac_exeext conftest.$ac_ext
39648 if test $glibcxx_cv_WRITEV = yes; then
39650 cat >>confdefs.h <<\_ACEOF
39651 #define HAVE_WRITEV 1
39652 _ACEOF
39655 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
39656 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
39659 # For the __streamoff_base_type typedef.
39661 echo "$as_me:$LINENO: checking for int64_t" >&5
39662 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
39663 if test "${glibcxx_cv_INT64_T+set}" = set; then
39664 echo $ECHO_N "(cached) $ECHO_C" >&6
39665 else
39667 cat >conftest.$ac_ext <<_ACEOF
39668 /* confdefs.h. */
39669 _ACEOF
39670 cat confdefs.h >>conftest.$ac_ext
39671 cat >>conftest.$ac_ext <<_ACEOF
39672 /* end confdefs.h. */
39673 #include <stdint.h>
39675 main ()
39677 int64_t var;
39679 return 0;
39681 _ACEOF
39682 rm -f conftest.$ac_objext
39683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39684 (eval $ac_compile) 2>conftest.er1
39685 ac_status=$?
39686 grep -v '^ *+' conftest.er1 >conftest.err
39687 rm -f conftest.er1
39688 cat conftest.err >&5
39689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39690 (exit $ac_status); } &&
39691 { ac_try='test -z "$ac_c_werror_flag"
39692 || test ! -s conftest.err'
39693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39694 (eval $ac_try) 2>&5
39695 ac_status=$?
39696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39697 (exit $ac_status); }; } &&
39698 { ac_try='test -s conftest.$ac_objext'
39699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39700 (eval $ac_try) 2>&5
39701 ac_status=$?
39702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39703 (exit $ac_status); }; }; then
39704 glibcxx_cv_INT64_T=yes
39705 else
39706 echo "$as_me: failed program was:" >&5
39707 sed 's/^/| /' conftest.$ac_ext >&5
39709 glibcxx_cv_INT64_T=no
39711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39715 if test $glibcxx_cv_INT64_T = yes; then
39717 cat >>confdefs.h <<\_ACEOF
39718 #define HAVE_INT64_T 1
39719 _ACEOF
39722 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
39723 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
39726 # For LFS support.
39730 ac_ext=cc
39731 ac_cpp='$CXXCPP $CPPFLAGS'
39732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39736 ac_save_CXXFLAGS="$CXXFLAGS"
39737 CXXFLAGS="$CXXFLAGS -fno-exceptions"
39738 echo "$as_me:$LINENO: checking for LFS support" >&5
39739 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
39740 if test "${glibcxx_cv_LFS+set}" = set; then
39741 echo $ECHO_N "(cached) $ECHO_C" >&6
39742 else
39744 if test x$gcc_no_link = xyes; then
39745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39747 { (exit 1); exit 1; }; }
39749 cat >conftest.$ac_ext <<_ACEOF
39750 /* confdefs.h. */
39751 _ACEOF
39752 cat confdefs.h >>conftest.$ac_ext
39753 cat >>conftest.$ac_ext <<_ACEOF
39754 /* end confdefs.h. */
39755 #include <unistd.h>
39756 #include <stdio.h>
39757 #include <sys/stat.h>
39760 main ()
39762 FILE* fp;
39763 fopen64("t", "w");
39764 fseeko64(fp, 0, SEEK_CUR);
39765 ftello64(fp);
39766 lseek64(1, 0, SEEK_CUR);
39767 struct stat64 buf;
39768 fstat64(1, &buf);
39770 return 0;
39772 _ACEOF
39773 rm -f conftest.$ac_objext conftest$ac_exeext
39774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39775 (eval $ac_link) 2>conftest.er1
39776 ac_status=$?
39777 grep -v '^ *+' conftest.er1 >conftest.err
39778 rm -f conftest.er1
39779 cat conftest.err >&5
39780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39781 (exit $ac_status); } &&
39782 { ac_try='test -z "$ac_cxx_werror_flag"
39783 || test ! -s conftest.err'
39784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39785 (eval $ac_try) 2>&5
39786 ac_status=$?
39787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39788 (exit $ac_status); }; } &&
39789 { ac_try='test -s conftest$ac_exeext'
39790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39791 (eval $ac_try) 2>&5
39792 ac_status=$?
39793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39794 (exit $ac_status); }; }; then
39795 glibcxx_cv_LFS=yes
39796 else
39797 echo "$as_me: failed program was:" >&5
39798 sed 's/^/| /' conftest.$ac_ext >&5
39800 glibcxx_cv_LFS=no
39802 rm -f conftest.err conftest.$ac_objext \
39803 conftest$ac_exeext conftest.$ac_ext
39807 if test $glibcxx_cv_LFS = yes; then
39809 cat >>confdefs.h <<\_ACEOF
39810 #define _GLIBCXX_USE_LFS 1
39811 _ACEOF
39814 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
39815 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
39816 CXXFLAGS="$ac_save_CXXFLAGS"
39817 ac_ext=c
39818 ac_cpp='$CPP $CPPFLAGS'
39819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39825 # For C99 support to TR1.
39830 ac_ext=cc
39831 ac_cpp='$CXXCPP $CPPFLAGS'
39832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39837 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
39838 # undefined and fake C99 facilities may be spuriously enabled.
39839 ac_save_CXXFLAGS="$CXXFLAGS"
39840 CXXFLAGS="$CXXFLAGS -std=c++98"
39842 # Check for the existence of <complex.h> complex math functions used
39843 # by tr1/complex.
39845 for ac_header in complex.h
39847 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39849 echo "$as_me:$LINENO: checking for $ac_header" >&5
39850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39852 echo $ECHO_N "(cached) $ECHO_C" >&6
39854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39856 else
39857 # Is the header compilable?
39858 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39859 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39860 cat >conftest.$ac_ext <<_ACEOF
39861 /* confdefs.h. */
39862 _ACEOF
39863 cat confdefs.h >>conftest.$ac_ext
39864 cat >>conftest.$ac_ext <<_ACEOF
39865 /* end confdefs.h. */
39866 $ac_includes_default
39867 #include <$ac_header>
39868 _ACEOF
39869 rm -f conftest.$ac_objext
39870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39871 (eval $ac_compile) 2>conftest.er1
39872 ac_status=$?
39873 grep -v '^ *+' conftest.er1 >conftest.err
39874 rm -f conftest.er1
39875 cat conftest.err >&5
39876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39877 (exit $ac_status); } &&
39878 { ac_try='test -z "$ac_cxx_werror_flag"
39879 || test ! -s conftest.err'
39880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39881 (eval $ac_try) 2>&5
39882 ac_status=$?
39883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39884 (exit $ac_status); }; } &&
39885 { ac_try='test -s conftest.$ac_objext'
39886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39887 (eval $ac_try) 2>&5
39888 ac_status=$?
39889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39890 (exit $ac_status); }; }; then
39891 ac_header_compiler=yes
39892 else
39893 echo "$as_me: failed program was:" >&5
39894 sed 's/^/| /' conftest.$ac_ext >&5
39896 ac_header_compiler=no
39898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39899 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39900 echo "${ECHO_T}$ac_header_compiler" >&6
39902 # Is the header present?
39903 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39904 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39905 cat >conftest.$ac_ext <<_ACEOF
39906 /* confdefs.h. */
39907 _ACEOF
39908 cat confdefs.h >>conftest.$ac_ext
39909 cat >>conftest.$ac_ext <<_ACEOF
39910 /* end confdefs.h. */
39911 #include <$ac_header>
39912 _ACEOF
39913 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39914 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39915 ac_status=$?
39916 grep -v '^ *+' conftest.er1 >conftest.err
39917 rm -f conftest.er1
39918 cat conftest.err >&5
39919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39920 (exit $ac_status); } >/dev/null; then
39921 if test -s conftest.err; then
39922 ac_cpp_err=$ac_cxx_preproc_warn_flag
39923 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39924 else
39925 ac_cpp_err=
39927 else
39928 ac_cpp_err=yes
39930 if test -z "$ac_cpp_err"; then
39931 ac_header_preproc=yes
39932 else
39933 echo "$as_me: failed program was:" >&5
39934 sed 's/^/| /' conftest.$ac_ext >&5
39936 ac_header_preproc=no
39938 rm -f conftest.err conftest.$ac_ext
39939 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39940 echo "${ECHO_T}$ac_header_preproc" >&6
39942 # So? What about this header?
39943 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39944 yes:no: )
39945 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39946 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39947 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39948 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39949 ac_header_preproc=yes
39951 no:yes:* )
39952 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39953 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39954 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39955 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39956 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39957 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39958 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39959 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39960 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39961 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39962 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39963 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39965 cat <<\_ASBOX
39966 ## ----------------------------------------- ##
39967 ## Report this to the package-unused lists. ##
39968 ## ----------------------------------------- ##
39969 _ASBOX
39971 sed "s/^/$as_me: WARNING: /" >&2
39973 esac
39974 echo "$as_me:$LINENO: checking for $ac_header" >&5
39975 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39977 echo $ECHO_N "(cached) $ECHO_C" >&6
39978 else
39979 eval "$as_ac_Header=\$ac_header_preproc"
39981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39985 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39986 cat >>confdefs.h <<_ACEOF
39987 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39988 _ACEOF
39989 ac_has_complex_h=yes
39990 else
39991 ac_has_complex_h=no
39994 done
39996 ac_c99_complex_tr1=no;
39997 if test x"$ac_has_complex_h" = x"yes"; then
39998 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
39999 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
40000 cat >conftest.$ac_ext <<_ACEOF
40001 /* confdefs.h. */
40002 _ACEOF
40003 cat confdefs.h >>conftest.$ac_ext
40004 cat >>conftest.$ac_ext <<_ACEOF
40005 /* end confdefs.h. */
40006 #include <complex.h>
40008 main ()
40010 typedef __complex__ float float_type; float_type tmpf;
40011 cacosf(tmpf);
40012 casinf(tmpf);
40013 catanf(tmpf);
40014 cacoshf(tmpf);
40015 casinhf(tmpf);
40016 catanhf(tmpf);
40017 typedef __complex__ double double_type; double_type tmpd;
40018 cacos(tmpd);
40019 casin(tmpd);
40020 catan(tmpd);
40021 cacosh(tmpd);
40022 casinh(tmpd);
40023 catanh(tmpd);
40024 typedef __complex__ long double ld_type; ld_type tmpld;
40025 cacosl(tmpld);
40026 casinl(tmpld);
40027 catanl(tmpld);
40028 cacoshl(tmpld);
40029 casinhl(tmpld);
40030 catanhl(tmpld);
40033 return 0;
40035 _ACEOF
40036 rm -f conftest.$ac_objext
40037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40038 (eval $ac_compile) 2>conftest.er1
40039 ac_status=$?
40040 grep -v '^ *+' conftest.er1 >conftest.err
40041 rm -f conftest.er1
40042 cat conftest.err >&5
40043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40044 (exit $ac_status); } &&
40045 { ac_try='test -z "$ac_cxx_werror_flag"
40046 || test ! -s conftest.err'
40047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40048 (eval $ac_try) 2>&5
40049 ac_status=$?
40050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40051 (exit $ac_status); }; } &&
40052 { ac_try='test -s conftest.$ac_objext'
40053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40054 (eval $ac_try) 2>&5
40055 ac_status=$?
40056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40057 (exit $ac_status); }; }; then
40058 ac_c99_complex_tr1=yes
40059 else
40060 echo "$as_me: failed program was:" >&5
40061 sed 's/^/| /' conftest.$ac_ext >&5
40063 ac_c99_complex_tr1=no
40065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40067 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
40068 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
40069 if test x"$ac_c99_complex_tr1" = x"yes"; then
40071 cat >>confdefs.h <<\_ACEOF
40072 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
40073 _ACEOF
40077 # Check for the existence of <ctype.h> functions.
40078 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
40079 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
40080 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
40081 echo $ECHO_N "(cached) $ECHO_C" >&6
40082 else
40084 cat >conftest.$ac_ext <<_ACEOF
40085 /* confdefs.h. */
40086 _ACEOF
40087 cat confdefs.h >>conftest.$ac_ext
40088 cat >>conftest.$ac_ext <<_ACEOF
40089 /* end confdefs.h. */
40090 #include <ctype.h>
40092 main ()
40094 int ch;
40095 int ret;
40096 ret = isblank(ch);
40099 return 0;
40101 _ACEOF
40102 rm -f conftest.$ac_objext
40103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40104 (eval $ac_compile) 2>conftest.er1
40105 ac_status=$?
40106 grep -v '^ *+' conftest.er1 >conftest.err
40107 rm -f conftest.er1
40108 cat conftest.err >&5
40109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40110 (exit $ac_status); } &&
40111 { ac_try='test -z "$ac_cxx_werror_flag"
40112 || test ! -s conftest.err'
40113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40114 (eval $ac_try) 2>&5
40115 ac_status=$?
40116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40117 (exit $ac_status); }; } &&
40118 { ac_try='test -s conftest.$ac_objext'
40119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40120 (eval $ac_try) 2>&5
40121 ac_status=$?
40122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40123 (exit $ac_status); }; }; then
40124 glibcxx_cv_c99_ctype_tr1=yes
40125 else
40126 echo "$as_me: failed program was:" >&5
40127 sed 's/^/| /' conftest.$ac_ext >&5
40129 glibcxx_cv_c99_ctype_tr1=no
40131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40135 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
40136 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
40137 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
40139 cat >>confdefs.h <<\_ACEOF
40140 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
40141 _ACEOF
40145 # Check for the existence of <fenv.h> functions.
40147 for ac_header in fenv.h
40149 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40150 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40151 echo "$as_me:$LINENO: checking for $ac_header" >&5
40152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40154 echo $ECHO_N "(cached) $ECHO_C" >&6
40156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40158 else
40159 # Is the header compilable?
40160 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40161 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40162 cat >conftest.$ac_ext <<_ACEOF
40163 /* confdefs.h. */
40164 _ACEOF
40165 cat confdefs.h >>conftest.$ac_ext
40166 cat >>conftest.$ac_ext <<_ACEOF
40167 /* end confdefs.h. */
40168 $ac_includes_default
40169 #include <$ac_header>
40170 _ACEOF
40171 rm -f conftest.$ac_objext
40172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40173 (eval $ac_compile) 2>conftest.er1
40174 ac_status=$?
40175 grep -v '^ *+' conftest.er1 >conftest.err
40176 rm -f conftest.er1
40177 cat conftest.err >&5
40178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40179 (exit $ac_status); } &&
40180 { ac_try='test -z "$ac_cxx_werror_flag"
40181 || test ! -s conftest.err'
40182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40183 (eval $ac_try) 2>&5
40184 ac_status=$?
40185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40186 (exit $ac_status); }; } &&
40187 { ac_try='test -s conftest.$ac_objext'
40188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40189 (eval $ac_try) 2>&5
40190 ac_status=$?
40191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40192 (exit $ac_status); }; }; then
40193 ac_header_compiler=yes
40194 else
40195 echo "$as_me: failed program was:" >&5
40196 sed 's/^/| /' conftest.$ac_ext >&5
40198 ac_header_compiler=no
40200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40201 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40202 echo "${ECHO_T}$ac_header_compiler" >&6
40204 # Is the header present?
40205 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40206 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40207 cat >conftest.$ac_ext <<_ACEOF
40208 /* confdefs.h. */
40209 _ACEOF
40210 cat confdefs.h >>conftest.$ac_ext
40211 cat >>conftest.$ac_ext <<_ACEOF
40212 /* end confdefs.h. */
40213 #include <$ac_header>
40214 _ACEOF
40215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40216 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40217 ac_status=$?
40218 grep -v '^ *+' conftest.er1 >conftest.err
40219 rm -f conftest.er1
40220 cat conftest.err >&5
40221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40222 (exit $ac_status); } >/dev/null; then
40223 if test -s conftest.err; then
40224 ac_cpp_err=$ac_cxx_preproc_warn_flag
40225 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40226 else
40227 ac_cpp_err=
40229 else
40230 ac_cpp_err=yes
40232 if test -z "$ac_cpp_err"; then
40233 ac_header_preproc=yes
40234 else
40235 echo "$as_me: failed program was:" >&5
40236 sed 's/^/| /' conftest.$ac_ext >&5
40238 ac_header_preproc=no
40240 rm -f conftest.err conftest.$ac_ext
40241 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40242 echo "${ECHO_T}$ac_header_preproc" >&6
40244 # So? What about this header?
40245 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40246 yes:no: )
40247 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40248 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40250 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40251 ac_header_preproc=yes
40253 no:yes:* )
40254 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40255 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40256 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40257 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40258 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40259 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40260 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40261 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40262 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40263 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40264 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40265 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40267 cat <<\_ASBOX
40268 ## ----------------------------------------- ##
40269 ## Report this to the package-unused lists. ##
40270 ## ----------------------------------------- ##
40271 _ASBOX
40273 sed "s/^/$as_me: WARNING: /" >&2
40275 esac
40276 echo "$as_me:$LINENO: checking for $ac_header" >&5
40277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40278 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40279 echo $ECHO_N "(cached) $ECHO_C" >&6
40280 else
40281 eval "$as_ac_Header=\$ac_header_preproc"
40283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40284 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40287 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40288 cat >>confdefs.h <<_ACEOF
40289 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40290 _ACEOF
40291 ac_has_fenv_h=yes
40292 else
40293 ac_has_fenv_h=no
40296 done
40298 ac_c99_fenv_tr1=no;
40299 if test x"$ac_has_fenv_h" = x"yes"; then
40300 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
40301 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
40302 cat >conftest.$ac_ext <<_ACEOF
40303 /* confdefs.h. */
40304 _ACEOF
40305 cat confdefs.h >>conftest.$ac_ext
40306 cat >>conftest.$ac_ext <<_ACEOF
40307 /* end confdefs.h. */
40308 #include <fenv.h>
40310 main ()
40312 int except, mode;
40313 fexcept_t* pflag;
40314 fenv_t* penv;
40315 int ret;
40316 ret = feclearexcept(except);
40317 ret = fegetexceptflag(pflag, except);
40318 ret = feraiseexcept(except);
40319 ret = fesetexceptflag(pflag, except);
40320 ret = fetestexcept(except);
40321 ret = fegetround();
40322 ret = fesetround(mode);
40323 ret = fegetenv(penv);
40324 ret = feholdexcept(penv);
40325 ret = fesetenv(penv);
40326 ret = feupdateenv(penv);
40329 return 0;
40331 _ACEOF
40332 rm -f conftest.$ac_objext
40333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40334 (eval $ac_compile) 2>conftest.er1
40335 ac_status=$?
40336 grep -v '^ *+' conftest.er1 >conftest.err
40337 rm -f conftest.er1
40338 cat conftest.err >&5
40339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40340 (exit $ac_status); } &&
40341 { ac_try='test -z "$ac_cxx_werror_flag"
40342 || test ! -s conftest.err'
40343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40344 (eval $ac_try) 2>&5
40345 ac_status=$?
40346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40347 (exit $ac_status); }; } &&
40348 { ac_try='test -s conftest.$ac_objext'
40349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40350 (eval $ac_try) 2>&5
40351 ac_status=$?
40352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40353 (exit $ac_status); }; }; then
40354 ac_c99_fenv_tr1=yes
40355 else
40356 echo "$as_me: failed program was:" >&5
40357 sed 's/^/| /' conftest.$ac_ext >&5
40359 ac_c99_fenv_tr1=no
40361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40363 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
40364 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
40365 if test x"$ac_c99_fenv_tr1" = x"yes"; then
40367 cat >>confdefs.h <<\_ACEOF
40368 #define _GLIBCXX_USE_C99_FENV_TR1 1
40369 _ACEOF
40373 # Check for the existence of <stdint.h> types.
40374 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
40375 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
40376 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
40377 echo $ECHO_N "(cached) $ECHO_C" >&6
40378 else
40380 cat >conftest.$ac_ext <<_ACEOF
40381 /* confdefs.h. */
40382 _ACEOF
40383 cat confdefs.h >>conftest.$ac_ext
40384 cat >>conftest.$ac_ext <<_ACEOF
40385 /* end confdefs.h. */
40386 #include <stdint.h>
40388 main ()
40390 typedef int8_t my_int8_t;
40391 typedef int16_t my_int16_t;
40392 typedef int32_t my_int32_t;
40393 typedef int64_t my_int64_t;
40394 typedef int_fast8_t my_int_fast8_t;
40395 typedef int_fast16_t my_int_fast16_t;
40396 typedef int_fast32_t my_int_fast32_t;
40397 typedef int_fast64_t my_int_fast64_t;
40398 typedef int_least8_t my_int_least8_t;
40399 typedef int_least16_t my_int_least16_t;
40400 typedef int_least32_t my_int_least32_t;
40401 typedef int_least64_t my_int_least64_t;
40402 typedef intmax_t my_intmax_t;
40403 typedef intptr_t my_intptr_t;
40404 typedef uint8_t my_uint8_t;
40405 typedef uint16_t my_uint16_t;
40406 typedef uint32_t my_uint32_t;
40407 typedef uint64_t my_uint64_t;
40408 typedef uint_fast8_t my_uint_fast8_t;
40409 typedef uint_fast16_t my_uint_fast16_t;
40410 typedef uint_fast32_t my_uint_fast32_t;
40411 typedef uint_fast64_t my_uint_fast64_t;
40412 typedef uint_least8_t my_uint_least8_t;
40413 typedef uint_least16_t my_uint_least16_t;
40414 typedef uint_least32_t my_uint_least32_t;
40415 typedef uint_least64_t my_uint_least64_t;
40416 typedef uintmax_t my_uintmax_t;
40417 typedef uintptr_t my_uintptr_t;
40420 return 0;
40422 _ACEOF
40423 rm -f conftest.$ac_objext
40424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40425 (eval $ac_compile) 2>conftest.er1
40426 ac_status=$?
40427 grep -v '^ *+' conftest.er1 >conftest.err
40428 rm -f conftest.er1
40429 cat conftest.err >&5
40430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40431 (exit $ac_status); } &&
40432 { ac_try='test -z "$ac_cxx_werror_flag"
40433 || test ! -s conftest.err'
40434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40435 (eval $ac_try) 2>&5
40436 ac_status=$?
40437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40438 (exit $ac_status); }; } &&
40439 { ac_try='test -s conftest.$ac_objext'
40440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40441 (eval $ac_try) 2>&5
40442 ac_status=$?
40443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40444 (exit $ac_status); }; }; then
40445 glibcxx_cv_c99_stdint_tr1=yes
40446 else
40447 echo "$as_me: failed program was:" >&5
40448 sed 's/^/| /' conftest.$ac_ext >&5
40450 glibcxx_cv_c99_stdint_tr1=no
40452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40456 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
40457 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
40458 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
40460 cat >>confdefs.h <<\_ACEOF
40461 #define _GLIBCXX_USE_C99_STDINT_TR1 1
40462 _ACEOF
40466 # Check for the existence of <math.h> functions.
40467 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
40468 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
40469 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
40470 echo $ECHO_N "(cached) $ECHO_C" >&6
40471 else
40473 cat >conftest.$ac_ext <<_ACEOF
40474 /* confdefs.h. */
40475 _ACEOF
40476 cat confdefs.h >>conftest.$ac_ext
40477 cat >>conftest.$ac_ext <<_ACEOF
40478 /* end confdefs.h. */
40479 #include <math.h>
40481 main ()
40483 typedef double_t my_double_t;
40484 typedef float_t my_float_t;
40485 acosh(0.0);
40486 acoshf(0.0f);
40487 acoshl(0.0l);
40488 asinh(0.0);
40489 asinhf(0.0f);
40490 asinhl(0.0l);
40491 atanh(0.0);
40492 atanhf(0.0f);
40493 atanhl(0.0l);
40494 cbrt(0.0);
40495 cbrtf(0.0f);
40496 cbrtl(0.0l);
40497 copysign(0.0, 0.0);
40498 copysignf(0.0f, 0.0f);
40499 copysignl(0.0l, 0.0l);
40500 erf(0.0);
40501 erff(0.0f);
40502 erfl(0.0l);
40503 erfc(0.0);
40504 erfcf(0.0f);
40505 erfcl(0.0l);
40506 exp2(0.0);
40507 exp2f(0.0f);
40508 exp2l(0.0l);
40509 expm1(0.0);
40510 expm1f(0.0f);
40511 expm1l(0.0l);
40512 fdim(0.0, 0.0);
40513 fdimf(0.0f, 0.0f);
40514 fdiml(0.0l, 0.0l);
40515 fma(0.0, 0.0, 0.0);
40516 fmaf(0.0f, 0.0f, 0.0f);
40517 fmal(0.0l, 0.0l, 0.0l);
40518 fmax(0.0, 0.0);
40519 fmaxf(0.0f, 0.0f);
40520 fmaxl(0.0l, 0.0l);
40521 fmin(0.0, 0.0);
40522 fminf(0.0f, 0.0f);
40523 fminl(0.0l, 0.0l);
40524 hypot(0.0, 0.0);
40525 hypotf(0.0f, 0.0f);
40526 hypotl(0.0l, 0.0l);
40527 ilogb(0.0);
40528 ilogbf(0.0f);
40529 ilogbl(0.0l);
40530 lgamma(0.0);
40531 lgammaf(0.0f);
40532 lgammal(0.0l);
40533 llrint(0.0);
40534 llrintf(0.0f);
40535 llrintl(0.0l);
40536 llround(0.0);
40537 llroundf(0.0f);
40538 llroundl(0.0l);
40539 log1p(0.0);
40540 log1pf(0.0f);
40541 log1pl(0.0l);
40542 log2(0.0);
40543 log2f(0.0f);
40544 log2l(0.0l);
40545 logb(0.0);
40546 logbf(0.0f);
40547 logbl(0.0l);
40548 lrint(0.0);
40549 lrintf(0.0f);
40550 lrintl(0.0l);
40551 lround(0.0);
40552 lroundf(0.0f);
40553 lroundl(0.0l);
40554 nan(0);
40555 nanf(0);
40556 nanl(0);
40557 nearbyint(0.0);
40558 nearbyintf(0.0f);
40559 nearbyintl(0.0l);
40560 nextafter(0.0, 0.0);
40561 nextafterf(0.0f, 0.0f);
40562 nextafterl(0.0l, 0.0l);
40563 nexttoward(0.0, 0.0);
40564 nexttowardf(0.0f, 0.0f);
40565 nexttowardl(0.0l, 0.0l);
40566 remainder(0.0, 0.0);
40567 remainderf(0.0f, 0.0f);
40568 remainderl(0.0l, 0.0l);
40569 remquo(0.0, 0.0, 0);
40570 remquo(0.0f, 0.0f, 0);
40571 remquo(0.0l, 0.0l, 0);
40572 rint(0.0);
40573 rintf(0.0f);
40574 rintl(0.0l);
40575 round(0.0);
40576 roundf(0.0f);
40577 roundl(0.0l);
40578 scalbln(0.0, 0l);
40579 scalblnf(0.0f, 0l);
40580 scalblnl(0.0l, 0l);
40581 scalbn(0.0, 0);
40582 scalbnf(0.0f, 0);
40583 scalbnl(0.0l, 0);
40584 tgamma(0.0);
40585 tgammaf(0.0f);
40586 tgammal(0.0l);
40587 trunc(0.0);
40588 truncf(0.0f);
40589 truncl(0.0l);
40592 return 0;
40594 _ACEOF
40595 rm -f conftest.$ac_objext
40596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40597 (eval $ac_compile) 2>conftest.er1
40598 ac_status=$?
40599 grep -v '^ *+' conftest.er1 >conftest.err
40600 rm -f conftest.er1
40601 cat conftest.err >&5
40602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40603 (exit $ac_status); } &&
40604 { ac_try='test -z "$ac_cxx_werror_flag"
40605 || test ! -s conftest.err'
40606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40607 (eval $ac_try) 2>&5
40608 ac_status=$?
40609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40610 (exit $ac_status); }; } &&
40611 { ac_try='test -s conftest.$ac_objext'
40612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40613 (eval $ac_try) 2>&5
40614 ac_status=$?
40615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40616 (exit $ac_status); }; }; then
40617 glibcxx_cv_c99_math_tr1=yes
40618 else
40619 echo "$as_me: failed program was:" >&5
40620 sed 's/^/| /' conftest.$ac_ext >&5
40622 glibcxx_cv_c99_math_tr1=no
40624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40628 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
40629 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
40630 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
40632 cat >>confdefs.h <<\_ACEOF
40633 #define _GLIBCXX_USE_C99_MATH_TR1 1
40634 _ACEOF
40638 # Check for the existence of <inttypes.h> functions (NB: doesn't make
40639 # sense if the previous check fails, per C99, 7.8/1).
40640 ac_c99_inttypes_tr1=no;
40641 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
40642 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
40643 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
40644 cat >conftest.$ac_ext <<_ACEOF
40645 /* confdefs.h. */
40646 _ACEOF
40647 cat confdefs.h >>conftest.$ac_ext
40648 cat >>conftest.$ac_ext <<_ACEOF
40649 /* end confdefs.h. */
40650 #include <inttypes.h>
40652 main ()
40654 intmax_t i, numer, denom, base;
40655 const char* s;
40656 char** endptr;
40657 intmax_t ret = imaxabs(i);
40658 imaxdiv_t dret = imaxdiv(numer, denom);
40659 ret = strtoimax(s, endptr, base);
40660 uintmax_t uret = strtoumax(s, endptr, base);
40663 return 0;
40665 _ACEOF
40666 rm -f conftest.$ac_objext
40667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40668 (eval $ac_compile) 2>conftest.er1
40669 ac_status=$?
40670 grep -v '^ *+' conftest.er1 >conftest.err
40671 rm -f conftest.er1
40672 cat conftest.err >&5
40673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40674 (exit $ac_status); } &&
40675 { ac_try='test -z "$ac_cxx_werror_flag"
40676 || test ! -s conftest.err'
40677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40678 (eval $ac_try) 2>&5
40679 ac_status=$?
40680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40681 (exit $ac_status); }; } &&
40682 { ac_try='test -s conftest.$ac_objext'
40683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40684 (eval $ac_try) 2>&5
40685 ac_status=$?
40686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40687 (exit $ac_status); }; }; then
40688 ac_c99_inttypes_tr1=yes
40689 else
40690 echo "$as_me: failed program was:" >&5
40691 sed 's/^/| /' conftest.$ac_ext >&5
40693 ac_c99_inttypes_tr1=no
40695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40697 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
40698 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
40699 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
40701 cat >>confdefs.h <<\_ACEOF
40702 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
40703 _ACEOF
40707 # Check for the existence of the <stdbool.h> header.
40709 for ac_header in stdbool.h
40711 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40712 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40713 echo "$as_me:$LINENO: checking for $ac_header" >&5
40714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40716 echo $ECHO_N "(cached) $ECHO_C" >&6
40718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40720 else
40721 # Is the header compilable?
40722 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40723 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40724 cat >conftest.$ac_ext <<_ACEOF
40725 /* confdefs.h. */
40726 _ACEOF
40727 cat confdefs.h >>conftest.$ac_ext
40728 cat >>conftest.$ac_ext <<_ACEOF
40729 /* end confdefs.h. */
40730 $ac_includes_default
40731 #include <$ac_header>
40732 _ACEOF
40733 rm -f conftest.$ac_objext
40734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40735 (eval $ac_compile) 2>conftest.er1
40736 ac_status=$?
40737 grep -v '^ *+' conftest.er1 >conftest.err
40738 rm -f conftest.er1
40739 cat conftest.err >&5
40740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40741 (exit $ac_status); } &&
40742 { ac_try='test -z "$ac_cxx_werror_flag"
40743 || test ! -s conftest.err'
40744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40745 (eval $ac_try) 2>&5
40746 ac_status=$?
40747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40748 (exit $ac_status); }; } &&
40749 { ac_try='test -s conftest.$ac_objext'
40750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40751 (eval $ac_try) 2>&5
40752 ac_status=$?
40753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40754 (exit $ac_status); }; }; then
40755 ac_header_compiler=yes
40756 else
40757 echo "$as_me: failed program was:" >&5
40758 sed 's/^/| /' conftest.$ac_ext >&5
40760 ac_header_compiler=no
40762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40763 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40764 echo "${ECHO_T}$ac_header_compiler" >&6
40766 # Is the header present?
40767 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40768 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40769 cat >conftest.$ac_ext <<_ACEOF
40770 /* confdefs.h. */
40771 _ACEOF
40772 cat confdefs.h >>conftest.$ac_ext
40773 cat >>conftest.$ac_ext <<_ACEOF
40774 /* end confdefs.h. */
40775 #include <$ac_header>
40776 _ACEOF
40777 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40778 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40779 ac_status=$?
40780 grep -v '^ *+' conftest.er1 >conftest.err
40781 rm -f conftest.er1
40782 cat conftest.err >&5
40783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40784 (exit $ac_status); } >/dev/null; then
40785 if test -s conftest.err; then
40786 ac_cpp_err=$ac_cxx_preproc_warn_flag
40787 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40788 else
40789 ac_cpp_err=
40791 else
40792 ac_cpp_err=yes
40794 if test -z "$ac_cpp_err"; then
40795 ac_header_preproc=yes
40796 else
40797 echo "$as_me: failed program was:" >&5
40798 sed 's/^/| /' conftest.$ac_ext >&5
40800 ac_header_preproc=no
40802 rm -f conftest.err conftest.$ac_ext
40803 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40804 echo "${ECHO_T}$ac_header_preproc" >&6
40806 # So? What about this header?
40807 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40808 yes:no: )
40809 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40810 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40811 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40812 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40813 ac_header_preproc=yes
40815 no:yes:* )
40816 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40817 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40818 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40819 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40820 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40821 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40822 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40823 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40824 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40825 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40826 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40827 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40829 cat <<\_ASBOX
40830 ## ----------------------------------------- ##
40831 ## Report this to the package-unused lists. ##
40832 ## ----------------------------------------- ##
40833 _ASBOX
40835 sed "s/^/$as_me: WARNING: /" >&2
40837 esac
40838 echo "$as_me:$LINENO: checking for $ac_header" >&5
40839 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40841 echo $ECHO_N "(cached) $ECHO_C" >&6
40842 else
40843 eval "$as_ac_Header=\$ac_header_preproc"
40845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40846 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40849 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40850 cat >>confdefs.h <<_ACEOF
40851 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40852 _ACEOF
40856 done
40859 CXXFLAGS="$ac_save_CXXFLAGS"
40860 ac_ext=c
40861 ac_cpp='$CPP $CPPFLAGS'
40862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40868 # For dev/random and dev/urandom for TR1.
40871 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
40872 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
40873 if test "${glibcxx_cv_random_tr1+set}" = set; then
40874 echo $ECHO_N "(cached) $ECHO_C" >&6
40875 else
40877 if test "$cross_compiling" = yes; then
40878 glibcxx_cv_random_tr1=no
40879 else
40880 cat >conftest.$ac_ext <<_ACEOF
40881 /* confdefs.h. */
40882 _ACEOF
40883 cat confdefs.h >>conftest.$ac_ext
40884 cat >>conftest.$ac_ext <<_ACEOF
40885 /* end confdefs.h. */
40886 #include <stdio.h>
40887 int main()
40889 return !(fopen("/dev/random", "r")
40890 && fopen("/dev/urandom", "r"));
40893 _ACEOF
40894 rm -f conftest$ac_exeext
40895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40896 (eval $ac_link) 2>&5
40897 ac_status=$?
40898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40899 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40901 (eval $ac_try) 2>&5
40902 ac_status=$?
40903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40904 (exit $ac_status); }; }; then
40905 glibcxx_cv_random_tr1=yes
40906 else
40907 echo "$as_me: program exited with status $ac_status" >&5
40908 echo "$as_me: failed program was:" >&5
40909 sed 's/^/| /' conftest.$ac_ext >&5
40911 ( exit $ac_status )
40912 glibcxx_cv_random_tr1=no
40914 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40919 echo "$as_me:$LINENO: result: $glibcxx_cv_random_tr1" >&5
40920 echo "${ECHO_T}$glibcxx_cv_random_tr1" >&6
40921 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
40923 cat >>confdefs.h <<\_ACEOF
40924 #define _GLIBCXX_USE_RANDOM_TR1 1
40925 _ACEOF
40931 # For TLS support.
40933 # Check whether --enable-tls or --disable-tls was given.
40934 if test "${enable_tls+set}" = set; then
40935 enableval="$enable_tls"
40937 case "$enableval" in
40938 yes|no) ;;
40939 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
40940 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
40941 { (exit 1); exit 1; }; } ;;
40942 esac
40944 else
40945 enable_tls=yes
40948 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
40949 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
40950 if test "${gcc_cv_have_tls+set}" = set; then
40951 echo $ECHO_N "(cached) $ECHO_C" >&6
40952 else
40954 if test "$cross_compiling" = yes; then
40955 if test x$gcc_no_link = xyes; then
40956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40958 { (exit 1); exit 1; }; }
40960 cat >conftest.$ac_ext <<_ACEOF
40961 __thread int a; int b; int main() { return a = b; }
40962 _ACEOF
40963 rm -f conftest.$ac_objext conftest$ac_exeext
40964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40965 (eval $ac_link) 2>conftest.er1
40966 ac_status=$?
40967 grep -v '^ *+' conftest.er1 >conftest.err
40968 rm -f conftest.er1
40969 cat conftest.err >&5
40970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40971 (exit $ac_status); } &&
40972 { ac_try='test -z "$ac_c_werror_flag"
40973 || test ! -s conftest.err'
40974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40975 (eval $ac_try) 2>&5
40976 ac_status=$?
40977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40978 (exit $ac_status); }; } &&
40979 { ac_try='test -s conftest$ac_exeext'
40980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40981 (eval $ac_try) 2>&5
40982 ac_status=$?
40983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40984 (exit $ac_status); }; }; then
40985 gcc_cv_have_tls=yes
40986 else
40987 echo "$as_me: failed program was:" >&5
40988 sed 's/^/| /' conftest.$ac_ext >&5
40990 gcc_cv_have_tls=no
40992 rm -f conftest.err conftest.$ac_objext \
40993 conftest$ac_exeext conftest.$ac_ext
40996 else
40997 cat >conftest.$ac_ext <<_ACEOF
40998 __thread int a; int b; int main() { return a = b; }
40999 _ACEOF
41000 rm -f conftest$ac_exeext
41001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41002 (eval $ac_link) 2>&5
41003 ac_status=$?
41004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41007 (eval $ac_try) 2>&5
41008 ac_status=$?
41009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41010 (exit $ac_status); }; }; then
41011 chktls_save_LDFLAGS="$LDFLAGS"
41012 LDFLAGS="-static $LDFLAGS"
41013 if test x$gcc_no_link = xyes; then
41014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41016 { (exit 1); exit 1; }; }
41018 cat >conftest.$ac_ext <<_ACEOF
41019 int main() { return 0; }
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 if test "$cross_compiling" = yes; then
41044 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41045 See \`config.log' for more details." >&5
41046 echo "$as_me: error: cannot run test program while cross compiling
41047 See \`config.log' for more details." >&2;}
41048 { (exit 1); exit 1; }; }
41049 else
41050 cat >conftest.$ac_ext <<_ACEOF
41051 __thread int a; int b; int main() { return a = b; }
41052 _ACEOF
41053 rm -f conftest$ac_exeext
41054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41055 (eval $ac_link) 2>&5
41056 ac_status=$?
41057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41058 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41060 (eval $ac_try) 2>&5
41061 ac_status=$?
41062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41063 (exit $ac_status); }; }; then
41064 gcc_cv_have_tls=yes
41065 else
41066 echo "$as_me: program exited with status $ac_status" >&5
41067 echo "$as_me: failed program was:" >&5
41068 sed 's/^/| /' conftest.$ac_ext >&5
41070 ( exit $ac_status )
41071 gcc_cv_have_tls=no
41073 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41075 else
41076 echo "$as_me: failed program was:" >&5
41077 sed 's/^/| /' conftest.$ac_ext >&5
41079 gcc_cv_have_tls=yes
41081 rm -f conftest.err conftest.$ac_objext \
41082 conftest$ac_exeext conftest.$ac_ext
41083 LDFLAGS="$chktls_save_LDFLAGS"
41084 if test $gcc_cv_have_tls = yes; then
41085 chktls_save_CFLAGS="$CFLAGS"
41086 thread_CFLAGS=failed
41087 for flag in '' '-pthread' '-lpthread'; do
41088 CFLAGS="$flag $chktls_save_CFLAGS"
41089 if test x$gcc_no_link = xyes; then
41090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41092 { (exit 1); exit 1; }; }
41094 cat >conftest.$ac_ext <<_ACEOF
41095 /* confdefs.h. */
41096 _ACEOF
41097 cat confdefs.h >>conftest.$ac_ext
41098 cat >>conftest.$ac_ext <<_ACEOF
41099 /* end confdefs.h. */
41100 #include <pthread.h>
41101 void *g(void *d) { return NULL; }
41103 main ()
41105 pthread_t t; pthread_create(&t,NULL,g,NULL);
41107 return 0;
41109 _ACEOF
41110 rm -f conftest.$ac_objext conftest$ac_exeext
41111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41112 (eval $ac_link) 2>conftest.er1
41113 ac_status=$?
41114 grep -v '^ *+' conftest.er1 >conftest.err
41115 rm -f conftest.er1
41116 cat conftest.err >&5
41117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41118 (exit $ac_status); } &&
41119 { ac_try='test -z "$ac_c_werror_flag"
41120 || test ! -s conftest.err'
41121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41122 (eval $ac_try) 2>&5
41123 ac_status=$?
41124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41125 (exit $ac_status); }; } &&
41126 { ac_try='test -s conftest$ac_exeext'
41127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41128 (eval $ac_try) 2>&5
41129 ac_status=$?
41130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41131 (exit $ac_status); }; }; then
41132 thread_CFLAGS="$flag"
41133 else
41134 echo "$as_me: failed program was:" >&5
41135 sed 's/^/| /' conftest.$ac_ext >&5
41138 rm -f conftest.err conftest.$ac_objext \
41139 conftest$ac_exeext conftest.$ac_ext
41140 if test "X$thread_CFLAGS" != Xfailed; then
41141 break
41143 done
41144 CFLAGS="$chktls_save_CFLAGS"
41145 if test "X$thread_CFLAGS" != Xfailed; then
41146 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
41147 if test "$cross_compiling" = yes; then
41148 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41149 See \`config.log' for more details." >&5
41150 echo "$as_me: error: cannot run test program while cross compiling
41151 See \`config.log' for more details." >&2;}
41152 { (exit 1); exit 1; }; }
41153 else
41154 cat >conftest.$ac_ext <<_ACEOF
41155 /* confdefs.h. */
41156 _ACEOF
41157 cat confdefs.h >>conftest.$ac_ext
41158 cat >>conftest.$ac_ext <<_ACEOF
41159 /* end confdefs.h. */
41160 #include <pthread.h>
41161 __thread int a;
41162 static int *a_in_other_thread;
41163 static void *
41164 thread_func (void *arg)
41166 a_in_other_thread = &a;
41167 return (void *)0;
41170 main ()
41172 pthread_t thread;
41173 void *thread_retval;
41174 int *a_in_main_thread;
41175 if (pthread_create (&thread, (pthread_attr_t *)0,
41176 thread_func, (void *)0))
41177 return 0;
41178 a_in_main_thread = &a;
41179 if (pthread_join (thread, &thread_retval))
41180 return 0;
41181 return (a_in_other_thread == a_in_main_thread);
41183 return 0;
41185 _ACEOF
41186 rm -f conftest$ac_exeext
41187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41188 (eval $ac_link) 2>&5
41189 ac_status=$?
41190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41191 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41193 (eval $ac_try) 2>&5
41194 ac_status=$?
41195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41196 (exit $ac_status); }; }; then
41197 gcc_cv_have_tls=yes
41198 else
41199 echo "$as_me: program exited with status $ac_status" >&5
41200 echo "$as_me: failed program was:" >&5
41201 sed 's/^/| /' conftest.$ac_ext >&5
41203 ( exit $ac_status )
41204 gcc_cv_have_tls=no
41206 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41208 CFLAGS="$chktls_save_CFLAGS"
41211 else
41212 echo "$as_me: program exited with status $ac_status" >&5
41213 echo "$as_me: failed program was:" >&5
41214 sed 's/^/| /' conftest.$ac_ext >&5
41216 ( exit $ac_status )
41217 gcc_cv_have_tls=no
41219 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41222 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
41223 echo "${ECHO_T}$gcc_cv_have_tls" >&6
41224 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
41226 cat >>confdefs.h <<\_ACEOF
41227 #define HAVE_TLS 1
41228 _ACEOF
41232 # For _Unwind_GetIPInfo.
41236 ac_ext=cc
41237 ac_cpp='$CXXCPP $CPPFLAGS'
41238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41242 ac_save_CXXFLAGS="$CXXFLAGS"
41243 CXXFLAGS="$CXXFLAGS -fno-exceptions"
41244 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
41245 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
41246 if test "${gcc_cv_getipinfo+set}" = set; then
41247 echo $ECHO_N "(cached) $ECHO_C" >&6
41248 else
41250 if test x$gcc_no_link = xyes; then
41251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41253 { (exit 1); exit 1; }; }
41255 cat >conftest.$ac_ext <<_ACEOF
41256 /* confdefs.h. */
41257 _ACEOF
41258 cat confdefs.h >>conftest.$ac_ext
41259 cat >>conftest.$ac_ext <<_ACEOF
41260 /* end confdefs.h. */
41261 extern "C" { extern void _Unwind_GetIPInfo(); }
41263 main ()
41265 _Unwind_GetIPInfo();
41267 return 0;
41269 _ACEOF
41270 rm -f conftest.$ac_objext conftest$ac_exeext
41271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41272 (eval $ac_link) 2>conftest.er1
41273 ac_status=$?
41274 grep -v '^ *+' conftest.er1 >conftest.err
41275 rm -f conftest.er1
41276 cat conftest.err >&5
41277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41278 (exit $ac_status); } &&
41279 { ac_try='test -z "$ac_cxx_werror_flag"
41280 || test ! -s conftest.err'
41281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41282 (eval $ac_try) 2>&5
41283 ac_status=$?
41284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41285 (exit $ac_status); }; } &&
41286 { ac_try='test -s conftest$ac_exeext'
41287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41288 (eval $ac_try) 2>&5
41289 ac_status=$?
41290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41291 (exit $ac_status); }; }; then
41292 gcc_cv_getipinfo=yes
41293 else
41294 echo "$as_me: failed program was:" >&5
41295 sed 's/^/| /' conftest.$ac_ext >&5
41297 gcc_cv_getipinfo=no
41299 rm -f conftest.err conftest.$ac_objext \
41300 conftest$ac_exeext conftest.$ac_ext
41304 if test $gcc_cv_getipinfo = yes; then
41306 cat >>confdefs.h <<\_ACEOF
41307 #define HAVE_GETIPINFO 1
41308 _ACEOF
41311 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
41312 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
41313 CXXFLAGS="$ac_save_CXXFLAGS"
41314 ac_ext=c
41315 ac_cpp='$CPP $CPPFLAGS'
41316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41323 if test "${ac_cv_header_locale_h+set}" = set; then
41324 echo "$as_me:$LINENO: checking for locale.h" >&5
41325 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41326 if test "${ac_cv_header_locale_h+set}" = set; then
41327 echo $ECHO_N "(cached) $ECHO_C" >&6
41329 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41330 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41331 else
41332 # Is the header compilable?
41333 echo "$as_me:$LINENO: checking locale.h usability" >&5
41334 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
41335 cat >conftest.$ac_ext <<_ACEOF
41336 /* confdefs.h. */
41337 _ACEOF
41338 cat confdefs.h >>conftest.$ac_ext
41339 cat >>conftest.$ac_ext <<_ACEOF
41340 /* end confdefs.h. */
41341 $ac_includes_default
41342 #include <locale.h>
41343 _ACEOF
41344 rm -f conftest.$ac_objext
41345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41346 (eval $ac_compile) 2>conftest.er1
41347 ac_status=$?
41348 grep -v '^ *+' conftest.er1 >conftest.err
41349 rm -f conftest.er1
41350 cat conftest.err >&5
41351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41352 (exit $ac_status); } &&
41353 { ac_try='test -z "$ac_c_werror_flag"
41354 || test ! -s conftest.err'
41355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41356 (eval $ac_try) 2>&5
41357 ac_status=$?
41358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41359 (exit $ac_status); }; } &&
41360 { ac_try='test -s conftest.$ac_objext'
41361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41362 (eval $ac_try) 2>&5
41363 ac_status=$?
41364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41365 (exit $ac_status); }; }; then
41366 ac_header_compiler=yes
41367 else
41368 echo "$as_me: failed program was:" >&5
41369 sed 's/^/| /' conftest.$ac_ext >&5
41371 ac_header_compiler=no
41373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41374 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41375 echo "${ECHO_T}$ac_header_compiler" >&6
41377 # Is the header present?
41378 echo "$as_me:$LINENO: checking locale.h presence" >&5
41379 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
41380 cat >conftest.$ac_ext <<_ACEOF
41381 /* confdefs.h. */
41382 _ACEOF
41383 cat confdefs.h >>conftest.$ac_ext
41384 cat >>conftest.$ac_ext <<_ACEOF
41385 /* end confdefs.h. */
41386 #include <locale.h>
41387 _ACEOF
41388 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41389 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41390 ac_status=$?
41391 grep -v '^ *+' conftest.er1 >conftest.err
41392 rm -f conftest.er1
41393 cat conftest.err >&5
41394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41395 (exit $ac_status); } >/dev/null; then
41396 if test -s conftest.err; then
41397 ac_cpp_err=$ac_c_preproc_warn_flag
41398 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41399 else
41400 ac_cpp_err=
41402 else
41403 ac_cpp_err=yes
41405 if test -z "$ac_cpp_err"; then
41406 ac_header_preproc=yes
41407 else
41408 echo "$as_me: failed program was:" >&5
41409 sed 's/^/| /' conftest.$ac_ext >&5
41411 ac_header_preproc=no
41413 rm -f conftest.err conftest.$ac_ext
41414 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41415 echo "${ECHO_T}$ac_header_preproc" >&6
41417 # So? What about this header?
41418 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41419 yes:no: )
41420 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
41421 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
41422 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
41423 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
41424 ac_header_preproc=yes
41426 no:yes:* )
41427 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
41428 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
41429 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
41430 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
41431 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
41432 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
41433 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
41434 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
41435 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
41436 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
41437 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
41438 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
41440 cat <<\_ASBOX
41441 ## ----------------------------------------- ##
41442 ## Report this to the package-unused lists. ##
41443 ## ----------------------------------------- ##
41444 _ASBOX
41446 sed "s/^/$as_me: WARNING: /" >&2
41448 esac
41449 echo "$as_me:$LINENO: checking for locale.h" >&5
41450 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41451 if test "${ac_cv_header_locale_h+set}" = set; then
41452 echo $ECHO_N "(cached) $ECHO_C" >&6
41453 else
41454 ac_cv_header_locale_h=$ac_header_preproc
41456 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41457 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41460 if test $ac_cv_header_locale_h = yes; then
41462 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
41463 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
41464 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
41465 echo $ECHO_N "(cached) $ECHO_C" >&6
41466 else
41467 if test x$gcc_no_link = xyes; then
41468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41470 { (exit 1); exit 1; }; }
41472 cat >conftest.$ac_ext <<_ACEOF
41473 /* confdefs.h. */
41474 _ACEOF
41475 cat confdefs.h >>conftest.$ac_ext
41476 cat >>conftest.$ac_ext <<_ACEOF
41477 /* end confdefs.h. */
41478 #include <locale.h>
41480 main ()
41482 return LC_MESSAGES
41484 return 0;
41486 _ACEOF
41487 rm -f conftest.$ac_objext conftest$ac_exeext
41488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41489 (eval $ac_link) 2>conftest.er1
41490 ac_status=$?
41491 grep -v '^ *+' conftest.er1 >conftest.err
41492 rm -f conftest.er1
41493 cat conftest.err >&5
41494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41495 (exit $ac_status); } &&
41496 { ac_try='test -z "$ac_c_werror_flag"
41497 || test ! -s conftest.err'
41498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41499 (eval $ac_try) 2>&5
41500 ac_status=$?
41501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41502 (exit $ac_status); }; } &&
41503 { ac_try='test -s conftest$ac_exeext'
41504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41505 (eval $ac_try) 2>&5
41506 ac_status=$?
41507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41508 (exit $ac_status); }; }; then
41509 ac_cv_val_LC_MESSAGES=yes
41510 else
41511 echo "$as_me: failed program was:" >&5
41512 sed 's/^/| /' conftest.$ac_ext >&5
41514 ac_cv_val_LC_MESSAGES=no
41516 rm -f conftest.err conftest.$ac_objext \
41517 conftest$ac_exeext conftest.$ac_ext
41519 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
41520 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
41521 if test $ac_cv_val_LC_MESSAGES = yes; then
41523 cat >>confdefs.h <<\_ACEOF
41524 #define HAVE_LC_MESSAGES 1
41525 _ACEOF
41534 cat >conftest.$ac_ext <<_ACEOF
41535 /* confdefs.h. */
41536 _ACEOF
41537 cat confdefs.h >>conftest.$ac_ext
41538 cat >>conftest.$ac_ext <<_ACEOF
41539 /* end confdefs.h. */
41540 #include <setjmp.h>
41542 main ()
41544 sigjmp_buf env;
41545 while (! sigsetjmp (env, 1))
41546 siglongjmp (env, 1);
41549 return 0;
41551 _ACEOF
41552 rm -f conftest.$ac_objext
41553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41554 (eval $ac_compile) 2>conftest.er1
41555 ac_status=$?
41556 grep -v '^ *+' conftest.er1 >conftest.err
41557 rm -f conftest.er1
41558 cat conftest.err >&5
41559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41560 (exit $ac_status); } &&
41561 { ac_try='test -z "$ac_c_werror_flag"
41562 || test ! -s conftest.err'
41563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41564 (eval $ac_try) 2>&5
41565 ac_status=$?
41566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41567 (exit $ac_status); }; } &&
41568 { ac_try='test -s conftest.$ac_objext'
41569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41570 (eval $ac_try) 2>&5
41571 ac_status=$?
41572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41573 (exit $ac_status); }; }; then
41575 cat >>confdefs.h <<\_ACEOF
41576 #define HAVE_SIGSETJMP 1
41577 _ACEOF
41579 else
41580 echo "$as_me: failed program was:" >&5
41581 sed 's/^/| /' conftest.$ac_ext >&5
41584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41586 if test x$gcc_no_link = xyes; then
41587 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
41588 ac_cv_func_mmap_fixed_mapped=no
41591 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
41594 for ac_header in stdlib.h unistd.h
41596 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41598 echo "$as_me:$LINENO: checking for $ac_header" >&5
41599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41601 echo $ECHO_N "(cached) $ECHO_C" >&6
41603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41604 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41605 else
41606 # Is the header compilable?
41607 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41608 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41609 cat >conftest.$ac_ext <<_ACEOF
41610 /* confdefs.h. */
41611 _ACEOF
41612 cat confdefs.h >>conftest.$ac_ext
41613 cat >>conftest.$ac_ext <<_ACEOF
41614 /* end confdefs.h. */
41615 $ac_includes_default
41616 #include <$ac_header>
41617 _ACEOF
41618 rm -f conftest.$ac_objext
41619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41620 (eval $ac_compile) 2>conftest.er1
41621 ac_status=$?
41622 grep -v '^ *+' conftest.er1 >conftest.err
41623 rm -f conftest.er1
41624 cat conftest.err >&5
41625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41626 (exit $ac_status); } &&
41627 { ac_try='test -z "$ac_c_werror_flag"
41628 || test ! -s conftest.err'
41629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41630 (eval $ac_try) 2>&5
41631 ac_status=$?
41632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41633 (exit $ac_status); }; } &&
41634 { ac_try='test -s conftest.$ac_objext'
41635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41636 (eval $ac_try) 2>&5
41637 ac_status=$?
41638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41639 (exit $ac_status); }; }; then
41640 ac_header_compiler=yes
41641 else
41642 echo "$as_me: failed program was:" >&5
41643 sed 's/^/| /' conftest.$ac_ext >&5
41645 ac_header_compiler=no
41647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41648 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41649 echo "${ECHO_T}$ac_header_compiler" >&6
41651 # Is the header present?
41652 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41653 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41654 cat >conftest.$ac_ext <<_ACEOF
41655 /* confdefs.h. */
41656 _ACEOF
41657 cat confdefs.h >>conftest.$ac_ext
41658 cat >>conftest.$ac_ext <<_ACEOF
41659 /* end confdefs.h. */
41660 #include <$ac_header>
41661 _ACEOF
41662 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41663 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41664 ac_status=$?
41665 grep -v '^ *+' conftest.er1 >conftest.err
41666 rm -f conftest.er1
41667 cat conftest.err >&5
41668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41669 (exit $ac_status); } >/dev/null; then
41670 if test -s conftest.err; then
41671 ac_cpp_err=$ac_c_preproc_warn_flag
41672 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41673 else
41674 ac_cpp_err=
41676 else
41677 ac_cpp_err=yes
41679 if test -z "$ac_cpp_err"; then
41680 ac_header_preproc=yes
41681 else
41682 echo "$as_me: failed program was:" >&5
41683 sed 's/^/| /' conftest.$ac_ext >&5
41685 ac_header_preproc=no
41687 rm -f conftest.err conftest.$ac_ext
41688 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41689 echo "${ECHO_T}$ac_header_preproc" >&6
41691 # So? What about this header?
41692 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41693 yes:no: )
41694 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41695 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41696 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41697 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41698 ac_header_preproc=yes
41700 no:yes:* )
41701 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41702 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41703 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41704 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41705 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41706 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41707 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41708 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41709 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41710 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41711 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41712 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41714 cat <<\_ASBOX
41715 ## ----------------------------------------- ##
41716 ## Report this to the package-unused lists. ##
41717 ## ----------------------------------------- ##
41718 _ASBOX
41720 sed "s/^/$as_me: WARNING: /" >&2
41722 esac
41723 echo "$as_me:$LINENO: checking for $ac_header" >&5
41724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41726 echo $ECHO_N "(cached) $ECHO_C" >&6
41727 else
41728 eval "$as_ac_Header=\$ac_header_preproc"
41730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41731 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41734 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41735 cat >>confdefs.h <<_ACEOF
41736 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41737 _ACEOF
41741 done
41744 for ac_func in getpagesize
41746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41747 echo "$as_me:$LINENO: checking for $ac_func" >&5
41748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41749 if eval "test \"\${$as_ac_var+set}\" = set"; then
41750 echo $ECHO_N "(cached) $ECHO_C" >&6
41751 else
41752 if test x$gcc_no_link = xyes; then
41753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41755 { (exit 1); exit 1; }; }
41757 cat >conftest.$ac_ext <<_ACEOF
41758 /* confdefs.h. */
41759 _ACEOF
41760 cat confdefs.h >>conftest.$ac_ext
41761 cat >>conftest.$ac_ext <<_ACEOF
41762 /* end confdefs.h. */
41763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41765 #define $ac_func innocuous_$ac_func
41767 /* System header to define __stub macros and hopefully few prototypes,
41768 which can conflict with char $ac_func (); below.
41769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41770 <limits.h> exists even on freestanding compilers. */
41772 #ifdef __STDC__
41773 # include <limits.h>
41774 #else
41775 # include <assert.h>
41776 #endif
41778 #undef $ac_func
41780 /* Override any gcc2 internal prototype to avoid an error. */
41781 #ifdef __cplusplus
41782 extern "C"
41784 #endif
41785 /* We use char because int might match the return type of a gcc2
41786 builtin and then its argument prototype would still apply. */
41787 char $ac_func ();
41788 /* The GNU C library defines this for functions which it implements
41789 to always fail with ENOSYS. Some functions are actually named
41790 something starting with __ and the normal name is an alias. */
41791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41792 choke me
41793 #else
41794 char (*f) () = $ac_func;
41795 #endif
41796 #ifdef __cplusplus
41798 #endif
41801 main ()
41803 return f != $ac_func;
41805 return 0;
41807 _ACEOF
41808 rm -f conftest.$ac_objext conftest$ac_exeext
41809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41810 (eval $ac_link) 2>conftest.er1
41811 ac_status=$?
41812 grep -v '^ *+' conftest.er1 >conftest.err
41813 rm -f conftest.er1
41814 cat conftest.err >&5
41815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41816 (exit $ac_status); } &&
41817 { ac_try='test -z "$ac_c_werror_flag"
41818 || test ! -s conftest.err'
41819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41820 (eval $ac_try) 2>&5
41821 ac_status=$?
41822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41823 (exit $ac_status); }; } &&
41824 { ac_try='test -s conftest$ac_exeext'
41825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41826 (eval $ac_try) 2>&5
41827 ac_status=$?
41828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41829 (exit $ac_status); }; }; then
41830 eval "$as_ac_var=yes"
41831 else
41832 echo "$as_me: failed program was:" >&5
41833 sed 's/^/| /' conftest.$ac_ext >&5
41835 eval "$as_ac_var=no"
41837 rm -f conftest.err conftest.$ac_objext \
41838 conftest$ac_exeext conftest.$ac_ext
41840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41842 if test `eval echo '${'$as_ac_var'}'` = yes; then
41843 cat >>confdefs.h <<_ACEOF
41844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41845 _ACEOF
41848 done
41850 echo "$as_me:$LINENO: checking for working mmap" >&5
41851 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
41852 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
41853 echo $ECHO_N "(cached) $ECHO_C" >&6
41854 else
41855 if test "$cross_compiling" = yes; then
41856 ac_cv_func_mmap_fixed_mapped=no
41857 else
41858 cat >conftest.$ac_ext <<_ACEOF
41859 /* confdefs.h. */
41860 _ACEOF
41861 cat confdefs.h >>conftest.$ac_ext
41862 cat >>conftest.$ac_ext <<_ACEOF
41863 /* end confdefs.h. */
41864 $ac_includes_default
41865 /* malloc might have been renamed as rpl_malloc. */
41866 #undef malloc
41868 /* Thanks to Mike Haertel and Jim Avera for this test.
41869 Here is a matrix of mmap possibilities:
41870 mmap private not fixed
41871 mmap private fixed at somewhere currently unmapped
41872 mmap private fixed at somewhere already mapped
41873 mmap shared not fixed
41874 mmap shared fixed at somewhere currently unmapped
41875 mmap shared fixed at somewhere already mapped
41876 For private mappings, we should verify that changes cannot be read()
41877 back from the file, nor mmap's back from the file at a different
41878 address. (There have been systems where private was not correctly
41879 implemented like the infamous i386 svr4.0, and systems where the
41880 VM page cache was not coherent with the file system buffer cache
41881 like early versions of FreeBSD and possibly contemporary NetBSD.)
41882 For shared mappings, we should conversely verify that changes get
41883 propagated back to all the places they're supposed to be.
41885 Grep wants private fixed already mapped.
41886 The main things grep needs to know about mmap are:
41887 * does it exist and is it safe to write into the mmap'd area
41888 * how to use it (BSD variants) */
41890 #include <fcntl.h>
41891 #include <sys/mman.h>
41893 #if !STDC_HEADERS && !HAVE_STDLIB_H
41894 char *malloc ();
41895 #endif
41897 /* This mess was copied from the GNU getpagesize.h. */
41898 #if !HAVE_GETPAGESIZE
41899 /* Assume that all systems that can run configure have sys/param.h. */
41900 # if !HAVE_SYS_PARAM_H
41901 # define HAVE_SYS_PARAM_H 1
41902 # endif
41904 # ifdef _SC_PAGESIZE
41905 # define getpagesize() sysconf(_SC_PAGESIZE)
41906 # else /* no _SC_PAGESIZE */
41907 # if HAVE_SYS_PARAM_H
41908 # include <sys/param.h>
41909 # ifdef EXEC_PAGESIZE
41910 # define getpagesize() EXEC_PAGESIZE
41911 # else /* no EXEC_PAGESIZE */
41912 # ifdef NBPG
41913 # define getpagesize() NBPG * CLSIZE
41914 # ifndef CLSIZE
41915 # define CLSIZE 1
41916 # endif /* no CLSIZE */
41917 # else /* no NBPG */
41918 # ifdef NBPC
41919 # define getpagesize() NBPC
41920 # else /* no NBPC */
41921 # ifdef PAGESIZE
41922 # define getpagesize() PAGESIZE
41923 # endif /* PAGESIZE */
41924 # endif /* no NBPC */
41925 # endif /* no NBPG */
41926 # endif /* no EXEC_PAGESIZE */
41927 # else /* no HAVE_SYS_PARAM_H */
41928 # define getpagesize() 8192 /* punt totally */
41929 # endif /* no HAVE_SYS_PARAM_H */
41930 # endif /* no _SC_PAGESIZE */
41932 #endif /* no HAVE_GETPAGESIZE */
41935 main ()
41937 char *data, *data2, *data3;
41938 int i, pagesize;
41939 int fd;
41941 pagesize = getpagesize ();
41943 /* First, make a file with some known garbage in it. */
41944 data = (char *) malloc (pagesize);
41945 if (!data)
41946 exit (1);
41947 for (i = 0; i < pagesize; ++i)
41948 *(data + i) = rand ();
41949 umask (0);
41950 fd = creat ("conftest.mmap", 0600);
41951 if (fd < 0)
41952 exit (1);
41953 if (write (fd, data, pagesize) != pagesize)
41954 exit (1);
41955 close (fd);
41957 /* Next, try to mmap the file at a fixed address which already has
41958 something else allocated at it. If we can, also make sure that
41959 we see the same garbage. */
41960 fd = open ("conftest.mmap", O_RDWR);
41961 if (fd < 0)
41962 exit (1);
41963 data2 = (char *) malloc (2 * pagesize);
41964 if (!data2)
41965 exit (1);
41966 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
41967 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
41968 MAP_PRIVATE | MAP_FIXED, fd, 0L))
41969 exit (1);
41970 for (i = 0; i < pagesize; ++i)
41971 if (*(data + i) != *(data2 + i))
41972 exit (1);
41974 /* Finally, make sure that changes to the mapped area do not
41975 percolate back to the file as seen by read(). (This is a bug on
41976 some variants of i386 svr4.0.) */
41977 for (i = 0; i < pagesize; ++i)
41978 *(data2 + i) = *(data2 + i) + 1;
41979 data3 = (char *) malloc (pagesize);
41980 if (!data3)
41981 exit (1);
41982 if (read (fd, data3, pagesize) != pagesize)
41983 exit (1);
41984 for (i = 0; i < pagesize; ++i)
41985 if (*(data + i) != *(data3 + i))
41986 exit (1);
41987 close (fd);
41988 exit (0);
41990 _ACEOF
41991 rm -f conftest$ac_exeext
41992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41993 (eval $ac_link) 2>&5
41994 ac_status=$?
41995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41996 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41998 (eval $ac_try) 2>&5
41999 ac_status=$?
42000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42001 (exit $ac_status); }; }; then
42002 ac_cv_func_mmap_fixed_mapped=yes
42003 else
42004 echo "$as_me: program exited with status $ac_status" >&5
42005 echo "$as_me: failed program was:" >&5
42006 sed 's/^/| /' conftest.$ac_ext >&5
42008 ( exit $ac_status )
42009 ac_cv_func_mmap_fixed_mapped=no
42011 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42014 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
42015 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
42016 if test $ac_cv_func_mmap_fixed_mapped = yes; then
42018 cat >>confdefs.h <<\_ACEOF
42019 #define HAVE_MMAP 1
42020 _ACEOF
42023 rm -f conftest.mmap
42027 # For iconv support.
42029 if test "X$prefix" = "XNONE"; then
42030 acl_final_prefix="$ac_default_prefix"
42031 else
42032 acl_final_prefix="$prefix"
42034 if test "X$exec_prefix" = "XNONE"; then
42035 acl_final_exec_prefix='${prefix}'
42036 else
42037 acl_final_exec_prefix="$exec_prefix"
42039 acl_save_prefix="$prefix"
42040 prefix="$acl_final_prefix"
42041 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
42042 prefix="$acl_save_prefix"
42045 # Check whether --with-gnu-ld or --without-gnu-ld was given.
42046 if test "${with_gnu_ld+set}" = set; then
42047 withval="$with_gnu_ld"
42048 test "$withval" = no || with_gnu_ld=yes
42049 else
42050 with_gnu_ld=no
42052 # Prepare PATH_SEPARATOR.
42053 # The user is always right.
42054 if test "${PATH_SEPARATOR+set}" != set; then
42055 echo "#! /bin/sh" >conf$$.sh
42056 echo "exit 0" >>conf$$.sh
42057 chmod +x conf$$.sh
42058 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42059 PATH_SEPARATOR=';'
42060 else
42061 PATH_SEPARATOR=:
42063 rm -f conf$$.sh
42065 ac_prog=ld
42066 if test "$GCC" = yes; then
42067 # Check if gcc -print-prog-name=ld gives a path.
42068 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
42069 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
42070 case $host in
42071 *-*-mingw*)
42072 # gcc leaves a trailing carriage return which upsets mingw
42073 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
42075 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
42076 esac
42077 case $ac_prog in
42078 # Accept absolute paths.
42079 [\\/]* | [A-Za-z]:[\\/]*)
42080 re_direlt='/[^/][^/]*/\.\./'
42081 # Canonicalize the path of ld
42082 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
42083 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
42084 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
42085 done
42086 test -z "$LD" && LD="$ac_prog"
42089 # If it fails, then pretend we aren't using GCC.
42090 ac_prog=ld
42093 # If it is relative, then search for the first ld in PATH.
42094 with_gnu_ld=unknown
42096 esac
42097 elif test "$with_gnu_ld" = yes; then
42098 echo "$as_me:$LINENO: checking for GNU ld" >&5
42099 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
42100 else
42101 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
42102 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
42104 if test "${acl_cv_path_LD+set}" = set; then
42105 echo $ECHO_N "(cached) $ECHO_C" >&6
42106 else
42107 if test -z "$LD"; then
42108 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
42109 for ac_dir in $PATH; do
42110 test -z "$ac_dir" && ac_dir=.
42111 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
42112 acl_cv_path_LD="$ac_dir/$ac_prog"
42113 # Check to see if the program is GNU ld. I'd rather use --version,
42114 # but apparently some GNU ld's only accept -v.
42115 # Break only if it was the GNU/non-GNU ld that we prefer.
42116 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
42117 test "$with_gnu_ld" != no && break
42118 else
42119 test "$with_gnu_ld" != yes && break
42122 done
42123 IFS="$ac_save_ifs"
42124 else
42125 acl_cv_path_LD="$LD" # Let the user override the test with a path.
42129 LD="$acl_cv_path_LD"
42130 if test -n "$LD"; then
42131 echo "$as_me:$LINENO: result: $LD" >&5
42132 echo "${ECHO_T}$LD" >&6
42133 else
42134 echo "$as_me:$LINENO: result: no" >&5
42135 echo "${ECHO_T}no" >&6
42137 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
42138 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
42139 { (exit 1); exit 1; }; }
42140 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
42141 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
42142 if test "${acl_cv_prog_gnu_ld+set}" = set; then
42143 echo $ECHO_N "(cached) $ECHO_C" >&6
42144 else
42145 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
42146 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
42147 acl_cv_prog_gnu_ld=yes
42148 else
42149 acl_cv_prog_gnu_ld=no
42152 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
42153 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
42154 with_gnu_ld=$acl_cv_prog_gnu_ld
42158 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
42159 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
42160 if test "${acl_cv_rpath+set}" = set; then
42161 echo $ECHO_N "(cached) $ECHO_C" >&6
42162 else
42164 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
42165 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
42166 . ./conftest.sh
42167 rm -f ./conftest.sh
42168 acl_cv_rpath=done
42171 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
42172 echo "${ECHO_T}$acl_cv_rpath" >&6
42173 wl="$acl_cv_wl"
42174 libext="$acl_cv_libext"
42175 shlibext="$acl_cv_shlibext"
42176 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
42177 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
42178 hardcode_direct="$acl_cv_hardcode_direct"
42179 hardcode_minus_L="$acl_cv_hardcode_minus_L"
42180 # Check whether --enable-rpath or --disable-rpath was given.
42181 if test "${enable_rpath+set}" = set; then
42182 enableval="$enable_rpath"
42184 else
42185 enable_rpath=yes
42194 use_additional=yes
42196 acl_save_prefix="$prefix"
42197 prefix="$acl_final_prefix"
42198 acl_save_exec_prefix="$exec_prefix"
42199 exec_prefix="$acl_final_exec_prefix"
42201 eval additional_includedir=\"$includedir\"
42202 eval additional_libdir=\"$libdir\"
42204 exec_prefix="$acl_save_exec_prefix"
42205 prefix="$acl_save_prefix"
42208 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
42209 if test "${with_libiconv_prefix+set}" = set; then
42210 withval="$with_libiconv_prefix"
42212 if test "X$withval" = "Xno"; then
42213 use_additional=no
42214 else
42215 if test "X$withval" = "X"; then
42217 acl_save_prefix="$prefix"
42218 prefix="$acl_final_prefix"
42219 acl_save_exec_prefix="$exec_prefix"
42220 exec_prefix="$acl_final_exec_prefix"
42222 eval additional_includedir=\"$includedir\"
42223 eval additional_libdir=\"$libdir\"
42225 exec_prefix="$acl_save_exec_prefix"
42226 prefix="$acl_save_prefix"
42228 else
42229 additional_includedir="$withval/include"
42230 additional_libdir="$withval/lib"
42235 LIBICONV=
42236 LTLIBICONV=
42237 INCICONV=
42238 rpathdirs=
42239 ltrpathdirs=
42240 names_already_handled=
42241 names_next_round='iconv '
42242 while test -n "$names_next_round"; do
42243 names_this_round="$names_next_round"
42244 names_next_round=
42245 for name in $names_this_round; do
42246 already_handled=
42247 for n in $names_already_handled; do
42248 if test "$n" = "$name"; then
42249 already_handled=yes
42250 break
42252 done
42253 if test -z "$already_handled"; then
42254 names_already_handled="$names_already_handled $name"
42255 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
42256 eval value=\"\$HAVE_LIB$uppername\"
42257 if test -n "$value"; then
42258 if test "$value" = yes; then
42259 eval value=\"\$LIB$uppername\"
42260 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
42261 eval value=\"\$LTLIB$uppername\"
42262 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
42263 else
42266 else
42267 found_dir=
42268 found_la=
42269 found_so=
42270 found_a=
42271 if test $use_additional = yes; then
42272 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
42273 found_dir="$additional_libdir"
42274 found_so="$additional_libdir/lib$name.$shlibext"
42275 if test -f "$additional_libdir/lib$name.la"; then
42276 found_la="$additional_libdir/lib$name.la"
42278 else
42279 if test -f "$additional_libdir/lib$name.$libext"; then
42280 found_dir="$additional_libdir"
42281 found_a="$additional_libdir/lib$name.$libext"
42282 if test -f "$additional_libdir/lib$name.la"; then
42283 found_la="$additional_libdir/lib$name.la"
42288 if test "X$found_dir" = "X"; then
42289 for x in $LDFLAGS $LTLIBICONV; do
42291 acl_save_prefix="$prefix"
42292 prefix="$acl_final_prefix"
42293 acl_save_exec_prefix="$exec_prefix"
42294 exec_prefix="$acl_final_exec_prefix"
42295 eval x=\"$x\"
42296 exec_prefix="$acl_save_exec_prefix"
42297 prefix="$acl_save_prefix"
42299 case "$x" in
42300 -L*)
42301 dir=`echo "X$x" | sed -e 's/^X-L//'`
42302 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
42303 found_dir="$dir"
42304 found_so="$dir/lib$name.$shlibext"
42305 if test -f "$dir/lib$name.la"; then
42306 found_la="$dir/lib$name.la"
42308 else
42309 if test -f "$dir/lib$name.$libext"; then
42310 found_dir="$dir"
42311 found_a="$dir/lib$name.$libext"
42312 if test -f "$dir/lib$name.la"; then
42313 found_la="$dir/lib$name.la"
42318 esac
42319 if test "X$found_dir" != "X"; then
42320 break
42322 done
42324 if test "X$found_dir" != "X"; then
42325 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
42326 if test "X$found_so" != "X"; then
42327 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
42328 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42329 else
42330 haveit=
42331 for x in $ltrpathdirs; do
42332 if test "X$x" = "X$found_dir"; then
42333 haveit=yes
42334 break
42336 done
42337 if test -z "$haveit"; then
42338 ltrpathdirs="$ltrpathdirs $found_dir"
42340 if test "$hardcode_direct" = yes; then
42341 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42342 else
42343 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
42344 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42345 haveit=
42346 for x in $rpathdirs; do
42347 if test "X$x" = "X$found_dir"; then
42348 haveit=yes
42349 break
42351 done
42352 if test -z "$haveit"; then
42353 rpathdirs="$rpathdirs $found_dir"
42355 else
42356 haveit=
42357 for x in $LDFLAGS $LIBICONV; do
42359 acl_save_prefix="$prefix"
42360 prefix="$acl_final_prefix"
42361 acl_save_exec_prefix="$exec_prefix"
42362 exec_prefix="$acl_final_exec_prefix"
42363 eval x=\"$x\"
42364 exec_prefix="$acl_save_exec_prefix"
42365 prefix="$acl_save_prefix"
42367 if test "X$x" = "X-L$found_dir"; then
42368 haveit=yes
42369 break
42371 done
42372 if test -z "$haveit"; then
42373 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
42375 if test "$hardcode_minus_L" != no; then
42376 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42377 else
42378 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42383 else
42384 if test "X$found_a" != "X"; then
42385 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
42386 else
42387 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
42390 additional_includedir=
42391 case "$found_dir" in
42392 */lib | */lib/)
42393 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
42394 additional_includedir="$basedir/include"
42396 esac
42397 if test "X$additional_includedir" != "X"; then
42398 if test "X$additional_includedir" != "X/usr/include"; then
42399 haveit=
42400 if test "X$additional_includedir" = "X/usr/local/include"; then
42401 if test -n "$GCC"; then
42402 case $host_os in
42403 linux*) haveit=yes;;
42404 esac
42407 if test -z "$haveit"; then
42408 for x in $CPPFLAGS $INCICONV; do
42410 acl_save_prefix="$prefix"
42411 prefix="$acl_final_prefix"
42412 acl_save_exec_prefix="$exec_prefix"
42413 exec_prefix="$acl_final_exec_prefix"
42414 eval x=\"$x\"
42415 exec_prefix="$acl_save_exec_prefix"
42416 prefix="$acl_save_prefix"
42418 if test "X$x" = "X-I$additional_includedir"; then
42419 haveit=yes
42420 break
42422 done
42423 if test -z "$haveit"; then
42424 if test -d "$additional_includedir"; then
42425 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
42431 if test -n "$found_la"; then
42432 save_libdir="$libdir"
42433 case "$found_la" in
42434 */* | *\\*) . "$found_la" ;;
42435 *) . "./$found_la" ;;
42436 esac
42437 libdir="$save_libdir"
42438 for dep in $dependency_libs; do
42439 case "$dep" in
42440 -L*)
42441 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
42442 if test "X$additional_libdir" != "X/usr/lib"; then
42443 haveit=
42444 if test "X$additional_libdir" = "X/usr/local/lib"; then
42445 if test -n "$GCC"; then
42446 case $host_os in
42447 linux*) haveit=yes;;
42448 esac
42451 if test -z "$haveit"; then
42452 haveit=
42453 for x in $LDFLAGS $LIBICONV; do
42455 acl_save_prefix="$prefix"
42456 prefix="$acl_final_prefix"
42457 acl_save_exec_prefix="$exec_prefix"
42458 exec_prefix="$acl_final_exec_prefix"
42459 eval x=\"$x\"
42460 exec_prefix="$acl_save_exec_prefix"
42461 prefix="$acl_save_prefix"
42463 if test "X$x" = "X-L$additional_libdir"; then
42464 haveit=yes
42465 break
42467 done
42468 if test -z "$haveit"; then
42469 if test -d "$additional_libdir"; then
42470 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
42473 haveit=
42474 for x in $LDFLAGS $LTLIBICONV; do
42476 acl_save_prefix="$prefix"
42477 prefix="$acl_final_prefix"
42478 acl_save_exec_prefix="$exec_prefix"
42479 exec_prefix="$acl_final_exec_prefix"
42480 eval x=\"$x\"
42481 exec_prefix="$acl_save_exec_prefix"
42482 prefix="$acl_save_prefix"
42484 if test "X$x" = "X-L$additional_libdir"; then
42485 haveit=yes
42486 break
42488 done
42489 if test -z "$haveit"; then
42490 if test -d "$additional_libdir"; then
42491 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
42497 -R*)
42498 dir=`echo "X$dep" | sed -e 's/^X-R//'`
42499 if test "$enable_rpath" != no; then
42500 haveit=
42501 for x in $rpathdirs; do
42502 if test "X$x" = "X$dir"; then
42503 haveit=yes
42504 break
42506 done
42507 if test -z "$haveit"; then
42508 rpathdirs="$rpathdirs $dir"
42510 haveit=
42511 for x in $ltrpathdirs; do
42512 if test "X$x" = "X$dir"; then
42513 haveit=yes
42514 break
42516 done
42517 if test -z "$haveit"; then
42518 ltrpathdirs="$ltrpathdirs $dir"
42522 -l*)
42523 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
42525 *.la)
42526 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
42529 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
42530 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
42532 esac
42533 done
42535 else
42536 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42537 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
42541 done
42542 done
42543 if test "X$rpathdirs" != "X"; then
42544 if test -n "$hardcode_libdir_separator"; then
42545 alldirs=
42546 for found_dir in $rpathdirs; do
42547 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
42548 done
42549 acl_save_libdir="$libdir"
42550 libdir="$alldirs"
42551 eval flag=\"$hardcode_libdir_flag_spec\"
42552 libdir="$acl_save_libdir"
42553 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42554 else
42555 for found_dir in $rpathdirs; do
42556 acl_save_libdir="$libdir"
42557 libdir="$found_dir"
42558 eval flag=\"$hardcode_libdir_flag_spec\"
42559 libdir="$acl_save_libdir"
42560 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42561 done
42564 if test "X$ltrpathdirs" != "X"; then
42565 for found_dir in $ltrpathdirs; do
42566 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
42567 done
42576 am_save_CPPFLAGS="$CPPFLAGS"
42578 for element in $INCICONV; do
42579 haveit=
42580 for x in $CPPFLAGS; do
42582 acl_save_prefix="$prefix"
42583 prefix="$acl_final_prefix"
42584 acl_save_exec_prefix="$exec_prefix"
42585 exec_prefix="$acl_final_exec_prefix"
42586 eval x=\"$x\"
42587 exec_prefix="$acl_save_exec_prefix"
42588 prefix="$acl_save_prefix"
42590 if test "X$x" = "X$element"; then
42591 haveit=yes
42592 break
42594 done
42595 if test -z "$haveit"; then
42596 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
42598 done
42601 echo "$as_me:$LINENO: checking for iconv" >&5
42602 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
42603 if test "${am_cv_func_iconv+set}" = set; then
42604 echo $ECHO_N "(cached) $ECHO_C" >&6
42605 else
42607 am_cv_func_iconv="no, consider installing GNU libiconv"
42608 am_cv_lib_iconv=no
42609 if test x$gcc_no_link = xyes; then
42610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42612 { (exit 1); exit 1; }; }
42614 cat >conftest.$ac_ext <<_ACEOF
42615 /* confdefs.h. */
42616 _ACEOF
42617 cat confdefs.h >>conftest.$ac_ext
42618 cat >>conftest.$ac_ext <<_ACEOF
42619 /* end confdefs.h. */
42620 #include <stdlib.h>
42621 #include <iconv.h>
42623 main ()
42625 iconv_t cd = iconv_open("","");
42626 iconv(cd,NULL,NULL,NULL,NULL);
42627 iconv_close(cd);
42629 return 0;
42631 _ACEOF
42632 rm -f conftest.$ac_objext conftest$ac_exeext
42633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42634 (eval $ac_link) 2>conftest.er1
42635 ac_status=$?
42636 grep -v '^ *+' conftest.er1 >conftest.err
42637 rm -f conftest.er1
42638 cat conftest.err >&5
42639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42640 (exit $ac_status); } &&
42641 { ac_try='test -z "$ac_c_werror_flag"
42642 || test ! -s conftest.err'
42643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42644 (eval $ac_try) 2>&5
42645 ac_status=$?
42646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42647 (exit $ac_status); }; } &&
42648 { ac_try='test -s conftest$ac_exeext'
42649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42650 (eval $ac_try) 2>&5
42651 ac_status=$?
42652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42653 (exit $ac_status); }; }; then
42654 am_cv_func_iconv=yes
42655 else
42656 echo "$as_me: failed program was:" >&5
42657 sed 's/^/| /' conftest.$ac_ext >&5
42660 rm -f conftest.err conftest.$ac_objext \
42661 conftest$ac_exeext conftest.$ac_ext
42662 if test "$am_cv_func_iconv" != yes; then
42663 am_save_LIBS="$LIBS"
42664 LIBS="$LIBS $LIBICONV"
42665 if test x$gcc_no_link = xyes; then
42666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42668 { (exit 1); exit 1; }; }
42670 cat >conftest.$ac_ext <<_ACEOF
42671 /* confdefs.h. */
42672 _ACEOF
42673 cat confdefs.h >>conftest.$ac_ext
42674 cat >>conftest.$ac_ext <<_ACEOF
42675 /* end confdefs.h. */
42676 #include <stdlib.h>
42677 #include <iconv.h>
42679 main ()
42681 iconv_t cd = iconv_open("","");
42682 iconv(cd,NULL,NULL,NULL,NULL);
42683 iconv_close(cd);
42685 return 0;
42687 _ACEOF
42688 rm -f conftest.$ac_objext conftest$ac_exeext
42689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42690 (eval $ac_link) 2>conftest.er1
42691 ac_status=$?
42692 grep -v '^ *+' conftest.er1 >conftest.err
42693 rm -f conftest.er1
42694 cat conftest.err >&5
42695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42696 (exit $ac_status); } &&
42697 { ac_try='test -z "$ac_c_werror_flag"
42698 || test ! -s conftest.err'
42699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42700 (eval $ac_try) 2>&5
42701 ac_status=$?
42702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42703 (exit $ac_status); }; } &&
42704 { ac_try='test -s conftest$ac_exeext'
42705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42706 (eval $ac_try) 2>&5
42707 ac_status=$?
42708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42709 (exit $ac_status); }; }; then
42710 am_cv_lib_iconv=yes
42711 am_cv_func_iconv=yes
42712 else
42713 echo "$as_me: failed program was:" >&5
42714 sed 's/^/| /' conftest.$ac_ext >&5
42717 rm -f conftest.err conftest.$ac_objext \
42718 conftest$ac_exeext conftest.$ac_ext
42719 LIBS="$am_save_LIBS"
42723 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
42724 echo "${ECHO_T}$am_cv_func_iconv" >&6
42725 if test "$am_cv_func_iconv" = yes; then
42727 cat >>confdefs.h <<\_ACEOF
42728 #define HAVE_ICONV 1
42729 _ACEOF
42732 if test "$am_cv_lib_iconv" = yes; then
42733 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
42734 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
42735 echo "$as_me:$LINENO: result: $LIBICONV" >&5
42736 echo "${ECHO_T}$LIBICONV" >&6
42737 else
42738 CPPFLAGS="$am_save_CPPFLAGS"
42739 LIBICONV=
42740 LTLIBICONV=
42745 if test "$am_cv_func_iconv" = yes; then
42746 echo "$as_me:$LINENO: checking for iconv declaration" >&5
42747 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
42748 if test "${am_cv_proto_iconv+set}" = set; then
42749 echo $ECHO_N "(cached) $ECHO_C" >&6
42750 else
42752 cat >conftest.$ac_ext <<_ACEOF
42753 /* confdefs.h. */
42754 _ACEOF
42755 cat confdefs.h >>conftest.$ac_ext
42756 cat >>conftest.$ac_ext <<_ACEOF
42757 /* end confdefs.h. */
42759 #include <stdlib.h>
42760 #include <iconv.h>
42761 extern
42762 #ifdef __cplusplus
42764 #endif
42765 #if defined(__STDC__) || defined(__cplusplus)
42766 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
42767 #else
42768 size_t iconv();
42769 #endif
42772 main ()
42776 return 0;
42778 _ACEOF
42779 rm -f conftest.$ac_objext
42780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42781 (eval $ac_compile) 2>conftest.er1
42782 ac_status=$?
42783 grep -v '^ *+' conftest.er1 >conftest.err
42784 rm -f conftest.er1
42785 cat conftest.err >&5
42786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42787 (exit $ac_status); } &&
42788 { ac_try='test -z "$ac_c_werror_flag"
42789 || test ! -s conftest.err'
42790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42791 (eval $ac_try) 2>&5
42792 ac_status=$?
42793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42794 (exit $ac_status); }; } &&
42795 { ac_try='test -s conftest.$ac_objext'
42796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42797 (eval $ac_try) 2>&5
42798 ac_status=$?
42799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42800 (exit $ac_status); }; }; then
42801 am_cv_proto_iconv_arg1=""
42802 else
42803 echo "$as_me: failed program was:" >&5
42804 sed 's/^/| /' conftest.$ac_ext >&5
42806 am_cv_proto_iconv_arg1="const"
42808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42809 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
42812 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
42813 echo "$as_me:$LINENO: result: ${ac_t:-
42814 }$am_cv_proto_iconv" >&5
42815 echo "${ECHO_T}${ac_t:-
42816 }$am_cv_proto_iconv" >&6
42818 cat >>confdefs.h <<_ACEOF
42819 #define ICONV_CONST $am_cv_proto_iconv_arg1
42820 _ACEOF
42825 else
42827 # This lets us hard-code the functionality we know we'll have in the cross
42828 # target environment. "Let" is a sugar-coated word placed on an especially
42829 # dull and tedious hack, actually.
42831 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
42832 # that involve linking, can't be used:
42833 # "cannot open sim-crt0.o"
42834 # "cannot open crt0.o"
42835 # etc. All this is because there currently exists no unified, consistent
42836 # way for top level CC information to be passed down to target directories:
42837 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
42838 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
42839 # crosses can be removed.
42841 # If Canadian cross, then don't pick up tools from the build directory.
42842 # Used only in GLIBCXX_EXPORT_INCLUDES.
42843 if test -n "$with_cross_host" &&
42844 test x"$build_alias" != x"$with_cross_host" &&
42845 test x"$build" != x"$target";
42846 then
42847 CANADIAN=yes
42848 else
42849 CANADIAN=no
42852 # Construct crosses by hand, eliminating bits that need ld...
42853 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
42854 # GLIBCXX_CHECK_MATH_SUPPORT
42856 # First, test for "known" system libraries. We may be using newlib even
42857 # on a hosted environment.
42858 if test "x${with_newlib}" = "xyes"; then
42859 os_include_dir="os/newlib"
42860 cat >>confdefs.h <<\_ACEOF
42861 #define HAVE_HYPOT 1
42862 _ACEOF
42865 # GLIBCXX_CHECK_STDLIB_SUPPORT
42866 cat >>confdefs.h <<\_ACEOF
42867 #define HAVE_STRTOF 1
42868 _ACEOF
42870 # AC_FUNC_MMAP
42871 cat >>confdefs.h <<\_ACEOF
42872 #define HAVE_MMAP 1
42873 _ACEOF
42876 cat >>confdefs.h <<\_ACEOF
42877 #define HAVE_ACOSF 1
42878 _ACEOF
42880 cat >>confdefs.h <<\_ACEOF
42881 #define HAVE_ASINF 1
42882 _ACEOF
42884 cat >>confdefs.h <<\_ACEOF
42885 #define HAVE_ATAN2F 1
42886 _ACEOF
42888 cat >>confdefs.h <<\_ACEOF
42889 #define HAVE_ATANF 1
42890 _ACEOF
42892 cat >>confdefs.h <<\_ACEOF
42893 #define HAVE_CEILF 1
42894 _ACEOF
42896 cat >>confdefs.h <<\_ACEOF
42897 #define HAVE_COPYSIGN 1
42898 _ACEOF
42900 cat >>confdefs.h <<\_ACEOF
42901 #define HAVE_COPYSIGNF 1
42902 _ACEOF
42904 cat >>confdefs.h <<\_ACEOF
42905 #define HAVE_COSF 1
42906 _ACEOF
42908 cat >>confdefs.h <<\_ACEOF
42909 #define HAVE_COSHF 1
42910 _ACEOF
42912 cat >>confdefs.h <<\_ACEOF
42913 #define HAVE_EXPF 1
42914 _ACEOF
42916 cat >>confdefs.h <<\_ACEOF
42917 #define HAVE_FABSF 1
42918 _ACEOF
42920 cat >>confdefs.h <<\_ACEOF
42921 #define HAVE_FLOORF 1
42922 _ACEOF
42924 cat >>confdefs.h <<\_ACEOF
42925 #define HAVE_FMODF 1
42926 _ACEOF
42928 cat >>confdefs.h <<\_ACEOF
42929 #define HAVE_FREXPF 1
42930 _ACEOF
42932 cat >>confdefs.h <<\_ACEOF
42933 #define HAVE_LDEXPF 1
42934 _ACEOF
42936 cat >>confdefs.h <<\_ACEOF
42937 #define HAVE_LOG10F 1
42938 _ACEOF
42940 cat >>confdefs.h <<\_ACEOF
42941 #define HAVE_LOGF 1
42942 _ACEOF
42944 cat >>confdefs.h <<\_ACEOF
42945 #define HAVE_MODFF 1
42946 _ACEOF
42948 cat >>confdefs.h <<\_ACEOF
42949 #define HAVE_POWF 1
42950 _ACEOF
42952 cat >>confdefs.h <<\_ACEOF
42953 #define HAVE_SINF 1
42954 _ACEOF
42956 cat >>confdefs.h <<\_ACEOF
42957 #define HAVE_SINHF 1
42958 _ACEOF
42960 cat >>confdefs.h <<\_ACEOF
42961 #define HAVE_SQRTF 1
42962 _ACEOF
42964 cat >>confdefs.h <<\_ACEOF
42965 #define HAVE_TANF 1
42966 _ACEOF
42968 cat >>confdefs.h <<\_ACEOF
42969 #define HAVE_TANHF 1
42970 _ACEOF
42973 cat >>confdefs.h <<\_ACEOF
42974 #define HAVE_S_ISREG 1
42975 _ACEOF
42977 cat >>confdefs.h <<\_ACEOF
42978 #define HAVE_S_IFREG 1
42979 _ACEOF
42982 cat >>confdefs.h <<\_ACEOF
42983 #define HAVE_ICONV 1
42984 _ACEOF
42986 else
42988 # Base decisions on target environment.
42989 case "${host}" in
42990 arm*-*-symbianelf*)
42991 # This is a freestanding configuration; there is nothing to do here.
42994 mips*-sde-elf*)
42995 # These definitions are for the SDE C library rather than newlib.
43011 for ac_header in float.h inttypes.h locale.h \
43012 stdint.h stdlib.h string.h unistd.h wchar.h \
43013 machine/endian.h sys/ioctl.h sys/resource.h \
43014 sys/stat.h sys/time.h sys/types.h sys/uio.h
43016 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43017 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43018 echo "$as_me:$LINENO: checking for $ac_header" >&5
43019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43020 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43021 echo $ECHO_N "(cached) $ECHO_C" >&6
43023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43024 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43025 else
43026 # Is the header compilable?
43027 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43028 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43029 cat >conftest.$ac_ext <<_ACEOF
43030 /* confdefs.h. */
43031 _ACEOF
43032 cat confdefs.h >>conftest.$ac_ext
43033 cat >>conftest.$ac_ext <<_ACEOF
43034 /* end confdefs.h. */
43035 $ac_includes_default
43036 #include <$ac_header>
43037 _ACEOF
43038 rm -f conftest.$ac_objext
43039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43040 (eval $ac_compile) 2>conftest.er1
43041 ac_status=$?
43042 grep -v '^ *+' conftest.er1 >conftest.err
43043 rm -f conftest.er1
43044 cat conftest.err >&5
43045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43046 (exit $ac_status); } &&
43047 { ac_try='test -z "$ac_c_werror_flag"
43048 || test ! -s conftest.err'
43049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43050 (eval $ac_try) 2>&5
43051 ac_status=$?
43052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43053 (exit $ac_status); }; } &&
43054 { ac_try='test -s conftest.$ac_objext'
43055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43056 (eval $ac_try) 2>&5
43057 ac_status=$?
43058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43059 (exit $ac_status); }; }; then
43060 ac_header_compiler=yes
43061 else
43062 echo "$as_me: failed program was:" >&5
43063 sed 's/^/| /' conftest.$ac_ext >&5
43065 ac_header_compiler=no
43067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43068 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43069 echo "${ECHO_T}$ac_header_compiler" >&6
43071 # Is the header present?
43072 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43073 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43074 cat >conftest.$ac_ext <<_ACEOF
43075 /* confdefs.h. */
43076 _ACEOF
43077 cat confdefs.h >>conftest.$ac_ext
43078 cat >>conftest.$ac_ext <<_ACEOF
43079 /* end confdefs.h. */
43080 #include <$ac_header>
43081 _ACEOF
43082 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43083 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43084 ac_status=$?
43085 grep -v '^ *+' conftest.er1 >conftest.err
43086 rm -f conftest.er1
43087 cat conftest.err >&5
43088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43089 (exit $ac_status); } >/dev/null; then
43090 if test -s conftest.err; then
43091 ac_cpp_err=$ac_c_preproc_warn_flag
43092 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
43093 else
43094 ac_cpp_err=
43096 else
43097 ac_cpp_err=yes
43099 if test -z "$ac_cpp_err"; then
43100 ac_header_preproc=yes
43101 else
43102 echo "$as_me: failed program was:" >&5
43103 sed 's/^/| /' conftest.$ac_ext >&5
43105 ac_header_preproc=no
43107 rm -f conftest.err conftest.$ac_ext
43108 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43109 echo "${ECHO_T}$ac_header_preproc" >&6
43111 # So? What about this header?
43112 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43113 yes:no: )
43114 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43115 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43116 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43117 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43118 ac_header_preproc=yes
43120 no:yes:* )
43121 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43122 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43123 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43124 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43125 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43126 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43127 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43128 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43129 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43130 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43131 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43132 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43134 cat <<\_ASBOX
43135 ## ----------------------------------------- ##
43136 ## Report this to the package-unused lists. ##
43137 ## ----------------------------------------- ##
43138 _ASBOX
43140 sed "s/^/$as_me: WARNING: /" >&2
43142 esac
43143 echo "$as_me:$LINENO: checking for $ac_header" >&5
43144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43146 echo $ECHO_N "(cached) $ECHO_C" >&6
43147 else
43148 eval "$as_ac_Header=\$ac_header_preproc"
43150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43151 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43154 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43155 cat >>confdefs.h <<_ACEOF
43156 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43157 _ACEOF
43161 done
43163 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43166 # All these tests are for C++; save the language and the compiler flags.
43167 # The CXXFLAGS thing is suspicious, but based on similar bits previously
43168 # found in GLIBCXX_CONFIGURE.
43171 ac_ext=cc
43172 ac_cpp='$CXXCPP $CPPFLAGS'
43173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43177 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43178 ac_save_CXXFLAGS="$CXXFLAGS"
43180 # Check for maintainer-mode bits.
43181 if test x"$USE_MAINTAINER_MODE" = xno; then
43182 WERROR=''
43183 else
43184 WERROR='-Werror'
43187 # Check for -ffunction-sections -fdata-sections
43188 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
43189 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
43190 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
43191 cat >conftest.$ac_ext <<_ACEOF
43192 /* confdefs.h. */
43193 _ACEOF
43194 cat confdefs.h >>conftest.$ac_ext
43195 cat >>conftest.$ac_ext <<_ACEOF
43196 /* end confdefs.h. */
43197 int foo; void bar() { };
43199 main ()
43203 return 0;
43205 _ACEOF
43206 rm -f conftest.$ac_objext
43207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43208 (eval $ac_compile) 2>conftest.er1
43209 ac_status=$?
43210 grep -v '^ *+' conftest.er1 >conftest.err
43211 rm -f conftest.er1
43212 cat conftest.err >&5
43213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43214 (exit $ac_status); } &&
43215 { ac_try='test -z "$ac_cxx_werror_flag"
43216 || test ! -s conftest.err'
43217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43218 (eval $ac_try) 2>&5
43219 ac_status=$?
43220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43221 (exit $ac_status); }; } &&
43222 { ac_try='test -s conftest.$ac_objext'
43223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43224 (eval $ac_try) 2>&5
43225 ac_status=$?
43226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43227 (exit $ac_status); }; }; then
43228 ac_fdsections=yes
43229 else
43230 echo "$as_me: failed program was:" >&5
43231 sed 's/^/| /' conftest.$ac_ext >&5
43233 ac_fdsections=no
43235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43236 if test "$ac_test_CXXFLAGS" = set; then
43237 CXXFLAGS="$ac_save_CXXFLAGS"
43238 else
43239 # this is the suspicious part
43240 CXXFLAGS=''
43242 if test x"$ac_fdsections" = x"yes"; then
43243 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43245 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
43246 echo "${ECHO_T}$ac_fdsections" >&6
43248 ac_ext=c
43249 ac_cpp='$CPP $CPPFLAGS'
43250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43258 # If we're not using GNU ld, then there's no point in even trying these
43259 # tests. Check for that first. We should have already tested for gld
43260 # by now (in libtool), but require it now just to be safe...
43261 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43262 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43266 # The name set by libtool depends on the version of libtool. Shame on us
43267 # for depending on an impl detail, but c'est la vie. Older versions used
43268 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43269 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43270 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43271 # set (hence we're using an older libtool), then set it.
43272 if test x${with_gnu_ld+set} != xset; then
43273 if test x${ac_cv_prog_gnu_ld+set} != xset; then
43274 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
43275 with_gnu_ld=no
43276 else
43277 with_gnu_ld=$ac_cv_prog_gnu_ld
43281 # Start by getting the version number. I think the libtool test already
43282 # does some of this, but throws away the result.
43283 glibcxx_ld_is_gold=no
43284 if test x"$with_gnu_ld" = x"yes"; then
43285 echo "$as_me:$LINENO: checking for ld version" >&5
43286 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
43288 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43289 glibcxx_ld_is_gold=yes
43291 ldver=`$LD --version 2>/dev/null | head -1 | \
43292 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
43294 glibcxx_gnu_ld_version=`echo $ldver | \
43295 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43296 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
43297 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
43300 # Set --gc-sections.
43301 glibcxx_have_gc_sections=no
43302 if test "$glibcxx_ld_is_gold" = "yes"; then
43303 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43304 glibcxx_have_gc_sections=yes
43306 else
43307 glibcxx_gcsections_min_ld=21602
43308 if test x"$with_gnu_ld" = x"yes" &&
43309 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43310 glibcxx_have_gc_sections=yes
43313 if test "$glibcxx_have_gc_sections" = "yes"; then
43314 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
43315 # NB: This flag only works reliably after 2.16.1. Configure tests
43316 # for this are difficult, so hard wire a value that should work.
43318 ac_test_CFLAGS="${CFLAGS+set}"
43319 ac_save_CFLAGS="$CFLAGS"
43320 CFLAGS='-Wl,--gc-sections'
43322 # Check for -Wl,--gc-sections
43323 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
43324 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
43325 if test x$gcc_no_link = xyes; then
43326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43328 { (exit 1); exit 1; }; }
43330 cat >conftest.$ac_ext <<_ACEOF
43331 /* confdefs.h. */
43332 _ACEOF
43333 cat confdefs.h >>conftest.$ac_ext
43334 cat >>conftest.$ac_ext <<_ACEOF
43335 /* end confdefs.h. */
43336 int one(void) { return 1; }
43337 int two(void) { return 2; }
43340 main ()
43342 two();
43344 return 0;
43346 _ACEOF
43347 rm -f conftest.$ac_objext conftest$ac_exeext
43348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43349 (eval $ac_link) 2>conftest.er1
43350 ac_status=$?
43351 grep -v '^ *+' conftest.er1 >conftest.err
43352 rm -f conftest.er1
43353 cat conftest.err >&5
43354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43355 (exit $ac_status); } &&
43356 { ac_try='test -z "$ac_c_werror_flag"
43357 || test ! -s conftest.err'
43358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43359 (eval $ac_try) 2>&5
43360 ac_status=$?
43361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43362 (exit $ac_status); }; } &&
43363 { ac_try='test -s conftest$ac_exeext'
43364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43365 (eval $ac_try) 2>&5
43366 ac_status=$?
43367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43368 (exit $ac_status); }; }; then
43369 ac_gcsections=yes
43370 else
43371 echo "$as_me: failed program was:" >&5
43372 sed 's/^/| /' conftest.$ac_ext >&5
43374 ac_gcsections=no
43376 rm -f conftest.err conftest.$ac_objext \
43377 conftest$ac_exeext conftest.$ac_ext
43378 if test "$ac_gcsections" = "yes"; then
43379 rm -f conftest.c
43380 touch conftest.c
43381 if $CC -c conftest.c; then
43382 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43383 grep "Warning: gc-sections option ignored" > /dev/null; then
43384 ac_gcsections=no
43387 rm -f conftest.c conftest.o conftest
43389 if test "$ac_gcsections" = "yes"; then
43390 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43392 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
43393 echo "${ECHO_T}$ac_gcsections" >&6
43395 if test "$ac_test_CFLAGS" = set; then
43396 CFLAGS="$ac_save_CFLAGS"
43397 else
43398 # this is the suspicious part
43399 CFLAGS=''
43403 # Set -z,relro.
43404 # Note this is only for shared objects.
43405 ac_ld_relro=no
43406 if test x"$with_gnu_ld" = x"yes"; then
43407 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
43408 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
43409 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43410 if test -n "$cxx_z_relo"; then
43411 OPT_LDFLAGS="-Wl,-z,relro"
43412 ac_ld_relro=yes
43414 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
43415 echo "${ECHO_T}$ac_ld_relro" >&6
43418 # Set linker optimization flags.
43419 if test x"$with_gnu_ld" = x"yes"; then
43420 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
43427 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43428 ac_save_CXXFLAGS="$CXXFLAGS"
43429 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43431 echo "$as_me:$LINENO: checking for sin in -lm" >&5
43432 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
43433 if test "${ac_cv_lib_m_sin+set}" = set; then
43434 echo $ECHO_N "(cached) $ECHO_C" >&6
43435 else
43436 ac_check_lib_save_LIBS=$LIBS
43437 LIBS="-lm $LIBS"
43438 if test x$gcc_no_link = xyes; then
43439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43441 { (exit 1); exit 1; }; }
43443 cat >conftest.$ac_ext <<_ACEOF
43444 /* confdefs.h. */
43445 _ACEOF
43446 cat confdefs.h >>conftest.$ac_ext
43447 cat >>conftest.$ac_ext <<_ACEOF
43448 /* end confdefs.h. */
43450 /* Override any gcc2 internal prototype to avoid an error. */
43451 #ifdef __cplusplus
43452 extern "C"
43453 #endif
43454 /* We use char because int might match the return type of a gcc2
43455 builtin and then its argument prototype would still apply. */
43456 char sin ();
43458 main ()
43460 sin ();
43462 return 0;
43464 _ACEOF
43465 rm -f conftest.$ac_objext conftest$ac_exeext
43466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43467 (eval $ac_link) 2>conftest.er1
43468 ac_status=$?
43469 grep -v '^ *+' conftest.er1 >conftest.err
43470 rm -f conftest.er1
43471 cat conftest.err >&5
43472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43473 (exit $ac_status); } &&
43474 { ac_try='test -z "$ac_c_werror_flag"
43475 || test ! -s conftest.err'
43476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43477 (eval $ac_try) 2>&5
43478 ac_status=$?
43479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43480 (exit $ac_status); }; } &&
43481 { ac_try='test -s conftest$ac_exeext'
43482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43483 (eval $ac_try) 2>&5
43484 ac_status=$?
43485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43486 (exit $ac_status); }; }; then
43487 ac_cv_lib_m_sin=yes
43488 else
43489 echo "$as_me: failed program was:" >&5
43490 sed 's/^/| /' conftest.$ac_ext >&5
43492 ac_cv_lib_m_sin=no
43494 rm -f conftest.err conftest.$ac_objext \
43495 conftest$ac_exeext conftest.$ac_ext
43496 LIBS=$ac_check_lib_save_LIBS
43498 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
43499 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
43500 if test $ac_cv_lib_m_sin = yes; then
43501 libm="-lm"
43504 ac_save_LIBS="$LIBS"
43505 LIBS="$LIBS $libm"
43509 echo "$as_me:$LINENO: checking for isinf declaration" >&5
43510 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
43511 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
43512 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
43513 echo $ECHO_N "(cached) $ECHO_C" >&6
43514 else
43518 ac_ext=cc
43519 ac_cpp='$CXXCPP $CPPFLAGS'
43520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43524 cat >conftest.$ac_ext <<_ACEOF
43525 /* confdefs.h. */
43526 _ACEOF
43527 cat confdefs.h >>conftest.$ac_ext
43528 cat >>conftest.$ac_ext <<_ACEOF
43529 /* end confdefs.h. */
43530 #include <math.h>
43531 #ifdef HAVE_IEEEFP_H
43532 #include <ieeefp.h>
43533 #endif
43536 main ()
43538 isinf(0);
43540 return 0;
43542 _ACEOF
43543 rm -f conftest.$ac_objext
43544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43545 (eval $ac_compile) 2>conftest.er1
43546 ac_status=$?
43547 grep -v '^ *+' conftest.er1 >conftest.err
43548 rm -f conftest.er1
43549 cat conftest.err >&5
43550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43551 (exit $ac_status); } &&
43552 { ac_try='test -z "$ac_cxx_werror_flag"
43553 || test ! -s conftest.err'
43554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43555 (eval $ac_try) 2>&5
43556 ac_status=$?
43557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43558 (exit $ac_status); }; } &&
43559 { ac_try='test -s conftest.$ac_objext'
43560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43561 (eval $ac_try) 2>&5
43562 ac_status=$?
43563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43564 (exit $ac_status); }; }; then
43565 glibcxx_cv_func_isinf_use=yes
43566 else
43567 echo "$as_me: failed program was:" >&5
43568 sed 's/^/| /' conftest.$ac_ext >&5
43570 glibcxx_cv_func_isinf_use=no
43572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43573 ac_ext=c
43574 ac_cpp='$CPP $CPPFLAGS'
43575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43583 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
43584 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
43586 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
43588 for ac_func in isinf
43590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43591 echo "$as_me:$LINENO: checking for $ac_func" >&5
43592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43593 if eval "test \"\${$as_ac_var+set}\" = set"; then
43594 echo $ECHO_N "(cached) $ECHO_C" >&6
43595 else
43596 if test x$gcc_no_link = xyes; then
43597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43599 { (exit 1); exit 1; }; }
43601 cat >conftest.$ac_ext <<_ACEOF
43602 /* confdefs.h. */
43603 _ACEOF
43604 cat confdefs.h >>conftest.$ac_ext
43605 cat >>conftest.$ac_ext <<_ACEOF
43606 /* end confdefs.h. */
43607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43609 #define $ac_func innocuous_$ac_func
43611 /* System header to define __stub macros and hopefully few prototypes,
43612 which can conflict with char $ac_func (); below.
43613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43614 <limits.h> exists even on freestanding compilers. */
43616 #ifdef __STDC__
43617 # include <limits.h>
43618 #else
43619 # include <assert.h>
43620 #endif
43622 #undef $ac_func
43624 /* Override any gcc2 internal prototype to avoid an error. */
43625 #ifdef __cplusplus
43626 extern "C"
43628 #endif
43629 /* We use char because int might match the return type of a gcc2
43630 builtin and then its argument prototype would still apply. */
43631 char $ac_func ();
43632 /* The GNU C library defines this for functions which it implements
43633 to always fail with ENOSYS. Some functions are actually named
43634 something starting with __ and the normal name is an alias. */
43635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43636 choke me
43637 #else
43638 char (*f) () = $ac_func;
43639 #endif
43640 #ifdef __cplusplus
43642 #endif
43645 main ()
43647 return f != $ac_func;
43649 return 0;
43651 _ACEOF
43652 rm -f conftest.$ac_objext conftest$ac_exeext
43653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43654 (eval $ac_link) 2>conftest.er1
43655 ac_status=$?
43656 grep -v '^ *+' conftest.er1 >conftest.err
43657 rm -f conftest.er1
43658 cat conftest.err >&5
43659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43660 (exit $ac_status); } &&
43661 { ac_try='test -z "$ac_c_werror_flag"
43662 || test ! -s conftest.err'
43663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43664 (eval $ac_try) 2>&5
43665 ac_status=$?
43666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43667 (exit $ac_status); }; } &&
43668 { ac_try='test -s conftest$ac_exeext'
43669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43670 (eval $ac_try) 2>&5
43671 ac_status=$?
43672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43673 (exit $ac_status); }; }; then
43674 eval "$as_ac_var=yes"
43675 else
43676 echo "$as_me: failed program was:" >&5
43677 sed 's/^/| /' conftest.$ac_ext >&5
43679 eval "$as_ac_var=no"
43681 rm -f conftest.err conftest.$ac_objext \
43682 conftest$ac_exeext conftest.$ac_ext
43684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43686 if test `eval echo '${'$as_ac_var'}'` = yes; then
43687 cat >>confdefs.h <<_ACEOF
43688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43689 _ACEOF
43692 done
43694 else
43696 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
43697 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
43698 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
43699 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
43700 echo $ECHO_N "(cached) $ECHO_C" >&6
43701 else
43705 ac_ext=cc
43706 ac_cpp='$CXXCPP $CPPFLAGS'
43707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43711 cat >conftest.$ac_ext <<_ACEOF
43712 /* confdefs.h. */
43713 _ACEOF
43714 cat confdefs.h >>conftest.$ac_ext
43715 cat >>conftest.$ac_ext <<_ACEOF
43716 /* end confdefs.h. */
43717 #include <math.h>
43718 #ifdef HAVE_IEEEFP_H
43719 #include <ieeefp.h>
43720 #endif
43723 main ()
43725 _isinf(0);
43727 return 0;
43729 _ACEOF
43730 rm -f conftest.$ac_objext
43731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43732 (eval $ac_compile) 2>conftest.er1
43733 ac_status=$?
43734 grep -v '^ *+' conftest.er1 >conftest.err
43735 rm -f conftest.er1
43736 cat conftest.err >&5
43737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43738 (exit $ac_status); } &&
43739 { ac_try='test -z "$ac_cxx_werror_flag"
43740 || test ! -s conftest.err'
43741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43742 (eval $ac_try) 2>&5
43743 ac_status=$?
43744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43745 (exit $ac_status); }; } &&
43746 { ac_try='test -s conftest.$ac_objext'
43747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43748 (eval $ac_try) 2>&5
43749 ac_status=$?
43750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43751 (exit $ac_status); }; }; then
43752 glibcxx_cv_func__isinf_use=yes
43753 else
43754 echo "$as_me: failed program was:" >&5
43755 sed 's/^/| /' conftest.$ac_ext >&5
43757 glibcxx_cv_func__isinf_use=no
43759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43760 ac_ext=c
43761 ac_cpp='$CPP $CPPFLAGS'
43762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43770 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
43771 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
43773 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
43775 for ac_func in _isinf
43777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43778 echo "$as_me:$LINENO: checking for $ac_func" >&5
43779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43780 if eval "test \"\${$as_ac_var+set}\" = set"; then
43781 echo $ECHO_N "(cached) $ECHO_C" >&6
43782 else
43783 if test x$gcc_no_link = xyes; then
43784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43786 { (exit 1); exit 1; }; }
43788 cat >conftest.$ac_ext <<_ACEOF
43789 /* confdefs.h. */
43790 _ACEOF
43791 cat confdefs.h >>conftest.$ac_ext
43792 cat >>conftest.$ac_ext <<_ACEOF
43793 /* end confdefs.h. */
43794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43796 #define $ac_func innocuous_$ac_func
43798 /* System header to define __stub macros and hopefully few prototypes,
43799 which can conflict with char $ac_func (); below.
43800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43801 <limits.h> exists even on freestanding compilers. */
43803 #ifdef __STDC__
43804 # include <limits.h>
43805 #else
43806 # include <assert.h>
43807 #endif
43809 #undef $ac_func
43811 /* Override any gcc2 internal prototype to avoid an error. */
43812 #ifdef __cplusplus
43813 extern "C"
43815 #endif
43816 /* We use char because int might match the return type of a gcc2
43817 builtin and then its argument prototype would still apply. */
43818 char $ac_func ();
43819 /* The GNU C library defines this for functions which it implements
43820 to always fail with ENOSYS. Some functions are actually named
43821 something starting with __ and the normal name is an alias. */
43822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43823 choke me
43824 #else
43825 char (*f) () = $ac_func;
43826 #endif
43827 #ifdef __cplusplus
43829 #endif
43832 main ()
43834 return f != $ac_func;
43836 return 0;
43838 _ACEOF
43839 rm -f conftest.$ac_objext conftest$ac_exeext
43840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43841 (eval $ac_link) 2>conftest.er1
43842 ac_status=$?
43843 grep -v '^ *+' conftest.er1 >conftest.err
43844 rm -f conftest.er1
43845 cat conftest.err >&5
43846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43847 (exit $ac_status); } &&
43848 { ac_try='test -z "$ac_c_werror_flag"
43849 || test ! -s conftest.err'
43850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43851 (eval $ac_try) 2>&5
43852 ac_status=$?
43853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43854 (exit $ac_status); }; } &&
43855 { ac_try='test -s conftest$ac_exeext'
43856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43857 (eval $ac_try) 2>&5
43858 ac_status=$?
43859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43860 (exit $ac_status); }; }; then
43861 eval "$as_ac_var=yes"
43862 else
43863 echo "$as_me: failed program was:" >&5
43864 sed 's/^/| /' conftest.$ac_ext >&5
43866 eval "$as_ac_var=no"
43868 rm -f conftest.err conftest.$ac_objext \
43869 conftest$ac_exeext conftest.$ac_ext
43871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43873 if test `eval echo '${'$as_ac_var'}'` = yes; then
43874 cat >>confdefs.h <<_ACEOF
43875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43876 _ACEOF
43879 done
43889 echo "$as_me:$LINENO: checking for isnan declaration" >&5
43890 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
43891 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
43892 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
43893 echo $ECHO_N "(cached) $ECHO_C" >&6
43894 else
43898 ac_ext=cc
43899 ac_cpp='$CXXCPP $CPPFLAGS'
43900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43904 cat >conftest.$ac_ext <<_ACEOF
43905 /* confdefs.h. */
43906 _ACEOF
43907 cat confdefs.h >>conftest.$ac_ext
43908 cat >>conftest.$ac_ext <<_ACEOF
43909 /* end confdefs.h. */
43910 #include <math.h>
43911 #ifdef HAVE_IEEEFP_H
43912 #include <ieeefp.h>
43913 #endif
43916 main ()
43918 isnan(0);
43920 return 0;
43922 _ACEOF
43923 rm -f conftest.$ac_objext
43924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43925 (eval $ac_compile) 2>conftest.er1
43926 ac_status=$?
43927 grep -v '^ *+' conftest.er1 >conftest.err
43928 rm -f conftest.er1
43929 cat conftest.err >&5
43930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43931 (exit $ac_status); } &&
43932 { ac_try='test -z "$ac_cxx_werror_flag"
43933 || test ! -s conftest.err'
43934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43935 (eval $ac_try) 2>&5
43936 ac_status=$?
43937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43938 (exit $ac_status); }; } &&
43939 { ac_try='test -s conftest.$ac_objext'
43940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43941 (eval $ac_try) 2>&5
43942 ac_status=$?
43943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43944 (exit $ac_status); }; }; then
43945 glibcxx_cv_func_isnan_use=yes
43946 else
43947 echo "$as_me: failed program was:" >&5
43948 sed 's/^/| /' conftest.$ac_ext >&5
43950 glibcxx_cv_func_isnan_use=no
43952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43953 ac_ext=c
43954 ac_cpp='$CPP $CPPFLAGS'
43955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43963 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
43964 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
43966 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
43968 for ac_func in isnan
43970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43971 echo "$as_me:$LINENO: checking for $ac_func" >&5
43972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43973 if eval "test \"\${$as_ac_var+set}\" = set"; then
43974 echo $ECHO_N "(cached) $ECHO_C" >&6
43975 else
43976 if test x$gcc_no_link = xyes; then
43977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43979 { (exit 1); exit 1; }; }
43981 cat >conftest.$ac_ext <<_ACEOF
43982 /* confdefs.h. */
43983 _ACEOF
43984 cat confdefs.h >>conftest.$ac_ext
43985 cat >>conftest.$ac_ext <<_ACEOF
43986 /* end confdefs.h. */
43987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43989 #define $ac_func innocuous_$ac_func
43991 /* System header to define __stub macros and hopefully few prototypes,
43992 which can conflict with char $ac_func (); below.
43993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43994 <limits.h> exists even on freestanding compilers. */
43996 #ifdef __STDC__
43997 # include <limits.h>
43998 #else
43999 # include <assert.h>
44000 #endif
44002 #undef $ac_func
44004 /* Override any gcc2 internal prototype to avoid an error. */
44005 #ifdef __cplusplus
44006 extern "C"
44008 #endif
44009 /* We use char because int might match the return type of a gcc2
44010 builtin and then its argument prototype would still apply. */
44011 char $ac_func ();
44012 /* The GNU C library defines this for functions which it implements
44013 to always fail with ENOSYS. Some functions are actually named
44014 something starting with __ and the normal name is an alias. */
44015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44016 choke me
44017 #else
44018 char (*f) () = $ac_func;
44019 #endif
44020 #ifdef __cplusplus
44022 #endif
44025 main ()
44027 return f != $ac_func;
44029 return 0;
44031 _ACEOF
44032 rm -f conftest.$ac_objext conftest$ac_exeext
44033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44034 (eval $ac_link) 2>conftest.er1
44035 ac_status=$?
44036 grep -v '^ *+' conftest.er1 >conftest.err
44037 rm -f conftest.er1
44038 cat conftest.err >&5
44039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44040 (exit $ac_status); } &&
44041 { ac_try='test -z "$ac_c_werror_flag"
44042 || test ! -s conftest.err'
44043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44044 (eval $ac_try) 2>&5
44045 ac_status=$?
44046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44047 (exit $ac_status); }; } &&
44048 { ac_try='test -s conftest$ac_exeext'
44049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44050 (eval $ac_try) 2>&5
44051 ac_status=$?
44052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44053 (exit $ac_status); }; }; then
44054 eval "$as_ac_var=yes"
44055 else
44056 echo "$as_me: failed program was:" >&5
44057 sed 's/^/| /' conftest.$ac_ext >&5
44059 eval "$as_ac_var=no"
44061 rm -f conftest.err conftest.$ac_objext \
44062 conftest$ac_exeext conftest.$ac_ext
44064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44066 if test `eval echo '${'$as_ac_var'}'` = yes; then
44067 cat >>confdefs.h <<_ACEOF
44068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44069 _ACEOF
44072 done
44074 else
44076 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
44077 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
44078 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
44079 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
44080 echo $ECHO_N "(cached) $ECHO_C" >&6
44081 else
44085 ac_ext=cc
44086 ac_cpp='$CXXCPP $CPPFLAGS'
44087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44091 cat >conftest.$ac_ext <<_ACEOF
44092 /* confdefs.h. */
44093 _ACEOF
44094 cat confdefs.h >>conftest.$ac_ext
44095 cat >>conftest.$ac_ext <<_ACEOF
44096 /* end confdefs.h. */
44097 #include <math.h>
44098 #ifdef HAVE_IEEEFP_H
44099 #include <ieeefp.h>
44100 #endif
44103 main ()
44105 _isnan(0);
44107 return 0;
44109 _ACEOF
44110 rm -f conftest.$ac_objext
44111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44112 (eval $ac_compile) 2>conftest.er1
44113 ac_status=$?
44114 grep -v '^ *+' conftest.er1 >conftest.err
44115 rm -f conftest.er1
44116 cat conftest.err >&5
44117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44118 (exit $ac_status); } &&
44119 { ac_try='test -z "$ac_cxx_werror_flag"
44120 || test ! -s conftest.err'
44121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44122 (eval $ac_try) 2>&5
44123 ac_status=$?
44124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44125 (exit $ac_status); }; } &&
44126 { ac_try='test -s conftest.$ac_objext'
44127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44128 (eval $ac_try) 2>&5
44129 ac_status=$?
44130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44131 (exit $ac_status); }; }; then
44132 glibcxx_cv_func__isnan_use=yes
44133 else
44134 echo "$as_me: failed program was:" >&5
44135 sed 's/^/| /' conftest.$ac_ext >&5
44137 glibcxx_cv_func__isnan_use=no
44139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44140 ac_ext=c
44141 ac_cpp='$CPP $CPPFLAGS'
44142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44150 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
44151 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
44153 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
44155 for ac_func in _isnan
44157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44158 echo "$as_me:$LINENO: checking for $ac_func" >&5
44159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44160 if eval "test \"\${$as_ac_var+set}\" = set"; then
44161 echo $ECHO_N "(cached) $ECHO_C" >&6
44162 else
44163 if test x$gcc_no_link = xyes; then
44164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44166 { (exit 1); exit 1; }; }
44168 cat >conftest.$ac_ext <<_ACEOF
44169 /* confdefs.h. */
44170 _ACEOF
44171 cat confdefs.h >>conftest.$ac_ext
44172 cat >>conftest.$ac_ext <<_ACEOF
44173 /* end confdefs.h. */
44174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44176 #define $ac_func innocuous_$ac_func
44178 /* System header to define __stub macros and hopefully few prototypes,
44179 which can conflict with char $ac_func (); below.
44180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44181 <limits.h> exists even on freestanding compilers. */
44183 #ifdef __STDC__
44184 # include <limits.h>
44185 #else
44186 # include <assert.h>
44187 #endif
44189 #undef $ac_func
44191 /* Override any gcc2 internal prototype to avoid an error. */
44192 #ifdef __cplusplus
44193 extern "C"
44195 #endif
44196 /* We use char because int might match the return type of a gcc2
44197 builtin and then its argument prototype would still apply. */
44198 char $ac_func ();
44199 /* The GNU C library defines this for functions which it implements
44200 to always fail with ENOSYS. Some functions are actually named
44201 something starting with __ and the normal name is an alias. */
44202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44203 choke me
44204 #else
44205 char (*f) () = $ac_func;
44206 #endif
44207 #ifdef __cplusplus
44209 #endif
44212 main ()
44214 return f != $ac_func;
44216 return 0;
44218 _ACEOF
44219 rm -f conftest.$ac_objext conftest$ac_exeext
44220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44221 (eval $ac_link) 2>conftest.er1
44222 ac_status=$?
44223 grep -v '^ *+' conftest.er1 >conftest.err
44224 rm -f conftest.er1
44225 cat conftest.err >&5
44226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44227 (exit $ac_status); } &&
44228 { ac_try='test -z "$ac_c_werror_flag"
44229 || test ! -s conftest.err'
44230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44231 (eval $ac_try) 2>&5
44232 ac_status=$?
44233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44234 (exit $ac_status); }; } &&
44235 { ac_try='test -s conftest$ac_exeext'
44236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44237 (eval $ac_try) 2>&5
44238 ac_status=$?
44239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44240 (exit $ac_status); }; }; then
44241 eval "$as_ac_var=yes"
44242 else
44243 echo "$as_me: failed program was:" >&5
44244 sed 's/^/| /' conftest.$ac_ext >&5
44246 eval "$as_ac_var=no"
44248 rm -f conftest.err conftest.$ac_objext \
44249 conftest$ac_exeext conftest.$ac_ext
44251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44253 if test `eval echo '${'$as_ac_var'}'` = yes; then
44254 cat >>confdefs.h <<_ACEOF
44255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44256 _ACEOF
44259 done
44269 echo "$as_me:$LINENO: checking for finite declaration" >&5
44270 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
44271 if test x${glibcxx_cv_func_finite_use+set} != xset; then
44272 if test "${glibcxx_cv_func_finite_use+set}" = set; then
44273 echo $ECHO_N "(cached) $ECHO_C" >&6
44274 else
44278 ac_ext=cc
44279 ac_cpp='$CXXCPP $CPPFLAGS'
44280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44284 cat >conftest.$ac_ext <<_ACEOF
44285 /* confdefs.h. */
44286 _ACEOF
44287 cat confdefs.h >>conftest.$ac_ext
44288 cat >>conftest.$ac_ext <<_ACEOF
44289 /* end confdefs.h. */
44290 #include <math.h>
44291 #ifdef HAVE_IEEEFP_H
44292 #include <ieeefp.h>
44293 #endif
44296 main ()
44298 finite(0);
44300 return 0;
44302 _ACEOF
44303 rm -f conftest.$ac_objext
44304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44305 (eval $ac_compile) 2>conftest.er1
44306 ac_status=$?
44307 grep -v '^ *+' conftest.er1 >conftest.err
44308 rm -f conftest.er1
44309 cat conftest.err >&5
44310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44311 (exit $ac_status); } &&
44312 { ac_try='test -z "$ac_cxx_werror_flag"
44313 || test ! -s conftest.err'
44314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44315 (eval $ac_try) 2>&5
44316 ac_status=$?
44317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44318 (exit $ac_status); }; } &&
44319 { ac_try='test -s conftest.$ac_objext'
44320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44321 (eval $ac_try) 2>&5
44322 ac_status=$?
44323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44324 (exit $ac_status); }; }; then
44325 glibcxx_cv_func_finite_use=yes
44326 else
44327 echo "$as_me: failed program was:" >&5
44328 sed 's/^/| /' conftest.$ac_ext >&5
44330 glibcxx_cv_func_finite_use=no
44332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44333 ac_ext=c
44334 ac_cpp='$CPP $CPPFLAGS'
44335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44343 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
44344 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
44346 if test x$glibcxx_cv_func_finite_use = x"yes"; then
44348 for ac_func in finite
44350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44351 echo "$as_me:$LINENO: checking for $ac_func" >&5
44352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44353 if eval "test \"\${$as_ac_var+set}\" = set"; then
44354 echo $ECHO_N "(cached) $ECHO_C" >&6
44355 else
44356 if test x$gcc_no_link = xyes; then
44357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44359 { (exit 1); exit 1; }; }
44361 cat >conftest.$ac_ext <<_ACEOF
44362 /* confdefs.h. */
44363 _ACEOF
44364 cat confdefs.h >>conftest.$ac_ext
44365 cat >>conftest.$ac_ext <<_ACEOF
44366 /* end confdefs.h. */
44367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44369 #define $ac_func innocuous_$ac_func
44371 /* System header to define __stub macros and hopefully few prototypes,
44372 which can conflict with char $ac_func (); below.
44373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44374 <limits.h> exists even on freestanding compilers. */
44376 #ifdef __STDC__
44377 # include <limits.h>
44378 #else
44379 # include <assert.h>
44380 #endif
44382 #undef $ac_func
44384 /* Override any gcc2 internal prototype to avoid an error. */
44385 #ifdef __cplusplus
44386 extern "C"
44388 #endif
44389 /* We use char because int might match the return type of a gcc2
44390 builtin and then its argument prototype would still apply. */
44391 char $ac_func ();
44392 /* The GNU C library defines this for functions which it implements
44393 to always fail with ENOSYS. Some functions are actually named
44394 something starting with __ and the normal name is an alias. */
44395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44396 choke me
44397 #else
44398 char (*f) () = $ac_func;
44399 #endif
44400 #ifdef __cplusplus
44402 #endif
44405 main ()
44407 return f != $ac_func;
44409 return 0;
44411 _ACEOF
44412 rm -f conftest.$ac_objext conftest$ac_exeext
44413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44414 (eval $ac_link) 2>conftest.er1
44415 ac_status=$?
44416 grep -v '^ *+' conftest.er1 >conftest.err
44417 rm -f conftest.er1
44418 cat conftest.err >&5
44419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44420 (exit $ac_status); } &&
44421 { ac_try='test -z "$ac_c_werror_flag"
44422 || test ! -s conftest.err'
44423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44424 (eval $ac_try) 2>&5
44425 ac_status=$?
44426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44427 (exit $ac_status); }; } &&
44428 { ac_try='test -s conftest$ac_exeext'
44429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44430 (eval $ac_try) 2>&5
44431 ac_status=$?
44432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44433 (exit $ac_status); }; }; then
44434 eval "$as_ac_var=yes"
44435 else
44436 echo "$as_me: failed program was:" >&5
44437 sed 's/^/| /' conftest.$ac_ext >&5
44439 eval "$as_ac_var=no"
44441 rm -f conftest.err conftest.$ac_objext \
44442 conftest$ac_exeext conftest.$ac_ext
44444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44446 if test `eval echo '${'$as_ac_var'}'` = yes; then
44447 cat >>confdefs.h <<_ACEOF
44448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44449 _ACEOF
44452 done
44454 else
44456 echo "$as_me:$LINENO: checking for _finite declaration" >&5
44457 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
44458 if test x${glibcxx_cv_func__finite_use+set} != xset; then
44459 if test "${glibcxx_cv_func__finite_use+set}" = set; then
44460 echo $ECHO_N "(cached) $ECHO_C" >&6
44461 else
44465 ac_ext=cc
44466 ac_cpp='$CXXCPP $CPPFLAGS'
44467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44471 cat >conftest.$ac_ext <<_ACEOF
44472 /* confdefs.h. */
44473 _ACEOF
44474 cat confdefs.h >>conftest.$ac_ext
44475 cat >>conftest.$ac_ext <<_ACEOF
44476 /* end confdefs.h. */
44477 #include <math.h>
44478 #ifdef HAVE_IEEEFP_H
44479 #include <ieeefp.h>
44480 #endif
44483 main ()
44485 _finite(0);
44487 return 0;
44489 _ACEOF
44490 rm -f conftest.$ac_objext
44491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44492 (eval $ac_compile) 2>conftest.er1
44493 ac_status=$?
44494 grep -v '^ *+' conftest.er1 >conftest.err
44495 rm -f conftest.er1
44496 cat conftest.err >&5
44497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44498 (exit $ac_status); } &&
44499 { ac_try='test -z "$ac_cxx_werror_flag"
44500 || test ! -s conftest.err'
44501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44502 (eval $ac_try) 2>&5
44503 ac_status=$?
44504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44505 (exit $ac_status); }; } &&
44506 { ac_try='test -s conftest.$ac_objext'
44507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44508 (eval $ac_try) 2>&5
44509 ac_status=$?
44510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44511 (exit $ac_status); }; }; then
44512 glibcxx_cv_func__finite_use=yes
44513 else
44514 echo "$as_me: failed program was:" >&5
44515 sed 's/^/| /' conftest.$ac_ext >&5
44517 glibcxx_cv_func__finite_use=no
44519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44520 ac_ext=c
44521 ac_cpp='$CPP $CPPFLAGS'
44522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44530 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
44531 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
44533 if test x$glibcxx_cv_func__finite_use = x"yes"; then
44535 for ac_func in _finite
44537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44538 echo "$as_me:$LINENO: checking for $ac_func" >&5
44539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44540 if eval "test \"\${$as_ac_var+set}\" = set"; then
44541 echo $ECHO_N "(cached) $ECHO_C" >&6
44542 else
44543 if test x$gcc_no_link = xyes; then
44544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44546 { (exit 1); exit 1; }; }
44548 cat >conftest.$ac_ext <<_ACEOF
44549 /* confdefs.h. */
44550 _ACEOF
44551 cat confdefs.h >>conftest.$ac_ext
44552 cat >>conftest.$ac_ext <<_ACEOF
44553 /* end confdefs.h. */
44554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44556 #define $ac_func innocuous_$ac_func
44558 /* System header to define __stub macros and hopefully few prototypes,
44559 which can conflict with char $ac_func (); below.
44560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44561 <limits.h> exists even on freestanding compilers. */
44563 #ifdef __STDC__
44564 # include <limits.h>
44565 #else
44566 # include <assert.h>
44567 #endif
44569 #undef $ac_func
44571 /* Override any gcc2 internal prototype to avoid an error. */
44572 #ifdef __cplusplus
44573 extern "C"
44575 #endif
44576 /* We use char because int might match the return type of a gcc2
44577 builtin and then its argument prototype would still apply. */
44578 char $ac_func ();
44579 /* The GNU C library defines this for functions which it implements
44580 to always fail with ENOSYS. Some functions are actually named
44581 something starting with __ and the normal name is an alias. */
44582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44583 choke me
44584 #else
44585 char (*f) () = $ac_func;
44586 #endif
44587 #ifdef __cplusplus
44589 #endif
44592 main ()
44594 return f != $ac_func;
44596 return 0;
44598 _ACEOF
44599 rm -f conftest.$ac_objext conftest$ac_exeext
44600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44601 (eval $ac_link) 2>conftest.er1
44602 ac_status=$?
44603 grep -v '^ *+' conftest.er1 >conftest.err
44604 rm -f conftest.er1
44605 cat conftest.err >&5
44606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44607 (exit $ac_status); } &&
44608 { ac_try='test -z "$ac_c_werror_flag"
44609 || test ! -s conftest.err'
44610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44611 (eval $ac_try) 2>&5
44612 ac_status=$?
44613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44614 (exit $ac_status); }; } &&
44615 { ac_try='test -s conftest$ac_exeext'
44616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44617 (eval $ac_try) 2>&5
44618 ac_status=$?
44619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44620 (exit $ac_status); }; }; then
44621 eval "$as_ac_var=yes"
44622 else
44623 echo "$as_me: failed program was:" >&5
44624 sed 's/^/| /' conftest.$ac_ext >&5
44626 eval "$as_ac_var=no"
44628 rm -f conftest.err conftest.$ac_objext \
44629 conftest$ac_exeext conftest.$ac_ext
44631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44633 if test `eval echo '${'$as_ac_var'}'` = yes; then
44634 cat >>confdefs.h <<_ACEOF
44635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44636 _ACEOF
44639 done
44649 echo "$as_me:$LINENO: checking for copysign declaration" >&5
44650 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
44651 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
44652 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
44653 echo $ECHO_N "(cached) $ECHO_C" >&6
44654 else
44658 ac_ext=cc
44659 ac_cpp='$CXXCPP $CPPFLAGS'
44660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44664 cat >conftest.$ac_ext <<_ACEOF
44665 /* confdefs.h. */
44666 _ACEOF
44667 cat confdefs.h >>conftest.$ac_ext
44668 cat >>conftest.$ac_ext <<_ACEOF
44669 /* end confdefs.h. */
44670 #include <math.h>
44672 main ()
44674 copysign(0, 0);
44676 return 0;
44678 _ACEOF
44679 rm -f conftest.$ac_objext
44680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44681 (eval $ac_compile) 2>conftest.er1
44682 ac_status=$?
44683 grep -v '^ *+' conftest.er1 >conftest.err
44684 rm -f conftest.er1
44685 cat conftest.err >&5
44686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44687 (exit $ac_status); } &&
44688 { ac_try='test -z "$ac_cxx_werror_flag"
44689 || test ! -s conftest.err'
44690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44691 (eval $ac_try) 2>&5
44692 ac_status=$?
44693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44694 (exit $ac_status); }; } &&
44695 { ac_try='test -s conftest.$ac_objext'
44696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44697 (eval $ac_try) 2>&5
44698 ac_status=$?
44699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44700 (exit $ac_status); }; }; then
44701 glibcxx_cv_func_copysign_use=yes
44702 else
44703 echo "$as_me: failed program was:" >&5
44704 sed 's/^/| /' conftest.$ac_ext >&5
44706 glibcxx_cv_func_copysign_use=no
44708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44709 ac_ext=c
44710 ac_cpp='$CPP $CPPFLAGS'
44711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44719 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
44720 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
44722 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
44724 for ac_func in copysign
44726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44727 echo "$as_me:$LINENO: checking for $ac_func" >&5
44728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44729 if eval "test \"\${$as_ac_var+set}\" = set"; then
44730 echo $ECHO_N "(cached) $ECHO_C" >&6
44731 else
44732 if test x$gcc_no_link = xyes; then
44733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44735 { (exit 1); exit 1; }; }
44737 cat >conftest.$ac_ext <<_ACEOF
44738 /* confdefs.h. */
44739 _ACEOF
44740 cat confdefs.h >>conftest.$ac_ext
44741 cat >>conftest.$ac_ext <<_ACEOF
44742 /* end confdefs.h. */
44743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44745 #define $ac_func innocuous_$ac_func
44747 /* System header to define __stub macros and hopefully few prototypes,
44748 which can conflict with char $ac_func (); below.
44749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44750 <limits.h> exists even on freestanding compilers. */
44752 #ifdef __STDC__
44753 # include <limits.h>
44754 #else
44755 # include <assert.h>
44756 #endif
44758 #undef $ac_func
44760 /* Override any gcc2 internal prototype to avoid an error. */
44761 #ifdef __cplusplus
44762 extern "C"
44764 #endif
44765 /* We use char because int might match the return type of a gcc2
44766 builtin and then its argument prototype would still apply. */
44767 char $ac_func ();
44768 /* The GNU C library defines this for functions which it implements
44769 to always fail with ENOSYS. Some functions are actually named
44770 something starting with __ and the normal name is an alias. */
44771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44772 choke me
44773 #else
44774 char (*f) () = $ac_func;
44775 #endif
44776 #ifdef __cplusplus
44778 #endif
44781 main ()
44783 return f != $ac_func;
44785 return 0;
44787 _ACEOF
44788 rm -f conftest.$ac_objext conftest$ac_exeext
44789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44790 (eval $ac_link) 2>conftest.er1
44791 ac_status=$?
44792 grep -v '^ *+' conftest.er1 >conftest.err
44793 rm -f conftest.er1
44794 cat conftest.err >&5
44795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44796 (exit $ac_status); } &&
44797 { ac_try='test -z "$ac_c_werror_flag"
44798 || test ! -s conftest.err'
44799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44800 (eval $ac_try) 2>&5
44801 ac_status=$?
44802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44803 (exit $ac_status); }; } &&
44804 { ac_try='test -s conftest$ac_exeext'
44805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44806 (eval $ac_try) 2>&5
44807 ac_status=$?
44808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44809 (exit $ac_status); }; }; then
44810 eval "$as_ac_var=yes"
44811 else
44812 echo "$as_me: failed program was:" >&5
44813 sed 's/^/| /' conftest.$ac_ext >&5
44815 eval "$as_ac_var=no"
44817 rm -f conftest.err conftest.$ac_objext \
44818 conftest$ac_exeext conftest.$ac_ext
44820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44822 if test `eval echo '${'$as_ac_var'}'` = yes; then
44823 cat >>confdefs.h <<_ACEOF
44824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44825 _ACEOF
44828 done
44830 else
44832 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
44833 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
44834 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
44835 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
44836 echo $ECHO_N "(cached) $ECHO_C" >&6
44837 else
44841 ac_ext=cc
44842 ac_cpp='$CXXCPP $CPPFLAGS'
44843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44847 cat >conftest.$ac_ext <<_ACEOF
44848 /* confdefs.h. */
44849 _ACEOF
44850 cat confdefs.h >>conftest.$ac_ext
44851 cat >>conftest.$ac_ext <<_ACEOF
44852 /* end confdefs.h. */
44853 #include <math.h>
44855 main ()
44857 _copysign(0, 0);
44859 return 0;
44861 _ACEOF
44862 rm -f conftest.$ac_objext
44863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44864 (eval $ac_compile) 2>conftest.er1
44865 ac_status=$?
44866 grep -v '^ *+' conftest.er1 >conftest.err
44867 rm -f conftest.er1
44868 cat conftest.err >&5
44869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44870 (exit $ac_status); } &&
44871 { ac_try='test -z "$ac_cxx_werror_flag"
44872 || test ! -s conftest.err'
44873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44874 (eval $ac_try) 2>&5
44875 ac_status=$?
44876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44877 (exit $ac_status); }; } &&
44878 { ac_try='test -s conftest.$ac_objext'
44879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44880 (eval $ac_try) 2>&5
44881 ac_status=$?
44882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44883 (exit $ac_status); }; }; then
44884 glibcxx_cv_func__copysign_use=yes
44885 else
44886 echo "$as_me: failed program was:" >&5
44887 sed 's/^/| /' conftest.$ac_ext >&5
44889 glibcxx_cv_func__copysign_use=no
44891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44892 ac_ext=c
44893 ac_cpp='$CPP $CPPFLAGS'
44894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44902 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
44903 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
44905 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
44907 for ac_func in _copysign
44909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44910 echo "$as_me:$LINENO: checking for $ac_func" >&5
44911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44912 if eval "test \"\${$as_ac_var+set}\" = set"; then
44913 echo $ECHO_N "(cached) $ECHO_C" >&6
44914 else
44915 if test x$gcc_no_link = xyes; then
44916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44918 { (exit 1); exit 1; }; }
44920 cat >conftest.$ac_ext <<_ACEOF
44921 /* confdefs.h. */
44922 _ACEOF
44923 cat confdefs.h >>conftest.$ac_ext
44924 cat >>conftest.$ac_ext <<_ACEOF
44925 /* end confdefs.h. */
44926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44928 #define $ac_func innocuous_$ac_func
44930 /* System header to define __stub macros and hopefully few prototypes,
44931 which can conflict with char $ac_func (); below.
44932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44933 <limits.h> exists even on freestanding compilers. */
44935 #ifdef __STDC__
44936 # include <limits.h>
44937 #else
44938 # include <assert.h>
44939 #endif
44941 #undef $ac_func
44943 /* Override any gcc2 internal prototype to avoid an error. */
44944 #ifdef __cplusplus
44945 extern "C"
44947 #endif
44948 /* We use char because int might match the return type of a gcc2
44949 builtin and then its argument prototype would still apply. */
44950 char $ac_func ();
44951 /* The GNU C library defines this for functions which it implements
44952 to always fail with ENOSYS. Some functions are actually named
44953 something starting with __ and the normal name is an alias. */
44954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44955 choke me
44956 #else
44957 char (*f) () = $ac_func;
44958 #endif
44959 #ifdef __cplusplus
44961 #endif
44964 main ()
44966 return f != $ac_func;
44968 return 0;
44970 _ACEOF
44971 rm -f conftest.$ac_objext conftest$ac_exeext
44972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44973 (eval $ac_link) 2>conftest.er1
44974 ac_status=$?
44975 grep -v '^ *+' conftest.er1 >conftest.err
44976 rm -f conftest.er1
44977 cat conftest.err >&5
44978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44979 (exit $ac_status); } &&
44980 { ac_try='test -z "$ac_c_werror_flag"
44981 || test ! -s conftest.err'
44982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44983 (eval $ac_try) 2>&5
44984 ac_status=$?
44985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44986 (exit $ac_status); }; } &&
44987 { ac_try='test -s conftest$ac_exeext'
44988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44989 (eval $ac_try) 2>&5
44990 ac_status=$?
44991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44992 (exit $ac_status); }; }; then
44993 eval "$as_ac_var=yes"
44994 else
44995 echo "$as_me: failed program was:" >&5
44996 sed 's/^/| /' conftest.$ac_ext >&5
44998 eval "$as_ac_var=no"
45000 rm -f conftest.err conftest.$ac_objext \
45001 conftest$ac_exeext conftest.$ac_ext
45003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45005 if test `eval echo '${'$as_ac_var'}'` = yes; then
45006 cat >>confdefs.h <<_ACEOF
45007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45008 _ACEOF
45011 done
45021 echo "$as_me:$LINENO: checking for sincos declaration" >&5
45022 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
45023 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45024 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
45025 echo $ECHO_N "(cached) $ECHO_C" >&6
45026 else
45030 ac_ext=cc
45031 ac_cpp='$CXXCPP $CPPFLAGS'
45032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45036 cat >conftest.$ac_ext <<_ACEOF
45037 /* confdefs.h. */
45038 _ACEOF
45039 cat confdefs.h >>conftest.$ac_ext
45040 cat >>conftest.$ac_ext <<_ACEOF
45041 /* end confdefs.h. */
45042 #include <math.h>
45044 main ()
45046 sincos(0, 0, 0);
45048 return 0;
45050 _ACEOF
45051 rm -f conftest.$ac_objext
45052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45053 (eval $ac_compile) 2>conftest.er1
45054 ac_status=$?
45055 grep -v '^ *+' conftest.er1 >conftest.err
45056 rm -f conftest.er1
45057 cat conftest.err >&5
45058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45059 (exit $ac_status); } &&
45060 { ac_try='test -z "$ac_cxx_werror_flag"
45061 || test ! -s conftest.err'
45062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45063 (eval $ac_try) 2>&5
45064 ac_status=$?
45065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45066 (exit $ac_status); }; } &&
45067 { ac_try='test -s conftest.$ac_objext'
45068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45069 (eval $ac_try) 2>&5
45070 ac_status=$?
45071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45072 (exit $ac_status); }; }; then
45073 glibcxx_cv_func_sincos_use=yes
45074 else
45075 echo "$as_me: failed program was:" >&5
45076 sed 's/^/| /' conftest.$ac_ext >&5
45078 glibcxx_cv_func_sincos_use=no
45080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45081 ac_ext=c
45082 ac_cpp='$CPP $CPPFLAGS'
45083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45091 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
45092 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
45094 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45096 for ac_func in sincos
45098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45099 echo "$as_me:$LINENO: checking for $ac_func" >&5
45100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45101 if eval "test \"\${$as_ac_var+set}\" = set"; then
45102 echo $ECHO_N "(cached) $ECHO_C" >&6
45103 else
45104 if test x$gcc_no_link = xyes; then
45105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45107 { (exit 1); exit 1; }; }
45109 cat >conftest.$ac_ext <<_ACEOF
45110 /* confdefs.h. */
45111 _ACEOF
45112 cat confdefs.h >>conftest.$ac_ext
45113 cat >>conftest.$ac_ext <<_ACEOF
45114 /* end confdefs.h. */
45115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45117 #define $ac_func innocuous_$ac_func
45119 /* System header to define __stub macros and hopefully few prototypes,
45120 which can conflict with char $ac_func (); below.
45121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45122 <limits.h> exists even on freestanding compilers. */
45124 #ifdef __STDC__
45125 # include <limits.h>
45126 #else
45127 # include <assert.h>
45128 #endif
45130 #undef $ac_func
45132 /* Override any gcc2 internal prototype to avoid an error. */
45133 #ifdef __cplusplus
45134 extern "C"
45136 #endif
45137 /* We use char because int might match the return type of a gcc2
45138 builtin and then its argument prototype would still apply. */
45139 char $ac_func ();
45140 /* The GNU C library defines this for functions which it implements
45141 to always fail with ENOSYS. Some functions are actually named
45142 something starting with __ and the normal name is an alias. */
45143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45144 choke me
45145 #else
45146 char (*f) () = $ac_func;
45147 #endif
45148 #ifdef __cplusplus
45150 #endif
45153 main ()
45155 return f != $ac_func;
45157 return 0;
45159 _ACEOF
45160 rm -f conftest.$ac_objext conftest$ac_exeext
45161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45162 (eval $ac_link) 2>conftest.er1
45163 ac_status=$?
45164 grep -v '^ *+' conftest.er1 >conftest.err
45165 rm -f conftest.er1
45166 cat conftest.err >&5
45167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45168 (exit $ac_status); } &&
45169 { ac_try='test -z "$ac_c_werror_flag"
45170 || test ! -s conftest.err'
45171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45172 (eval $ac_try) 2>&5
45173 ac_status=$?
45174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45175 (exit $ac_status); }; } &&
45176 { ac_try='test -s conftest$ac_exeext'
45177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45178 (eval $ac_try) 2>&5
45179 ac_status=$?
45180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45181 (exit $ac_status); }; }; then
45182 eval "$as_ac_var=yes"
45183 else
45184 echo "$as_me: failed program was:" >&5
45185 sed 's/^/| /' conftest.$ac_ext >&5
45187 eval "$as_ac_var=no"
45189 rm -f conftest.err conftest.$ac_objext \
45190 conftest$ac_exeext conftest.$ac_ext
45192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45194 if test `eval echo '${'$as_ac_var'}'` = yes; then
45195 cat >>confdefs.h <<_ACEOF
45196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45197 _ACEOF
45200 done
45202 else
45204 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
45205 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
45206 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45207 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
45208 echo $ECHO_N "(cached) $ECHO_C" >&6
45209 else
45213 ac_ext=cc
45214 ac_cpp='$CXXCPP $CPPFLAGS'
45215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45219 cat >conftest.$ac_ext <<_ACEOF
45220 /* confdefs.h. */
45221 _ACEOF
45222 cat confdefs.h >>conftest.$ac_ext
45223 cat >>conftest.$ac_ext <<_ACEOF
45224 /* end confdefs.h. */
45225 #include <math.h>
45227 main ()
45229 _sincos(0, 0, 0);
45231 return 0;
45233 _ACEOF
45234 rm -f conftest.$ac_objext
45235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45236 (eval $ac_compile) 2>conftest.er1
45237 ac_status=$?
45238 grep -v '^ *+' conftest.er1 >conftest.err
45239 rm -f conftest.er1
45240 cat conftest.err >&5
45241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45242 (exit $ac_status); } &&
45243 { ac_try='test -z "$ac_cxx_werror_flag"
45244 || test ! -s conftest.err'
45245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45246 (eval $ac_try) 2>&5
45247 ac_status=$?
45248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45249 (exit $ac_status); }; } &&
45250 { ac_try='test -s conftest.$ac_objext'
45251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45252 (eval $ac_try) 2>&5
45253 ac_status=$?
45254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45255 (exit $ac_status); }; }; then
45256 glibcxx_cv_func__sincos_use=yes
45257 else
45258 echo "$as_me: failed program was:" >&5
45259 sed 's/^/| /' conftest.$ac_ext >&5
45261 glibcxx_cv_func__sincos_use=no
45263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45264 ac_ext=c
45265 ac_cpp='$CPP $CPPFLAGS'
45266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45274 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
45275 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
45277 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45279 for ac_func in _sincos
45281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45282 echo "$as_me:$LINENO: checking for $ac_func" >&5
45283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45284 if eval "test \"\${$as_ac_var+set}\" = set"; then
45285 echo $ECHO_N "(cached) $ECHO_C" >&6
45286 else
45287 if test x$gcc_no_link = xyes; then
45288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45290 { (exit 1); exit 1; }; }
45292 cat >conftest.$ac_ext <<_ACEOF
45293 /* confdefs.h. */
45294 _ACEOF
45295 cat confdefs.h >>conftest.$ac_ext
45296 cat >>conftest.$ac_ext <<_ACEOF
45297 /* end confdefs.h. */
45298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45300 #define $ac_func innocuous_$ac_func
45302 /* System header to define __stub macros and hopefully few prototypes,
45303 which can conflict with char $ac_func (); below.
45304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45305 <limits.h> exists even on freestanding compilers. */
45307 #ifdef __STDC__
45308 # include <limits.h>
45309 #else
45310 # include <assert.h>
45311 #endif
45313 #undef $ac_func
45315 /* Override any gcc2 internal prototype to avoid an error. */
45316 #ifdef __cplusplus
45317 extern "C"
45319 #endif
45320 /* We use char because int might match the return type of a gcc2
45321 builtin and then its argument prototype would still apply. */
45322 char $ac_func ();
45323 /* The GNU C library defines this for functions which it implements
45324 to always fail with ENOSYS. Some functions are actually named
45325 something starting with __ and the normal name is an alias. */
45326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45327 choke me
45328 #else
45329 char (*f) () = $ac_func;
45330 #endif
45331 #ifdef __cplusplus
45333 #endif
45336 main ()
45338 return f != $ac_func;
45340 return 0;
45342 _ACEOF
45343 rm -f conftest.$ac_objext conftest$ac_exeext
45344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45345 (eval $ac_link) 2>conftest.er1
45346 ac_status=$?
45347 grep -v '^ *+' conftest.er1 >conftest.err
45348 rm -f conftest.er1
45349 cat conftest.err >&5
45350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45351 (exit $ac_status); } &&
45352 { ac_try='test -z "$ac_c_werror_flag"
45353 || test ! -s conftest.err'
45354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45355 (eval $ac_try) 2>&5
45356 ac_status=$?
45357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45358 (exit $ac_status); }; } &&
45359 { ac_try='test -s conftest$ac_exeext'
45360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45361 (eval $ac_try) 2>&5
45362 ac_status=$?
45363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45364 (exit $ac_status); }; }; then
45365 eval "$as_ac_var=yes"
45366 else
45367 echo "$as_me: failed program was:" >&5
45368 sed 's/^/| /' conftest.$ac_ext >&5
45370 eval "$as_ac_var=no"
45372 rm -f conftest.err conftest.$ac_objext \
45373 conftest$ac_exeext conftest.$ac_ext
45375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45377 if test `eval echo '${'$as_ac_var'}'` = yes; then
45378 cat >>confdefs.h <<_ACEOF
45379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45380 _ACEOF
45383 done
45393 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
45394 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
45395 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45396 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
45397 echo $ECHO_N "(cached) $ECHO_C" >&6
45398 else
45402 ac_ext=cc
45403 ac_cpp='$CXXCPP $CPPFLAGS'
45404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45408 cat >conftest.$ac_ext <<_ACEOF
45409 /* confdefs.h. */
45410 _ACEOF
45411 cat confdefs.h >>conftest.$ac_ext
45412 cat >>conftest.$ac_ext <<_ACEOF
45413 /* end confdefs.h. */
45414 #include <math.h>
45415 #ifdef HAVE_IEEEFP_H
45416 #include <ieeefp.h>
45417 #endif
45420 main ()
45422 fpclass(0);
45424 return 0;
45426 _ACEOF
45427 rm -f conftest.$ac_objext
45428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45429 (eval $ac_compile) 2>conftest.er1
45430 ac_status=$?
45431 grep -v '^ *+' conftest.er1 >conftest.err
45432 rm -f conftest.er1
45433 cat conftest.err >&5
45434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45435 (exit $ac_status); } &&
45436 { ac_try='test -z "$ac_cxx_werror_flag"
45437 || test ! -s conftest.err'
45438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45439 (eval $ac_try) 2>&5
45440 ac_status=$?
45441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45442 (exit $ac_status); }; } &&
45443 { ac_try='test -s conftest.$ac_objext'
45444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45445 (eval $ac_try) 2>&5
45446 ac_status=$?
45447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45448 (exit $ac_status); }; }; then
45449 glibcxx_cv_func_fpclass_use=yes
45450 else
45451 echo "$as_me: failed program was:" >&5
45452 sed 's/^/| /' conftest.$ac_ext >&5
45454 glibcxx_cv_func_fpclass_use=no
45456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45457 ac_ext=c
45458 ac_cpp='$CPP $CPPFLAGS'
45459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45467 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
45468 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
45470 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45472 for ac_func in fpclass
45474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45475 echo "$as_me:$LINENO: checking for $ac_func" >&5
45476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45477 if eval "test \"\${$as_ac_var+set}\" = set"; then
45478 echo $ECHO_N "(cached) $ECHO_C" >&6
45479 else
45480 if test x$gcc_no_link = xyes; then
45481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45483 { (exit 1); exit 1; }; }
45485 cat >conftest.$ac_ext <<_ACEOF
45486 /* confdefs.h. */
45487 _ACEOF
45488 cat confdefs.h >>conftest.$ac_ext
45489 cat >>conftest.$ac_ext <<_ACEOF
45490 /* end confdefs.h. */
45491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45493 #define $ac_func innocuous_$ac_func
45495 /* System header to define __stub macros and hopefully few prototypes,
45496 which can conflict with char $ac_func (); below.
45497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45498 <limits.h> exists even on freestanding compilers. */
45500 #ifdef __STDC__
45501 # include <limits.h>
45502 #else
45503 # include <assert.h>
45504 #endif
45506 #undef $ac_func
45508 /* Override any gcc2 internal prototype to avoid an error. */
45509 #ifdef __cplusplus
45510 extern "C"
45512 #endif
45513 /* We use char because int might match the return type of a gcc2
45514 builtin and then its argument prototype would still apply. */
45515 char $ac_func ();
45516 /* The GNU C library defines this for functions which it implements
45517 to always fail with ENOSYS. Some functions are actually named
45518 something starting with __ and the normal name is an alias. */
45519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45520 choke me
45521 #else
45522 char (*f) () = $ac_func;
45523 #endif
45524 #ifdef __cplusplus
45526 #endif
45529 main ()
45531 return f != $ac_func;
45533 return 0;
45535 _ACEOF
45536 rm -f conftest.$ac_objext conftest$ac_exeext
45537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45538 (eval $ac_link) 2>conftest.er1
45539 ac_status=$?
45540 grep -v '^ *+' conftest.er1 >conftest.err
45541 rm -f conftest.er1
45542 cat conftest.err >&5
45543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45544 (exit $ac_status); } &&
45545 { ac_try='test -z "$ac_c_werror_flag"
45546 || test ! -s conftest.err'
45547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45548 (eval $ac_try) 2>&5
45549 ac_status=$?
45550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45551 (exit $ac_status); }; } &&
45552 { ac_try='test -s conftest$ac_exeext'
45553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45554 (eval $ac_try) 2>&5
45555 ac_status=$?
45556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45557 (exit $ac_status); }; }; then
45558 eval "$as_ac_var=yes"
45559 else
45560 echo "$as_me: failed program was:" >&5
45561 sed 's/^/| /' conftest.$ac_ext >&5
45563 eval "$as_ac_var=no"
45565 rm -f conftest.err conftest.$ac_objext \
45566 conftest$ac_exeext conftest.$ac_ext
45568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45570 if test `eval echo '${'$as_ac_var'}'` = yes; then
45571 cat >>confdefs.h <<_ACEOF
45572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45573 _ACEOF
45576 done
45578 else
45580 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
45581 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
45582 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45583 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
45584 echo $ECHO_N "(cached) $ECHO_C" >&6
45585 else
45589 ac_ext=cc
45590 ac_cpp='$CXXCPP $CPPFLAGS'
45591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45595 cat >conftest.$ac_ext <<_ACEOF
45596 /* confdefs.h. */
45597 _ACEOF
45598 cat confdefs.h >>conftest.$ac_ext
45599 cat >>conftest.$ac_ext <<_ACEOF
45600 /* end confdefs.h. */
45601 #include <math.h>
45602 #ifdef HAVE_IEEEFP_H
45603 #include <ieeefp.h>
45604 #endif
45607 main ()
45609 _fpclass(0);
45611 return 0;
45613 _ACEOF
45614 rm -f conftest.$ac_objext
45615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45616 (eval $ac_compile) 2>conftest.er1
45617 ac_status=$?
45618 grep -v '^ *+' conftest.er1 >conftest.err
45619 rm -f conftest.er1
45620 cat conftest.err >&5
45621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45622 (exit $ac_status); } &&
45623 { ac_try='test -z "$ac_cxx_werror_flag"
45624 || test ! -s conftest.err'
45625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45626 (eval $ac_try) 2>&5
45627 ac_status=$?
45628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45629 (exit $ac_status); }; } &&
45630 { ac_try='test -s conftest.$ac_objext'
45631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45632 (eval $ac_try) 2>&5
45633 ac_status=$?
45634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45635 (exit $ac_status); }; }; then
45636 glibcxx_cv_func__fpclass_use=yes
45637 else
45638 echo "$as_me: failed program was:" >&5
45639 sed 's/^/| /' conftest.$ac_ext >&5
45641 glibcxx_cv_func__fpclass_use=no
45643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45644 ac_ext=c
45645 ac_cpp='$CPP $CPPFLAGS'
45646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45654 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
45655 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
45657 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45659 for ac_func in _fpclass
45661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45662 echo "$as_me:$LINENO: checking for $ac_func" >&5
45663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45664 if eval "test \"\${$as_ac_var+set}\" = set"; then
45665 echo $ECHO_N "(cached) $ECHO_C" >&6
45666 else
45667 if test x$gcc_no_link = xyes; then
45668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45670 { (exit 1); exit 1; }; }
45672 cat >conftest.$ac_ext <<_ACEOF
45673 /* confdefs.h. */
45674 _ACEOF
45675 cat confdefs.h >>conftest.$ac_ext
45676 cat >>conftest.$ac_ext <<_ACEOF
45677 /* end confdefs.h. */
45678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45680 #define $ac_func innocuous_$ac_func
45682 /* System header to define __stub macros and hopefully few prototypes,
45683 which can conflict with char $ac_func (); below.
45684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45685 <limits.h> exists even on freestanding compilers. */
45687 #ifdef __STDC__
45688 # include <limits.h>
45689 #else
45690 # include <assert.h>
45691 #endif
45693 #undef $ac_func
45695 /* Override any gcc2 internal prototype to avoid an error. */
45696 #ifdef __cplusplus
45697 extern "C"
45699 #endif
45700 /* We use char because int might match the return type of a gcc2
45701 builtin and then its argument prototype would still apply. */
45702 char $ac_func ();
45703 /* The GNU C library defines this for functions which it implements
45704 to always fail with ENOSYS. Some functions are actually named
45705 something starting with __ and the normal name is an alias. */
45706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45707 choke me
45708 #else
45709 char (*f) () = $ac_func;
45710 #endif
45711 #ifdef __cplusplus
45713 #endif
45716 main ()
45718 return f != $ac_func;
45720 return 0;
45722 _ACEOF
45723 rm -f conftest.$ac_objext conftest$ac_exeext
45724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45725 (eval $ac_link) 2>conftest.er1
45726 ac_status=$?
45727 grep -v '^ *+' conftest.er1 >conftest.err
45728 rm -f conftest.er1
45729 cat conftest.err >&5
45730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45731 (exit $ac_status); } &&
45732 { ac_try='test -z "$ac_c_werror_flag"
45733 || test ! -s conftest.err'
45734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45735 (eval $ac_try) 2>&5
45736 ac_status=$?
45737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45738 (exit $ac_status); }; } &&
45739 { ac_try='test -s conftest$ac_exeext'
45740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45741 (eval $ac_try) 2>&5
45742 ac_status=$?
45743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45744 (exit $ac_status); }; }; then
45745 eval "$as_ac_var=yes"
45746 else
45747 echo "$as_me: failed program was:" >&5
45748 sed 's/^/| /' conftest.$ac_ext >&5
45750 eval "$as_ac_var=no"
45752 rm -f conftest.err conftest.$ac_objext \
45753 conftest$ac_exeext conftest.$ac_ext
45755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45757 if test `eval echo '${'$as_ac_var'}'` = yes; then
45758 cat >>confdefs.h <<_ACEOF
45759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45760 _ACEOF
45763 done
45773 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
45774 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
45775 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45776 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
45777 echo $ECHO_N "(cached) $ECHO_C" >&6
45778 else
45782 ac_ext=cc
45783 ac_cpp='$CXXCPP $CPPFLAGS'
45784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45788 cat >conftest.$ac_ext <<_ACEOF
45789 /* confdefs.h. */
45790 _ACEOF
45791 cat confdefs.h >>conftest.$ac_ext
45792 cat >>conftest.$ac_ext <<_ACEOF
45793 /* end confdefs.h. */
45794 #include <math.h>
45795 #ifdef HAVE_IEEEFP_H
45796 #include <ieeefp.h>
45797 #endif
45800 main ()
45802 qfpclass(0);
45804 return 0;
45806 _ACEOF
45807 rm -f conftest.$ac_objext
45808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45809 (eval $ac_compile) 2>conftest.er1
45810 ac_status=$?
45811 grep -v '^ *+' conftest.er1 >conftest.err
45812 rm -f conftest.er1
45813 cat conftest.err >&5
45814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45815 (exit $ac_status); } &&
45816 { ac_try='test -z "$ac_cxx_werror_flag"
45817 || test ! -s conftest.err'
45818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45819 (eval $ac_try) 2>&5
45820 ac_status=$?
45821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45822 (exit $ac_status); }; } &&
45823 { ac_try='test -s conftest.$ac_objext'
45824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45825 (eval $ac_try) 2>&5
45826 ac_status=$?
45827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45828 (exit $ac_status); }; }; then
45829 glibcxx_cv_func_qfpclass_use=yes
45830 else
45831 echo "$as_me: failed program was:" >&5
45832 sed 's/^/| /' conftest.$ac_ext >&5
45834 glibcxx_cv_func_qfpclass_use=no
45836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45837 ac_ext=c
45838 ac_cpp='$CPP $CPPFLAGS'
45839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45847 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
45848 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
45850 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45852 for ac_func in qfpclass
45854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45855 echo "$as_me:$LINENO: checking for $ac_func" >&5
45856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45857 if eval "test \"\${$as_ac_var+set}\" = set"; then
45858 echo $ECHO_N "(cached) $ECHO_C" >&6
45859 else
45860 if test x$gcc_no_link = xyes; then
45861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45863 { (exit 1); exit 1; }; }
45865 cat >conftest.$ac_ext <<_ACEOF
45866 /* confdefs.h. */
45867 _ACEOF
45868 cat confdefs.h >>conftest.$ac_ext
45869 cat >>conftest.$ac_ext <<_ACEOF
45870 /* end confdefs.h. */
45871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45873 #define $ac_func innocuous_$ac_func
45875 /* System header to define __stub macros and hopefully few prototypes,
45876 which can conflict with char $ac_func (); below.
45877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45878 <limits.h> exists even on freestanding compilers. */
45880 #ifdef __STDC__
45881 # include <limits.h>
45882 #else
45883 # include <assert.h>
45884 #endif
45886 #undef $ac_func
45888 /* Override any gcc2 internal prototype to avoid an error. */
45889 #ifdef __cplusplus
45890 extern "C"
45892 #endif
45893 /* We use char because int might match the return type of a gcc2
45894 builtin and then its argument prototype would still apply. */
45895 char $ac_func ();
45896 /* The GNU C library defines this for functions which it implements
45897 to always fail with ENOSYS. Some functions are actually named
45898 something starting with __ and the normal name is an alias. */
45899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45900 choke me
45901 #else
45902 char (*f) () = $ac_func;
45903 #endif
45904 #ifdef __cplusplus
45906 #endif
45909 main ()
45911 return f != $ac_func;
45913 return 0;
45915 _ACEOF
45916 rm -f conftest.$ac_objext conftest$ac_exeext
45917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45918 (eval $ac_link) 2>conftest.er1
45919 ac_status=$?
45920 grep -v '^ *+' conftest.er1 >conftest.err
45921 rm -f conftest.er1
45922 cat conftest.err >&5
45923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45924 (exit $ac_status); } &&
45925 { ac_try='test -z "$ac_c_werror_flag"
45926 || test ! -s conftest.err'
45927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45928 (eval $ac_try) 2>&5
45929 ac_status=$?
45930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45931 (exit $ac_status); }; } &&
45932 { ac_try='test -s conftest$ac_exeext'
45933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45934 (eval $ac_try) 2>&5
45935 ac_status=$?
45936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45937 (exit $ac_status); }; }; then
45938 eval "$as_ac_var=yes"
45939 else
45940 echo "$as_me: failed program was:" >&5
45941 sed 's/^/| /' conftest.$ac_ext >&5
45943 eval "$as_ac_var=no"
45945 rm -f conftest.err conftest.$ac_objext \
45946 conftest$ac_exeext conftest.$ac_ext
45948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45950 if test `eval echo '${'$as_ac_var'}'` = yes; then
45951 cat >>confdefs.h <<_ACEOF
45952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45953 _ACEOF
45956 done
45958 else
45960 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
45961 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
45962 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45963 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
45964 echo $ECHO_N "(cached) $ECHO_C" >&6
45965 else
45969 ac_ext=cc
45970 ac_cpp='$CXXCPP $CPPFLAGS'
45971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45975 cat >conftest.$ac_ext <<_ACEOF
45976 /* confdefs.h. */
45977 _ACEOF
45978 cat confdefs.h >>conftest.$ac_ext
45979 cat >>conftest.$ac_ext <<_ACEOF
45980 /* end confdefs.h. */
45981 #include <math.h>
45982 #ifdef HAVE_IEEEFP_H
45983 #include <ieeefp.h>
45984 #endif
45987 main ()
45989 _qfpclass(0);
45991 return 0;
45993 _ACEOF
45994 rm -f conftest.$ac_objext
45995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45996 (eval $ac_compile) 2>conftest.er1
45997 ac_status=$?
45998 grep -v '^ *+' conftest.er1 >conftest.err
45999 rm -f conftest.er1
46000 cat conftest.err >&5
46001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46002 (exit $ac_status); } &&
46003 { ac_try='test -z "$ac_cxx_werror_flag"
46004 || test ! -s conftest.err'
46005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46006 (eval $ac_try) 2>&5
46007 ac_status=$?
46008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46009 (exit $ac_status); }; } &&
46010 { ac_try='test -s conftest.$ac_objext'
46011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46012 (eval $ac_try) 2>&5
46013 ac_status=$?
46014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46015 (exit $ac_status); }; }; then
46016 glibcxx_cv_func__qfpclass_use=yes
46017 else
46018 echo "$as_me: failed program was:" >&5
46019 sed 's/^/| /' conftest.$ac_ext >&5
46021 glibcxx_cv_func__qfpclass_use=no
46023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46024 ac_ext=c
46025 ac_cpp='$CPP $CPPFLAGS'
46026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46034 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
46035 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
46037 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46039 for ac_func in _qfpclass
46041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46042 echo "$as_me:$LINENO: checking for $ac_func" >&5
46043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46044 if eval "test \"\${$as_ac_var+set}\" = set"; then
46045 echo $ECHO_N "(cached) $ECHO_C" >&6
46046 else
46047 if test x$gcc_no_link = xyes; then
46048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46050 { (exit 1); exit 1; }; }
46052 cat >conftest.$ac_ext <<_ACEOF
46053 /* confdefs.h. */
46054 _ACEOF
46055 cat confdefs.h >>conftest.$ac_ext
46056 cat >>conftest.$ac_ext <<_ACEOF
46057 /* end confdefs.h. */
46058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46060 #define $ac_func innocuous_$ac_func
46062 /* System header to define __stub macros and hopefully few prototypes,
46063 which can conflict with char $ac_func (); below.
46064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46065 <limits.h> exists even on freestanding compilers. */
46067 #ifdef __STDC__
46068 # include <limits.h>
46069 #else
46070 # include <assert.h>
46071 #endif
46073 #undef $ac_func
46075 /* Override any gcc2 internal prototype to avoid an error. */
46076 #ifdef __cplusplus
46077 extern "C"
46079 #endif
46080 /* We use char because int might match the return type of a gcc2
46081 builtin and then its argument prototype would still apply. */
46082 char $ac_func ();
46083 /* The GNU C library defines this for functions which it implements
46084 to always fail with ENOSYS. Some functions are actually named
46085 something starting with __ and the normal name is an alias. */
46086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46087 choke me
46088 #else
46089 char (*f) () = $ac_func;
46090 #endif
46091 #ifdef __cplusplus
46093 #endif
46096 main ()
46098 return f != $ac_func;
46100 return 0;
46102 _ACEOF
46103 rm -f conftest.$ac_objext conftest$ac_exeext
46104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46105 (eval $ac_link) 2>conftest.er1
46106 ac_status=$?
46107 grep -v '^ *+' conftest.er1 >conftest.err
46108 rm -f conftest.er1
46109 cat conftest.err >&5
46110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46111 (exit $ac_status); } &&
46112 { ac_try='test -z "$ac_c_werror_flag"
46113 || test ! -s conftest.err'
46114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46115 (eval $ac_try) 2>&5
46116 ac_status=$?
46117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46118 (exit $ac_status); }; } &&
46119 { ac_try='test -s conftest$ac_exeext'
46120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46121 (eval $ac_try) 2>&5
46122 ac_status=$?
46123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46124 (exit $ac_status); }; }; then
46125 eval "$as_ac_var=yes"
46126 else
46127 echo "$as_me: failed program was:" >&5
46128 sed 's/^/| /' conftest.$ac_ext >&5
46130 eval "$as_ac_var=no"
46132 rm -f conftest.err conftest.$ac_objext \
46133 conftest$ac_exeext conftest.$ac_ext
46135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46137 if test `eval echo '${'$as_ac_var'}'` = yes; then
46138 cat >>confdefs.h <<_ACEOF
46139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46140 _ACEOF
46143 done
46153 echo "$as_me:$LINENO: checking for hypot declaration" >&5
46154 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
46155 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46156 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
46157 echo $ECHO_N "(cached) $ECHO_C" >&6
46158 else
46162 ac_ext=cc
46163 ac_cpp='$CXXCPP $CPPFLAGS'
46164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46168 cat >conftest.$ac_ext <<_ACEOF
46169 /* confdefs.h. */
46170 _ACEOF
46171 cat confdefs.h >>conftest.$ac_ext
46172 cat >>conftest.$ac_ext <<_ACEOF
46173 /* end confdefs.h. */
46174 #include <math.h>
46176 main ()
46178 hypot(0, 0);
46180 return 0;
46182 _ACEOF
46183 rm -f conftest.$ac_objext
46184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46185 (eval $ac_compile) 2>conftest.er1
46186 ac_status=$?
46187 grep -v '^ *+' conftest.er1 >conftest.err
46188 rm -f conftest.er1
46189 cat conftest.err >&5
46190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46191 (exit $ac_status); } &&
46192 { ac_try='test -z "$ac_cxx_werror_flag"
46193 || test ! -s conftest.err'
46194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46195 (eval $ac_try) 2>&5
46196 ac_status=$?
46197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46198 (exit $ac_status); }; } &&
46199 { ac_try='test -s conftest.$ac_objext'
46200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46201 (eval $ac_try) 2>&5
46202 ac_status=$?
46203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46204 (exit $ac_status); }; }; then
46205 glibcxx_cv_func_hypot_use=yes
46206 else
46207 echo "$as_me: failed program was:" >&5
46208 sed 's/^/| /' conftest.$ac_ext >&5
46210 glibcxx_cv_func_hypot_use=no
46212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46213 ac_ext=c
46214 ac_cpp='$CPP $CPPFLAGS'
46215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46223 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
46224 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
46226 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46228 for ac_func in hypot
46230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46231 echo "$as_me:$LINENO: checking for $ac_func" >&5
46232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46233 if eval "test \"\${$as_ac_var+set}\" = set"; then
46234 echo $ECHO_N "(cached) $ECHO_C" >&6
46235 else
46236 if test x$gcc_no_link = xyes; then
46237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46239 { (exit 1); exit 1; }; }
46241 cat >conftest.$ac_ext <<_ACEOF
46242 /* confdefs.h. */
46243 _ACEOF
46244 cat confdefs.h >>conftest.$ac_ext
46245 cat >>conftest.$ac_ext <<_ACEOF
46246 /* end confdefs.h. */
46247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46249 #define $ac_func innocuous_$ac_func
46251 /* System header to define __stub macros and hopefully few prototypes,
46252 which can conflict with char $ac_func (); below.
46253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46254 <limits.h> exists even on freestanding compilers. */
46256 #ifdef __STDC__
46257 # include <limits.h>
46258 #else
46259 # include <assert.h>
46260 #endif
46262 #undef $ac_func
46264 /* Override any gcc2 internal prototype to avoid an error. */
46265 #ifdef __cplusplus
46266 extern "C"
46268 #endif
46269 /* We use char because int might match the return type of a gcc2
46270 builtin and then its argument prototype would still apply. */
46271 char $ac_func ();
46272 /* The GNU C library defines this for functions which it implements
46273 to always fail with ENOSYS. Some functions are actually named
46274 something starting with __ and the normal name is an alias. */
46275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46276 choke me
46277 #else
46278 char (*f) () = $ac_func;
46279 #endif
46280 #ifdef __cplusplus
46282 #endif
46285 main ()
46287 return f != $ac_func;
46289 return 0;
46291 _ACEOF
46292 rm -f conftest.$ac_objext conftest$ac_exeext
46293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46294 (eval $ac_link) 2>conftest.er1
46295 ac_status=$?
46296 grep -v '^ *+' conftest.er1 >conftest.err
46297 rm -f conftest.er1
46298 cat conftest.err >&5
46299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46300 (exit $ac_status); } &&
46301 { ac_try='test -z "$ac_c_werror_flag"
46302 || test ! -s conftest.err'
46303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46304 (eval $ac_try) 2>&5
46305 ac_status=$?
46306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46307 (exit $ac_status); }; } &&
46308 { ac_try='test -s conftest$ac_exeext'
46309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46310 (eval $ac_try) 2>&5
46311 ac_status=$?
46312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46313 (exit $ac_status); }; }; then
46314 eval "$as_ac_var=yes"
46315 else
46316 echo "$as_me: failed program was:" >&5
46317 sed 's/^/| /' conftest.$ac_ext >&5
46319 eval "$as_ac_var=no"
46321 rm -f conftest.err conftest.$ac_objext \
46322 conftest$ac_exeext conftest.$ac_ext
46324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46326 if test `eval echo '${'$as_ac_var'}'` = yes; then
46327 cat >>confdefs.h <<_ACEOF
46328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46329 _ACEOF
46332 done
46334 else
46336 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
46337 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
46338 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46339 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
46340 echo $ECHO_N "(cached) $ECHO_C" >&6
46341 else
46345 ac_ext=cc
46346 ac_cpp='$CXXCPP $CPPFLAGS'
46347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46351 cat >conftest.$ac_ext <<_ACEOF
46352 /* confdefs.h. */
46353 _ACEOF
46354 cat confdefs.h >>conftest.$ac_ext
46355 cat >>conftest.$ac_ext <<_ACEOF
46356 /* end confdefs.h. */
46357 #include <math.h>
46359 main ()
46361 _hypot(0, 0);
46363 return 0;
46365 _ACEOF
46366 rm -f conftest.$ac_objext
46367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46368 (eval $ac_compile) 2>conftest.er1
46369 ac_status=$?
46370 grep -v '^ *+' conftest.er1 >conftest.err
46371 rm -f conftest.er1
46372 cat conftest.err >&5
46373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46374 (exit $ac_status); } &&
46375 { ac_try='test -z "$ac_cxx_werror_flag"
46376 || test ! -s conftest.err'
46377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46378 (eval $ac_try) 2>&5
46379 ac_status=$?
46380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46381 (exit $ac_status); }; } &&
46382 { ac_try='test -s conftest.$ac_objext'
46383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46384 (eval $ac_try) 2>&5
46385 ac_status=$?
46386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46387 (exit $ac_status); }; }; then
46388 glibcxx_cv_func__hypot_use=yes
46389 else
46390 echo "$as_me: failed program was:" >&5
46391 sed 's/^/| /' conftest.$ac_ext >&5
46393 glibcxx_cv_func__hypot_use=no
46395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46396 ac_ext=c
46397 ac_cpp='$CPP $CPPFLAGS'
46398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46406 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
46407 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
46409 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46411 for ac_func in _hypot
46413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46414 echo "$as_me:$LINENO: checking for $ac_func" >&5
46415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46416 if eval "test \"\${$as_ac_var+set}\" = set"; then
46417 echo $ECHO_N "(cached) $ECHO_C" >&6
46418 else
46419 if test x$gcc_no_link = xyes; then
46420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46422 { (exit 1); exit 1; }; }
46424 cat >conftest.$ac_ext <<_ACEOF
46425 /* confdefs.h. */
46426 _ACEOF
46427 cat confdefs.h >>conftest.$ac_ext
46428 cat >>conftest.$ac_ext <<_ACEOF
46429 /* end confdefs.h. */
46430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46432 #define $ac_func innocuous_$ac_func
46434 /* System header to define __stub macros and hopefully few prototypes,
46435 which can conflict with char $ac_func (); below.
46436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46437 <limits.h> exists even on freestanding compilers. */
46439 #ifdef __STDC__
46440 # include <limits.h>
46441 #else
46442 # include <assert.h>
46443 #endif
46445 #undef $ac_func
46447 /* Override any gcc2 internal prototype to avoid an error. */
46448 #ifdef __cplusplus
46449 extern "C"
46451 #endif
46452 /* We use char because int might match the return type of a gcc2
46453 builtin and then its argument prototype would still apply. */
46454 char $ac_func ();
46455 /* The GNU C library defines this for functions which it implements
46456 to always fail with ENOSYS. Some functions are actually named
46457 something starting with __ and the normal name is an alias. */
46458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46459 choke me
46460 #else
46461 char (*f) () = $ac_func;
46462 #endif
46463 #ifdef __cplusplus
46465 #endif
46468 main ()
46470 return f != $ac_func;
46472 return 0;
46474 _ACEOF
46475 rm -f conftest.$ac_objext conftest$ac_exeext
46476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46477 (eval $ac_link) 2>conftest.er1
46478 ac_status=$?
46479 grep -v '^ *+' conftest.er1 >conftest.err
46480 rm -f conftest.er1
46481 cat conftest.err >&5
46482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46483 (exit $ac_status); } &&
46484 { ac_try='test -z "$ac_c_werror_flag"
46485 || test ! -s conftest.err'
46486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46487 (eval $ac_try) 2>&5
46488 ac_status=$?
46489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46490 (exit $ac_status); }; } &&
46491 { ac_try='test -s conftest$ac_exeext'
46492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46493 (eval $ac_try) 2>&5
46494 ac_status=$?
46495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46496 (exit $ac_status); }; }; then
46497 eval "$as_ac_var=yes"
46498 else
46499 echo "$as_me: failed program was:" >&5
46500 sed 's/^/| /' conftest.$ac_ext >&5
46502 eval "$as_ac_var=no"
46504 rm -f conftest.err conftest.$ac_objext \
46505 conftest$ac_exeext conftest.$ac_ext
46507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46509 if test `eval echo '${'$as_ac_var'}'` = yes; then
46510 cat >>confdefs.h <<_ACEOF
46511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46512 _ACEOF
46515 done
46525 echo "$as_me:$LINENO: checking for float trig functions" >&5
46526 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
46527 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
46528 echo $ECHO_N "(cached) $ECHO_C" >&6
46529 else
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
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>
46547 main ()
46549 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46551 return 0;
46553 _ACEOF
46554 rm -f conftest.$ac_objext
46555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46556 (eval $ac_compile) 2>conftest.er1
46557 ac_status=$?
46558 grep -v '^ *+' conftest.er1 >conftest.err
46559 rm -f conftest.er1
46560 cat conftest.err >&5
46561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46562 (exit $ac_status); } &&
46563 { ac_try='test -z "$ac_cxx_werror_flag"
46564 || test ! -s conftest.err'
46565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46566 (eval $ac_try) 2>&5
46567 ac_status=$?
46568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46569 (exit $ac_status); }; } &&
46570 { ac_try='test -s conftest.$ac_objext'
46571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46572 (eval $ac_try) 2>&5
46573 ac_status=$?
46574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46575 (exit $ac_status); }; }; then
46576 glibcxx_cv_func_float_trig_use=yes
46577 else
46578 echo "$as_me: failed program was:" >&5
46579 sed 's/^/| /' conftest.$ac_ext >&5
46581 glibcxx_cv_func_float_trig_use=no
46583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46584 ac_ext=c
46585 ac_cpp='$CPP $CPPFLAGS'
46586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46592 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
46593 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
46594 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46604 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46607 echo "$as_me:$LINENO: checking for $ac_func" >&5
46608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46609 if eval "test \"\${$as_ac_var+set}\" = set"; then
46610 echo $ECHO_N "(cached) $ECHO_C" >&6
46611 else
46612 if test x$gcc_no_link = xyes; then
46613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46615 { (exit 1); exit 1; }; }
46617 cat >conftest.$ac_ext <<_ACEOF
46618 /* confdefs.h. */
46619 _ACEOF
46620 cat confdefs.h >>conftest.$ac_ext
46621 cat >>conftest.$ac_ext <<_ACEOF
46622 /* end confdefs.h. */
46623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46624 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46625 #define $ac_func innocuous_$ac_func
46627 /* System header to define __stub macros and hopefully few prototypes,
46628 which can conflict with char $ac_func (); below.
46629 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46630 <limits.h> exists even on freestanding compilers. */
46632 #ifdef __STDC__
46633 # include <limits.h>
46634 #else
46635 # include <assert.h>
46636 #endif
46638 #undef $ac_func
46640 /* Override any gcc2 internal prototype to avoid an error. */
46641 #ifdef __cplusplus
46642 extern "C"
46644 #endif
46645 /* We use char because int might match the return type of a gcc2
46646 builtin and then its argument prototype would still apply. */
46647 char $ac_func ();
46648 /* The GNU C library defines this for functions which it implements
46649 to always fail with ENOSYS. Some functions are actually named
46650 something starting with __ and the normal name is an alias. */
46651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46652 choke me
46653 #else
46654 char (*f) () = $ac_func;
46655 #endif
46656 #ifdef __cplusplus
46658 #endif
46661 main ()
46663 return f != $ac_func;
46665 return 0;
46667 _ACEOF
46668 rm -f conftest.$ac_objext conftest$ac_exeext
46669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46670 (eval $ac_link) 2>conftest.er1
46671 ac_status=$?
46672 grep -v '^ *+' conftest.er1 >conftest.err
46673 rm -f conftest.er1
46674 cat conftest.err >&5
46675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46676 (exit $ac_status); } &&
46677 { ac_try='test -z "$ac_c_werror_flag"
46678 || test ! -s conftest.err'
46679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46680 (eval $ac_try) 2>&5
46681 ac_status=$?
46682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46683 (exit $ac_status); }; } &&
46684 { ac_try='test -s conftest$ac_exeext'
46685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46686 (eval $ac_try) 2>&5
46687 ac_status=$?
46688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46689 (exit $ac_status); }; }; then
46690 eval "$as_ac_var=yes"
46691 else
46692 echo "$as_me: failed program was:" >&5
46693 sed 's/^/| /' conftest.$ac_ext >&5
46695 eval "$as_ac_var=no"
46697 rm -f conftest.err conftest.$ac_objext \
46698 conftest$ac_exeext conftest.$ac_ext
46700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46702 if test `eval echo '${'$as_ac_var'}'` = yes; then
46703 cat >>confdefs.h <<_ACEOF
46704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46705 _ACEOF
46708 done
46710 else
46711 echo "$as_me:$LINENO: checking for _float trig functions" >&5
46712 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
46713 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
46714 echo $ECHO_N "(cached) $ECHO_C" >&6
46715 else
46719 ac_ext=cc
46720 ac_cpp='$CXXCPP $CPPFLAGS'
46721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46725 cat >conftest.$ac_ext <<_ACEOF
46726 /* confdefs.h. */
46727 _ACEOF
46728 cat confdefs.h >>conftest.$ac_ext
46729 cat >>conftest.$ac_ext <<_ACEOF
46730 /* end confdefs.h. */
46731 #include <math.h>
46733 main ()
46735 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46737 return 0;
46739 _ACEOF
46740 rm -f conftest.$ac_objext
46741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46742 (eval $ac_compile) 2>conftest.er1
46743 ac_status=$?
46744 grep -v '^ *+' conftest.er1 >conftest.err
46745 rm -f conftest.er1
46746 cat conftest.err >&5
46747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46748 (exit $ac_status); } &&
46749 { ac_try='test -z "$ac_cxx_werror_flag"
46750 || test ! -s conftest.err'
46751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46752 (eval $ac_try) 2>&5
46753 ac_status=$?
46754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46755 (exit $ac_status); }; } &&
46756 { ac_try='test -s conftest.$ac_objext'
46757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46758 (eval $ac_try) 2>&5
46759 ac_status=$?
46760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46761 (exit $ac_status); }; }; then
46762 glibcxx_cv_func__float_trig_use=yes
46763 else
46764 echo "$as_me: failed program was:" >&5
46765 sed 's/^/| /' conftest.$ac_ext >&5
46767 glibcxx_cv_func__float_trig_use=no
46769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46770 ac_ext=c
46771 ac_cpp='$CPP $CPPFLAGS'
46772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46778 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
46779 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
46780 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46790 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46793 echo "$as_me:$LINENO: checking for $ac_func" >&5
46794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46795 if eval "test \"\${$as_ac_var+set}\" = set"; then
46796 echo $ECHO_N "(cached) $ECHO_C" >&6
46797 else
46798 if test x$gcc_no_link = xyes; then
46799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46801 { (exit 1); exit 1; }; }
46803 cat >conftest.$ac_ext <<_ACEOF
46804 /* confdefs.h. */
46805 _ACEOF
46806 cat confdefs.h >>conftest.$ac_ext
46807 cat >>conftest.$ac_ext <<_ACEOF
46808 /* end confdefs.h. */
46809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46811 #define $ac_func innocuous_$ac_func
46813 /* System header to define __stub macros and hopefully few prototypes,
46814 which can conflict with char $ac_func (); below.
46815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46816 <limits.h> exists even on freestanding compilers. */
46818 #ifdef __STDC__
46819 # include <limits.h>
46820 #else
46821 # include <assert.h>
46822 #endif
46824 #undef $ac_func
46826 /* Override any gcc2 internal prototype to avoid an error. */
46827 #ifdef __cplusplus
46828 extern "C"
46830 #endif
46831 /* We use char because int might match the return type of a gcc2
46832 builtin and then its argument prototype would still apply. */
46833 char $ac_func ();
46834 /* The GNU C library defines this for functions which it implements
46835 to always fail with ENOSYS. Some functions are actually named
46836 something starting with __ and the normal name is an alias. */
46837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46838 choke me
46839 #else
46840 char (*f) () = $ac_func;
46841 #endif
46842 #ifdef __cplusplus
46844 #endif
46847 main ()
46849 return f != $ac_func;
46851 return 0;
46853 _ACEOF
46854 rm -f conftest.$ac_objext conftest$ac_exeext
46855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46856 (eval $ac_link) 2>conftest.er1
46857 ac_status=$?
46858 grep -v '^ *+' conftest.er1 >conftest.err
46859 rm -f conftest.er1
46860 cat conftest.err >&5
46861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46862 (exit $ac_status); } &&
46863 { ac_try='test -z "$ac_c_werror_flag"
46864 || test ! -s conftest.err'
46865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46866 (eval $ac_try) 2>&5
46867 ac_status=$?
46868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46869 (exit $ac_status); }; } &&
46870 { ac_try='test -s conftest$ac_exeext'
46871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46872 (eval $ac_try) 2>&5
46873 ac_status=$?
46874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46875 (exit $ac_status); }; }; then
46876 eval "$as_ac_var=yes"
46877 else
46878 echo "$as_me: failed program was:" >&5
46879 sed 's/^/| /' conftest.$ac_ext >&5
46881 eval "$as_ac_var=no"
46883 rm -f conftest.err conftest.$ac_objext \
46884 conftest$ac_exeext conftest.$ac_ext
46886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46888 if test `eval echo '${'$as_ac_var'}'` = yes; then
46889 cat >>confdefs.h <<_ACEOF
46890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46891 _ACEOF
46894 done
46912 echo "$as_me:$LINENO: checking for float round functions" >&5
46913 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
46914 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
46915 echo $ECHO_N "(cached) $ECHO_C" >&6
46916 else
46920 ac_ext=cc
46921 ac_cpp='$CXXCPP $CPPFLAGS'
46922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46926 cat >conftest.$ac_ext <<_ACEOF
46927 /* confdefs.h. */
46928 _ACEOF
46929 cat confdefs.h >>conftest.$ac_ext
46930 cat >>conftest.$ac_ext <<_ACEOF
46931 /* end confdefs.h. */
46932 #include <math.h>
46934 main ()
46936 ceilf (0); floorf (0);
46938 return 0;
46940 _ACEOF
46941 rm -f conftest.$ac_objext
46942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46943 (eval $ac_compile) 2>conftest.er1
46944 ac_status=$?
46945 grep -v '^ *+' conftest.er1 >conftest.err
46946 rm -f conftest.er1
46947 cat conftest.err >&5
46948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46949 (exit $ac_status); } &&
46950 { ac_try='test -z "$ac_cxx_werror_flag"
46951 || test ! -s conftest.err'
46952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46953 (eval $ac_try) 2>&5
46954 ac_status=$?
46955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46956 (exit $ac_status); }; } &&
46957 { ac_try='test -s conftest.$ac_objext'
46958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46959 (eval $ac_try) 2>&5
46960 ac_status=$?
46961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46962 (exit $ac_status); }; }; then
46963 glibcxx_cv_func_float_round_use=yes
46964 else
46965 echo "$as_me: failed program was:" >&5
46966 sed 's/^/| /' conftest.$ac_ext >&5
46968 glibcxx_cv_func_float_round_use=no
46970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46971 ac_ext=c
46972 ac_cpp='$CPP $CPPFLAGS'
46973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46979 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
46980 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
46981 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46984 for ac_func in ceilf floorf
46986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46987 echo "$as_me:$LINENO: checking for $ac_func" >&5
46988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46989 if eval "test \"\${$as_ac_var+set}\" = set"; then
46990 echo $ECHO_N "(cached) $ECHO_C" >&6
46991 else
46992 if test x$gcc_no_link = xyes; then
46993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46995 { (exit 1); exit 1; }; }
46997 cat >conftest.$ac_ext <<_ACEOF
46998 /* confdefs.h. */
46999 _ACEOF
47000 cat confdefs.h >>conftest.$ac_ext
47001 cat >>conftest.$ac_ext <<_ACEOF
47002 /* end confdefs.h. */
47003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47005 #define $ac_func innocuous_$ac_func
47007 /* System header to define __stub macros and hopefully few prototypes,
47008 which can conflict with char $ac_func (); below.
47009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47010 <limits.h> exists even on freestanding compilers. */
47012 #ifdef __STDC__
47013 # include <limits.h>
47014 #else
47015 # include <assert.h>
47016 #endif
47018 #undef $ac_func
47020 /* Override any gcc2 internal prototype to avoid an error. */
47021 #ifdef __cplusplus
47022 extern "C"
47024 #endif
47025 /* We use char because int might match the return type of a gcc2
47026 builtin and then its argument prototype would still apply. */
47027 char $ac_func ();
47028 /* The GNU C library defines this for functions which it implements
47029 to always fail with ENOSYS. Some functions are actually named
47030 something starting with __ and the normal name is an alias. */
47031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47032 choke me
47033 #else
47034 char (*f) () = $ac_func;
47035 #endif
47036 #ifdef __cplusplus
47038 #endif
47041 main ()
47043 return f != $ac_func;
47045 return 0;
47047 _ACEOF
47048 rm -f conftest.$ac_objext conftest$ac_exeext
47049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47050 (eval $ac_link) 2>conftest.er1
47051 ac_status=$?
47052 grep -v '^ *+' conftest.er1 >conftest.err
47053 rm -f conftest.er1
47054 cat conftest.err >&5
47055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47056 (exit $ac_status); } &&
47057 { ac_try='test -z "$ac_c_werror_flag"
47058 || test ! -s conftest.err'
47059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47060 (eval $ac_try) 2>&5
47061 ac_status=$?
47062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47063 (exit $ac_status); }; } &&
47064 { ac_try='test -s conftest$ac_exeext'
47065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47066 (eval $ac_try) 2>&5
47067 ac_status=$?
47068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47069 (exit $ac_status); }; }; then
47070 eval "$as_ac_var=yes"
47071 else
47072 echo "$as_me: failed program was:" >&5
47073 sed 's/^/| /' conftest.$ac_ext >&5
47075 eval "$as_ac_var=no"
47077 rm -f conftest.err conftest.$ac_objext \
47078 conftest$ac_exeext conftest.$ac_ext
47080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47082 if test `eval echo '${'$as_ac_var'}'` = yes; then
47083 cat >>confdefs.h <<_ACEOF
47084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47085 _ACEOF
47088 done
47090 else
47091 echo "$as_me:$LINENO: checking for _float round functions" >&5
47092 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47093 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47094 echo $ECHO_N "(cached) $ECHO_C" >&6
47095 else
47099 ac_ext=cc
47100 ac_cpp='$CXXCPP $CPPFLAGS'
47101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47105 cat >conftest.$ac_ext <<_ACEOF
47106 /* confdefs.h. */
47107 _ACEOF
47108 cat confdefs.h >>conftest.$ac_ext
47109 cat >>conftest.$ac_ext <<_ACEOF
47110 /* end confdefs.h. */
47111 #include <math.h>
47113 main ()
47115 _ceilf (0); _floorf (0);
47117 return 0;
47119 _ACEOF
47120 rm -f conftest.$ac_objext
47121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47122 (eval $ac_compile) 2>conftest.er1
47123 ac_status=$?
47124 grep -v '^ *+' conftest.er1 >conftest.err
47125 rm -f conftest.er1
47126 cat conftest.err >&5
47127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47128 (exit $ac_status); } &&
47129 { ac_try='test -z "$ac_cxx_werror_flag"
47130 || test ! -s conftest.err'
47131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47132 (eval $ac_try) 2>&5
47133 ac_status=$?
47134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47135 (exit $ac_status); }; } &&
47136 { ac_try='test -s conftest.$ac_objext'
47137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47138 (eval $ac_try) 2>&5
47139 ac_status=$?
47140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47141 (exit $ac_status); }; }; then
47142 glibcxx_cv_func__float_round_use=yes
47143 else
47144 echo "$as_me: failed program was:" >&5
47145 sed 's/^/| /' conftest.$ac_ext >&5
47147 glibcxx_cv_func__float_round_use=no
47149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47150 ac_ext=c
47151 ac_cpp='$CPP $CPPFLAGS'
47152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47158 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47159 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47160 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47163 for ac_func in _ceilf _floorf
47165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47166 echo "$as_me:$LINENO: checking for $ac_func" >&5
47167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47168 if eval "test \"\${$as_ac_var+set}\" = set"; then
47169 echo $ECHO_N "(cached) $ECHO_C" >&6
47170 else
47171 if test x$gcc_no_link = xyes; then
47172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47174 { (exit 1); exit 1; }; }
47176 cat >conftest.$ac_ext <<_ACEOF
47177 /* confdefs.h. */
47178 _ACEOF
47179 cat confdefs.h >>conftest.$ac_ext
47180 cat >>conftest.$ac_ext <<_ACEOF
47181 /* end confdefs.h. */
47182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47184 #define $ac_func innocuous_$ac_func
47186 /* System header to define __stub macros and hopefully few prototypes,
47187 which can conflict with char $ac_func (); below.
47188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47189 <limits.h> exists even on freestanding compilers. */
47191 #ifdef __STDC__
47192 # include <limits.h>
47193 #else
47194 # include <assert.h>
47195 #endif
47197 #undef $ac_func
47199 /* Override any gcc2 internal prototype to avoid an error. */
47200 #ifdef __cplusplus
47201 extern "C"
47203 #endif
47204 /* We use char because int might match the return type of a gcc2
47205 builtin and then its argument prototype would still apply. */
47206 char $ac_func ();
47207 /* The GNU C library defines this for functions which it implements
47208 to always fail with ENOSYS. Some functions are actually named
47209 something starting with __ and the normal name is an alias. */
47210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47211 choke me
47212 #else
47213 char (*f) () = $ac_func;
47214 #endif
47215 #ifdef __cplusplus
47217 #endif
47220 main ()
47222 return f != $ac_func;
47224 return 0;
47226 _ACEOF
47227 rm -f conftest.$ac_objext conftest$ac_exeext
47228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47229 (eval $ac_link) 2>conftest.er1
47230 ac_status=$?
47231 grep -v '^ *+' conftest.er1 >conftest.err
47232 rm -f conftest.er1
47233 cat conftest.err >&5
47234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47235 (exit $ac_status); } &&
47236 { ac_try='test -z "$ac_c_werror_flag"
47237 || test ! -s conftest.err'
47238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47239 (eval $ac_try) 2>&5
47240 ac_status=$?
47241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47242 (exit $ac_status); }; } &&
47243 { ac_try='test -s conftest$ac_exeext'
47244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47245 (eval $ac_try) 2>&5
47246 ac_status=$?
47247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47248 (exit $ac_status); }; }; then
47249 eval "$as_ac_var=yes"
47250 else
47251 echo "$as_me: failed program was:" >&5
47252 sed 's/^/| /' conftest.$ac_ext >&5
47254 eval "$as_ac_var=no"
47256 rm -f conftest.err conftest.$ac_objext \
47257 conftest$ac_exeext conftest.$ac_ext
47259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47261 if test `eval echo '${'$as_ac_var'}'` = yes; then
47262 cat >>confdefs.h <<_ACEOF
47263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47264 _ACEOF
47267 done
47279 echo "$as_me:$LINENO: checking for expf declaration" >&5
47280 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
47281 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47282 if test "${glibcxx_cv_func_expf_use+set}" = set; then
47283 echo $ECHO_N "(cached) $ECHO_C" >&6
47284 else
47288 ac_ext=cc
47289 ac_cpp='$CXXCPP $CPPFLAGS'
47290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47294 cat >conftest.$ac_ext <<_ACEOF
47295 /* confdefs.h. */
47296 _ACEOF
47297 cat confdefs.h >>conftest.$ac_ext
47298 cat >>conftest.$ac_ext <<_ACEOF
47299 /* end confdefs.h. */
47300 #include <math.h>
47301 #ifdef HAVE_IEEEFP_H
47302 #include <ieeefp.h>
47303 #endif
47306 main ()
47308 expf(0);
47310 return 0;
47312 _ACEOF
47313 rm -f conftest.$ac_objext
47314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47315 (eval $ac_compile) 2>conftest.er1
47316 ac_status=$?
47317 grep -v '^ *+' conftest.er1 >conftest.err
47318 rm -f conftest.er1
47319 cat conftest.err >&5
47320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47321 (exit $ac_status); } &&
47322 { ac_try='test -z "$ac_cxx_werror_flag"
47323 || test ! -s conftest.err'
47324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47325 (eval $ac_try) 2>&5
47326 ac_status=$?
47327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47328 (exit $ac_status); }; } &&
47329 { ac_try='test -s conftest.$ac_objext'
47330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47331 (eval $ac_try) 2>&5
47332 ac_status=$?
47333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47334 (exit $ac_status); }; }; then
47335 glibcxx_cv_func_expf_use=yes
47336 else
47337 echo "$as_me: failed program was:" >&5
47338 sed 's/^/| /' conftest.$ac_ext >&5
47340 glibcxx_cv_func_expf_use=no
47342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47343 ac_ext=c
47344 ac_cpp='$CPP $CPPFLAGS'
47345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47353 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
47354 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
47356 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47358 for ac_func in expf
47360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47361 echo "$as_me:$LINENO: checking for $ac_func" >&5
47362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47363 if eval "test \"\${$as_ac_var+set}\" = set"; then
47364 echo $ECHO_N "(cached) $ECHO_C" >&6
47365 else
47366 if test x$gcc_no_link = xyes; then
47367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47369 { (exit 1); exit 1; }; }
47371 cat >conftest.$ac_ext <<_ACEOF
47372 /* confdefs.h. */
47373 _ACEOF
47374 cat confdefs.h >>conftest.$ac_ext
47375 cat >>conftest.$ac_ext <<_ACEOF
47376 /* end confdefs.h. */
47377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47379 #define $ac_func innocuous_$ac_func
47381 /* System header to define __stub macros and hopefully few prototypes,
47382 which can conflict with char $ac_func (); below.
47383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47384 <limits.h> exists even on freestanding compilers. */
47386 #ifdef __STDC__
47387 # include <limits.h>
47388 #else
47389 # include <assert.h>
47390 #endif
47392 #undef $ac_func
47394 /* Override any gcc2 internal prototype to avoid an error. */
47395 #ifdef __cplusplus
47396 extern "C"
47398 #endif
47399 /* We use char because int might match the return type of a gcc2
47400 builtin and then its argument prototype would still apply. */
47401 char $ac_func ();
47402 /* The GNU C library defines this for functions which it implements
47403 to always fail with ENOSYS. Some functions are actually named
47404 something starting with __ and the normal name is an alias. */
47405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47406 choke me
47407 #else
47408 char (*f) () = $ac_func;
47409 #endif
47410 #ifdef __cplusplus
47412 #endif
47415 main ()
47417 return f != $ac_func;
47419 return 0;
47421 _ACEOF
47422 rm -f conftest.$ac_objext conftest$ac_exeext
47423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47424 (eval $ac_link) 2>conftest.er1
47425 ac_status=$?
47426 grep -v '^ *+' conftest.er1 >conftest.err
47427 rm -f conftest.er1
47428 cat conftest.err >&5
47429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47430 (exit $ac_status); } &&
47431 { ac_try='test -z "$ac_c_werror_flag"
47432 || test ! -s conftest.err'
47433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47434 (eval $ac_try) 2>&5
47435 ac_status=$?
47436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47437 (exit $ac_status); }; } &&
47438 { ac_try='test -s conftest$ac_exeext'
47439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47440 (eval $ac_try) 2>&5
47441 ac_status=$?
47442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47443 (exit $ac_status); }; }; then
47444 eval "$as_ac_var=yes"
47445 else
47446 echo "$as_me: failed program was:" >&5
47447 sed 's/^/| /' conftest.$ac_ext >&5
47449 eval "$as_ac_var=no"
47451 rm -f conftest.err conftest.$ac_objext \
47452 conftest$ac_exeext conftest.$ac_ext
47454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47456 if test `eval echo '${'$as_ac_var'}'` = yes; then
47457 cat >>confdefs.h <<_ACEOF
47458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47459 _ACEOF
47462 done
47464 else
47466 echo "$as_me:$LINENO: checking for _expf declaration" >&5
47467 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
47468 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47469 if test "${glibcxx_cv_func__expf_use+set}" = set; then
47470 echo $ECHO_N "(cached) $ECHO_C" >&6
47471 else
47475 ac_ext=cc
47476 ac_cpp='$CXXCPP $CPPFLAGS'
47477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47481 cat >conftest.$ac_ext <<_ACEOF
47482 /* confdefs.h. */
47483 _ACEOF
47484 cat confdefs.h >>conftest.$ac_ext
47485 cat >>conftest.$ac_ext <<_ACEOF
47486 /* end confdefs.h. */
47487 #include <math.h>
47488 #ifdef HAVE_IEEEFP_H
47489 #include <ieeefp.h>
47490 #endif
47493 main ()
47495 _expf(0);
47497 return 0;
47499 _ACEOF
47500 rm -f conftest.$ac_objext
47501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47502 (eval $ac_compile) 2>conftest.er1
47503 ac_status=$?
47504 grep -v '^ *+' conftest.er1 >conftest.err
47505 rm -f conftest.er1
47506 cat conftest.err >&5
47507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47508 (exit $ac_status); } &&
47509 { ac_try='test -z "$ac_cxx_werror_flag"
47510 || test ! -s conftest.err'
47511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47512 (eval $ac_try) 2>&5
47513 ac_status=$?
47514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47515 (exit $ac_status); }; } &&
47516 { ac_try='test -s conftest.$ac_objext'
47517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47518 (eval $ac_try) 2>&5
47519 ac_status=$?
47520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47521 (exit $ac_status); }; }; then
47522 glibcxx_cv_func__expf_use=yes
47523 else
47524 echo "$as_me: failed program was:" >&5
47525 sed 's/^/| /' conftest.$ac_ext >&5
47527 glibcxx_cv_func__expf_use=no
47529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47530 ac_ext=c
47531 ac_cpp='$CPP $CPPFLAGS'
47532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47540 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
47541 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
47543 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47545 for ac_func in _expf
47547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47548 echo "$as_me:$LINENO: checking for $ac_func" >&5
47549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47550 if eval "test \"\${$as_ac_var+set}\" = set"; then
47551 echo $ECHO_N "(cached) $ECHO_C" >&6
47552 else
47553 if test x$gcc_no_link = xyes; then
47554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47556 { (exit 1); exit 1; }; }
47558 cat >conftest.$ac_ext <<_ACEOF
47559 /* confdefs.h. */
47560 _ACEOF
47561 cat confdefs.h >>conftest.$ac_ext
47562 cat >>conftest.$ac_ext <<_ACEOF
47563 /* end confdefs.h. */
47564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47566 #define $ac_func innocuous_$ac_func
47568 /* System header to define __stub macros and hopefully few prototypes,
47569 which can conflict with char $ac_func (); below.
47570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47571 <limits.h> exists even on freestanding compilers. */
47573 #ifdef __STDC__
47574 # include <limits.h>
47575 #else
47576 # include <assert.h>
47577 #endif
47579 #undef $ac_func
47581 /* Override any gcc2 internal prototype to avoid an error. */
47582 #ifdef __cplusplus
47583 extern "C"
47585 #endif
47586 /* We use char because int might match the return type of a gcc2
47587 builtin and then its argument prototype would still apply. */
47588 char $ac_func ();
47589 /* The GNU C library defines this for functions which it implements
47590 to always fail with ENOSYS. Some functions are actually named
47591 something starting with __ and the normal name is an alias. */
47592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47593 choke me
47594 #else
47595 char (*f) () = $ac_func;
47596 #endif
47597 #ifdef __cplusplus
47599 #endif
47602 main ()
47604 return f != $ac_func;
47606 return 0;
47608 _ACEOF
47609 rm -f conftest.$ac_objext conftest$ac_exeext
47610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47611 (eval $ac_link) 2>conftest.er1
47612 ac_status=$?
47613 grep -v '^ *+' conftest.er1 >conftest.err
47614 rm -f conftest.er1
47615 cat conftest.err >&5
47616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47617 (exit $ac_status); } &&
47618 { ac_try='test -z "$ac_c_werror_flag"
47619 || test ! -s conftest.err'
47620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47621 (eval $ac_try) 2>&5
47622 ac_status=$?
47623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47624 (exit $ac_status); }; } &&
47625 { ac_try='test -s conftest$ac_exeext'
47626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47627 (eval $ac_try) 2>&5
47628 ac_status=$?
47629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47630 (exit $ac_status); }; }; then
47631 eval "$as_ac_var=yes"
47632 else
47633 echo "$as_me: failed program was:" >&5
47634 sed 's/^/| /' conftest.$ac_ext >&5
47636 eval "$as_ac_var=no"
47638 rm -f conftest.err conftest.$ac_objext \
47639 conftest$ac_exeext conftest.$ac_ext
47641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47643 if test `eval echo '${'$as_ac_var'}'` = yes; then
47644 cat >>confdefs.h <<_ACEOF
47645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47646 _ACEOF
47649 done
47659 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
47660 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
47661 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47662 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
47663 echo $ECHO_N "(cached) $ECHO_C" >&6
47664 else
47668 ac_ext=cc
47669 ac_cpp='$CXXCPP $CPPFLAGS'
47670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47674 cat >conftest.$ac_ext <<_ACEOF
47675 /* confdefs.h. */
47676 _ACEOF
47677 cat confdefs.h >>conftest.$ac_ext
47678 cat >>conftest.$ac_ext <<_ACEOF
47679 /* end confdefs.h. */
47680 #include <math.h>
47681 #ifdef HAVE_IEEEFP_H
47682 #include <ieeefp.h>
47683 #endif
47686 main ()
47688 isnanf(0);
47690 return 0;
47692 _ACEOF
47693 rm -f conftest.$ac_objext
47694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47695 (eval $ac_compile) 2>conftest.er1
47696 ac_status=$?
47697 grep -v '^ *+' conftest.er1 >conftest.err
47698 rm -f conftest.er1
47699 cat conftest.err >&5
47700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47701 (exit $ac_status); } &&
47702 { ac_try='test -z "$ac_cxx_werror_flag"
47703 || test ! -s conftest.err'
47704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47705 (eval $ac_try) 2>&5
47706 ac_status=$?
47707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47708 (exit $ac_status); }; } &&
47709 { ac_try='test -s conftest.$ac_objext'
47710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47711 (eval $ac_try) 2>&5
47712 ac_status=$?
47713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47714 (exit $ac_status); }; }; then
47715 glibcxx_cv_func_isnanf_use=yes
47716 else
47717 echo "$as_me: failed program was:" >&5
47718 sed 's/^/| /' conftest.$ac_ext >&5
47720 glibcxx_cv_func_isnanf_use=no
47722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47723 ac_ext=c
47724 ac_cpp='$CPP $CPPFLAGS'
47725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47733 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
47734 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
47736 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47738 for ac_func in isnanf
47740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47741 echo "$as_me:$LINENO: checking for $ac_func" >&5
47742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47743 if eval "test \"\${$as_ac_var+set}\" = set"; then
47744 echo $ECHO_N "(cached) $ECHO_C" >&6
47745 else
47746 if test x$gcc_no_link = xyes; then
47747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47749 { (exit 1); exit 1; }; }
47751 cat >conftest.$ac_ext <<_ACEOF
47752 /* confdefs.h. */
47753 _ACEOF
47754 cat confdefs.h >>conftest.$ac_ext
47755 cat >>conftest.$ac_ext <<_ACEOF
47756 /* end confdefs.h. */
47757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47759 #define $ac_func innocuous_$ac_func
47761 /* System header to define __stub macros and hopefully few prototypes,
47762 which can conflict with char $ac_func (); below.
47763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47764 <limits.h> exists even on freestanding compilers. */
47766 #ifdef __STDC__
47767 # include <limits.h>
47768 #else
47769 # include <assert.h>
47770 #endif
47772 #undef $ac_func
47774 /* Override any gcc2 internal prototype to avoid an error. */
47775 #ifdef __cplusplus
47776 extern "C"
47778 #endif
47779 /* We use char because int might match the return type of a gcc2
47780 builtin and then its argument prototype would still apply. */
47781 char $ac_func ();
47782 /* The GNU C library defines this for functions which it implements
47783 to always fail with ENOSYS. Some functions are actually named
47784 something starting with __ and the normal name is an alias. */
47785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47786 choke me
47787 #else
47788 char (*f) () = $ac_func;
47789 #endif
47790 #ifdef __cplusplus
47792 #endif
47795 main ()
47797 return f != $ac_func;
47799 return 0;
47801 _ACEOF
47802 rm -f conftest.$ac_objext conftest$ac_exeext
47803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47804 (eval $ac_link) 2>conftest.er1
47805 ac_status=$?
47806 grep -v '^ *+' conftest.er1 >conftest.err
47807 rm -f conftest.er1
47808 cat conftest.err >&5
47809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47810 (exit $ac_status); } &&
47811 { ac_try='test -z "$ac_c_werror_flag"
47812 || test ! -s conftest.err'
47813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47814 (eval $ac_try) 2>&5
47815 ac_status=$?
47816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47817 (exit $ac_status); }; } &&
47818 { ac_try='test -s conftest$ac_exeext'
47819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47820 (eval $ac_try) 2>&5
47821 ac_status=$?
47822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47823 (exit $ac_status); }; }; then
47824 eval "$as_ac_var=yes"
47825 else
47826 echo "$as_me: failed program was:" >&5
47827 sed 's/^/| /' conftest.$ac_ext >&5
47829 eval "$as_ac_var=no"
47831 rm -f conftest.err conftest.$ac_objext \
47832 conftest$ac_exeext conftest.$ac_ext
47834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47836 if test `eval echo '${'$as_ac_var'}'` = yes; then
47837 cat >>confdefs.h <<_ACEOF
47838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47839 _ACEOF
47842 done
47844 else
47846 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
47847 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
47848 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47849 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
47850 echo $ECHO_N "(cached) $ECHO_C" >&6
47851 else
47855 ac_ext=cc
47856 ac_cpp='$CXXCPP $CPPFLAGS'
47857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47861 cat >conftest.$ac_ext <<_ACEOF
47862 /* confdefs.h. */
47863 _ACEOF
47864 cat confdefs.h >>conftest.$ac_ext
47865 cat >>conftest.$ac_ext <<_ACEOF
47866 /* end confdefs.h. */
47867 #include <math.h>
47868 #ifdef HAVE_IEEEFP_H
47869 #include <ieeefp.h>
47870 #endif
47873 main ()
47875 _isnanf(0);
47877 return 0;
47879 _ACEOF
47880 rm -f conftest.$ac_objext
47881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47882 (eval $ac_compile) 2>conftest.er1
47883 ac_status=$?
47884 grep -v '^ *+' conftest.er1 >conftest.err
47885 rm -f conftest.er1
47886 cat conftest.err >&5
47887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47888 (exit $ac_status); } &&
47889 { ac_try='test -z "$ac_cxx_werror_flag"
47890 || test ! -s conftest.err'
47891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47892 (eval $ac_try) 2>&5
47893 ac_status=$?
47894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47895 (exit $ac_status); }; } &&
47896 { ac_try='test -s conftest.$ac_objext'
47897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47898 (eval $ac_try) 2>&5
47899 ac_status=$?
47900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47901 (exit $ac_status); }; }; then
47902 glibcxx_cv_func__isnanf_use=yes
47903 else
47904 echo "$as_me: failed program was:" >&5
47905 sed 's/^/| /' conftest.$ac_ext >&5
47907 glibcxx_cv_func__isnanf_use=no
47909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47910 ac_ext=c
47911 ac_cpp='$CPP $CPPFLAGS'
47912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47920 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
47921 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
47923 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47925 for ac_func in _isnanf
47927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47928 echo "$as_me:$LINENO: checking for $ac_func" >&5
47929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47930 if eval "test \"\${$as_ac_var+set}\" = set"; then
47931 echo $ECHO_N "(cached) $ECHO_C" >&6
47932 else
47933 if test x$gcc_no_link = xyes; then
47934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47936 { (exit 1); exit 1; }; }
47938 cat >conftest.$ac_ext <<_ACEOF
47939 /* confdefs.h. */
47940 _ACEOF
47941 cat confdefs.h >>conftest.$ac_ext
47942 cat >>conftest.$ac_ext <<_ACEOF
47943 /* end confdefs.h. */
47944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47946 #define $ac_func innocuous_$ac_func
47948 /* System header to define __stub macros and hopefully few prototypes,
47949 which can conflict with char $ac_func (); below.
47950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47951 <limits.h> exists even on freestanding compilers. */
47953 #ifdef __STDC__
47954 # include <limits.h>
47955 #else
47956 # include <assert.h>
47957 #endif
47959 #undef $ac_func
47961 /* Override any gcc2 internal prototype to avoid an error. */
47962 #ifdef __cplusplus
47963 extern "C"
47965 #endif
47966 /* We use char because int might match the return type of a gcc2
47967 builtin and then its argument prototype would still apply. */
47968 char $ac_func ();
47969 /* The GNU C library defines this for functions which it implements
47970 to always fail with ENOSYS. Some functions are actually named
47971 something starting with __ and the normal name is an alias. */
47972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47973 choke me
47974 #else
47975 char (*f) () = $ac_func;
47976 #endif
47977 #ifdef __cplusplus
47979 #endif
47982 main ()
47984 return f != $ac_func;
47986 return 0;
47988 _ACEOF
47989 rm -f conftest.$ac_objext conftest$ac_exeext
47990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47991 (eval $ac_link) 2>conftest.er1
47992 ac_status=$?
47993 grep -v '^ *+' conftest.er1 >conftest.err
47994 rm -f conftest.er1
47995 cat conftest.err >&5
47996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47997 (exit $ac_status); } &&
47998 { ac_try='test -z "$ac_c_werror_flag"
47999 || test ! -s conftest.err'
48000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48001 (eval $ac_try) 2>&5
48002 ac_status=$?
48003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48004 (exit $ac_status); }; } &&
48005 { ac_try='test -s conftest$ac_exeext'
48006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48007 (eval $ac_try) 2>&5
48008 ac_status=$?
48009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48010 (exit $ac_status); }; }; then
48011 eval "$as_ac_var=yes"
48012 else
48013 echo "$as_me: failed program was:" >&5
48014 sed 's/^/| /' conftest.$ac_ext >&5
48016 eval "$as_ac_var=no"
48018 rm -f conftest.err conftest.$ac_objext \
48019 conftest$ac_exeext conftest.$ac_ext
48021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48023 if test `eval echo '${'$as_ac_var'}'` = yes; then
48024 cat >>confdefs.h <<_ACEOF
48025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48026 _ACEOF
48029 done
48039 echo "$as_me:$LINENO: checking for isinff declaration" >&5
48040 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
48041 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48042 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
48043 echo $ECHO_N "(cached) $ECHO_C" >&6
48044 else
48048 ac_ext=cc
48049 ac_cpp='$CXXCPP $CPPFLAGS'
48050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48054 cat >conftest.$ac_ext <<_ACEOF
48055 /* confdefs.h. */
48056 _ACEOF
48057 cat confdefs.h >>conftest.$ac_ext
48058 cat >>conftest.$ac_ext <<_ACEOF
48059 /* end confdefs.h. */
48060 #include <math.h>
48061 #ifdef HAVE_IEEEFP_H
48062 #include <ieeefp.h>
48063 #endif
48066 main ()
48068 isinff(0);
48070 return 0;
48072 _ACEOF
48073 rm -f conftest.$ac_objext
48074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48075 (eval $ac_compile) 2>conftest.er1
48076 ac_status=$?
48077 grep -v '^ *+' conftest.er1 >conftest.err
48078 rm -f conftest.er1
48079 cat conftest.err >&5
48080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48081 (exit $ac_status); } &&
48082 { ac_try='test -z "$ac_cxx_werror_flag"
48083 || test ! -s conftest.err'
48084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48085 (eval $ac_try) 2>&5
48086 ac_status=$?
48087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48088 (exit $ac_status); }; } &&
48089 { ac_try='test -s conftest.$ac_objext'
48090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48091 (eval $ac_try) 2>&5
48092 ac_status=$?
48093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48094 (exit $ac_status); }; }; then
48095 glibcxx_cv_func_isinff_use=yes
48096 else
48097 echo "$as_me: failed program was:" >&5
48098 sed 's/^/| /' conftest.$ac_ext >&5
48100 glibcxx_cv_func_isinff_use=no
48102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48103 ac_ext=c
48104 ac_cpp='$CPP $CPPFLAGS'
48105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48113 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
48114 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
48116 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48118 for ac_func in isinff
48120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48121 echo "$as_me:$LINENO: checking for $ac_func" >&5
48122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48123 if eval "test \"\${$as_ac_var+set}\" = set"; then
48124 echo $ECHO_N "(cached) $ECHO_C" >&6
48125 else
48126 if test x$gcc_no_link = xyes; then
48127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48129 { (exit 1); exit 1; }; }
48131 cat >conftest.$ac_ext <<_ACEOF
48132 /* confdefs.h. */
48133 _ACEOF
48134 cat confdefs.h >>conftest.$ac_ext
48135 cat >>conftest.$ac_ext <<_ACEOF
48136 /* end confdefs.h. */
48137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48139 #define $ac_func innocuous_$ac_func
48141 /* System header to define __stub macros and hopefully few prototypes,
48142 which can conflict with char $ac_func (); below.
48143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48144 <limits.h> exists even on freestanding compilers. */
48146 #ifdef __STDC__
48147 # include <limits.h>
48148 #else
48149 # include <assert.h>
48150 #endif
48152 #undef $ac_func
48154 /* Override any gcc2 internal prototype to avoid an error. */
48155 #ifdef __cplusplus
48156 extern "C"
48158 #endif
48159 /* We use char because int might match the return type of a gcc2
48160 builtin and then its argument prototype would still apply. */
48161 char $ac_func ();
48162 /* The GNU C library defines this for functions which it implements
48163 to always fail with ENOSYS. Some functions are actually named
48164 something starting with __ and the normal name is an alias. */
48165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48166 choke me
48167 #else
48168 char (*f) () = $ac_func;
48169 #endif
48170 #ifdef __cplusplus
48172 #endif
48175 main ()
48177 return f != $ac_func;
48179 return 0;
48181 _ACEOF
48182 rm -f conftest.$ac_objext conftest$ac_exeext
48183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48184 (eval $ac_link) 2>conftest.er1
48185 ac_status=$?
48186 grep -v '^ *+' conftest.er1 >conftest.err
48187 rm -f conftest.er1
48188 cat conftest.err >&5
48189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48190 (exit $ac_status); } &&
48191 { ac_try='test -z "$ac_c_werror_flag"
48192 || test ! -s conftest.err'
48193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48194 (eval $ac_try) 2>&5
48195 ac_status=$?
48196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48197 (exit $ac_status); }; } &&
48198 { ac_try='test -s conftest$ac_exeext'
48199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48200 (eval $ac_try) 2>&5
48201 ac_status=$?
48202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48203 (exit $ac_status); }; }; then
48204 eval "$as_ac_var=yes"
48205 else
48206 echo "$as_me: failed program was:" >&5
48207 sed 's/^/| /' conftest.$ac_ext >&5
48209 eval "$as_ac_var=no"
48211 rm -f conftest.err conftest.$ac_objext \
48212 conftest$ac_exeext conftest.$ac_ext
48214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48216 if test `eval echo '${'$as_ac_var'}'` = yes; then
48217 cat >>confdefs.h <<_ACEOF
48218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48219 _ACEOF
48222 done
48224 else
48226 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
48227 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
48228 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48229 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
48230 echo $ECHO_N "(cached) $ECHO_C" >&6
48231 else
48235 ac_ext=cc
48236 ac_cpp='$CXXCPP $CPPFLAGS'
48237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48241 cat >conftest.$ac_ext <<_ACEOF
48242 /* confdefs.h. */
48243 _ACEOF
48244 cat confdefs.h >>conftest.$ac_ext
48245 cat >>conftest.$ac_ext <<_ACEOF
48246 /* end confdefs.h. */
48247 #include <math.h>
48248 #ifdef HAVE_IEEEFP_H
48249 #include <ieeefp.h>
48250 #endif
48253 main ()
48255 _isinff(0);
48257 return 0;
48259 _ACEOF
48260 rm -f conftest.$ac_objext
48261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48262 (eval $ac_compile) 2>conftest.er1
48263 ac_status=$?
48264 grep -v '^ *+' conftest.er1 >conftest.err
48265 rm -f conftest.er1
48266 cat conftest.err >&5
48267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48268 (exit $ac_status); } &&
48269 { ac_try='test -z "$ac_cxx_werror_flag"
48270 || test ! -s conftest.err'
48271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48272 (eval $ac_try) 2>&5
48273 ac_status=$?
48274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48275 (exit $ac_status); }; } &&
48276 { ac_try='test -s conftest.$ac_objext'
48277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48278 (eval $ac_try) 2>&5
48279 ac_status=$?
48280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48281 (exit $ac_status); }; }; then
48282 glibcxx_cv_func__isinff_use=yes
48283 else
48284 echo "$as_me: failed program was:" >&5
48285 sed 's/^/| /' conftest.$ac_ext >&5
48287 glibcxx_cv_func__isinff_use=no
48289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48290 ac_ext=c
48291 ac_cpp='$CPP $CPPFLAGS'
48292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48300 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
48301 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
48303 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48305 for ac_func in _isinff
48307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48308 echo "$as_me:$LINENO: checking for $ac_func" >&5
48309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48310 if eval "test \"\${$as_ac_var+set}\" = set"; then
48311 echo $ECHO_N "(cached) $ECHO_C" >&6
48312 else
48313 if test x$gcc_no_link = xyes; then
48314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48316 { (exit 1); exit 1; }; }
48318 cat >conftest.$ac_ext <<_ACEOF
48319 /* confdefs.h. */
48320 _ACEOF
48321 cat confdefs.h >>conftest.$ac_ext
48322 cat >>conftest.$ac_ext <<_ACEOF
48323 /* end confdefs.h. */
48324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48326 #define $ac_func innocuous_$ac_func
48328 /* System header to define __stub macros and hopefully few prototypes,
48329 which can conflict with char $ac_func (); below.
48330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48331 <limits.h> exists even on freestanding compilers. */
48333 #ifdef __STDC__
48334 # include <limits.h>
48335 #else
48336 # include <assert.h>
48337 #endif
48339 #undef $ac_func
48341 /* Override any gcc2 internal prototype to avoid an error. */
48342 #ifdef __cplusplus
48343 extern "C"
48345 #endif
48346 /* We use char because int might match the return type of a gcc2
48347 builtin and then its argument prototype would still apply. */
48348 char $ac_func ();
48349 /* The GNU C library defines this for functions which it implements
48350 to always fail with ENOSYS. Some functions are actually named
48351 something starting with __ and the normal name is an alias. */
48352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48353 choke me
48354 #else
48355 char (*f) () = $ac_func;
48356 #endif
48357 #ifdef __cplusplus
48359 #endif
48362 main ()
48364 return f != $ac_func;
48366 return 0;
48368 _ACEOF
48369 rm -f conftest.$ac_objext conftest$ac_exeext
48370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48371 (eval $ac_link) 2>conftest.er1
48372 ac_status=$?
48373 grep -v '^ *+' conftest.er1 >conftest.err
48374 rm -f conftest.er1
48375 cat conftest.err >&5
48376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48377 (exit $ac_status); } &&
48378 { ac_try='test -z "$ac_c_werror_flag"
48379 || test ! -s conftest.err'
48380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48381 (eval $ac_try) 2>&5
48382 ac_status=$?
48383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48384 (exit $ac_status); }; } &&
48385 { ac_try='test -s conftest$ac_exeext'
48386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48387 (eval $ac_try) 2>&5
48388 ac_status=$?
48389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48390 (exit $ac_status); }; }; then
48391 eval "$as_ac_var=yes"
48392 else
48393 echo "$as_me: failed program was:" >&5
48394 sed 's/^/| /' conftest.$ac_ext >&5
48396 eval "$as_ac_var=no"
48398 rm -f conftest.err conftest.$ac_objext \
48399 conftest$ac_exeext conftest.$ac_ext
48401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48403 if test `eval echo '${'$as_ac_var'}'` = yes; then
48404 cat >>confdefs.h <<_ACEOF
48405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48406 _ACEOF
48409 done
48419 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
48420 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
48421 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48422 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
48423 echo $ECHO_N "(cached) $ECHO_C" >&6
48424 else
48428 ac_ext=cc
48429 ac_cpp='$CXXCPP $CPPFLAGS'
48430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48434 cat >conftest.$ac_ext <<_ACEOF
48435 /* confdefs.h. */
48436 _ACEOF
48437 cat confdefs.h >>conftest.$ac_ext
48438 cat >>conftest.$ac_ext <<_ACEOF
48439 /* end confdefs.h. */
48440 #include <math.h>
48442 main ()
48444 atan2f(0, 0);
48446 return 0;
48448 _ACEOF
48449 rm -f conftest.$ac_objext
48450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48451 (eval $ac_compile) 2>conftest.er1
48452 ac_status=$?
48453 grep -v '^ *+' conftest.er1 >conftest.err
48454 rm -f conftest.er1
48455 cat conftest.err >&5
48456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48457 (exit $ac_status); } &&
48458 { ac_try='test -z "$ac_cxx_werror_flag"
48459 || test ! -s conftest.err'
48460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48461 (eval $ac_try) 2>&5
48462 ac_status=$?
48463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48464 (exit $ac_status); }; } &&
48465 { ac_try='test -s conftest.$ac_objext'
48466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48467 (eval $ac_try) 2>&5
48468 ac_status=$?
48469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48470 (exit $ac_status); }; }; then
48471 glibcxx_cv_func_atan2f_use=yes
48472 else
48473 echo "$as_me: failed program was:" >&5
48474 sed 's/^/| /' conftest.$ac_ext >&5
48476 glibcxx_cv_func_atan2f_use=no
48478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48479 ac_ext=c
48480 ac_cpp='$CPP $CPPFLAGS'
48481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48489 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
48490 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
48492 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48494 for ac_func in atan2f
48496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48497 echo "$as_me:$LINENO: checking for $ac_func" >&5
48498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48499 if eval "test \"\${$as_ac_var+set}\" = set"; then
48500 echo $ECHO_N "(cached) $ECHO_C" >&6
48501 else
48502 if test x$gcc_no_link = xyes; then
48503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48505 { (exit 1); exit 1; }; }
48507 cat >conftest.$ac_ext <<_ACEOF
48508 /* confdefs.h. */
48509 _ACEOF
48510 cat confdefs.h >>conftest.$ac_ext
48511 cat >>conftest.$ac_ext <<_ACEOF
48512 /* end confdefs.h. */
48513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48515 #define $ac_func innocuous_$ac_func
48517 /* System header to define __stub macros and hopefully few prototypes,
48518 which can conflict with char $ac_func (); below.
48519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48520 <limits.h> exists even on freestanding compilers. */
48522 #ifdef __STDC__
48523 # include <limits.h>
48524 #else
48525 # include <assert.h>
48526 #endif
48528 #undef $ac_func
48530 /* Override any gcc2 internal prototype to avoid an error. */
48531 #ifdef __cplusplus
48532 extern "C"
48534 #endif
48535 /* We use char because int might match the return type of a gcc2
48536 builtin and then its argument prototype would still apply. */
48537 char $ac_func ();
48538 /* The GNU C library defines this for functions which it implements
48539 to always fail with ENOSYS. Some functions are actually named
48540 something starting with __ and the normal name is an alias. */
48541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48542 choke me
48543 #else
48544 char (*f) () = $ac_func;
48545 #endif
48546 #ifdef __cplusplus
48548 #endif
48551 main ()
48553 return f != $ac_func;
48555 return 0;
48557 _ACEOF
48558 rm -f conftest.$ac_objext conftest$ac_exeext
48559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48560 (eval $ac_link) 2>conftest.er1
48561 ac_status=$?
48562 grep -v '^ *+' conftest.er1 >conftest.err
48563 rm -f conftest.er1
48564 cat conftest.err >&5
48565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48566 (exit $ac_status); } &&
48567 { ac_try='test -z "$ac_c_werror_flag"
48568 || test ! -s conftest.err'
48569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48570 (eval $ac_try) 2>&5
48571 ac_status=$?
48572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48573 (exit $ac_status); }; } &&
48574 { ac_try='test -s conftest$ac_exeext'
48575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48576 (eval $ac_try) 2>&5
48577 ac_status=$?
48578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48579 (exit $ac_status); }; }; then
48580 eval "$as_ac_var=yes"
48581 else
48582 echo "$as_me: failed program was:" >&5
48583 sed 's/^/| /' conftest.$ac_ext >&5
48585 eval "$as_ac_var=no"
48587 rm -f conftest.err conftest.$ac_objext \
48588 conftest$ac_exeext conftest.$ac_ext
48590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48592 if test `eval echo '${'$as_ac_var'}'` = yes; then
48593 cat >>confdefs.h <<_ACEOF
48594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48595 _ACEOF
48598 done
48600 else
48602 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
48603 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
48604 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48605 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
48606 echo $ECHO_N "(cached) $ECHO_C" >&6
48607 else
48611 ac_ext=cc
48612 ac_cpp='$CXXCPP $CPPFLAGS'
48613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48617 cat >conftest.$ac_ext <<_ACEOF
48618 /* confdefs.h. */
48619 _ACEOF
48620 cat confdefs.h >>conftest.$ac_ext
48621 cat >>conftest.$ac_ext <<_ACEOF
48622 /* end confdefs.h. */
48623 #include <math.h>
48625 main ()
48627 _atan2f(0, 0);
48629 return 0;
48631 _ACEOF
48632 rm -f conftest.$ac_objext
48633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48634 (eval $ac_compile) 2>conftest.er1
48635 ac_status=$?
48636 grep -v '^ *+' conftest.er1 >conftest.err
48637 rm -f conftest.er1
48638 cat conftest.err >&5
48639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48640 (exit $ac_status); } &&
48641 { ac_try='test -z "$ac_cxx_werror_flag"
48642 || test ! -s conftest.err'
48643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48644 (eval $ac_try) 2>&5
48645 ac_status=$?
48646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48647 (exit $ac_status); }; } &&
48648 { ac_try='test -s conftest.$ac_objext'
48649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48650 (eval $ac_try) 2>&5
48651 ac_status=$?
48652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48653 (exit $ac_status); }; }; then
48654 glibcxx_cv_func__atan2f_use=yes
48655 else
48656 echo "$as_me: failed program was:" >&5
48657 sed 's/^/| /' conftest.$ac_ext >&5
48659 glibcxx_cv_func__atan2f_use=no
48661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48662 ac_ext=c
48663 ac_cpp='$CPP $CPPFLAGS'
48664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48672 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
48673 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
48675 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48677 for ac_func in _atan2f
48679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48680 echo "$as_me:$LINENO: checking for $ac_func" >&5
48681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48682 if eval "test \"\${$as_ac_var+set}\" = set"; then
48683 echo $ECHO_N "(cached) $ECHO_C" >&6
48684 else
48685 if test x$gcc_no_link = xyes; then
48686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48688 { (exit 1); exit 1; }; }
48690 cat >conftest.$ac_ext <<_ACEOF
48691 /* confdefs.h. */
48692 _ACEOF
48693 cat confdefs.h >>conftest.$ac_ext
48694 cat >>conftest.$ac_ext <<_ACEOF
48695 /* end confdefs.h. */
48696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48698 #define $ac_func innocuous_$ac_func
48700 /* System header to define __stub macros and hopefully few prototypes,
48701 which can conflict with char $ac_func (); below.
48702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48703 <limits.h> exists even on freestanding compilers. */
48705 #ifdef __STDC__
48706 # include <limits.h>
48707 #else
48708 # include <assert.h>
48709 #endif
48711 #undef $ac_func
48713 /* Override any gcc2 internal prototype to avoid an error. */
48714 #ifdef __cplusplus
48715 extern "C"
48717 #endif
48718 /* We use char because int might match the return type of a gcc2
48719 builtin and then its argument prototype would still apply. */
48720 char $ac_func ();
48721 /* The GNU C library defines this for functions which it implements
48722 to always fail with ENOSYS. Some functions are actually named
48723 something starting with __ and the normal name is an alias. */
48724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48725 choke me
48726 #else
48727 char (*f) () = $ac_func;
48728 #endif
48729 #ifdef __cplusplus
48731 #endif
48734 main ()
48736 return f != $ac_func;
48738 return 0;
48740 _ACEOF
48741 rm -f conftest.$ac_objext conftest$ac_exeext
48742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48743 (eval $ac_link) 2>conftest.er1
48744 ac_status=$?
48745 grep -v '^ *+' conftest.er1 >conftest.err
48746 rm -f conftest.er1
48747 cat conftest.err >&5
48748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48749 (exit $ac_status); } &&
48750 { ac_try='test -z "$ac_c_werror_flag"
48751 || test ! -s conftest.err'
48752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48753 (eval $ac_try) 2>&5
48754 ac_status=$?
48755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48756 (exit $ac_status); }; } &&
48757 { ac_try='test -s conftest$ac_exeext'
48758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48759 (eval $ac_try) 2>&5
48760 ac_status=$?
48761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48762 (exit $ac_status); }; }; then
48763 eval "$as_ac_var=yes"
48764 else
48765 echo "$as_me: failed program was:" >&5
48766 sed 's/^/| /' conftest.$ac_ext >&5
48768 eval "$as_ac_var=no"
48770 rm -f conftest.err conftest.$ac_objext \
48771 conftest$ac_exeext conftest.$ac_ext
48773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48775 if test `eval echo '${'$as_ac_var'}'` = yes; then
48776 cat >>confdefs.h <<_ACEOF
48777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48778 _ACEOF
48781 done
48791 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
48792 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
48793 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48794 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
48795 echo $ECHO_N "(cached) $ECHO_C" >&6
48796 else
48800 ac_ext=cc
48801 ac_cpp='$CXXCPP $CPPFLAGS'
48802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48806 cat >conftest.$ac_ext <<_ACEOF
48807 /* confdefs.h. */
48808 _ACEOF
48809 cat confdefs.h >>conftest.$ac_ext
48810 cat >>conftest.$ac_ext <<_ACEOF
48811 /* end confdefs.h. */
48812 #include <math.h>
48813 #ifdef HAVE_IEEEFP_H
48814 #include <ieeefp.h>
48815 #endif
48818 main ()
48820 fabsf(0);
48822 return 0;
48824 _ACEOF
48825 rm -f conftest.$ac_objext
48826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48827 (eval $ac_compile) 2>conftest.er1
48828 ac_status=$?
48829 grep -v '^ *+' conftest.er1 >conftest.err
48830 rm -f conftest.er1
48831 cat conftest.err >&5
48832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48833 (exit $ac_status); } &&
48834 { ac_try='test -z "$ac_cxx_werror_flag"
48835 || test ! -s conftest.err'
48836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48837 (eval $ac_try) 2>&5
48838 ac_status=$?
48839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48840 (exit $ac_status); }; } &&
48841 { ac_try='test -s conftest.$ac_objext'
48842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48843 (eval $ac_try) 2>&5
48844 ac_status=$?
48845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48846 (exit $ac_status); }; }; then
48847 glibcxx_cv_func_fabsf_use=yes
48848 else
48849 echo "$as_me: failed program was:" >&5
48850 sed 's/^/| /' conftest.$ac_ext >&5
48852 glibcxx_cv_func_fabsf_use=no
48854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48855 ac_ext=c
48856 ac_cpp='$CPP $CPPFLAGS'
48857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48865 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
48866 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
48868 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48870 for ac_func in fabsf
48872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48873 echo "$as_me:$LINENO: checking for $ac_func" >&5
48874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48875 if eval "test \"\${$as_ac_var+set}\" = set"; then
48876 echo $ECHO_N "(cached) $ECHO_C" >&6
48877 else
48878 if test x$gcc_no_link = xyes; then
48879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48881 { (exit 1); exit 1; }; }
48883 cat >conftest.$ac_ext <<_ACEOF
48884 /* confdefs.h. */
48885 _ACEOF
48886 cat confdefs.h >>conftest.$ac_ext
48887 cat >>conftest.$ac_ext <<_ACEOF
48888 /* end confdefs.h. */
48889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48891 #define $ac_func innocuous_$ac_func
48893 /* System header to define __stub macros and hopefully few prototypes,
48894 which can conflict with char $ac_func (); below.
48895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48896 <limits.h> exists even on freestanding compilers. */
48898 #ifdef __STDC__
48899 # include <limits.h>
48900 #else
48901 # include <assert.h>
48902 #endif
48904 #undef $ac_func
48906 /* Override any gcc2 internal prototype to avoid an error. */
48907 #ifdef __cplusplus
48908 extern "C"
48910 #endif
48911 /* We use char because int might match the return type of a gcc2
48912 builtin and then its argument prototype would still apply. */
48913 char $ac_func ();
48914 /* The GNU C library defines this for functions which it implements
48915 to always fail with ENOSYS. Some functions are actually named
48916 something starting with __ and the normal name is an alias. */
48917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48918 choke me
48919 #else
48920 char (*f) () = $ac_func;
48921 #endif
48922 #ifdef __cplusplus
48924 #endif
48927 main ()
48929 return f != $ac_func;
48931 return 0;
48933 _ACEOF
48934 rm -f conftest.$ac_objext conftest$ac_exeext
48935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48936 (eval $ac_link) 2>conftest.er1
48937 ac_status=$?
48938 grep -v '^ *+' conftest.er1 >conftest.err
48939 rm -f conftest.er1
48940 cat conftest.err >&5
48941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48942 (exit $ac_status); } &&
48943 { ac_try='test -z "$ac_c_werror_flag"
48944 || test ! -s conftest.err'
48945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48946 (eval $ac_try) 2>&5
48947 ac_status=$?
48948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48949 (exit $ac_status); }; } &&
48950 { ac_try='test -s conftest$ac_exeext'
48951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48952 (eval $ac_try) 2>&5
48953 ac_status=$?
48954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48955 (exit $ac_status); }; }; then
48956 eval "$as_ac_var=yes"
48957 else
48958 echo "$as_me: failed program was:" >&5
48959 sed 's/^/| /' conftest.$ac_ext >&5
48961 eval "$as_ac_var=no"
48963 rm -f conftest.err conftest.$ac_objext \
48964 conftest$ac_exeext conftest.$ac_ext
48966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48968 if test `eval echo '${'$as_ac_var'}'` = yes; then
48969 cat >>confdefs.h <<_ACEOF
48970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48971 _ACEOF
48974 done
48976 else
48978 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
48979 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
48980 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48981 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
48982 echo $ECHO_N "(cached) $ECHO_C" >&6
48983 else
48987 ac_ext=cc
48988 ac_cpp='$CXXCPP $CPPFLAGS'
48989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48993 cat >conftest.$ac_ext <<_ACEOF
48994 /* confdefs.h. */
48995 _ACEOF
48996 cat confdefs.h >>conftest.$ac_ext
48997 cat >>conftest.$ac_ext <<_ACEOF
48998 /* end confdefs.h. */
48999 #include <math.h>
49000 #ifdef HAVE_IEEEFP_H
49001 #include <ieeefp.h>
49002 #endif
49005 main ()
49007 _fabsf(0);
49009 return 0;
49011 _ACEOF
49012 rm -f conftest.$ac_objext
49013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49014 (eval $ac_compile) 2>conftest.er1
49015 ac_status=$?
49016 grep -v '^ *+' conftest.er1 >conftest.err
49017 rm -f conftest.er1
49018 cat conftest.err >&5
49019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49020 (exit $ac_status); } &&
49021 { ac_try='test -z "$ac_cxx_werror_flag"
49022 || test ! -s conftest.err'
49023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49024 (eval $ac_try) 2>&5
49025 ac_status=$?
49026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49027 (exit $ac_status); }; } &&
49028 { ac_try='test -s conftest.$ac_objext'
49029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49030 (eval $ac_try) 2>&5
49031 ac_status=$?
49032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49033 (exit $ac_status); }; }; then
49034 glibcxx_cv_func__fabsf_use=yes
49035 else
49036 echo "$as_me: failed program was:" >&5
49037 sed 's/^/| /' conftest.$ac_ext >&5
49039 glibcxx_cv_func__fabsf_use=no
49041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49042 ac_ext=c
49043 ac_cpp='$CPP $CPPFLAGS'
49044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49052 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
49053 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
49055 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49057 for ac_func in _fabsf
49059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49060 echo "$as_me:$LINENO: checking for $ac_func" >&5
49061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49062 if eval "test \"\${$as_ac_var+set}\" = set"; then
49063 echo $ECHO_N "(cached) $ECHO_C" >&6
49064 else
49065 if test x$gcc_no_link = xyes; then
49066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49068 { (exit 1); exit 1; }; }
49070 cat >conftest.$ac_ext <<_ACEOF
49071 /* confdefs.h. */
49072 _ACEOF
49073 cat confdefs.h >>conftest.$ac_ext
49074 cat >>conftest.$ac_ext <<_ACEOF
49075 /* end confdefs.h. */
49076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49078 #define $ac_func innocuous_$ac_func
49080 /* System header to define __stub macros and hopefully few prototypes,
49081 which can conflict with char $ac_func (); below.
49082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49083 <limits.h> exists even on freestanding compilers. */
49085 #ifdef __STDC__
49086 # include <limits.h>
49087 #else
49088 # include <assert.h>
49089 #endif
49091 #undef $ac_func
49093 /* Override any gcc2 internal prototype to avoid an error. */
49094 #ifdef __cplusplus
49095 extern "C"
49097 #endif
49098 /* We use char because int might match the return type of a gcc2
49099 builtin and then its argument prototype would still apply. */
49100 char $ac_func ();
49101 /* The GNU C library defines this for functions which it implements
49102 to always fail with ENOSYS. Some functions are actually named
49103 something starting with __ and the normal name is an alias. */
49104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49105 choke me
49106 #else
49107 char (*f) () = $ac_func;
49108 #endif
49109 #ifdef __cplusplus
49111 #endif
49114 main ()
49116 return f != $ac_func;
49118 return 0;
49120 _ACEOF
49121 rm -f conftest.$ac_objext conftest$ac_exeext
49122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49123 (eval $ac_link) 2>conftest.er1
49124 ac_status=$?
49125 grep -v '^ *+' conftest.er1 >conftest.err
49126 rm -f conftest.er1
49127 cat conftest.err >&5
49128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49129 (exit $ac_status); } &&
49130 { ac_try='test -z "$ac_c_werror_flag"
49131 || test ! -s conftest.err'
49132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49133 (eval $ac_try) 2>&5
49134 ac_status=$?
49135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49136 (exit $ac_status); }; } &&
49137 { ac_try='test -s conftest$ac_exeext'
49138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49139 (eval $ac_try) 2>&5
49140 ac_status=$?
49141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49142 (exit $ac_status); }; }; then
49143 eval "$as_ac_var=yes"
49144 else
49145 echo "$as_me: failed program was:" >&5
49146 sed 's/^/| /' conftest.$ac_ext >&5
49148 eval "$as_ac_var=no"
49150 rm -f conftest.err conftest.$ac_objext \
49151 conftest$ac_exeext conftest.$ac_ext
49153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49155 if test `eval echo '${'$as_ac_var'}'` = yes; then
49156 cat >>confdefs.h <<_ACEOF
49157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49158 _ACEOF
49161 done
49171 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
49172 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
49173 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49174 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
49175 echo $ECHO_N "(cached) $ECHO_C" >&6
49176 else
49180 ac_ext=cc
49181 ac_cpp='$CXXCPP $CPPFLAGS'
49182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49186 cat >conftest.$ac_ext <<_ACEOF
49187 /* confdefs.h. */
49188 _ACEOF
49189 cat confdefs.h >>conftest.$ac_ext
49190 cat >>conftest.$ac_ext <<_ACEOF
49191 /* end confdefs.h. */
49192 #include <math.h>
49194 main ()
49196 fmodf(0, 0);
49198 return 0;
49200 _ACEOF
49201 rm -f conftest.$ac_objext
49202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49203 (eval $ac_compile) 2>conftest.er1
49204 ac_status=$?
49205 grep -v '^ *+' conftest.er1 >conftest.err
49206 rm -f conftest.er1
49207 cat conftest.err >&5
49208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49209 (exit $ac_status); } &&
49210 { ac_try='test -z "$ac_cxx_werror_flag"
49211 || test ! -s conftest.err'
49212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49213 (eval $ac_try) 2>&5
49214 ac_status=$?
49215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49216 (exit $ac_status); }; } &&
49217 { ac_try='test -s conftest.$ac_objext'
49218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49219 (eval $ac_try) 2>&5
49220 ac_status=$?
49221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49222 (exit $ac_status); }; }; then
49223 glibcxx_cv_func_fmodf_use=yes
49224 else
49225 echo "$as_me: failed program was:" >&5
49226 sed 's/^/| /' conftest.$ac_ext >&5
49228 glibcxx_cv_func_fmodf_use=no
49230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49231 ac_ext=c
49232 ac_cpp='$CPP $CPPFLAGS'
49233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49241 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
49242 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
49244 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49246 for ac_func in fmodf
49248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49249 echo "$as_me:$LINENO: checking for $ac_func" >&5
49250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49251 if eval "test \"\${$as_ac_var+set}\" = set"; then
49252 echo $ECHO_N "(cached) $ECHO_C" >&6
49253 else
49254 if test x$gcc_no_link = xyes; then
49255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49257 { (exit 1); exit 1; }; }
49259 cat >conftest.$ac_ext <<_ACEOF
49260 /* confdefs.h. */
49261 _ACEOF
49262 cat confdefs.h >>conftest.$ac_ext
49263 cat >>conftest.$ac_ext <<_ACEOF
49264 /* end confdefs.h. */
49265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49267 #define $ac_func innocuous_$ac_func
49269 /* System header to define __stub macros and hopefully few prototypes,
49270 which can conflict with char $ac_func (); below.
49271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49272 <limits.h> exists even on freestanding compilers. */
49274 #ifdef __STDC__
49275 # include <limits.h>
49276 #else
49277 # include <assert.h>
49278 #endif
49280 #undef $ac_func
49282 /* Override any gcc2 internal prototype to avoid an error. */
49283 #ifdef __cplusplus
49284 extern "C"
49286 #endif
49287 /* We use char because int might match the return type of a gcc2
49288 builtin and then its argument prototype would still apply. */
49289 char $ac_func ();
49290 /* The GNU C library defines this for functions which it implements
49291 to always fail with ENOSYS. Some functions are actually named
49292 something starting with __ and the normal name is an alias. */
49293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49294 choke me
49295 #else
49296 char (*f) () = $ac_func;
49297 #endif
49298 #ifdef __cplusplus
49300 #endif
49303 main ()
49305 return f != $ac_func;
49307 return 0;
49309 _ACEOF
49310 rm -f conftest.$ac_objext conftest$ac_exeext
49311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49312 (eval $ac_link) 2>conftest.er1
49313 ac_status=$?
49314 grep -v '^ *+' conftest.er1 >conftest.err
49315 rm -f conftest.er1
49316 cat conftest.err >&5
49317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49318 (exit $ac_status); } &&
49319 { ac_try='test -z "$ac_c_werror_flag"
49320 || test ! -s conftest.err'
49321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49322 (eval $ac_try) 2>&5
49323 ac_status=$?
49324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49325 (exit $ac_status); }; } &&
49326 { ac_try='test -s conftest$ac_exeext'
49327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49328 (eval $ac_try) 2>&5
49329 ac_status=$?
49330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49331 (exit $ac_status); }; }; then
49332 eval "$as_ac_var=yes"
49333 else
49334 echo "$as_me: failed program was:" >&5
49335 sed 's/^/| /' conftest.$ac_ext >&5
49337 eval "$as_ac_var=no"
49339 rm -f conftest.err conftest.$ac_objext \
49340 conftest$ac_exeext conftest.$ac_ext
49342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49344 if test `eval echo '${'$as_ac_var'}'` = yes; then
49345 cat >>confdefs.h <<_ACEOF
49346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49347 _ACEOF
49350 done
49352 else
49354 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
49355 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
49356 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49357 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
49358 echo $ECHO_N "(cached) $ECHO_C" >&6
49359 else
49363 ac_ext=cc
49364 ac_cpp='$CXXCPP $CPPFLAGS'
49365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49369 cat >conftest.$ac_ext <<_ACEOF
49370 /* confdefs.h. */
49371 _ACEOF
49372 cat confdefs.h >>conftest.$ac_ext
49373 cat >>conftest.$ac_ext <<_ACEOF
49374 /* end confdefs.h. */
49375 #include <math.h>
49377 main ()
49379 _fmodf(0, 0);
49381 return 0;
49383 _ACEOF
49384 rm -f conftest.$ac_objext
49385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49386 (eval $ac_compile) 2>conftest.er1
49387 ac_status=$?
49388 grep -v '^ *+' conftest.er1 >conftest.err
49389 rm -f conftest.er1
49390 cat conftest.err >&5
49391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49392 (exit $ac_status); } &&
49393 { ac_try='test -z "$ac_cxx_werror_flag"
49394 || test ! -s conftest.err'
49395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49396 (eval $ac_try) 2>&5
49397 ac_status=$?
49398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49399 (exit $ac_status); }; } &&
49400 { ac_try='test -s conftest.$ac_objext'
49401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49402 (eval $ac_try) 2>&5
49403 ac_status=$?
49404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49405 (exit $ac_status); }; }; then
49406 glibcxx_cv_func__fmodf_use=yes
49407 else
49408 echo "$as_me: failed program was:" >&5
49409 sed 's/^/| /' conftest.$ac_ext >&5
49411 glibcxx_cv_func__fmodf_use=no
49413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49414 ac_ext=c
49415 ac_cpp='$CPP $CPPFLAGS'
49416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49424 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
49425 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
49427 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49429 for ac_func in _fmodf
49431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49432 echo "$as_me:$LINENO: checking for $ac_func" >&5
49433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49434 if eval "test \"\${$as_ac_var+set}\" = set"; then
49435 echo $ECHO_N "(cached) $ECHO_C" >&6
49436 else
49437 if test x$gcc_no_link = xyes; then
49438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49440 { (exit 1); exit 1; }; }
49442 cat >conftest.$ac_ext <<_ACEOF
49443 /* confdefs.h. */
49444 _ACEOF
49445 cat confdefs.h >>conftest.$ac_ext
49446 cat >>conftest.$ac_ext <<_ACEOF
49447 /* end confdefs.h. */
49448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49450 #define $ac_func innocuous_$ac_func
49452 /* System header to define __stub macros and hopefully few prototypes,
49453 which can conflict with char $ac_func (); below.
49454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49455 <limits.h> exists even on freestanding compilers. */
49457 #ifdef __STDC__
49458 # include <limits.h>
49459 #else
49460 # include <assert.h>
49461 #endif
49463 #undef $ac_func
49465 /* Override any gcc2 internal prototype to avoid an error. */
49466 #ifdef __cplusplus
49467 extern "C"
49469 #endif
49470 /* We use char because int might match the return type of a gcc2
49471 builtin and then its argument prototype would still apply. */
49472 char $ac_func ();
49473 /* The GNU C library defines this for functions which it implements
49474 to always fail with ENOSYS. Some functions are actually named
49475 something starting with __ and the normal name is an alias. */
49476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49477 choke me
49478 #else
49479 char (*f) () = $ac_func;
49480 #endif
49481 #ifdef __cplusplus
49483 #endif
49486 main ()
49488 return f != $ac_func;
49490 return 0;
49492 _ACEOF
49493 rm -f conftest.$ac_objext conftest$ac_exeext
49494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49495 (eval $ac_link) 2>conftest.er1
49496 ac_status=$?
49497 grep -v '^ *+' conftest.er1 >conftest.err
49498 rm -f conftest.er1
49499 cat conftest.err >&5
49500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49501 (exit $ac_status); } &&
49502 { ac_try='test -z "$ac_c_werror_flag"
49503 || test ! -s conftest.err'
49504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49505 (eval $ac_try) 2>&5
49506 ac_status=$?
49507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49508 (exit $ac_status); }; } &&
49509 { ac_try='test -s conftest$ac_exeext'
49510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49511 (eval $ac_try) 2>&5
49512 ac_status=$?
49513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49514 (exit $ac_status); }; }; then
49515 eval "$as_ac_var=yes"
49516 else
49517 echo "$as_me: failed program was:" >&5
49518 sed 's/^/| /' conftest.$ac_ext >&5
49520 eval "$as_ac_var=no"
49522 rm -f conftest.err conftest.$ac_objext \
49523 conftest$ac_exeext conftest.$ac_ext
49525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49527 if test `eval echo '${'$as_ac_var'}'` = yes; then
49528 cat >>confdefs.h <<_ACEOF
49529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49530 _ACEOF
49533 done
49543 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
49544 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
49545 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49546 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
49547 echo $ECHO_N "(cached) $ECHO_C" >&6
49548 else
49552 ac_ext=cc
49553 ac_cpp='$CXXCPP $CPPFLAGS'
49554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49558 cat >conftest.$ac_ext <<_ACEOF
49559 /* confdefs.h. */
49560 _ACEOF
49561 cat confdefs.h >>conftest.$ac_ext
49562 cat >>conftest.$ac_ext <<_ACEOF
49563 /* end confdefs.h. */
49564 #include <math.h>
49566 main ()
49568 frexpf(0, 0);
49570 return 0;
49572 _ACEOF
49573 rm -f conftest.$ac_objext
49574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49575 (eval $ac_compile) 2>conftest.er1
49576 ac_status=$?
49577 grep -v '^ *+' conftest.er1 >conftest.err
49578 rm -f conftest.er1
49579 cat conftest.err >&5
49580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49581 (exit $ac_status); } &&
49582 { ac_try='test -z "$ac_cxx_werror_flag"
49583 || test ! -s conftest.err'
49584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49585 (eval $ac_try) 2>&5
49586 ac_status=$?
49587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49588 (exit $ac_status); }; } &&
49589 { ac_try='test -s conftest.$ac_objext'
49590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49591 (eval $ac_try) 2>&5
49592 ac_status=$?
49593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49594 (exit $ac_status); }; }; then
49595 glibcxx_cv_func_frexpf_use=yes
49596 else
49597 echo "$as_me: failed program was:" >&5
49598 sed 's/^/| /' conftest.$ac_ext >&5
49600 glibcxx_cv_func_frexpf_use=no
49602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49603 ac_ext=c
49604 ac_cpp='$CPP $CPPFLAGS'
49605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49613 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
49614 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
49616 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49618 for ac_func in frexpf
49620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49621 echo "$as_me:$LINENO: checking for $ac_func" >&5
49622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49623 if eval "test \"\${$as_ac_var+set}\" = set"; then
49624 echo $ECHO_N "(cached) $ECHO_C" >&6
49625 else
49626 if test x$gcc_no_link = xyes; then
49627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49629 { (exit 1); exit 1; }; }
49631 cat >conftest.$ac_ext <<_ACEOF
49632 /* confdefs.h. */
49633 _ACEOF
49634 cat confdefs.h >>conftest.$ac_ext
49635 cat >>conftest.$ac_ext <<_ACEOF
49636 /* end confdefs.h. */
49637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49639 #define $ac_func innocuous_$ac_func
49641 /* System header to define __stub macros and hopefully few prototypes,
49642 which can conflict with char $ac_func (); below.
49643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49644 <limits.h> exists even on freestanding compilers. */
49646 #ifdef __STDC__
49647 # include <limits.h>
49648 #else
49649 # include <assert.h>
49650 #endif
49652 #undef $ac_func
49654 /* Override any gcc2 internal prototype to avoid an error. */
49655 #ifdef __cplusplus
49656 extern "C"
49658 #endif
49659 /* We use char because int might match the return type of a gcc2
49660 builtin and then its argument prototype would still apply. */
49661 char $ac_func ();
49662 /* The GNU C library defines this for functions which it implements
49663 to always fail with ENOSYS. Some functions are actually named
49664 something starting with __ and the normal name is an alias. */
49665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49666 choke me
49667 #else
49668 char (*f) () = $ac_func;
49669 #endif
49670 #ifdef __cplusplus
49672 #endif
49675 main ()
49677 return f != $ac_func;
49679 return 0;
49681 _ACEOF
49682 rm -f conftest.$ac_objext conftest$ac_exeext
49683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49684 (eval $ac_link) 2>conftest.er1
49685 ac_status=$?
49686 grep -v '^ *+' conftest.er1 >conftest.err
49687 rm -f conftest.er1
49688 cat conftest.err >&5
49689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49690 (exit $ac_status); } &&
49691 { ac_try='test -z "$ac_c_werror_flag"
49692 || test ! -s conftest.err'
49693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49694 (eval $ac_try) 2>&5
49695 ac_status=$?
49696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49697 (exit $ac_status); }; } &&
49698 { ac_try='test -s conftest$ac_exeext'
49699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49700 (eval $ac_try) 2>&5
49701 ac_status=$?
49702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49703 (exit $ac_status); }; }; then
49704 eval "$as_ac_var=yes"
49705 else
49706 echo "$as_me: failed program was:" >&5
49707 sed 's/^/| /' conftest.$ac_ext >&5
49709 eval "$as_ac_var=no"
49711 rm -f conftest.err conftest.$ac_objext \
49712 conftest$ac_exeext conftest.$ac_ext
49714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49716 if test `eval echo '${'$as_ac_var'}'` = yes; then
49717 cat >>confdefs.h <<_ACEOF
49718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49719 _ACEOF
49722 done
49724 else
49726 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
49727 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
49728 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49729 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
49730 echo $ECHO_N "(cached) $ECHO_C" >&6
49731 else
49735 ac_ext=cc
49736 ac_cpp='$CXXCPP $CPPFLAGS'
49737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49741 cat >conftest.$ac_ext <<_ACEOF
49742 /* confdefs.h. */
49743 _ACEOF
49744 cat confdefs.h >>conftest.$ac_ext
49745 cat >>conftest.$ac_ext <<_ACEOF
49746 /* end confdefs.h. */
49747 #include <math.h>
49749 main ()
49751 _frexpf(0, 0);
49753 return 0;
49755 _ACEOF
49756 rm -f conftest.$ac_objext
49757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49758 (eval $ac_compile) 2>conftest.er1
49759 ac_status=$?
49760 grep -v '^ *+' conftest.er1 >conftest.err
49761 rm -f conftest.er1
49762 cat conftest.err >&5
49763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49764 (exit $ac_status); } &&
49765 { ac_try='test -z "$ac_cxx_werror_flag"
49766 || test ! -s conftest.err'
49767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49768 (eval $ac_try) 2>&5
49769 ac_status=$?
49770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49771 (exit $ac_status); }; } &&
49772 { ac_try='test -s conftest.$ac_objext'
49773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49774 (eval $ac_try) 2>&5
49775 ac_status=$?
49776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49777 (exit $ac_status); }; }; then
49778 glibcxx_cv_func__frexpf_use=yes
49779 else
49780 echo "$as_me: failed program was:" >&5
49781 sed 's/^/| /' conftest.$ac_ext >&5
49783 glibcxx_cv_func__frexpf_use=no
49785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49786 ac_ext=c
49787 ac_cpp='$CPP $CPPFLAGS'
49788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49796 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
49797 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
49799 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49801 for ac_func in _frexpf
49803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49804 echo "$as_me:$LINENO: checking for $ac_func" >&5
49805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49806 if eval "test \"\${$as_ac_var+set}\" = set"; then
49807 echo $ECHO_N "(cached) $ECHO_C" >&6
49808 else
49809 if test x$gcc_no_link = xyes; then
49810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49812 { (exit 1); exit 1; }; }
49814 cat >conftest.$ac_ext <<_ACEOF
49815 /* confdefs.h. */
49816 _ACEOF
49817 cat confdefs.h >>conftest.$ac_ext
49818 cat >>conftest.$ac_ext <<_ACEOF
49819 /* end confdefs.h. */
49820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49822 #define $ac_func innocuous_$ac_func
49824 /* System header to define __stub macros and hopefully few prototypes,
49825 which can conflict with char $ac_func (); below.
49826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49827 <limits.h> exists even on freestanding compilers. */
49829 #ifdef __STDC__
49830 # include <limits.h>
49831 #else
49832 # include <assert.h>
49833 #endif
49835 #undef $ac_func
49837 /* Override any gcc2 internal prototype to avoid an error. */
49838 #ifdef __cplusplus
49839 extern "C"
49841 #endif
49842 /* We use char because int might match the return type of a gcc2
49843 builtin and then its argument prototype would still apply. */
49844 char $ac_func ();
49845 /* The GNU C library defines this for functions which it implements
49846 to always fail with ENOSYS. Some functions are actually named
49847 something starting with __ and the normal name is an alias. */
49848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49849 choke me
49850 #else
49851 char (*f) () = $ac_func;
49852 #endif
49853 #ifdef __cplusplus
49855 #endif
49858 main ()
49860 return f != $ac_func;
49862 return 0;
49864 _ACEOF
49865 rm -f conftest.$ac_objext conftest$ac_exeext
49866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49867 (eval $ac_link) 2>conftest.er1
49868 ac_status=$?
49869 grep -v '^ *+' conftest.er1 >conftest.err
49870 rm -f conftest.er1
49871 cat conftest.err >&5
49872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49873 (exit $ac_status); } &&
49874 { ac_try='test -z "$ac_c_werror_flag"
49875 || test ! -s conftest.err'
49876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49877 (eval $ac_try) 2>&5
49878 ac_status=$?
49879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49880 (exit $ac_status); }; } &&
49881 { ac_try='test -s conftest$ac_exeext'
49882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49883 (eval $ac_try) 2>&5
49884 ac_status=$?
49885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49886 (exit $ac_status); }; }; then
49887 eval "$as_ac_var=yes"
49888 else
49889 echo "$as_me: failed program was:" >&5
49890 sed 's/^/| /' conftest.$ac_ext >&5
49892 eval "$as_ac_var=no"
49894 rm -f conftest.err conftest.$ac_objext \
49895 conftest$ac_exeext conftest.$ac_ext
49897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49899 if test `eval echo '${'$as_ac_var'}'` = yes; then
49900 cat >>confdefs.h <<_ACEOF
49901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49902 _ACEOF
49905 done
49915 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
49916 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
49917 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49918 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
49919 echo $ECHO_N "(cached) $ECHO_C" >&6
49920 else
49924 ac_ext=cc
49925 ac_cpp='$CXXCPP $CPPFLAGS'
49926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49930 cat >conftest.$ac_ext <<_ACEOF
49931 /* confdefs.h. */
49932 _ACEOF
49933 cat confdefs.h >>conftest.$ac_ext
49934 cat >>conftest.$ac_ext <<_ACEOF
49935 /* end confdefs.h. */
49936 #include <math.h>
49938 main ()
49940 hypotf(0, 0);
49942 return 0;
49944 _ACEOF
49945 rm -f conftest.$ac_objext
49946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49947 (eval $ac_compile) 2>conftest.er1
49948 ac_status=$?
49949 grep -v '^ *+' conftest.er1 >conftest.err
49950 rm -f conftest.er1
49951 cat conftest.err >&5
49952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49953 (exit $ac_status); } &&
49954 { ac_try='test -z "$ac_cxx_werror_flag"
49955 || test ! -s conftest.err'
49956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49957 (eval $ac_try) 2>&5
49958 ac_status=$?
49959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49960 (exit $ac_status); }; } &&
49961 { ac_try='test -s conftest.$ac_objext'
49962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49963 (eval $ac_try) 2>&5
49964 ac_status=$?
49965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49966 (exit $ac_status); }; }; then
49967 glibcxx_cv_func_hypotf_use=yes
49968 else
49969 echo "$as_me: failed program was:" >&5
49970 sed 's/^/| /' conftest.$ac_ext >&5
49972 glibcxx_cv_func_hypotf_use=no
49974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49975 ac_ext=c
49976 ac_cpp='$CPP $CPPFLAGS'
49977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49985 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
49986 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
49988 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49990 for ac_func in hypotf
49992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49993 echo "$as_me:$LINENO: checking for $ac_func" >&5
49994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49995 if eval "test \"\${$as_ac_var+set}\" = set"; then
49996 echo $ECHO_N "(cached) $ECHO_C" >&6
49997 else
49998 if test x$gcc_no_link = xyes; then
49999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50001 { (exit 1); exit 1; }; }
50003 cat >conftest.$ac_ext <<_ACEOF
50004 /* confdefs.h. */
50005 _ACEOF
50006 cat confdefs.h >>conftest.$ac_ext
50007 cat >>conftest.$ac_ext <<_ACEOF
50008 /* end confdefs.h. */
50009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50011 #define $ac_func innocuous_$ac_func
50013 /* System header to define __stub macros and hopefully few prototypes,
50014 which can conflict with char $ac_func (); below.
50015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50016 <limits.h> exists even on freestanding compilers. */
50018 #ifdef __STDC__
50019 # include <limits.h>
50020 #else
50021 # include <assert.h>
50022 #endif
50024 #undef $ac_func
50026 /* Override any gcc2 internal prototype to avoid an error. */
50027 #ifdef __cplusplus
50028 extern "C"
50030 #endif
50031 /* We use char because int might match the return type of a gcc2
50032 builtin and then its argument prototype would still apply. */
50033 char $ac_func ();
50034 /* The GNU C library defines this for functions which it implements
50035 to always fail with ENOSYS. Some functions are actually named
50036 something starting with __ and the normal name is an alias. */
50037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50038 choke me
50039 #else
50040 char (*f) () = $ac_func;
50041 #endif
50042 #ifdef __cplusplus
50044 #endif
50047 main ()
50049 return f != $ac_func;
50051 return 0;
50053 _ACEOF
50054 rm -f conftest.$ac_objext conftest$ac_exeext
50055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50056 (eval $ac_link) 2>conftest.er1
50057 ac_status=$?
50058 grep -v '^ *+' conftest.er1 >conftest.err
50059 rm -f conftest.er1
50060 cat conftest.err >&5
50061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50062 (exit $ac_status); } &&
50063 { ac_try='test -z "$ac_c_werror_flag"
50064 || test ! -s conftest.err'
50065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50066 (eval $ac_try) 2>&5
50067 ac_status=$?
50068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50069 (exit $ac_status); }; } &&
50070 { ac_try='test -s conftest$ac_exeext'
50071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50072 (eval $ac_try) 2>&5
50073 ac_status=$?
50074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50075 (exit $ac_status); }; }; then
50076 eval "$as_ac_var=yes"
50077 else
50078 echo "$as_me: failed program was:" >&5
50079 sed 's/^/| /' conftest.$ac_ext >&5
50081 eval "$as_ac_var=no"
50083 rm -f conftest.err conftest.$ac_objext \
50084 conftest$ac_exeext conftest.$ac_ext
50086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50088 if test `eval echo '${'$as_ac_var'}'` = yes; then
50089 cat >>confdefs.h <<_ACEOF
50090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50091 _ACEOF
50094 done
50096 else
50098 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
50099 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
50100 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50101 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
50102 echo $ECHO_N "(cached) $ECHO_C" >&6
50103 else
50107 ac_ext=cc
50108 ac_cpp='$CXXCPP $CPPFLAGS'
50109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50113 cat >conftest.$ac_ext <<_ACEOF
50114 /* confdefs.h. */
50115 _ACEOF
50116 cat confdefs.h >>conftest.$ac_ext
50117 cat >>conftest.$ac_ext <<_ACEOF
50118 /* end confdefs.h. */
50119 #include <math.h>
50121 main ()
50123 _hypotf(0, 0);
50125 return 0;
50127 _ACEOF
50128 rm -f conftest.$ac_objext
50129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50130 (eval $ac_compile) 2>conftest.er1
50131 ac_status=$?
50132 grep -v '^ *+' conftest.er1 >conftest.err
50133 rm -f conftest.er1
50134 cat conftest.err >&5
50135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50136 (exit $ac_status); } &&
50137 { ac_try='test -z "$ac_cxx_werror_flag"
50138 || test ! -s conftest.err'
50139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50140 (eval $ac_try) 2>&5
50141 ac_status=$?
50142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50143 (exit $ac_status); }; } &&
50144 { ac_try='test -s conftest.$ac_objext'
50145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50146 (eval $ac_try) 2>&5
50147 ac_status=$?
50148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50149 (exit $ac_status); }; }; then
50150 glibcxx_cv_func__hypotf_use=yes
50151 else
50152 echo "$as_me: failed program was:" >&5
50153 sed 's/^/| /' conftest.$ac_ext >&5
50155 glibcxx_cv_func__hypotf_use=no
50157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50158 ac_ext=c
50159 ac_cpp='$CPP $CPPFLAGS'
50160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50168 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
50169 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
50171 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50173 for ac_func in _hypotf
50175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50176 echo "$as_me:$LINENO: checking for $ac_func" >&5
50177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50178 if eval "test \"\${$as_ac_var+set}\" = set"; then
50179 echo $ECHO_N "(cached) $ECHO_C" >&6
50180 else
50181 if test x$gcc_no_link = xyes; then
50182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50184 { (exit 1); exit 1; }; }
50186 cat >conftest.$ac_ext <<_ACEOF
50187 /* confdefs.h. */
50188 _ACEOF
50189 cat confdefs.h >>conftest.$ac_ext
50190 cat >>conftest.$ac_ext <<_ACEOF
50191 /* end confdefs.h. */
50192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50194 #define $ac_func innocuous_$ac_func
50196 /* System header to define __stub macros and hopefully few prototypes,
50197 which can conflict with char $ac_func (); below.
50198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50199 <limits.h> exists even on freestanding compilers. */
50201 #ifdef __STDC__
50202 # include <limits.h>
50203 #else
50204 # include <assert.h>
50205 #endif
50207 #undef $ac_func
50209 /* Override any gcc2 internal prototype to avoid an error. */
50210 #ifdef __cplusplus
50211 extern "C"
50213 #endif
50214 /* We use char because int might match the return type of a gcc2
50215 builtin and then its argument prototype would still apply. */
50216 char $ac_func ();
50217 /* The GNU C library defines this for functions which it implements
50218 to always fail with ENOSYS. Some functions are actually named
50219 something starting with __ and the normal name is an alias. */
50220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50221 choke me
50222 #else
50223 char (*f) () = $ac_func;
50224 #endif
50225 #ifdef __cplusplus
50227 #endif
50230 main ()
50232 return f != $ac_func;
50234 return 0;
50236 _ACEOF
50237 rm -f conftest.$ac_objext conftest$ac_exeext
50238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50239 (eval $ac_link) 2>conftest.er1
50240 ac_status=$?
50241 grep -v '^ *+' conftest.er1 >conftest.err
50242 rm -f conftest.er1
50243 cat conftest.err >&5
50244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50245 (exit $ac_status); } &&
50246 { ac_try='test -z "$ac_c_werror_flag"
50247 || test ! -s conftest.err'
50248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50249 (eval $ac_try) 2>&5
50250 ac_status=$?
50251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50252 (exit $ac_status); }; } &&
50253 { ac_try='test -s conftest$ac_exeext'
50254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50255 (eval $ac_try) 2>&5
50256 ac_status=$?
50257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50258 (exit $ac_status); }; }; then
50259 eval "$as_ac_var=yes"
50260 else
50261 echo "$as_me: failed program was:" >&5
50262 sed 's/^/| /' conftest.$ac_ext >&5
50264 eval "$as_ac_var=no"
50266 rm -f conftest.err conftest.$ac_objext \
50267 conftest$ac_exeext conftest.$ac_ext
50269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50271 if test `eval echo '${'$as_ac_var'}'` = yes; then
50272 cat >>confdefs.h <<_ACEOF
50273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50274 _ACEOF
50277 done
50287 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
50288 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
50289 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50290 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
50291 echo $ECHO_N "(cached) $ECHO_C" >&6
50292 else
50296 ac_ext=cc
50297 ac_cpp='$CXXCPP $CPPFLAGS'
50298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50302 cat >conftest.$ac_ext <<_ACEOF
50303 /* confdefs.h. */
50304 _ACEOF
50305 cat confdefs.h >>conftest.$ac_ext
50306 cat >>conftest.$ac_ext <<_ACEOF
50307 /* end confdefs.h. */
50308 #include <math.h>
50310 main ()
50312 ldexpf(0, 0);
50314 return 0;
50316 _ACEOF
50317 rm -f conftest.$ac_objext
50318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50319 (eval $ac_compile) 2>conftest.er1
50320 ac_status=$?
50321 grep -v '^ *+' conftest.er1 >conftest.err
50322 rm -f conftest.er1
50323 cat conftest.err >&5
50324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50325 (exit $ac_status); } &&
50326 { ac_try='test -z "$ac_cxx_werror_flag"
50327 || test ! -s conftest.err'
50328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50329 (eval $ac_try) 2>&5
50330 ac_status=$?
50331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50332 (exit $ac_status); }; } &&
50333 { ac_try='test -s conftest.$ac_objext'
50334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50335 (eval $ac_try) 2>&5
50336 ac_status=$?
50337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50338 (exit $ac_status); }; }; then
50339 glibcxx_cv_func_ldexpf_use=yes
50340 else
50341 echo "$as_me: failed program was:" >&5
50342 sed 's/^/| /' conftest.$ac_ext >&5
50344 glibcxx_cv_func_ldexpf_use=no
50346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50347 ac_ext=c
50348 ac_cpp='$CPP $CPPFLAGS'
50349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50357 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
50358 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
50360 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50362 for ac_func in ldexpf
50364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50365 echo "$as_me:$LINENO: checking for $ac_func" >&5
50366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50367 if eval "test \"\${$as_ac_var+set}\" = set"; then
50368 echo $ECHO_N "(cached) $ECHO_C" >&6
50369 else
50370 if test x$gcc_no_link = xyes; then
50371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50373 { (exit 1); exit 1; }; }
50375 cat >conftest.$ac_ext <<_ACEOF
50376 /* confdefs.h. */
50377 _ACEOF
50378 cat confdefs.h >>conftest.$ac_ext
50379 cat >>conftest.$ac_ext <<_ACEOF
50380 /* end confdefs.h. */
50381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50382 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50383 #define $ac_func innocuous_$ac_func
50385 /* System header to define __stub macros and hopefully few prototypes,
50386 which can conflict with char $ac_func (); below.
50387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50388 <limits.h> exists even on freestanding compilers. */
50390 #ifdef __STDC__
50391 # include <limits.h>
50392 #else
50393 # include <assert.h>
50394 #endif
50396 #undef $ac_func
50398 /* Override any gcc2 internal prototype to avoid an error. */
50399 #ifdef __cplusplus
50400 extern "C"
50402 #endif
50403 /* We use char because int might match the return type of a gcc2
50404 builtin and then its argument prototype would still apply. */
50405 char $ac_func ();
50406 /* The GNU C library defines this for functions which it implements
50407 to always fail with ENOSYS. Some functions are actually named
50408 something starting with __ and the normal name is an alias. */
50409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50410 choke me
50411 #else
50412 char (*f) () = $ac_func;
50413 #endif
50414 #ifdef __cplusplus
50416 #endif
50419 main ()
50421 return f != $ac_func;
50423 return 0;
50425 _ACEOF
50426 rm -f conftest.$ac_objext conftest$ac_exeext
50427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50428 (eval $ac_link) 2>conftest.er1
50429 ac_status=$?
50430 grep -v '^ *+' conftest.er1 >conftest.err
50431 rm -f conftest.er1
50432 cat conftest.err >&5
50433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50434 (exit $ac_status); } &&
50435 { ac_try='test -z "$ac_c_werror_flag"
50436 || test ! -s conftest.err'
50437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50438 (eval $ac_try) 2>&5
50439 ac_status=$?
50440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50441 (exit $ac_status); }; } &&
50442 { ac_try='test -s conftest$ac_exeext'
50443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50444 (eval $ac_try) 2>&5
50445 ac_status=$?
50446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50447 (exit $ac_status); }; }; then
50448 eval "$as_ac_var=yes"
50449 else
50450 echo "$as_me: failed program was:" >&5
50451 sed 's/^/| /' conftest.$ac_ext >&5
50453 eval "$as_ac_var=no"
50455 rm -f conftest.err conftest.$ac_objext \
50456 conftest$ac_exeext conftest.$ac_ext
50458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50460 if test `eval echo '${'$as_ac_var'}'` = yes; then
50461 cat >>confdefs.h <<_ACEOF
50462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50463 _ACEOF
50466 done
50468 else
50470 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
50471 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
50472 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50473 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
50474 echo $ECHO_N "(cached) $ECHO_C" >&6
50475 else
50479 ac_ext=cc
50480 ac_cpp='$CXXCPP $CPPFLAGS'
50481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50485 cat >conftest.$ac_ext <<_ACEOF
50486 /* confdefs.h. */
50487 _ACEOF
50488 cat confdefs.h >>conftest.$ac_ext
50489 cat >>conftest.$ac_ext <<_ACEOF
50490 /* end confdefs.h. */
50491 #include <math.h>
50493 main ()
50495 _ldexpf(0, 0);
50497 return 0;
50499 _ACEOF
50500 rm -f conftest.$ac_objext
50501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50502 (eval $ac_compile) 2>conftest.er1
50503 ac_status=$?
50504 grep -v '^ *+' conftest.er1 >conftest.err
50505 rm -f conftest.er1
50506 cat conftest.err >&5
50507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50508 (exit $ac_status); } &&
50509 { ac_try='test -z "$ac_cxx_werror_flag"
50510 || test ! -s conftest.err'
50511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50512 (eval $ac_try) 2>&5
50513 ac_status=$?
50514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50515 (exit $ac_status); }; } &&
50516 { ac_try='test -s conftest.$ac_objext'
50517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50518 (eval $ac_try) 2>&5
50519 ac_status=$?
50520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50521 (exit $ac_status); }; }; then
50522 glibcxx_cv_func__ldexpf_use=yes
50523 else
50524 echo "$as_me: failed program was:" >&5
50525 sed 's/^/| /' conftest.$ac_ext >&5
50527 glibcxx_cv_func__ldexpf_use=no
50529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50530 ac_ext=c
50531 ac_cpp='$CPP $CPPFLAGS'
50532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50540 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
50541 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
50543 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50545 for ac_func in _ldexpf
50547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50548 echo "$as_me:$LINENO: checking for $ac_func" >&5
50549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50550 if eval "test \"\${$as_ac_var+set}\" = set"; then
50551 echo $ECHO_N "(cached) $ECHO_C" >&6
50552 else
50553 if test x$gcc_no_link = xyes; then
50554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50556 { (exit 1); exit 1; }; }
50558 cat >conftest.$ac_ext <<_ACEOF
50559 /* confdefs.h. */
50560 _ACEOF
50561 cat confdefs.h >>conftest.$ac_ext
50562 cat >>conftest.$ac_ext <<_ACEOF
50563 /* end confdefs.h. */
50564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50566 #define $ac_func innocuous_$ac_func
50568 /* System header to define __stub macros and hopefully few prototypes,
50569 which can conflict with char $ac_func (); below.
50570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50571 <limits.h> exists even on freestanding compilers. */
50573 #ifdef __STDC__
50574 # include <limits.h>
50575 #else
50576 # include <assert.h>
50577 #endif
50579 #undef $ac_func
50581 /* Override any gcc2 internal prototype to avoid an error. */
50582 #ifdef __cplusplus
50583 extern "C"
50585 #endif
50586 /* We use char because int might match the return type of a gcc2
50587 builtin and then its argument prototype would still apply. */
50588 char $ac_func ();
50589 /* The GNU C library defines this for functions which it implements
50590 to always fail with ENOSYS. Some functions are actually named
50591 something starting with __ and the normal name is an alias. */
50592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50593 choke me
50594 #else
50595 char (*f) () = $ac_func;
50596 #endif
50597 #ifdef __cplusplus
50599 #endif
50602 main ()
50604 return f != $ac_func;
50606 return 0;
50608 _ACEOF
50609 rm -f conftest.$ac_objext conftest$ac_exeext
50610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50611 (eval $ac_link) 2>conftest.er1
50612 ac_status=$?
50613 grep -v '^ *+' conftest.er1 >conftest.err
50614 rm -f conftest.er1
50615 cat conftest.err >&5
50616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50617 (exit $ac_status); } &&
50618 { ac_try='test -z "$ac_c_werror_flag"
50619 || test ! -s conftest.err'
50620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50621 (eval $ac_try) 2>&5
50622 ac_status=$?
50623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50624 (exit $ac_status); }; } &&
50625 { ac_try='test -s conftest$ac_exeext'
50626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50627 (eval $ac_try) 2>&5
50628 ac_status=$?
50629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50630 (exit $ac_status); }; }; then
50631 eval "$as_ac_var=yes"
50632 else
50633 echo "$as_me: failed program was:" >&5
50634 sed 's/^/| /' conftest.$ac_ext >&5
50636 eval "$as_ac_var=no"
50638 rm -f conftest.err conftest.$ac_objext \
50639 conftest$ac_exeext conftest.$ac_ext
50641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50643 if test `eval echo '${'$as_ac_var'}'` = yes; then
50644 cat >>confdefs.h <<_ACEOF
50645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50646 _ACEOF
50649 done
50659 echo "$as_me:$LINENO: checking for logf declaration" >&5
50660 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
50661 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50662 if test "${glibcxx_cv_func_logf_use+set}" = set; then
50663 echo $ECHO_N "(cached) $ECHO_C" >&6
50664 else
50668 ac_ext=cc
50669 ac_cpp='$CXXCPP $CPPFLAGS'
50670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50674 cat >conftest.$ac_ext <<_ACEOF
50675 /* confdefs.h. */
50676 _ACEOF
50677 cat confdefs.h >>conftest.$ac_ext
50678 cat >>conftest.$ac_ext <<_ACEOF
50679 /* end confdefs.h. */
50680 #include <math.h>
50681 #ifdef HAVE_IEEEFP_H
50682 #include <ieeefp.h>
50683 #endif
50686 main ()
50688 logf(0);
50690 return 0;
50692 _ACEOF
50693 rm -f conftest.$ac_objext
50694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50695 (eval $ac_compile) 2>conftest.er1
50696 ac_status=$?
50697 grep -v '^ *+' conftest.er1 >conftest.err
50698 rm -f conftest.er1
50699 cat conftest.err >&5
50700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50701 (exit $ac_status); } &&
50702 { ac_try='test -z "$ac_cxx_werror_flag"
50703 || test ! -s conftest.err'
50704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50705 (eval $ac_try) 2>&5
50706 ac_status=$?
50707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50708 (exit $ac_status); }; } &&
50709 { ac_try='test -s conftest.$ac_objext'
50710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50711 (eval $ac_try) 2>&5
50712 ac_status=$?
50713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50714 (exit $ac_status); }; }; then
50715 glibcxx_cv_func_logf_use=yes
50716 else
50717 echo "$as_me: failed program was:" >&5
50718 sed 's/^/| /' conftest.$ac_ext >&5
50720 glibcxx_cv_func_logf_use=no
50722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50723 ac_ext=c
50724 ac_cpp='$CPP $CPPFLAGS'
50725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50733 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
50734 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
50736 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50738 for ac_func in logf
50740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50741 echo "$as_me:$LINENO: checking for $ac_func" >&5
50742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50743 if eval "test \"\${$as_ac_var+set}\" = set"; then
50744 echo $ECHO_N "(cached) $ECHO_C" >&6
50745 else
50746 if test x$gcc_no_link = xyes; then
50747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50749 { (exit 1); exit 1; }; }
50751 cat >conftest.$ac_ext <<_ACEOF
50752 /* confdefs.h. */
50753 _ACEOF
50754 cat confdefs.h >>conftest.$ac_ext
50755 cat >>conftest.$ac_ext <<_ACEOF
50756 /* end confdefs.h. */
50757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50759 #define $ac_func innocuous_$ac_func
50761 /* System header to define __stub macros and hopefully few prototypes,
50762 which can conflict with char $ac_func (); below.
50763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50764 <limits.h> exists even on freestanding compilers. */
50766 #ifdef __STDC__
50767 # include <limits.h>
50768 #else
50769 # include <assert.h>
50770 #endif
50772 #undef $ac_func
50774 /* Override any gcc2 internal prototype to avoid an error. */
50775 #ifdef __cplusplus
50776 extern "C"
50778 #endif
50779 /* We use char because int might match the return type of a gcc2
50780 builtin and then its argument prototype would still apply. */
50781 char $ac_func ();
50782 /* The GNU C library defines this for functions which it implements
50783 to always fail with ENOSYS. Some functions are actually named
50784 something starting with __ and the normal name is an alias. */
50785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50786 choke me
50787 #else
50788 char (*f) () = $ac_func;
50789 #endif
50790 #ifdef __cplusplus
50792 #endif
50795 main ()
50797 return f != $ac_func;
50799 return 0;
50801 _ACEOF
50802 rm -f conftest.$ac_objext conftest$ac_exeext
50803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50804 (eval $ac_link) 2>conftest.er1
50805 ac_status=$?
50806 grep -v '^ *+' conftest.er1 >conftest.err
50807 rm -f conftest.er1
50808 cat conftest.err >&5
50809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50810 (exit $ac_status); } &&
50811 { ac_try='test -z "$ac_c_werror_flag"
50812 || test ! -s conftest.err'
50813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50814 (eval $ac_try) 2>&5
50815 ac_status=$?
50816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50817 (exit $ac_status); }; } &&
50818 { ac_try='test -s conftest$ac_exeext'
50819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50820 (eval $ac_try) 2>&5
50821 ac_status=$?
50822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50823 (exit $ac_status); }; }; then
50824 eval "$as_ac_var=yes"
50825 else
50826 echo "$as_me: failed program was:" >&5
50827 sed 's/^/| /' conftest.$ac_ext >&5
50829 eval "$as_ac_var=no"
50831 rm -f conftest.err conftest.$ac_objext \
50832 conftest$ac_exeext conftest.$ac_ext
50834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50836 if test `eval echo '${'$as_ac_var'}'` = yes; then
50837 cat >>confdefs.h <<_ACEOF
50838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50839 _ACEOF
50842 done
50844 else
50846 echo "$as_me:$LINENO: checking for _logf declaration" >&5
50847 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
50848 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50849 if test "${glibcxx_cv_func__logf_use+set}" = set; then
50850 echo $ECHO_N "(cached) $ECHO_C" >&6
50851 else
50855 ac_ext=cc
50856 ac_cpp='$CXXCPP $CPPFLAGS'
50857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50861 cat >conftest.$ac_ext <<_ACEOF
50862 /* confdefs.h. */
50863 _ACEOF
50864 cat confdefs.h >>conftest.$ac_ext
50865 cat >>conftest.$ac_ext <<_ACEOF
50866 /* end confdefs.h. */
50867 #include <math.h>
50868 #ifdef HAVE_IEEEFP_H
50869 #include <ieeefp.h>
50870 #endif
50873 main ()
50875 _logf(0);
50877 return 0;
50879 _ACEOF
50880 rm -f conftest.$ac_objext
50881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50882 (eval $ac_compile) 2>conftest.er1
50883 ac_status=$?
50884 grep -v '^ *+' conftest.er1 >conftest.err
50885 rm -f conftest.er1
50886 cat conftest.err >&5
50887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50888 (exit $ac_status); } &&
50889 { ac_try='test -z "$ac_cxx_werror_flag"
50890 || test ! -s conftest.err'
50891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50892 (eval $ac_try) 2>&5
50893 ac_status=$?
50894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50895 (exit $ac_status); }; } &&
50896 { ac_try='test -s conftest.$ac_objext'
50897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50898 (eval $ac_try) 2>&5
50899 ac_status=$?
50900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50901 (exit $ac_status); }; }; then
50902 glibcxx_cv_func__logf_use=yes
50903 else
50904 echo "$as_me: failed program was:" >&5
50905 sed 's/^/| /' conftest.$ac_ext >&5
50907 glibcxx_cv_func__logf_use=no
50909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50910 ac_ext=c
50911 ac_cpp='$CPP $CPPFLAGS'
50912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50920 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
50921 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
50923 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50925 for ac_func in _logf
50927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50928 echo "$as_me:$LINENO: checking for $ac_func" >&5
50929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50930 if eval "test \"\${$as_ac_var+set}\" = set"; then
50931 echo $ECHO_N "(cached) $ECHO_C" >&6
50932 else
50933 if test x$gcc_no_link = xyes; then
50934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50936 { (exit 1); exit 1; }; }
50938 cat >conftest.$ac_ext <<_ACEOF
50939 /* confdefs.h. */
50940 _ACEOF
50941 cat confdefs.h >>conftest.$ac_ext
50942 cat >>conftest.$ac_ext <<_ACEOF
50943 /* end confdefs.h. */
50944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50946 #define $ac_func innocuous_$ac_func
50948 /* System header to define __stub macros and hopefully few prototypes,
50949 which can conflict with char $ac_func (); below.
50950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50951 <limits.h> exists even on freestanding compilers. */
50953 #ifdef __STDC__
50954 # include <limits.h>
50955 #else
50956 # include <assert.h>
50957 #endif
50959 #undef $ac_func
50961 /* Override any gcc2 internal prototype to avoid an error. */
50962 #ifdef __cplusplus
50963 extern "C"
50965 #endif
50966 /* We use char because int might match the return type of a gcc2
50967 builtin and then its argument prototype would still apply. */
50968 char $ac_func ();
50969 /* The GNU C library defines this for functions which it implements
50970 to always fail with ENOSYS. Some functions are actually named
50971 something starting with __ and the normal name is an alias. */
50972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50973 choke me
50974 #else
50975 char (*f) () = $ac_func;
50976 #endif
50977 #ifdef __cplusplus
50979 #endif
50982 main ()
50984 return f != $ac_func;
50986 return 0;
50988 _ACEOF
50989 rm -f conftest.$ac_objext conftest$ac_exeext
50990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50991 (eval $ac_link) 2>conftest.er1
50992 ac_status=$?
50993 grep -v '^ *+' conftest.er1 >conftest.err
50994 rm -f conftest.er1
50995 cat conftest.err >&5
50996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50997 (exit $ac_status); } &&
50998 { ac_try='test -z "$ac_c_werror_flag"
50999 || test ! -s conftest.err'
51000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51001 (eval $ac_try) 2>&5
51002 ac_status=$?
51003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51004 (exit $ac_status); }; } &&
51005 { ac_try='test -s conftest$ac_exeext'
51006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51007 (eval $ac_try) 2>&5
51008 ac_status=$?
51009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51010 (exit $ac_status); }; }; then
51011 eval "$as_ac_var=yes"
51012 else
51013 echo "$as_me: failed program was:" >&5
51014 sed 's/^/| /' conftest.$ac_ext >&5
51016 eval "$as_ac_var=no"
51018 rm -f conftest.err conftest.$ac_objext \
51019 conftest$ac_exeext conftest.$ac_ext
51021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51023 if test `eval echo '${'$as_ac_var'}'` = yes; then
51024 cat >>confdefs.h <<_ACEOF
51025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51026 _ACEOF
51029 done
51039 echo "$as_me:$LINENO: checking for log10f declaration" >&5
51040 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
51041 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
51042 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
51043 echo $ECHO_N "(cached) $ECHO_C" >&6
51044 else
51048 ac_ext=cc
51049 ac_cpp='$CXXCPP $CPPFLAGS'
51050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51054 cat >conftest.$ac_ext <<_ACEOF
51055 /* confdefs.h. */
51056 _ACEOF
51057 cat confdefs.h >>conftest.$ac_ext
51058 cat >>conftest.$ac_ext <<_ACEOF
51059 /* end confdefs.h. */
51060 #include <math.h>
51061 #ifdef HAVE_IEEEFP_H
51062 #include <ieeefp.h>
51063 #endif
51066 main ()
51068 log10f(0);
51070 return 0;
51072 _ACEOF
51073 rm -f conftest.$ac_objext
51074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51075 (eval $ac_compile) 2>conftest.er1
51076 ac_status=$?
51077 grep -v '^ *+' conftest.er1 >conftest.err
51078 rm -f conftest.er1
51079 cat conftest.err >&5
51080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51081 (exit $ac_status); } &&
51082 { ac_try='test -z "$ac_cxx_werror_flag"
51083 || test ! -s conftest.err'
51084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51085 (eval $ac_try) 2>&5
51086 ac_status=$?
51087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51088 (exit $ac_status); }; } &&
51089 { ac_try='test -s conftest.$ac_objext'
51090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51091 (eval $ac_try) 2>&5
51092 ac_status=$?
51093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51094 (exit $ac_status); }; }; then
51095 glibcxx_cv_func_log10f_use=yes
51096 else
51097 echo "$as_me: failed program was:" >&5
51098 sed 's/^/| /' conftest.$ac_ext >&5
51100 glibcxx_cv_func_log10f_use=no
51102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51103 ac_ext=c
51104 ac_cpp='$CPP $CPPFLAGS'
51105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51113 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
51114 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
51116 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
51118 for ac_func in log10f
51120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51121 echo "$as_me:$LINENO: checking for $ac_func" >&5
51122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51123 if eval "test \"\${$as_ac_var+set}\" = set"; then
51124 echo $ECHO_N "(cached) $ECHO_C" >&6
51125 else
51126 if test x$gcc_no_link = xyes; then
51127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51129 { (exit 1); exit 1; }; }
51131 cat >conftest.$ac_ext <<_ACEOF
51132 /* confdefs.h. */
51133 _ACEOF
51134 cat confdefs.h >>conftest.$ac_ext
51135 cat >>conftest.$ac_ext <<_ACEOF
51136 /* end confdefs.h. */
51137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51139 #define $ac_func innocuous_$ac_func
51141 /* System header to define __stub macros and hopefully few prototypes,
51142 which can conflict with char $ac_func (); below.
51143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51144 <limits.h> exists even on freestanding compilers. */
51146 #ifdef __STDC__
51147 # include <limits.h>
51148 #else
51149 # include <assert.h>
51150 #endif
51152 #undef $ac_func
51154 /* Override any gcc2 internal prototype to avoid an error. */
51155 #ifdef __cplusplus
51156 extern "C"
51158 #endif
51159 /* We use char because int might match the return type of a gcc2
51160 builtin and then its argument prototype would still apply. */
51161 char $ac_func ();
51162 /* The GNU C library defines this for functions which it implements
51163 to always fail with ENOSYS. Some functions are actually named
51164 something starting with __ and the normal name is an alias. */
51165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51166 choke me
51167 #else
51168 char (*f) () = $ac_func;
51169 #endif
51170 #ifdef __cplusplus
51172 #endif
51175 main ()
51177 return f != $ac_func;
51179 return 0;
51181 _ACEOF
51182 rm -f conftest.$ac_objext conftest$ac_exeext
51183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51184 (eval $ac_link) 2>conftest.er1
51185 ac_status=$?
51186 grep -v '^ *+' conftest.er1 >conftest.err
51187 rm -f conftest.er1
51188 cat conftest.err >&5
51189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51190 (exit $ac_status); } &&
51191 { ac_try='test -z "$ac_c_werror_flag"
51192 || test ! -s conftest.err'
51193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51194 (eval $ac_try) 2>&5
51195 ac_status=$?
51196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51197 (exit $ac_status); }; } &&
51198 { ac_try='test -s conftest$ac_exeext'
51199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51200 (eval $ac_try) 2>&5
51201 ac_status=$?
51202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51203 (exit $ac_status); }; }; then
51204 eval "$as_ac_var=yes"
51205 else
51206 echo "$as_me: failed program was:" >&5
51207 sed 's/^/| /' conftest.$ac_ext >&5
51209 eval "$as_ac_var=no"
51211 rm -f conftest.err conftest.$ac_objext \
51212 conftest$ac_exeext conftest.$ac_ext
51214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51216 if test `eval echo '${'$as_ac_var'}'` = yes; then
51217 cat >>confdefs.h <<_ACEOF
51218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51219 _ACEOF
51222 done
51224 else
51226 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
51227 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
51228 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
51229 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
51230 echo $ECHO_N "(cached) $ECHO_C" >&6
51231 else
51235 ac_ext=cc
51236 ac_cpp='$CXXCPP $CPPFLAGS'
51237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51241 cat >conftest.$ac_ext <<_ACEOF
51242 /* confdefs.h. */
51243 _ACEOF
51244 cat confdefs.h >>conftest.$ac_ext
51245 cat >>conftest.$ac_ext <<_ACEOF
51246 /* end confdefs.h. */
51247 #include <math.h>
51248 #ifdef HAVE_IEEEFP_H
51249 #include <ieeefp.h>
51250 #endif
51253 main ()
51255 _log10f(0);
51257 return 0;
51259 _ACEOF
51260 rm -f conftest.$ac_objext
51261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51262 (eval $ac_compile) 2>conftest.er1
51263 ac_status=$?
51264 grep -v '^ *+' conftest.er1 >conftest.err
51265 rm -f conftest.er1
51266 cat conftest.err >&5
51267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51268 (exit $ac_status); } &&
51269 { ac_try='test -z "$ac_cxx_werror_flag"
51270 || test ! -s conftest.err'
51271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51272 (eval $ac_try) 2>&5
51273 ac_status=$?
51274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51275 (exit $ac_status); }; } &&
51276 { ac_try='test -s conftest.$ac_objext'
51277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51278 (eval $ac_try) 2>&5
51279 ac_status=$?
51280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51281 (exit $ac_status); }; }; then
51282 glibcxx_cv_func__log10f_use=yes
51283 else
51284 echo "$as_me: failed program was:" >&5
51285 sed 's/^/| /' conftest.$ac_ext >&5
51287 glibcxx_cv_func__log10f_use=no
51289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51290 ac_ext=c
51291 ac_cpp='$CPP $CPPFLAGS'
51292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51300 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
51301 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
51303 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
51305 for ac_func in _log10f
51307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51308 echo "$as_me:$LINENO: checking for $ac_func" >&5
51309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51310 if eval "test \"\${$as_ac_var+set}\" = set"; then
51311 echo $ECHO_N "(cached) $ECHO_C" >&6
51312 else
51313 if test x$gcc_no_link = xyes; then
51314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51316 { (exit 1); exit 1; }; }
51318 cat >conftest.$ac_ext <<_ACEOF
51319 /* confdefs.h. */
51320 _ACEOF
51321 cat confdefs.h >>conftest.$ac_ext
51322 cat >>conftest.$ac_ext <<_ACEOF
51323 /* end confdefs.h. */
51324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51326 #define $ac_func innocuous_$ac_func
51328 /* System header to define __stub macros and hopefully few prototypes,
51329 which can conflict with char $ac_func (); below.
51330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51331 <limits.h> exists even on freestanding compilers. */
51333 #ifdef __STDC__
51334 # include <limits.h>
51335 #else
51336 # include <assert.h>
51337 #endif
51339 #undef $ac_func
51341 /* Override any gcc2 internal prototype to avoid an error. */
51342 #ifdef __cplusplus
51343 extern "C"
51345 #endif
51346 /* We use char because int might match the return type of a gcc2
51347 builtin and then its argument prototype would still apply. */
51348 char $ac_func ();
51349 /* The GNU C library defines this for functions which it implements
51350 to always fail with ENOSYS. Some functions are actually named
51351 something starting with __ and the normal name is an alias. */
51352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51353 choke me
51354 #else
51355 char (*f) () = $ac_func;
51356 #endif
51357 #ifdef __cplusplus
51359 #endif
51362 main ()
51364 return f != $ac_func;
51366 return 0;
51368 _ACEOF
51369 rm -f conftest.$ac_objext conftest$ac_exeext
51370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51371 (eval $ac_link) 2>conftest.er1
51372 ac_status=$?
51373 grep -v '^ *+' conftest.er1 >conftest.err
51374 rm -f conftest.er1
51375 cat conftest.err >&5
51376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51377 (exit $ac_status); } &&
51378 { ac_try='test -z "$ac_c_werror_flag"
51379 || test ! -s conftest.err'
51380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51381 (eval $ac_try) 2>&5
51382 ac_status=$?
51383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51384 (exit $ac_status); }; } &&
51385 { ac_try='test -s conftest$ac_exeext'
51386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51387 (eval $ac_try) 2>&5
51388 ac_status=$?
51389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51390 (exit $ac_status); }; }; then
51391 eval "$as_ac_var=yes"
51392 else
51393 echo "$as_me: failed program was:" >&5
51394 sed 's/^/| /' conftest.$ac_ext >&5
51396 eval "$as_ac_var=no"
51398 rm -f conftest.err conftest.$ac_objext \
51399 conftest$ac_exeext conftest.$ac_ext
51401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51403 if test `eval echo '${'$as_ac_var'}'` = yes; then
51404 cat >>confdefs.h <<_ACEOF
51405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51406 _ACEOF
51409 done
51419 echo "$as_me:$LINENO: checking for modff declaration" >&5
51420 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
51421 if test x${glibcxx_cv_func_modff_use+set} != xset; then
51422 if test "${glibcxx_cv_func_modff_use+set}" = set; then
51423 echo $ECHO_N "(cached) $ECHO_C" >&6
51424 else
51428 ac_ext=cc
51429 ac_cpp='$CXXCPP $CPPFLAGS'
51430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51434 cat >conftest.$ac_ext <<_ACEOF
51435 /* confdefs.h. */
51436 _ACEOF
51437 cat confdefs.h >>conftest.$ac_ext
51438 cat >>conftest.$ac_ext <<_ACEOF
51439 /* end confdefs.h. */
51440 #include <math.h>
51442 main ()
51444 modff(0, 0);
51446 return 0;
51448 _ACEOF
51449 rm -f conftest.$ac_objext
51450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51451 (eval $ac_compile) 2>conftest.er1
51452 ac_status=$?
51453 grep -v '^ *+' conftest.er1 >conftest.err
51454 rm -f conftest.er1
51455 cat conftest.err >&5
51456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51457 (exit $ac_status); } &&
51458 { ac_try='test -z "$ac_cxx_werror_flag"
51459 || test ! -s conftest.err'
51460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51461 (eval $ac_try) 2>&5
51462 ac_status=$?
51463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51464 (exit $ac_status); }; } &&
51465 { ac_try='test -s conftest.$ac_objext'
51466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51467 (eval $ac_try) 2>&5
51468 ac_status=$?
51469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51470 (exit $ac_status); }; }; then
51471 glibcxx_cv_func_modff_use=yes
51472 else
51473 echo "$as_me: failed program was:" >&5
51474 sed 's/^/| /' conftest.$ac_ext >&5
51476 glibcxx_cv_func_modff_use=no
51478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51479 ac_ext=c
51480 ac_cpp='$CPP $CPPFLAGS'
51481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51489 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
51490 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
51492 if test x$glibcxx_cv_func_modff_use = x"yes"; then
51494 for ac_func in modff
51496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51497 echo "$as_me:$LINENO: checking for $ac_func" >&5
51498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51499 if eval "test \"\${$as_ac_var+set}\" = set"; then
51500 echo $ECHO_N "(cached) $ECHO_C" >&6
51501 else
51502 if test x$gcc_no_link = xyes; then
51503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51505 { (exit 1); exit 1; }; }
51507 cat >conftest.$ac_ext <<_ACEOF
51508 /* confdefs.h. */
51509 _ACEOF
51510 cat confdefs.h >>conftest.$ac_ext
51511 cat >>conftest.$ac_ext <<_ACEOF
51512 /* end confdefs.h. */
51513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51515 #define $ac_func innocuous_$ac_func
51517 /* System header to define __stub macros and hopefully few prototypes,
51518 which can conflict with char $ac_func (); below.
51519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51520 <limits.h> exists even on freestanding compilers. */
51522 #ifdef __STDC__
51523 # include <limits.h>
51524 #else
51525 # include <assert.h>
51526 #endif
51528 #undef $ac_func
51530 /* Override any gcc2 internal prototype to avoid an error. */
51531 #ifdef __cplusplus
51532 extern "C"
51534 #endif
51535 /* We use char because int might match the return type of a gcc2
51536 builtin and then its argument prototype would still apply. */
51537 char $ac_func ();
51538 /* The GNU C library defines this for functions which it implements
51539 to always fail with ENOSYS. Some functions are actually named
51540 something starting with __ and the normal name is an alias. */
51541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51542 choke me
51543 #else
51544 char (*f) () = $ac_func;
51545 #endif
51546 #ifdef __cplusplus
51548 #endif
51551 main ()
51553 return f != $ac_func;
51555 return 0;
51557 _ACEOF
51558 rm -f conftest.$ac_objext conftest$ac_exeext
51559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51560 (eval $ac_link) 2>conftest.er1
51561 ac_status=$?
51562 grep -v '^ *+' conftest.er1 >conftest.err
51563 rm -f conftest.er1
51564 cat conftest.err >&5
51565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51566 (exit $ac_status); } &&
51567 { ac_try='test -z "$ac_c_werror_flag"
51568 || test ! -s conftest.err'
51569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51570 (eval $ac_try) 2>&5
51571 ac_status=$?
51572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51573 (exit $ac_status); }; } &&
51574 { ac_try='test -s conftest$ac_exeext'
51575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51576 (eval $ac_try) 2>&5
51577 ac_status=$?
51578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51579 (exit $ac_status); }; }; then
51580 eval "$as_ac_var=yes"
51581 else
51582 echo "$as_me: failed program was:" >&5
51583 sed 's/^/| /' conftest.$ac_ext >&5
51585 eval "$as_ac_var=no"
51587 rm -f conftest.err conftest.$ac_objext \
51588 conftest$ac_exeext conftest.$ac_ext
51590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51592 if test `eval echo '${'$as_ac_var'}'` = yes; then
51593 cat >>confdefs.h <<_ACEOF
51594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51595 _ACEOF
51598 done
51600 else
51602 echo "$as_me:$LINENO: checking for _modff declaration" >&5
51603 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
51604 if test x${glibcxx_cv_func__modff_use+set} != xset; then
51605 if test "${glibcxx_cv_func__modff_use+set}" = set; then
51606 echo $ECHO_N "(cached) $ECHO_C" >&6
51607 else
51611 ac_ext=cc
51612 ac_cpp='$CXXCPP $CPPFLAGS'
51613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51617 cat >conftest.$ac_ext <<_ACEOF
51618 /* confdefs.h. */
51619 _ACEOF
51620 cat confdefs.h >>conftest.$ac_ext
51621 cat >>conftest.$ac_ext <<_ACEOF
51622 /* end confdefs.h. */
51623 #include <math.h>
51625 main ()
51627 _modff(0, 0);
51629 return 0;
51631 _ACEOF
51632 rm -f conftest.$ac_objext
51633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51634 (eval $ac_compile) 2>conftest.er1
51635 ac_status=$?
51636 grep -v '^ *+' conftest.er1 >conftest.err
51637 rm -f conftest.er1
51638 cat conftest.err >&5
51639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51640 (exit $ac_status); } &&
51641 { ac_try='test -z "$ac_cxx_werror_flag"
51642 || test ! -s conftest.err'
51643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51644 (eval $ac_try) 2>&5
51645 ac_status=$?
51646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51647 (exit $ac_status); }; } &&
51648 { ac_try='test -s conftest.$ac_objext'
51649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51650 (eval $ac_try) 2>&5
51651 ac_status=$?
51652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51653 (exit $ac_status); }; }; then
51654 glibcxx_cv_func__modff_use=yes
51655 else
51656 echo "$as_me: failed program was:" >&5
51657 sed 's/^/| /' conftest.$ac_ext >&5
51659 glibcxx_cv_func__modff_use=no
51661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51662 ac_ext=c
51663 ac_cpp='$CPP $CPPFLAGS'
51664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51672 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
51673 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
51675 if test x$glibcxx_cv_func__modff_use = x"yes"; then
51677 for ac_func in _modff
51679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51680 echo "$as_me:$LINENO: checking for $ac_func" >&5
51681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51682 if eval "test \"\${$as_ac_var+set}\" = set"; then
51683 echo $ECHO_N "(cached) $ECHO_C" >&6
51684 else
51685 if test x$gcc_no_link = xyes; then
51686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51688 { (exit 1); exit 1; }; }
51690 cat >conftest.$ac_ext <<_ACEOF
51691 /* confdefs.h. */
51692 _ACEOF
51693 cat confdefs.h >>conftest.$ac_ext
51694 cat >>conftest.$ac_ext <<_ACEOF
51695 /* end confdefs.h. */
51696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51698 #define $ac_func innocuous_$ac_func
51700 /* System header to define __stub macros and hopefully few prototypes,
51701 which can conflict with char $ac_func (); below.
51702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51703 <limits.h> exists even on freestanding compilers. */
51705 #ifdef __STDC__
51706 # include <limits.h>
51707 #else
51708 # include <assert.h>
51709 #endif
51711 #undef $ac_func
51713 /* Override any gcc2 internal prototype to avoid an error. */
51714 #ifdef __cplusplus
51715 extern "C"
51717 #endif
51718 /* We use char because int might match the return type of a gcc2
51719 builtin and then its argument prototype would still apply. */
51720 char $ac_func ();
51721 /* The GNU C library defines this for functions which it implements
51722 to always fail with ENOSYS. Some functions are actually named
51723 something starting with __ and the normal name is an alias. */
51724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51725 choke me
51726 #else
51727 char (*f) () = $ac_func;
51728 #endif
51729 #ifdef __cplusplus
51731 #endif
51734 main ()
51736 return f != $ac_func;
51738 return 0;
51740 _ACEOF
51741 rm -f conftest.$ac_objext conftest$ac_exeext
51742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51743 (eval $ac_link) 2>conftest.er1
51744 ac_status=$?
51745 grep -v '^ *+' conftest.er1 >conftest.err
51746 rm -f conftest.er1
51747 cat conftest.err >&5
51748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51749 (exit $ac_status); } &&
51750 { ac_try='test -z "$ac_c_werror_flag"
51751 || test ! -s conftest.err'
51752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51753 (eval $ac_try) 2>&5
51754 ac_status=$?
51755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51756 (exit $ac_status); }; } &&
51757 { ac_try='test -s conftest$ac_exeext'
51758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51759 (eval $ac_try) 2>&5
51760 ac_status=$?
51761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51762 (exit $ac_status); }; }; then
51763 eval "$as_ac_var=yes"
51764 else
51765 echo "$as_me: failed program was:" >&5
51766 sed 's/^/| /' conftest.$ac_ext >&5
51768 eval "$as_ac_var=no"
51770 rm -f conftest.err conftest.$ac_objext \
51771 conftest$ac_exeext conftest.$ac_ext
51773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51775 if test `eval echo '${'$as_ac_var'}'` = yes; then
51776 cat >>confdefs.h <<_ACEOF
51777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51778 _ACEOF
51781 done
51791 echo "$as_me:$LINENO: checking for modf declaration" >&5
51792 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
51793 if test x${glibcxx_cv_func_modf_use+set} != xset; then
51794 if test "${glibcxx_cv_func_modf_use+set}" = set; then
51795 echo $ECHO_N "(cached) $ECHO_C" >&6
51796 else
51800 ac_ext=cc
51801 ac_cpp='$CXXCPP $CPPFLAGS'
51802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51806 cat >conftest.$ac_ext <<_ACEOF
51807 /* confdefs.h. */
51808 _ACEOF
51809 cat confdefs.h >>conftest.$ac_ext
51810 cat >>conftest.$ac_ext <<_ACEOF
51811 /* end confdefs.h. */
51812 #include <math.h>
51814 main ()
51816 modf(0, 0);
51818 return 0;
51820 _ACEOF
51821 rm -f conftest.$ac_objext
51822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51823 (eval $ac_compile) 2>conftest.er1
51824 ac_status=$?
51825 grep -v '^ *+' conftest.er1 >conftest.err
51826 rm -f conftest.er1
51827 cat conftest.err >&5
51828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51829 (exit $ac_status); } &&
51830 { ac_try='test -z "$ac_cxx_werror_flag"
51831 || test ! -s conftest.err'
51832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51833 (eval $ac_try) 2>&5
51834 ac_status=$?
51835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51836 (exit $ac_status); }; } &&
51837 { ac_try='test -s conftest.$ac_objext'
51838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51839 (eval $ac_try) 2>&5
51840 ac_status=$?
51841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51842 (exit $ac_status); }; }; then
51843 glibcxx_cv_func_modf_use=yes
51844 else
51845 echo "$as_me: failed program was:" >&5
51846 sed 's/^/| /' conftest.$ac_ext >&5
51848 glibcxx_cv_func_modf_use=no
51850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51851 ac_ext=c
51852 ac_cpp='$CPP $CPPFLAGS'
51853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51861 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
51862 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
51864 if test x$glibcxx_cv_func_modf_use = x"yes"; then
51866 for ac_func in modf
51868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51869 echo "$as_me:$LINENO: checking for $ac_func" >&5
51870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51871 if eval "test \"\${$as_ac_var+set}\" = set"; then
51872 echo $ECHO_N "(cached) $ECHO_C" >&6
51873 else
51874 if test x$gcc_no_link = xyes; then
51875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51877 { (exit 1); exit 1; }; }
51879 cat >conftest.$ac_ext <<_ACEOF
51880 /* confdefs.h. */
51881 _ACEOF
51882 cat confdefs.h >>conftest.$ac_ext
51883 cat >>conftest.$ac_ext <<_ACEOF
51884 /* end confdefs.h. */
51885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51887 #define $ac_func innocuous_$ac_func
51889 /* System header to define __stub macros and hopefully few prototypes,
51890 which can conflict with char $ac_func (); below.
51891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51892 <limits.h> exists even on freestanding compilers. */
51894 #ifdef __STDC__
51895 # include <limits.h>
51896 #else
51897 # include <assert.h>
51898 #endif
51900 #undef $ac_func
51902 /* Override any gcc2 internal prototype to avoid an error. */
51903 #ifdef __cplusplus
51904 extern "C"
51906 #endif
51907 /* We use char because int might match the return type of a gcc2
51908 builtin and then its argument prototype would still apply. */
51909 char $ac_func ();
51910 /* The GNU C library defines this for functions which it implements
51911 to always fail with ENOSYS. Some functions are actually named
51912 something starting with __ and the normal name is an alias. */
51913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51914 choke me
51915 #else
51916 char (*f) () = $ac_func;
51917 #endif
51918 #ifdef __cplusplus
51920 #endif
51923 main ()
51925 return f != $ac_func;
51927 return 0;
51929 _ACEOF
51930 rm -f conftest.$ac_objext conftest$ac_exeext
51931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51932 (eval $ac_link) 2>conftest.er1
51933 ac_status=$?
51934 grep -v '^ *+' conftest.er1 >conftest.err
51935 rm -f conftest.er1
51936 cat conftest.err >&5
51937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51938 (exit $ac_status); } &&
51939 { ac_try='test -z "$ac_c_werror_flag"
51940 || test ! -s conftest.err'
51941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51942 (eval $ac_try) 2>&5
51943 ac_status=$?
51944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51945 (exit $ac_status); }; } &&
51946 { ac_try='test -s conftest$ac_exeext'
51947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51948 (eval $ac_try) 2>&5
51949 ac_status=$?
51950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51951 (exit $ac_status); }; }; then
51952 eval "$as_ac_var=yes"
51953 else
51954 echo "$as_me: failed program was:" >&5
51955 sed 's/^/| /' conftest.$ac_ext >&5
51957 eval "$as_ac_var=no"
51959 rm -f conftest.err conftest.$ac_objext \
51960 conftest$ac_exeext conftest.$ac_ext
51962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51964 if test `eval echo '${'$as_ac_var'}'` = yes; then
51965 cat >>confdefs.h <<_ACEOF
51966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51967 _ACEOF
51970 done
51972 else
51974 echo "$as_me:$LINENO: checking for _modf declaration" >&5
51975 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
51976 if test x${glibcxx_cv_func__modf_use+set} != xset; then
51977 if test "${glibcxx_cv_func__modf_use+set}" = set; then
51978 echo $ECHO_N "(cached) $ECHO_C" >&6
51979 else
51983 ac_ext=cc
51984 ac_cpp='$CXXCPP $CPPFLAGS'
51985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51989 cat >conftest.$ac_ext <<_ACEOF
51990 /* confdefs.h. */
51991 _ACEOF
51992 cat confdefs.h >>conftest.$ac_ext
51993 cat >>conftest.$ac_ext <<_ACEOF
51994 /* end confdefs.h. */
51995 #include <math.h>
51997 main ()
51999 _modf(0, 0);
52001 return 0;
52003 _ACEOF
52004 rm -f conftest.$ac_objext
52005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52006 (eval $ac_compile) 2>conftest.er1
52007 ac_status=$?
52008 grep -v '^ *+' conftest.er1 >conftest.err
52009 rm -f conftest.er1
52010 cat conftest.err >&5
52011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52012 (exit $ac_status); } &&
52013 { ac_try='test -z "$ac_cxx_werror_flag"
52014 || test ! -s conftest.err'
52015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52016 (eval $ac_try) 2>&5
52017 ac_status=$?
52018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52019 (exit $ac_status); }; } &&
52020 { ac_try='test -s conftest.$ac_objext'
52021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52022 (eval $ac_try) 2>&5
52023 ac_status=$?
52024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52025 (exit $ac_status); }; }; then
52026 glibcxx_cv_func__modf_use=yes
52027 else
52028 echo "$as_me: failed program was:" >&5
52029 sed 's/^/| /' conftest.$ac_ext >&5
52031 glibcxx_cv_func__modf_use=no
52033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52034 ac_ext=c
52035 ac_cpp='$CPP $CPPFLAGS'
52036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52044 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
52045 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
52047 if test x$glibcxx_cv_func__modf_use = x"yes"; then
52049 for ac_func in _modf
52051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52052 echo "$as_me:$LINENO: checking for $ac_func" >&5
52053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52054 if eval "test \"\${$as_ac_var+set}\" = set"; then
52055 echo $ECHO_N "(cached) $ECHO_C" >&6
52056 else
52057 if test x$gcc_no_link = xyes; then
52058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52060 { (exit 1); exit 1; }; }
52062 cat >conftest.$ac_ext <<_ACEOF
52063 /* confdefs.h. */
52064 _ACEOF
52065 cat confdefs.h >>conftest.$ac_ext
52066 cat >>conftest.$ac_ext <<_ACEOF
52067 /* end confdefs.h. */
52068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52070 #define $ac_func innocuous_$ac_func
52072 /* System header to define __stub macros and hopefully few prototypes,
52073 which can conflict with char $ac_func (); below.
52074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52075 <limits.h> exists even on freestanding compilers. */
52077 #ifdef __STDC__
52078 # include <limits.h>
52079 #else
52080 # include <assert.h>
52081 #endif
52083 #undef $ac_func
52085 /* Override any gcc2 internal prototype to avoid an error. */
52086 #ifdef __cplusplus
52087 extern "C"
52089 #endif
52090 /* We use char because int might match the return type of a gcc2
52091 builtin and then its argument prototype would still apply. */
52092 char $ac_func ();
52093 /* The GNU C library defines this for functions which it implements
52094 to always fail with ENOSYS. Some functions are actually named
52095 something starting with __ and the normal name is an alias. */
52096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52097 choke me
52098 #else
52099 char (*f) () = $ac_func;
52100 #endif
52101 #ifdef __cplusplus
52103 #endif
52106 main ()
52108 return f != $ac_func;
52110 return 0;
52112 _ACEOF
52113 rm -f conftest.$ac_objext conftest$ac_exeext
52114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52115 (eval $ac_link) 2>conftest.er1
52116 ac_status=$?
52117 grep -v '^ *+' conftest.er1 >conftest.err
52118 rm -f conftest.er1
52119 cat conftest.err >&5
52120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52121 (exit $ac_status); } &&
52122 { ac_try='test -z "$ac_c_werror_flag"
52123 || test ! -s conftest.err'
52124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52125 (eval $ac_try) 2>&5
52126 ac_status=$?
52127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52128 (exit $ac_status); }; } &&
52129 { ac_try='test -s conftest$ac_exeext'
52130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52131 (eval $ac_try) 2>&5
52132 ac_status=$?
52133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52134 (exit $ac_status); }; }; then
52135 eval "$as_ac_var=yes"
52136 else
52137 echo "$as_me: failed program was:" >&5
52138 sed 's/^/| /' conftest.$ac_ext >&5
52140 eval "$as_ac_var=no"
52142 rm -f conftest.err conftest.$ac_objext \
52143 conftest$ac_exeext conftest.$ac_ext
52145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52147 if test `eval echo '${'$as_ac_var'}'` = yes; then
52148 cat >>confdefs.h <<_ACEOF
52149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52150 _ACEOF
52153 done
52163 echo "$as_me:$LINENO: checking for powf declaration" >&5
52164 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
52165 if test x${glibcxx_cv_func_powf_use+set} != xset; then
52166 if test "${glibcxx_cv_func_powf_use+set}" = set; then
52167 echo $ECHO_N "(cached) $ECHO_C" >&6
52168 else
52172 ac_ext=cc
52173 ac_cpp='$CXXCPP $CPPFLAGS'
52174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52178 cat >conftest.$ac_ext <<_ACEOF
52179 /* confdefs.h. */
52180 _ACEOF
52181 cat confdefs.h >>conftest.$ac_ext
52182 cat >>conftest.$ac_ext <<_ACEOF
52183 /* end confdefs.h. */
52184 #include <math.h>
52186 main ()
52188 powf(0, 0);
52190 return 0;
52192 _ACEOF
52193 rm -f conftest.$ac_objext
52194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52195 (eval $ac_compile) 2>conftest.er1
52196 ac_status=$?
52197 grep -v '^ *+' conftest.er1 >conftest.err
52198 rm -f conftest.er1
52199 cat conftest.err >&5
52200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52201 (exit $ac_status); } &&
52202 { ac_try='test -z "$ac_cxx_werror_flag"
52203 || test ! -s conftest.err'
52204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52205 (eval $ac_try) 2>&5
52206 ac_status=$?
52207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52208 (exit $ac_status); }; } &&
52209 { ac_try='test -s conftest.$ac_objext'
52210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52211 (eval $ac_try) 2>&5
52212 ac_status=$?
52213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52214 (exit $ac_status); }; }; then
52215 glibcxx_cv_func_powf_use=yes
52216 else
52217 echo "$as_me: failed program was:" >&5
52218 sed 's/^/| /' conftest.$ac_ext >&5
52220 glibcxx_cv_func_powf_use=no
52222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52223 ac_ext=c
52224 ac_cpp='$CPP $CPPFLAGS'
52225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52233 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
52234 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
52236 if test x$glibcxx_cv_func_powf_use = x"yes"; then
52238 for ac_func in powf
52240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52241 echo "$as_me:$LINENO: checking for $ac_func" >&5
52242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52243 if eval "test \"\${$as_ac_var+set}\" = set"; then
52244 echo $ECHO_N "(cached) $ECHO_C" >&6
52245 else
52246 if test x$gcc_no_link = xyes; then
52247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52249 { (exit 1); exit 1; }; }
52251 cat >conftest.$ac_ext <<_ACEOF
52252 /* confdefs.h. */
52253 _ACEOF
52254 cat confdefs.h >>conftest.$ac_ext
52255 cat >>conftest.$ac_ext <<_ACEOF
52256 /* end confdefs.h. */
52257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52259 #define $ac_func innocuous_$ac_func
52261 /* System header to define __stub macros and hopefully few prototypes,
52262 which can conflict with char $ac_func (); below.
52263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52264 <limits.h> exists even on freestanding compilers. */
52266 #ifdef __STDC__
52267 # include <limits.h>
52268 #else
52269 # include <assert.h>
52270 #endif
52272 #undef $ac_func
52274 /* Override any gcc2 internal prototype to avoid an error. */
52275 #ifdef __cplusplus
52276 extern "C"
52278 #endif
52279 /* We use char because int might match the return type of a gcc2
52280 builtin and then its argument prototype would still apply. */
52281 char $ac_func ();
52282 /* The GNU C library defines this for functions which it implements
52283 to always fail with ENOSYS. Some functions are actually named
52284 something starting with __ and the normal name is an alias. */
52285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52286 choke me
52287 #else
52288 char (*f) () = $ac_func;
52289 #endif
52290 #ifdef __cplusplus
52292 #endif
52295 main ()
52297 return f != $ac_func;
52299 return 0;
52301 _ACEOF
52302 rm -f conftest.$ac_objext conftest$ac_exeext
52303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52304 (eval $ac_link) 2>conftest.er1
52305 ac_status=$?
52306 grep -v '^ *+' conftest.er1 >conftest.err
52307 rm -f conftest.er1
52308 cat conftest.err >&5
52309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52310 (exit $ac_status); } &&
52311 { ac_try='test -z "$ac_c_werror_flag"
52312 || test ! -s conftest.err'
52313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52314 (eval $ac_try) 2>&5
52315 ac_status=$?
52316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52317 (exit $ac_status); }; } &&
52318 { ac_try='test -s conftest$ac_exeext'
52319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52320 (eval $ac_try) 2>&5
52321 ac_status=$?
52322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52323 (exit $ac_status); }; }; then
52324 eval "$as_ac_var=yes"
52325 else
52326 echo "$as_me: failed program was:" >&5
52327 sed 's/^/| /' conftest.$ac_ext >&5
52329 eval "$as_ac_var=no"
52331 rm -f conftest.err conftest.$ac_objext \
52332 conftest$ac_exeext conftest.$ac_ext
52334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52336 if test `eval echo '${'$as_ac_var'}'` = yes; then
52337 cat >>confdefs.h <<_ACEOF
52338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52339 _ACEOF
52342 done
52344 else
52346 echo "$as_me:$LINENO: checking for _powf declaration" >&5
52347 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
52348 if test x${glibcxx_cv_func__powf_use+set} != xset; then
52349 if test "${glibcxx_cv_func__powf_use+set}" = set; then
52350 echo $ECHO_N "(cached) $ECHO_C" >&6
52351 else
52355 ac_ext=cc
52356 ac_cpp='$CXXCPP $CPPFLAGS'
52357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52361 cat >conftest.$ac_ext <<_ACEOF
52362 /* confdefs.h. */
52363 _ACEOF
52364 cat confdefs.h >>conftest.$ac_ext
52365 cat >>conftest.$ac_ext <<_ACEOF
52366 /* end confdefs.h. */
52367 #include <math.h>
52369 main ()
52371 _powf(0, 0);
52373 return 0;
52375 _ACEOF
52376 rm -f conftest.$ac_objext
52377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52378 (eval $ac_compile) 2>conftest.er1
52379 ac_status=$?
52380 grep -v '^ *+' conftest.er1 >conftest.err
52381 rm -f conftest.er1
52382 cat conftest.err >&5
52383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52384 (exit $ac_status); } &&
52385 { ac_try='test -z "$ac_cxx_werror_flag"
52386 || test ! -s conftest.err'
52387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52388 (eval $ac_try) 2>&5
52389 ac_status=$?
52390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52391 (exit $ac_status); }; } &&
52392 { ac_try='test -s conftest.$ac_objext'
52393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52394 (eval $ac_try) 2>&5
52395 ac_status=$?
52396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52397 (exit $ac_status); }; }; then
52398 glibcxx_cv_func__powf_use=yes
52399 else
52400 echo "$as_me: failed program was:" >&5
52401 sed 's/^/| /' conftest.$ac_ext >&5
52403 glibcxx_cv_func__powf_use=no
52405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52406 ac_ext=c
52407 ac_cpp='$CPP $CPPFLAGS'
52408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52416 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
52417 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
52419 if test x$glibcxx_cv_func__powf_use = x"yes"; then
52421 for ac_func in _powf
52423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52424 echo "$as_me:$LINENO: checking for $ac_func" >&5
52425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52426 if eval "test \"\${$as_ac_var+set}\" = set"; then
52427 echo $ECHO_N "(cached) $ECHO_C" >&6
52428 else
52429 if test x$gcc_no_link = xyes; then
52430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52432 { (exit 1); exit 1; }; }
52434 cat >conftest.$ac_ext <<_ACEOF
52435 /* confdefs.h. */
52436 _ACEOF
52437 cat confdefs.h >>conftest.$ac_ext
52438 cat >>conftest.$ac_ext <<_ACEOF
52439 /* end confdefs.h. */
52440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52442 #define $ac_func innocuous_$ac_func
52444 /* System header to define __stub macros and hopefully few prototypes,
52445 which can conflict with char $ac_func (); below.
52446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52447 <limits.h> exists even on freestanding compilers. */
52449 #ifdef __STDC__
52450 # include <limits.h>
52451 #else
52452 # include <assert.h>
52453 #endif
52455 #undef $ac_func
52457 /* Override any gcc2 internal prototype to avoid an error. */
52458 #ifdef __cplusplus
52459 extern "C"
52461 #endif
52462 /* We use char because int might match the return type of a gcc2
52463 builtin and then its argument prototype would still apply. */
52464 char $ac_func ();
52465 /* The GNU C library defines this for functions which it implements
52466 to always fail with ENOSYS. Some functions are actually named
52467 something starting with __ and the normal name is an alias. */
52468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52469 choke me
52470 #else
52471 char (*f) () = $ac_func;
52472 #endif
52473 #ifdef __cplusplus
52475 #endif
52478 main ()
52480 return f != $ac_func;
52482 return 0;
52484 _ACEOF
52485 rm -f conftest.$ac_objext conftest$ac_exeext
52486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52487 (eval $ac_link) 2>conftest.er1
52488 ac_status=$?
52489 grep -v '^ *+' conftest.er1 >conftest.err
52490 rm -f conftest.er1
52491 cat conftest.err >&5
52492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52493 (exit $ac_status); } &&
52494 { ac_try='test -z "$ac_c_werror_flag"
52495 || test ! -s conftest.err'
52496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52497 (eval $ac_try) 2>&5
52498 ac_status=$?
52499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52500 (exit $ac_status); }; } &&
52501 { ac_try='test -s conftest$ac_exeext'
52502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52503 (eval $ac_try) 2>&5
52504 ac_status=$?
52505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52506 (exit $ac_status); }; }; then
52507 eval "$as_ac_var=yes"
52508 else
52509 echo "$as_me: failed program was:" >&5
52510 sed 's/^/| /' conftest.$ac_ext >&5
52512 eval "$as_ac_var=no"
52514 rm -f conftest.err conftest.$ac_objext \
52515 conftest$ac_exeext conftest.$ac_ext
52517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52519 if test `eval echo '${'$as_ac_var'}'` = yes; then
52520 cat >>confdefs.h <<_ACEOF
52521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52522 _ACEOF
52525 done
52535 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
52536 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
52537 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
52538 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
52539 echo $ECHO_N "(cached) $ECHO_C" >&6
52540 else
52544 ac_ext=cc
52545 ac_cpp='$CXXCPP $CPPFLAGS'
52546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52550 cat >conftest.$ac_ext <<_ACEOF
52551 /* confdefs.h. */
52552 _ACEOF
52553 cat confdefs.h >>conftest.$ac_ext
52554 cat >>conftest.$ac_ext <<_ACEOF
52555 /* end confdefs.h. */
52556 #include <math.h>
52557 #ifdef HAVE_IEEEFP_H
52558 #include <ieeefp.h>
52559 #endif
52562 main ()
52564 sqrtf(0);
52566 return 0;
52568 _ACEOF
52569 rm -f conftest.$ac_objext
52570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52571 (eval $ac_compile) 2>conftest.er1
52572 ac_status=$?
52573 grep -v '^ *+' conftest.er1 >conftest.err
52574 rm -f conftest.er1
52575 cat conftest.err >&5
52576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52577 (exit $ac_status); } &&
52578 { ac_try='test -z "$ac_cxx_werror_flag"
52579 || test ! -s conftest.err'
52580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52581 (eval $ac_try) 2>&5
52582 ac_status=$?
52583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52584 (exit $ac_status); }; } &&
52585 { ac_try='test -s conftest.$ac_objext'
52586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52587 (eval $ac_try) 2>&5
52588 ac_status=$?
52589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52590 (exit $ac_status); }; }; then
52591 glibcxx_cv_func_sqrtf_use=yes
52592 else
52593 echo "$as_me: failed program was:" >&5
52594 sed 's/^/| /' conftest.$ac_ext >&5
52596 glibcxx_cv_func_sqrtf_use=no
52598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52599 ac_ext=c
52600 ac_cpp='$CPP $CPPFLAGS'
52601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52609 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
52610 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
52612 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
52614 for ac_func in sqrtf
52616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52617 echo "$as_me:$LINENO: checking for $ac_func" >&5
52618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52619 if eval "test \"\${$as_ac_var+set}\" = set"; then
52620 echo $ECHO_N "(cached) $ECHO_C" >&6
52621 else
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; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52635 #define $ac_func innocuous_$ac_func
52637 /* System header to define __stub macros and hopefully few prototypes,
52638 which can conflict with char $ac_func (); below.
52639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52640 <limits.h> exists even on freestanding compilers. */
52642 #ifdef __STDC__
52643 # include <limits.h>
52644 #else
52645 # include <assert.h>
52646 #endif
52648 #undef $ac_func
52650 /* Override any gcc2 internal prototype to avoid an error. */
52651 #ifdef __cplusplus
52652 extern "C"
52654 #endif
52655 /* We use char because int might match the return type of a gcc2
52656 builtin and then its argument prototype would still apply. */
52657 char $ac_func ();
52658 /* The GNU C library defines this for functions which it implements
52659 to always fail with ENOSYS. Some functions are actually named
52660 something starting with __ and the normal name is an alias. */
52661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52662 choke me
52663 #else
52664 char (*f) () = $ac_func;
52665 #endif
52666 #ifdef __cplusplus
52668 #endif
52671 main ()
52673 return f != $ac_func;
52675 return 0;
52677 _ACEOF
52678 rm -f conftest.$ac_objext conftest$ac_exeext
52679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52680 (eval $ac_link) 2>conftest.er1
52681 ac_status=$?
52682 grep -v '^ *+' conftest.er1 >conftest.err
52683 rm -f conftest.er1
52684 cat conftest.err >&5
52685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52686 (exit $ac_status); } &&
52687 { ac_try='test -z "$ac_c_werror_flag"
52688 || test ! -s conftest.err'
52689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52690 (eval $ac_try) 2>&5
52691 ac_status=$?
52692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52693 (exit $ac_status); }; } &&
52694 { ac_try='test -s conftest$ac_exeext'
52695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52696 (eval $ac_try) 2>&5
52697 ac_status=$?
52698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52699 (exit $ac_status); }; }; then
52700 eval "$as_ac_var=yes"
52701 else
52702 echo "$as_me: failed program was:" >&5
52703 sed 's/^/| /' conftest.$ac_ext >&5
52705 eval "$as_ac_var=no"
52707 rm -f conftest.err conftest.$ac_objext \
52708 conftest$ac_exeext conftest.$ac_ext
52710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52712 if test `eval echo '${'$as_ac_var'}'` = yes; then
52713 cat >>confdefs.h <<_ACEOF
52714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52715 _ACEOF
52718 done
52720 else
52722 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
52723 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
52724 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
52725 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
52726 echo $ECHO_N "(cached) $ECHO_C" >&6
52727 else
52731 ac_ext=cc
52732 ac_cpp='$CXXCPP $CPPFLAGS'
52733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52737 cat >conftest.$ac_ext <<_ACEOF
52738 /* confdefs.h. */
52739 _ACEOF
52740 cat confdefs.h >>conftest.$ac_ext
52741 cat >>conftest.$ac_ext <<_ACEOF
52742 /* end confdefs.h. */
52743 #include <math.h>
52744 #ifdef HAVE_IEEEFP_H
52745 #include <ieeefp.h>
52746 #endif
52749 main ()
52751 _sqrtf(0);
52753 return 0;
52755 _ACEOF
52756 rm -f conftest.$ac_objext
52757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52758 (eval $ac_compile) 2>conftest.er1
52759 ac_status=$?
52760 grep -v '^ *+' conftest.er1 >conftest.err
52761 rm -f conftest.er1
52762 cat conftest.err >&5
52763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52764 (exit $ac_status); } &&
52765 { ac_try='test -z "$ac_cxx_werror_flag"
52766 || test ! -s conftest.err'
52767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52768 (eval $ac_try) 2>&5
52769 ac_status=$?
52770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52771 (exit $ac_status); }; } &&
52772 { ac_try='test -s conftest.$ac_objext'
52773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52774 (eval $ac_try) 2>&5
52775 ac_status=$?
52776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52777 (exit $ac_status); }; }; then
52778 glibcxx_cv_func__sqrtf_use=yes
52779 else
52780 echo "$as_me: failed program was:" >&5
52781 sed 's/^/| /' conftest.$ac_ext >&5
52783 glibcxx_cv_func__sqrtf_use=no
52785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52786 ac_ext=c
52787 ac_cpp='$CPP $CPPFLAGS'
52788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52796 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
52797 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
52799 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
52801 for ac_func in _sqrtf
52803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52804 echo "$as_me:$LINENO: checking for $ac_func" >&5
52805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52806 if eval "test \"\${$as_ac_var+set}\" = set"; then
52807 echo $ECHO_N "(cached) $ECHO_C" >&6
52808 else
52809 if test x$gcc_no_link = xyes; then
52810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52812 { (exit 1); exit 1; }; }
52814 cat >conftest.$ac_ext <<_ACEOF
52815 /* confdefs.h. */
52816 _ACEOF
52817 cat confdefs.h >>conftest.$ac_ext
52818 cat >>conftest.$ac_ext <<_ACEOF
52819 /* end confdefs.h. */
52820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52821 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52822 #define $ac_func innocuous_$ac_func
52824 /* System header to define __stub macros and hopefully few prototypes,
52825 which can conflict with char $ac_func (); below.
52826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52827 <limits.h> exists even on freestanding compilers. */
52829 #ifdef __STDC__
52830 # include <limits.h>
52831 #else
52832 # include <assert.h>
52833 #endif
52835 #undef $ac_func
52837 /* Override any gcc2 internal prototype to avoid an error. */
52838 #ifdef __cplusplus
52839 extern "C"
52841 #endif
52842 /* We use char because int might match the return type of a gcc2
52843 builtin and then its argument prototype would still apply. */
52844 char $ac_func ();
52845 /* The GNU C library defines this for functions which it implements
52846 to always fail with ENOSYS. Some functions are actually named
52847 something starting with __ and the normal name is an alias. */
52848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52849 choke me
52850 #else
52851 char (*f) () = $ac_func;
52852 #endif
52853 #ifdef __cplusplus
52855 #endif
52858 main ()
52860 return f != $ac_func;
52862 return 0;
52864 _ACEOF
52865 rm -f conftest.$ac_objext conftest$ac_exeext
52866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52867 (eval $ac_link) 2>conftest.er1
52868 ac_status=$?
52869 grep -v '^ *+' conftest.er1 >conftest.err
52870 rm -f conftest.er1
52871 cat conftest.err >&5
52872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52873 (exit $ac_status); } &&
52874 { ac_try='test -z "$ac_c_werror_flag"
52875 || test ! -s conftest.err'
52876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52877 (eval $ac_try) 2>&5
52878 ac_status=$?
52879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52880 (exit $ac_status); }; } &&
52881 { ac_try='test -s conftest$ac_exeext'
52882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52883 (eval $ac_try) 2>&5
52884 ac_status=$?
52885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52886 (exit $ac_status); }; }; then
52887 eval "$as_ac_var=yes"
52888 else
52889 echo "$as_me: failed program was:" >&5
52890 sed 's/^/| /' conftest.$ac_ext >&5
52892 eval "$as_ac_var=no"
52894 rm -f conftest.err conftest.$ac_objext \
52895 conftest$ac_exeext conftest.$ac_ext
52897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52899 if test `eval echo '${'$as_ac_var'}'` = yes; then
52900 cat >>confdefs.h <<_ACEOF
52901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52902 _ACEOF
52905 done
52915 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
52916 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
52917 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
52918 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
52919 echo $ECHO_N "(cached) $ECHO_C" >&6
52920 else
52924 ac_ext=cc
52925 ac_cpp='$CXXCPP $CPPFLAGS'
52926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52930 cat >conftest.$ac_ext <<_ACEOF
52931 /* confdefs.h. */
52932 _ACEOF
52933 cat confdefs.h >>conftest.$ac_ext
52934 cat >>conftest.$ac_ext <<_ACEOF
52935 /* end confdefs.h. */
52936 #include <math.h>
52938 main ()
52940 sincosf(0, 0, 0);
52942 return 0;
52944 _ACEOF
52945 rm -f conftest.$ac_objext
52946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52947 (eval $ac_compile) 2>conftest.er1
52948 ac_status=$?
52949 grep -v '^ *+' conftest.er1 >conftest.err
52950 rm -f conftest.er1
52951 cat conftest.err >&5
52952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52953 (exit $ac_status); } &&
52954 { ac_try='test -z "$ac_cxx_werror_flag"
52955 || test ! -s conftest.err'
52956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52957 (eval $ac_try) 2>&5
52958 ac_status=$?
52959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52960 (exit $ac_status); }; } &&
52961 { ac_try='test -s conftest.$ac_objext'
52962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52963 (eval $ac_try) 2>&5
52964 ac_status=$?
52965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52966 (exit $ac_status); }; }; then
52967 glibcxx_cv_func_sincosf_use=yes
52968 else
52969 echo "$as_me: failed program was:" >&5
52970 sed 's/^/| /' conftest.$ac_ext >&5
52972 glibcxx_cv_func_sincosf_use=no
52974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52975 ac_ext=c
52976 ac_cpp='$CPP $CPPFLAGS'
52977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52985 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
52986 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
52988 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
52990 for ac_func in sincosf
52992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52993 echo "$as_me:$LINENO: checking for $ac_func" >&5
52994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52995 if eval "test \"\${$as_ac_var+set}\" = set"; then
52996 echo $ECHO_N "(cached) $ECHO_C" >&6
52997 else
52998 if test x$gcc_no_link = xyes; then
52999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53001 { (exit 1); exit 1; }; }
53003 cat >conftest.$ac_ext <<_ACEOF
53004 /* confdefs.h. */
53005 _ACEOF
53006 cat confdefs.h >>conftest.$ac_ext
53007 cat >>conftest.$ac_ext <<_ACEOF
53008 /* end confdefs.h. */
53009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53011 #define $ac_func innocuous_$ac_func
53013 /* System header to define __stub macros and hopefully few prototypes,
53014 which can conflict with char $ac_func (); below.
53015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53016 <limits.h> exists even on freestanding compilers. */
53018 #ifdef __STDC__
53019 # include <limits.h>
53020 #else
53021 # include <assert.h>
53022 #endif
53024 #undef $ac_func
53026 /* Override any gcc2 internal prototype to avoid an error. */
53027 #ifdef __cplusplus
53028 extern "C"
53030 #endif
53031 /* We use char because int might match the return type of a gcc2
53032 builtin and then its argument prototype would still apply. */
53033 char $ac_func ();
53034 /* The GNU C library defines this for functions which it implements
53035 to always fail with ENOSYS. Some functions are actually named
53036 something starting with __ and the normal name is an alias. */
53037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53038 choke me
53039 #else
53040 char (*f) () = $ac_func;
53041 #endif
53042 #ifdef __cplusplus
53044 #endif
53047 main ()
53049 return f != $ac_func;
53051 return 0;
53053 _ACEOF
53054 rm -f conftest.$ac_objext conftest$ac_exeext
53055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53056 (eval $ac_link) 2>conftest.er1
53057 ac_status=$?
53058 grep -v '^ *+' conftest.er1 >conftest.err
53059 rm -f conftest.er1
53060 cat conftest.err >&5
53061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53062 (exit $ac_status); } &&
53063 { ac_try='test -z "$ac_c_werror_flag"
53064 || test ! -s conftest.err'
53065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53066 (eval $ac_try) 2>&5
53067 ac_status=$?
53068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53069 (exit $ac_status); }; } &&
53070 { ac_try='test -s conftest$ac_exeext'
53071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53072 (eval $ac_try) 2>&5
53073 ac_status=$?
53074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53075 (exit $ac_status); }; }; then
53076 eval "$as_ac_var=yes"
53077 else
53078 echo "$as_me: failed program was:" >&5
53079 sed 's/^/| /' conftest.$ac_ext >&5
53081 eval "$as_ac_var=no"
53083 rm -f conftest.err conftest.$ac_objext \
53084 conftest$ac_exeext conftest.$ac_ext
53086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53088 if test `eval echo '${'$as_ac_var'}'` = yes; then
53089 cat >>confdefs.h <<_ACEOF
53090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53091 _ACEOF
53094 done
53096 else
53098 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
53099 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
53100 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
53101 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
53102 echo $ECHO_N "(cached) $ECHO_C" >&6
53103 else
53107 ac_ext=cc
53108 ac_cpp='$CXXCPP $CPPFLAGS'
53109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53113 cat >conftest.$ac_ext <<_ACEOF
53114 /* confdefs.h. */
53115 _ACEOF
53116 cat confdefs.h >>conftest.$ac_ext
53117 cat >>conftest.$ac_ext <<_ACEOF
53118 /* end confdefs.h. */
53119 #include <math.h>
53121 main ()
53123 _sincosf(0, 0, 0);
53125 return 0;
53127 _ACEOF
53128 rm -f conftest.$ac_objext
53129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53130 (eval $ac_compile) 2>conftest.er1
53131 ac_status=$?
53132 grep -v '^ *+' conftest.er1 >conftest.err
53133 rm -f conftest.er1
53134 cat conftest.err >&5
53135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53136 (exit $ac_status); } &&
53137 { ac_try='test -z "$ac_cxx_werror_flag"
53138 || test ! -s conftest.err'
53139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53140 (eval $ac_try) 2>&5
53141 ac_status=$?
53142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53143 (exit $ac_status); }; } &&
53144 { ac_try='test -s conftest.$ac_objext'
53145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53146 (eval $ac_try) 2>&5
53147 ac_status=$?
53148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53149 (exit $ac_status); }; }; then
53150 glibcxx_cv_func__sincosf_use=yes
53151 else
53152 echo "$as_me: failed program was:" >&5
53153 sed 's/^/| /' conftest.$ac_ext >&5
53155 glibcxx_cv_func__sincosf_use=no
53157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53158 ac_ext=c
53159 ac_cpp='$CPP $CPPFLAGS'
53160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53168 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
53169 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
53171 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
53173 for ac_func in _sincosf
53175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53176 echo "$as_me:$LINENO: checking for $ac_func" >&5
53177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53178 if eval "test \"\${$as_ac_var+set}\" = set"; then
53179 echo $ECHO_N "(cached) $ECHO_C" >&6
53180 else
53181 if test x$gcc_no_link = xyes; then
53182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53184 { (exit 1); exit 1; }; }
53186 cat >conftest.$ac_ext <<_ACEOF
53187 /* confdefs.h. */
53188 _ACEOF
53189 cat confdefs.h >>conftest.$ac_ext
53190 cat >>conftest.$ac_ext <<_ACEOF
53191 /* end confdefs.h. */
53192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53194 #define $ac_func innocuous_$ac_func
53196 /* System header to define __stub macros and hopefully few prototypes,
53197 which can conflict with char $ac_func (); below.
53198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53199 <limits.h> exists even on freestanding compilers. */
53201 #ifdef __STDC__
53202 # include <limits.h>
53203 #else
53204 # include <assert.h>
53205 #endif
53207 #undef $ac_func
53209 /* Override any gcc2 internal prototype to avoid an error. */
53210 #ifdef __cplusplus
53211 extern "C"
53213 #endif
53214 /* We use char because int might match the return type of a gcc2
53215 builtin and then its argument prototype would still apply. */
53216 char $ac_func ();
53217 /* The GNU C library defines this for functions which it implements
53218 to always fail with ENOSYS. Some functions are actually named
53219 something starting with __ and the normal name is an alias. */
53220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53221 choke me
53222 #else
53223 char (*f) () = $ac_func;
53224 #endif
53225 #ifdef __cplusplus
53227 #endif
53230 main ()
53232 return f != $ac_func;
53234 return 0;
53236 _ACEOF
53237 rm -f conftest.$ac_objext conftest$ac_exeext
53238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53239 (eval $ac_link) 2>conftest.er1
53240 ac_status=$?
53241 grep -v '^ *+' conftest.er1 >conftest.err
53242 rm -f conftest.er1
53243 cat conftest.err >&5
53244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53245 (exit $ac_status); } &&
53246 { ac_try='test -z "$ac_c_werror_flag"
53247 || test ! -s conftest.err'
53248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53249 (eval $ac_try) 2>&5
53250 ac_status=$?
53251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53252 (exit $ac_status); }; } &&
53253 { ac_try='test -s conftest$ac_exeext'
53254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53255 (eval $ac_try) 2>&5
53256 ac_status=$?
53257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53258 (exit $ac_status); }; }; then
53259 eval "$as_ac_var=yes"
53260 else
53261 echo "$as_me: failed program was:" >&5
53262 sed 's/^/| /' conftest.$ac_ext >&5
53264 eval "$as_ac_var=no"
53266 rm -f conftest.err conftest.$ac_objext \
53267 conftest$ac_exeext conftest.$ac_ext
53269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53271 if test `eval echo '${'$as_ac_var'}'` = yes; then
53272 cat >>confdefs.h <<_ACEOF
53273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53274 _ACEOF
53277 done
53287 echo "$as_me:$LINENO: checking for finitef declaration" >&5
53288 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
53289 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
53290 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
53291 echo $ECHO_N "(cached) $ECHO_C" >&6
53292 else
53296 ac_ext=cc
53297 ac_cpp='$CXXCPP $CPPFLAGS'
53298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53302 cat >conftest.$ac_ext <<_ACEOF
53303 /* confdefs.h. */
53304 _ACEOF
53305 cat confdefs.h >>conftest.$ac_ext
53306 cat >>conftest.$ac_ext <<_ACEOF
53307 /* end confdefs.h. */
53308 #include <math.h>
53309 #ifdef HAVE_IEEEFP_H
53310 #include <ieeefp.h>
53311 #endif
53314 main ()
53316 finitef(0);
53318 return 0;
53320 _ACEOF
53321 rm -f conftest.$ac_objext
53322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53323 (eval $ac_compile) 2>conftest.er1
53324 ac_status=$?
53325 grep -v '^ *+' conftest.er1 >conftest.err
53326 rm -f conftest.er1
53327 cat conftest.err >&5
53328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53329 (exit $ac_status); } &&
53330 { ac_try='test -z "$ac_cxx_werror_flag"
53331 || test ! -s conftest.err'
53332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53333 (eval $ac_try) 2>&5
53334 ac_status=$?
53335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53336 (exit $ac_status); }; } &&
53337 { ac_try='test -s conftest.$ac_objext'
53338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53339 (eval $ac_try) 2>&5
53340 ac_status=$?
53341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53342 (exit $ac_status); }; }; then
53343 glibcxx_cv_func_finitef_use=yes
53344 else
53345 echo "$as_me: failed program was:" >&5
53346 sed 's/^/| /' conftest.$ac_ext >&5
53348 glibcxx_cv_func_finitef_use=no
53350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53351 ac_ext=c
53352 ac_cpp='$CPP $CPPFLAGS'
53353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53361 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
53362 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
53364 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53366 for ac_func in finitef
53368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53369 echo "$as_me:$LINENO: checking for $ac_func" >&5
53370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53371 if eval "test \"\${$as_ac_var+set}\" = set"; then
53372 echo $ECHO_N "(cached) $ECHO_C" >&6
53373 else
53374 if test x$gcc_no_link = xyes; then
53375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53377 { (exit 1); exit 1; }; }
53379 cat >conftest.$ac_ext <<_ACEOF
53380 /* confdefs.h. */
53381 _ACEOF
53382 cat confdefs.h >>conftest.$ac_ext
53383 cat >>conftest.$ac_ext <<_ACEOF
53384 /* end confdefs.h. */
53385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53387 #define $ac_func innocuous_$ac_func
53389 /* System header to define __stub macros and hopefully few prototypes,
53390 which can conflict with char $ac_func (); below.
53391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53392 <limits.h> exists even on freestanding compilers. */
53394 #ifdef __STDC__
53395 # include <limits.h>
53396 #else
53397 # include <assert.h>
53398 #endif
53400 #undef $ac_func
53402 /* Override any gcc2 internal prototype to avoid an error. */
53403 #ifdef __cplusplus
53404 extern "C"
53406 #endif
53407 /* We use char because int might match the return type of a gcc2
53408 builtin and then its argument prototype would still apply. */
53409 char $ac_func ();
53410 /* The GNU C library defines this for functions which it implements
53411 to always fail with ENOSYS. Some functions are actually named
53412 something starting with __ and the normal name is an alias. */
53413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53414 choke me
53415 #else
53416 char (*f) () = $ac_func;
53417 #endif
53418 #ifdef __cplusplus
53420 #endif
53423 main ()
53425 return f != $ac_func;
53427 return 0;
53429 _ACEOF
53430 rm -f conftest.$ac_objext conftest$ac_exeext
53431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53432 (eval $ac_link) 2>conftest.er1
53433 ac_status=$?
53434 grep -v '^ *+' conftest.er1 >conftest.err
53435 rm -f conftest.er1
53436 cat conftest.err >&5
53437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53438 (exit $ac_status); } &&
53439 { ac_try='test -z "$ac_c_werror_flag"
53440 || test ! -s conftest.err'
53441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53442 (eval $ac_try) 2>&5
53443 ac_status=$?
53444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53445 (exit $ac_status); }; } &&
53446 { ac_try='test -s conftest$ac_exeext'
53447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53448 (eval $ac_try) 2>&5
53449 ac_status=$?
53450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53451 (exit $ac_status); }; }; then
53452 eval "$as_ac_var=yes"
53453 else
53454 echo "$as_me: failed program was:" >&5
53455 sed 's/^/| /' conftest.$ac_ext >&5
53457 eval "$as_ac_var=no"
53459 rm -f conftest.err conftest.$ac_objext \
53460 conftest$ac_exeext conftest.$ac_ext
53462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53464 if test `eval echo '${'$as_ac_var'}'` = yes; then
53465 cat >>confdefs.h <<_ACEOF
53466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53467 _ACEOF
53470 done
53472 else
53474 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
53475 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
53476 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
53477 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
53478 echo $ECHO_N "(cached) $ECHO_C" >&6
53479 else
53483 ac_ext=cc
53484 ac_cpp='$CXXCPP $CPPFLAGS'
53485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53489 cat >conftest.$ac_ext <<_ACEOF
53490 /* confdefs.h. */
53491 _ACEOF
53492 cat confdefs.h >>conftest.$ac_ext
53493 cat >>conftest.$ac_ext <<_ACEOF
53494 /* end confdefs.h. */
53495 #include <math.h>
53496 #ifdef HAVE_IEEEFP_H
53497 #include <ieeefp.h>
53498 #endif
53501 main ()
53503 _finitef(0);
53505 return 0;
53507 _ACEOF
53508 rm -f conftest.$ac_objext
53509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53510 (eval $ac_compile) 2>conftest.er1
53511 ac_status=$?
53512 grep -v '^ *+' conftest.er1 >conftest.err
53513 rm -f conftest.er1
53514 cat conftest.err >&5
53515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53516 (exit $ac_status); } &&
53517 { ac_try='test -z "$ac_cxx_werror_flag"
53518 || test ! -s conftest.err'
53519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53520 (eval $ac_try) 2>&5
53521 ac_status=$?
53522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53523 (exit $ac_status); }; } &&
53524 { ac_try='test -s conftest.$ac_objext'
53525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53526 (eval $ac_try) 2>&5
53527 ac_status=$?
53528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53529 (exit $ac_status); }; }; then
53530 glibcxx_cv_func__finitef_use=yes
53531 else
53532 echo "$as_me: failed program was:" >&5
53533 sed 's/^/| /' conftest.$ac_ext >&5
53535 glibcxx_cv_func__finitef_use=no
53537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53538 ac_ext=c
53539 ac_cpp='$CPP $CPPFLAGS'
53540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53548 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
53549 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
53551 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
53553 for ac_func in _finitef
53555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53556 echo "$as_me:$LINENO: checking for $ac_func" >&5
53557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53558 if eval "test \"\${$as_ac_var+set}\" = set"; then
53559 echo $ECHO_N "(cached) $ECHO_C" >&6
53560 else
53561 if test x$gcc_no_link = xyes; then
53562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53564 { (exit 1); exit 1; }; }
53566 cat >conftest.$ac_ext <<_ACEOF
53567 /* confdefs.h. */
53568 _ACEOF
53569 cat confdefs.h >>conftest.$ac_ext
53570 cat >>conftest.$ac_ext <<_ACEOF
53571 /* end confdefs.h. */
53572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53574 #define $ac_func innocuous_$ac_func
53576 /* System header to define __stub macros and hopefully few prototypes,
53577 which can conflict with char $ac_func (); below.
53578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53579 <limits.h> exists even on freestanding compilers. */
53581 #ifdef __STDC__
53582 # include <limits.h>
53583 #else
53584 # include <assert.h>
53585 #endif
53587 #undef $ac_func
53589 /* Override any gcc2 internal prototype to avoid an error. */
53590 #ifdef __cplusplus
53591 extern "C"
53593 #endif
53594 /* We use char because int might match the return type of a gcc2
53595 builtin and then its argument prototype would still apply. */
53596 char $ac_func ();
53597 /* The GNU C library defines this for functions which it implements
53598 to always fail with ENOSYS. Some functions are actually named
53599 something starting with __ and the normal name is an alias. */
53600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53601 choke me
53602 #else
53603 char (*f) () = $ac_func;
53604 #endif
53605 #ifdef __cplusplus
53607 #endif
53610 main ()
53612 return f != $ac_func;
53614 return 0;
53616 _ACEOF
53617 rm -f conftest.$ac_objext conftest$ac_exeext
53618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53619 (eval $ac_link) 2>conftest.er1
53620 ac_status=$?
53621 grep -v '^ *+' conftest.er1 >conftest.err
53622 rm -f conftest.er1
53623 cat conftest.err >&5
53624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53625 (exit $ac_status); } &&
53626 { ac_try='test -z "$ac_c_werror_flag"
53627 || test ! -s conftest.err'
53628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53629 (eval $ac_try) 2>&5
53630 ac_status=$?
53631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53632 (exit $ac_status); }; } &&
53633 { ac_try='test -s conftest$ac_exeext'
53634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53635 (eval $ac_try) 2>&5
53636 ac_status=$?
53637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53638 (exit $ac_status); }; }; then
53639 eval "$as_ac_var=yes"
53640 else
53641 echo "$as_me: failed program was:" >&5
53642 sed 's/^/| /' conftest.$ac_ext >&5
53644 eval "$as_ac_var=no"
53646 rm -f conftest.err conftest.$ac_objext \
53647 conftest$ac_exeext conftest.$ac_ext
53649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53651 if test `eval echo '${'$as_ac_var'}'` = yes; then
53652 cat >>confdefs.h <<_ACEOF
53653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53654 _ACEOF
53657 done
53667 echo "$as_me:$LINENO: checking for long double trig functions" >&5
53668 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
53669 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
53670 echo $ECHO_N "(cached) $ECHO_C" >&6
53671 else
53675 ac_ext=cc
53676 ac_cpp='$CXXCPP $CPPFLAGS'
53677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53681 cat >conftest.$ac_ext <<_ACEOF
53682 /* confdefs.h. */
53683 _ACEOF
53684 cat confdefs.h >>conftest.$ac_ext
53685 cat >>conftest.$ac_ext <<_ACEOF
53686 /* end confdefs.h. */
53687 #include <math.h>
53689 main ()
53691 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
53693 return 0;
53695 _ACEOF
53696 rm -f conftest.$ac_objext
53697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53698 (eval $ac_compile) 2>conftest.er1
53699 ac_status=$?
53700 grep -v '^ *+' conftest.er1 >conftest.err
53701 rm -f conftest.er1
53702 cat conftest.err >&5
53703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53704 (exit $ac_status); } &&
53705 { ac_try='test -z "$ac_cxx_werror_flag"
53706 || test ! -s conftest.err'
53707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53708 (eval $ac_try) 2>&5
53709 ac_status=$?
53710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53711 (exit $ac_status); }; } &&
53712 { ac_try='test -s conftest.$ac_objext'
53713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53714 (eval $ac_try) 2>&5
53715 ac_status=$?
53716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53717 (exit $ac_status); }; }; then
53718 glibcxx_cv_func_long_double_trig_use=yes
53719 else
53720 echo "$as_me: failed program was:" >&5
53721 sed 's/^/| /' conftest.$ac_ext >&5
53723 glibcxx_cv_func_long_double_trig_use=no
53725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53726 ac_ext=c
53727 ac_cpp='$CPP $CPPFLAGS'
53728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53734 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
53735 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
53736 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
53746 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
53748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53749 echo "$as_me:$LINENO: checking for $ac_func" >&5
53750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53751 if eval "test \"\${$as_ac_var+set}\" = set"; then
53752 echo $ECHO_N "(cached) $ECHO_C" >&6
53753 else
53754 if test x$gcc_no_link = xyes; then
53755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53757 { (exit 1); exit 1; }; }
53759 cat >conftest.$ac_ext <<_ACEOF
53760 /* confdefs.h. */
53761 _ACEOF
53762 cat confdefs.h >>conftest.$ac_ext
53763 cat >>conftest.$ac_ext <<_ACEOF
53764 /* end confdefs.h. */
53765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53767 #define $ac_func innocuous_$ac_func
53769 /* System header to define __stub macros and hopefully few prototypes,
53770 which can conflict with char $ac_func (); below.
53771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53772 <limits.h> exists even on freestanding compilers. */
53774 #ifdef __STDC__
53775 # include <limits.h>
53776 #else
53777 # include <assert.h>
53778 #endif
53780 #undef $ac_func
53782 /* Override any gcc2 internal prototype to avoid an error. */
53783 #ifdef __cplusplus
53784 extern "C"
53786 #endif
53787 /* We use char because int might match the return type of a gcc2
53788 builtin and then its argument prototype would still apply. */
53789 char $ac_func ();
53790 /* The GNU C library defines this for functions which it implements
53791 to always fail with ENOSYS. Some functions are actually named
53792 something starting with __ and the normal name is an alias. */
53793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53794 choke me
53795 #else
53796 char (*f) () = $ac_func;
53797 #endif
53798 #ifdef __cplusplus
53800 #endif
53803 main ()
53805 return f != $ac_func;
53807 return 0;
53809 _ACEOF
53810 rm -f conftest.$ac_objext conftest$ac_exeext
53811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53812 (eval $ac_link) 2>conftest.er1
53813 ac_status=$?
53814 grep -v '^ *+' conftest.er1 >conftest.err
53815 rm -f conftest.er1
53816 cat conftest.err >&5
53817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53818 (exit $ac_status); } &&
53819 { ac_try='test -z "$ac_c_werror_flag"
53820 || test ! -s conftest.err'
53821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53822 (eval $ac_try) 2>&5
53823 ac_status=$?
53824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53825 (exit $ac_status); }; } &&
53826 { ac_try='test -s conftest$ac_exeext'
53827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53828 (eval $ac_try) 2>&5
53829 ac_status=$?
53830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53831 (exit $ac_status); }; }; then
53832 eval "$as_ac_var=yes"
53833 else
53834 echo "$as_me: failed program was:" >&5
53835 sed 's/^/| /' conftest.$ac_ext >&5
53837 eval "$as_ac_var=no"
53839 rm -f conftest.err conftest.$ac_objext \
53840 conftest$ac_exeext conftest.$ac_ext
53842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53844 if test `eval echo '${'$as_ac_var'}'` = yes; then
53845 cat >>confdefs.h <<_ACEOF
53846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53847 _ACEOF
53850 done
53852 else
53853 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
53854 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
53855 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
53856 echo $ECHO_N "(cached) $ECHO_C" >&6
53857 else
53861 ac_ext=cc
53862 ac_cpp='$CXXCPP $CPPFLAGS'
53863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53867 cat >conftest.$ac_ext <<_ACEOF
53868 /* confdefs.h. */
53869 _ACEOF
53870 cat confdefs.h >>conftest.$ac_ext
53871 cat >>conftest.$ac_ext <<_ACEOF
53872 /* end confdefs.h. */
53873 #include <math.h>
53875 main ()
53877 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
53879 return 0;
53881 _ACEOF
53882 rm -f conftest.$ac_objext
53883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53884 (eval $ac_compile) 2>conftest.er1
53885 ac_status=$?
53886 grep -v '^ *+' conftest.er1 >conftest.err
53887 rm -f conftest.er1
53888 cat conftest.err >&5
53889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53890 (exit $ac_status); } &&
53891 { ac_try='test -z "$ac_cxx_werror_flag"
53892 || test ! -s conftest.err'
53893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53894 (eval $ac_try) 2>&5
53895 ac_status=$?
53896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53897 (exit $ac_status); }; } &&
53898 { ac_try='test -s conftest.$ac_objext'
53899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53900 (eval $ac_try) 2>&5
53901 ac_status=$?
53902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53903 (exit $ac_status); }; }; then
53904 glibcxx_cv_func__long_double_trig_use=yes
53905 else
53906 echo "$as_me: failed program was:" >&5
53907 sed 's/^/| /' conftest.$ac_ext >&5
53909 glibcxx_cv_func__long_double_trig_use=no
53911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53912 ac_ext=c
53913 ac_cpp='$CPP $CPPFLAGS'
53914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53920 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
53921 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
53922 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
53932 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
53934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53935 echo "$as_me:$LINENO: checking for $ac_func" >&5
53936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53937 if eval "test \"\${$as_ac_var+set}\" = set"; then
53938 echo $ECHO_N "(cached) $ECHO_C" >&6
53939 else
53940 if test x$gcc_no_link = xyes; then
53941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53943 { (exit 1); exit 1; }; }
53945 cat >conftest.$ac_ext <<_ACEOF
53946 /* confdefs.h. */
53947 _ACEOF
53948 cat confdefs.h >>conftest.$ac_ext
53949 cat >>conftest.$ac_ext <<_ACEOF
53950 /* end confdefs.h. */
53951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53953 #define $ac_func innocuous_$ac_func
53955 /* System header to define __stub macros and hopefully few prototypes,
53956 which can conflict with char $ac_func (); below.
53957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53958 <limits.h> exists even on freestanding compilers. */
53960 #ifdef __STDC__
53961 # include <limits.h>
53962 #else
53963 # include <assert.h>
53964 #endif
53966 #undef $ac_func
53968 /* Override any gcc2 internal prototype to avoid an error. */
53969 #ifdef __cplusplus
53970 extern "C"
53972 #endif
53973 /* We use char because int might match the return type of a gcc2
53974 builtin and then its argument prototype would still apply. */
53975 char $ac_func ();
53976 /* The GNU C library defines this for functions which it implements
53977 to always fail with ENOSYS. Some functions are actually named
53978 something starting with __ and the normal name is an alias. */
53979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53980 choke me
53981 #else
53982 char (*f) () = $ac_func;
53983 #endif
53984 #ifdef __cplusplus
53986 #endif
53989 main ()
53991 return f != $ac_func;
53993 return 0;
53995 _ACEOF
53996 rm -f conftest.$ac_objext conftest$ac_exeext
53997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53998 (eval $ac_link) 2>conftest.er1
53999 ac_status=$?
54000 grep -v '^ *+' conftest.er1 >conftest.err
54001 rm -f conftest.er1
54002 cat conftest.err >&5
54003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54004 (exit $ac_status); } &&
54005 { ac_try='test -z "$ac_c_werror_flag"
54006 || test ! -s conftest.err'
54007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54008 (eval $ac_try) 2>&5
54009 ac_status=$?
54010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54011 (exit $ac_status); }; } &&
54012 { ac_try='test -s conftest$ac_exeext'
54013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54014 (eval $ac_try) 2>&5
54015 ac_status=$?
54016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54017 (exit $ac_status); }; }; then
54018 eval "$as_ac_var=yes"
54019 else
54020 echo "$as_me: failed program was:" >&5
54021 sed 's/^/| /' conftest.$ac_ext >&5
54023 eval "$as_ac_var=no"
54025 rm -f conftest.err conftest.$ac_objext \
54026 conftest$ac_exeext conftest.$ac_ext
54028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54030 if test `eval echo '${'$as_ac_var'}'` = yes; then
54031 cat >>confdefs.h <<_ACEOF
54032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54033 _ACEOF
54036 done
54054 echo "$as_me:$LINENO: checking for long double round functions" >&5
54055 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
54056 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
54057 echo $ECHO_N "(cached) $ECHO_C" >&6
54058 else
54062 ac_ext=cc
54063 ac_cpp='$CXXCPP $CPPFLAGS'
54064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54068 cat >conftest.$ac_ext <<_ACEOF
54069 /* confdefs.h. */
54070 _ACEOF
54071 cat confdefs.h >>conftest.$ac_ext
54072 cat >>conftest.$ac_ext <<_ACEOF
54073 /* end confdefs.h. */
54074 #include <math.h>
54076 main ()
54078 ceill (0); floorl (0);
54080 return 0;
54082 _ACEOF
54083 rm -f conftest.$ac_objext
54084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54085 (eval $ac_compile) 2>conftest.er1
54086 ac_status=$?
54087 grep -v '^ *+' conftest.er1 >conftest.err
54088 rm -f conftest.er1
54089 cat conftest.err >&5
54090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54091 (exit $ac_status); } &&
54092 { ac_try='test -z "$ac_cxx_werror_flag"
54093 || test ! -s conftest.err'
54094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54095 (eval $ac_try) 2>&5
54096 ac_status=$?
54097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54098 (exit $ac_status); }; } &&
54099 { ac_try='test -s conftest.$ac_objext'
54100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54101 (eval $ac_try) 2>&5
54102 ac_status=$?
54103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54104 (exit $ac_status); }; }; then
54105 glibcxx_cv_func_long_double_round_use=yes
54106 else
54107 echo "$as_me: failed program was:" >&5
54108 sed 's/^/| /' conftest.$ac_ext >&5
54110 glibcxx_cv_func_long_double_round_use=no
54112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54113 ac_ext=c
54114 ac_cpp='$CPP $CPPFLAGS'
54115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54121 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
54122 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
54123 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54126 for ac_func in ceill floorl
54128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54129 echo "$as_me:$LINENO: checking for $ac_func" >&5
54130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54131 if eval "test \"\${$as_ac_var+set}\" = set"; then
54132 echo $ECHO_N "(cached) $ECHO_C" >&6
54133 else
54134 if test x$gcc_no_link = xyes; then
54135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54137 { (exit 1); exit 1; }; }
54139 cat >conftest.$ac_ext <<_ACEOF
54140 /* confdefs.h. */
54141 _ACEOF
54142 cat confdefs.h >>conftest.$ac_ext
54143 cat >>conftest.$ac_ext <<_ACEOF
54144 /* end confdefs.h. */
54145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54147 #define $ac_func innocuous_$ac_func
54149 /* System header to define __stub macros and hopefully few prototypes,
54150 which can conflict with char $ac_func (); below.
54151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54152 <limits.h> exists even on freestanding compilers. */
54154 #ifdef __STDC__
54155 # include <limits.h>
54156 #else
54157 # include <assert.h>
54158 #endif
54160 #undef $ac_func
54162 /* Override any gcc2 internal prototype to avoid an error. */
54163 #ifdef __cplusplus
54164 extern "C"
54166 #endif
54167 /* We use char because int might match the return type of a gcc2
54168 builtin and then its argument prototype would still apply. */
54169 char $ac_func ();
54170 /* The GNU C library defines this for functions which it implements
54171 to always fail with ENOSYS. Some functions are actually named
54172 something starting with __ and the normal name is an alias. */
54173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54174 choke me
54175 #else
54176 char (*f) () = $ac_func;
54177 #endif
54178 #ifdef __cplusplus
54180 #endif
54183 main ()
54185 return f != $ac_func;
54187 return 0;
54189 _ACEOF
54190 rm -f conftest.$ac_objext conftest$ac_exeext
54191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54192 (eval $ac_link) 2>conftest.er1
54193 ac_status=$?
54194 grep -v '^ *+' conftest.er1 >conftest.err
54195 rm -f conftest.er1
54196 cat conftest.err >&5
54197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54198 (exit $ac_status); } &&
54199 { ac_try='test -z "$ac_c_werror_flag"
54200 || test ! -s conftest.err'
54201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54202 (eval $ac_try) 2>&5
54203 ac_status=$?
54204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54205 (exit $ac_status); }; } &&
54206 { ac_try='test -s conftest$ac_exeext'
54207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54208 (eval $ac_try) 2>&5
54209 ac_status=$?
54210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54211 (exit $ac_status); }; }; then
54212 eval "$as_ac_var=yes"
54213 else
54214 echo "$as_me: failed program was:" >&5
54215 sed 's/^/| /' conftest.$ac_ext >&5
54217 eval "$as_ac_var=no"
54219 rm -f conftest.err conftest.$ac_objext \
54220 conftest$ac_exeext conftest.$ac_ext
54222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54224 if test `eval echo '${'$as_ac_var'}'` = yes; then
54225 cat >>confdefs.h <<_ACEOF
54226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54227 _ACEOF
54230 done
54232 else
54233 echo "$as_me:$LINENO: checking for _long double round functions" >&5
54234 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
54235 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
54236 echo $ECHO_N "(cached) $ECHO_C" >&6
54237 else
54241 ac_ext=cc
54242 ac_cpp='$CXXCPP $CPPFLAGS'
54243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54247 cat >conftest.$ac_ext <<_ACEOF
54248 /* confdefs.h. */
54249 _ACEOF
54250 cat confdefs.h >>conftest.$ac_ext
54251 cat >>conftest.$ac_ext <<_ACEOF
54252 /* end confdefs.h. */
54253 #include <math.h>
54255 main ()
54257 _ceill (0); _floorl (0);
54259 return 0;
54261 _ACEOF
54262 rm -f conftest.$ac_objext
54263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54264 (eval $ac_compile) 2>conftest.er1
54265 ac_status=$?
54266 grep -v '^ *+' conftest.er1 >conftest.err
54267 rm -f conftest.er1
54268 cat conftest.err >&5
54269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54270 (exit $ac_status); } &&
54271 { ac_try='test -z "$ac_cxx_werror_flag"
54272 || test ! -s conftest.err'
54273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54274 (eval $ac_try) 2>&5
54275 ac_status=$?
54276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54277 (exit $ac_status); }; } &&
54278 { ac_try='test -s conftest.$ac_objext'
54279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54280 (eval $ac_try) 2>&5
54281 ac_status=$?
54282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54283 (exit $ac_status); }; }; then
54284 glibcxx_cv_func__long_double_round_use=yes
54285 else
54286 echo "$as_me: failed program was:" >&5
54287 sed 's/^/| /' conftest.$ac_ext >&5
54289 glibcxx_cv_func__long_double_round_use=no
54291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54292 ac_ext=c
54293 ac_cpp='$CPP $CPPFLAGS'
54294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54300 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
54301 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
54302 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54305 for ac_func in _ceill _floorl
54307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54308 echo "$as_me:$LINENO: checking for $ac_func" >&5
54309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54310 if eval "test \"\${$as_ac_var+set}\" = set"; then
54311 echo $ECHO_N "(cached) $ECHO_C" >&6
54312 else
54313 if test x$gcc_no_link = xyes; then
54314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54316 { (exit 1); exit 1; }; }
54318 cat >conftest.$ac_ext <<_ACEOF
54319 /* confdefs.h. */
54320 _ACEOF
54321 cat confdefs.h >>conftest.$ac_ext
54322 cat >>conftest.$ac_ext <<_ACEOF
54323 /* end confdefs.h. */
54324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54326 #define $ac_func innocuous_$ac_func
54328 /* System header to define __stub macros and hopefully few prototypes,
54329 which can conflict with char $ac_func (); below.
54330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54331 <limits.h> exists even on freestanding compilers. */
54333 #ifdef __STDC__
54334 # include <limits.h>
54335 #else
54336 # include <assert.h>
54337 #endif
54339 #undef $ac_func
54341 /* Override any gcc2 internal prototype to avoid an error. */
54342 #ifdef __cplusplus
54343 extern "C"
54345 #endif
54346 /* We use char because int might match the return type of a gcc2
54347 builtin and then its argument prototype would still apply. */
54348 char $ac_func ();
54349 /* The GNU C library defines this for functions which it implements
54350 to always fail with ENOSYS. Some functions are actually named
54351 something starting with __ and the normal name is an alias. */
54352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54353 choke me
54354 #else
54355 char (*f) () = $ac_func;
54356 #endif
54357 #ifdef __cplusplus
54359 #endif
54362 main ()
54364 return f != $ac_func;
54366 return 0;
54368 _ACEOF
54369 rm -f conftest.$ac_objext conftest$ac_exeext
54370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54371 (eval $ac_link) 2>conftest.er1
54372 ac_status=$?
54373 grep -v '^ *+' conftest.er1 >conftest.err
54374 rm -f conftest.er1
54375 cat conftest.err >&5
54376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54377 (exit $ac_status); } &&
54378 { ac_try='test -z "$ac_c_werror_flag"
54379 || test ! -s conftest.err'
54380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54381 (eval $ac_try) 2>&5
54382 ac_status=$?
54383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54384 (exit $ac_status); }; } &&
54385 { ac_try='test -s conftest$ac_exeext'
54386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54387 (eval $ac_try) 2>&5
54388 ac_status=$?
54389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54390 (exit $ac_status); }; }; then
54391 eval "$as_ac_var=yes"
54392 else
54393 echo "$as_me: failed program was:" >&5
54394 sed 's/^/| /' conftest.$ac_ext >&5
54396 eval "$as_ac_var=no"
54398 rm -f conftest.err conftest.$ac_objext \
54399 conftest$ac_exeext conftest.$ac_ext
54401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54403 if test `eval echo '${'$as_ac_var'}'` = yes; then
54404 cat >>confdefs.h <<_ACEOF
54405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54406 _ACEOF
54409 done
54421 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
54422 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
54423 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54424 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
54425 echo $ECHO_N "(cached) $ECHO_C" >&6
54426 else
54430 ac_ext=cc
54431 ac_cpp='$CXXCPP $CPPFLAGS'
54432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54436 cat >conftest.$ac_ext <<_ACEOF
54437 /* confdefs.h. */
54438 _ACEOF
54439 cat confdefs.h >>conftest.$ac_ext
54440 cat >>conftest.$ac_ext <<_ACEOF
54441 /* end confdefs.h. */
54442 #include <math.h>
54443 #ifdef HAVE_IEEEFP_H
54444 #include <ieeefp.h>
54445 #endif
54448 main ()
54450 isnanl(0);
54452 return 0;
54454 _ACEOF
54455 rm -f conftest.$ac_objext
54456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54457 (eval $ac_compile) 2>conftest.er1
54458 ac_status=$?
54459 grep -v '^ *+' conftest.er1 >conftest.err
54460 rm -f conftest.er1
54461 cat conftest.err >&5
54462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54463 (exit $ac_status); } &&
54464 { ac_try='test -z "$ac_cxx_werror_flag"
54465 || test ! -s conftest.err'
54466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54467 (eval $ac_try) 2>&5
54468 ac_status=$?
54469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54470 (exit $ac_status); }; } &&
54471 { ac_try='test -s conftest.$ac_objext'
54472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54473 (eval $ac_try) 2>&5
54474 ac_status=$?
54475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54476 (exit $ac_status); }; }; then
54477 glibcxx_cv_func_isnanl_use=yes
54478 else
54479 echo "$as_me: failed program was:" >&5
54480 sed 's/^/| /' conftest.$ac_ext >&5
54482 glibcxx_cv_func_isnanl_use=no
54484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54485 ac_ext=c
54486 ac_cpp='$CPP $CPPFLAGS'
54487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54495 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
54496 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
54498 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54500 for ac_func in isnanl
54502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54503 echo "$as_me:$LINENO: checking for $ac_func" >&5
54504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54505 if eval "test \"\${$as_ac_var+set}\" = set"; then
54506 echo $ECHO_N "(cached) $ECHO_C" >&6
54507 else
54508 if test x$gcc_no_link = xyes; then
54509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54511 { (exit 1); exit 1; }; }
54513 cat >conftest.$ac_ext <<_ACEOF
54514 /* confdefs.h. */
54515 _ACEOF
54516 cat confdefs.h >>conftest.$ac_ext
54517 cat >>conftest.$ac_ext <<_ACEOF
54518 /* end confdefs.h. */
54519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54521 #define $ac_func innocuous_$ac_func
54523 /* System header to define __stub macros and hopefully few prototypes,
54524 which can conflict with char $ac_func (); below.
54525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54526 <limits.h> exists even on freestanding compilers. */
54528 #ifdef __STDC__
54529 # include <limits.h>
54530 #else
54531 # include <assert.h>
54532 #endif
54534 #undef $ac_func
54536 /* Override any gcc2 internal prototype to avoid an error. */
54537 #ifdef __cplusplus
54538 extern "C"
54540 #endif
54541 /* We use char because int might match the return type of a gcc2
54542 builtin and then its argument prototype would still apply. */
54543 char $ac_func ();
54544 /* The GNU C library defines this for functions which it implements
54545 to always fail with ENOSYS. Some functions are actually named
54546 something starting with __ and the normal name is an alias. */
54547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54548 choke me
54549 #else
54550 char (*f) () = $ac_func;
54551 #endif
54552 #ifdef __cplusplus
54554 #endif
54557 main ()
54559 return f != $ac_func;
54561 return 0;
54563 _ACEOF
54564 rm -f conftest.$ac_objext conftest$ac_exeext
54565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54566 (eval $ac_link) 2>conftest.er1
54567 ac_status=$?
54568 grep -v '^ *+' conftest.er1 >conftest.err
54569 rm -f conftest.er1
54570 cat conftest.err >&5
54571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54572 (exit $ac_status); } &&
54573 { ac_try='test -z "$ac_c_werror_flag"
54574 || test ! -s conftest.err'
54575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54576 (eval $ac_try) 2>&5
54577 ac_status=$?
54578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54579 (exit $ac_status); }; } &&
54580 { ac_try='test -s conftest$ac_exeext'
54581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54582 (eval $ac_try) 2>&5
54583 ac_status=$?
54584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54585 (exit $ac_status); }; }; then
54586 eval "$as_ac_var=yes"
54587 else
54588 echo "$as_me: failed program was:" >&5
54589 sed 's/^/| /' conftest.$ac_ext >&5
54591 eval "$as_ac_var=no"
54593 rm -f conftest.err conftest.$ac_objext \
54594 conftest$ac_exeext conftest.$ac_ext
54596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54598 if test `eval echo '${'$as_ac_var'}'` = yes; then
54599 cat >>confdefs.h <<_ACEOF
54600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54601 _ACEOF
54604 done
54606 else
54608 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
54609 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
54610 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54611 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
54612 echo $ECHO_N "(cached) $ECHO_C" >&6
54613 else
54617 ac_ext=cc
54618 ac_cpp='$CXXCPP $CPPFLAGS'
54619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54623 cat >conftest.$ac_ext <<_ACEOF
54624 /* confdefs.h. */
54625 _ACEOF
54626 cat confdefs.h >>conftest.$ac_ext
54627 cat >>conftest.$ac_ext <<_ACEOF
54628 /* end confdefs.h. */
54629 #include <math.h>
54630 #ifdef HAVE_IEEEFP_H
54631 #include <ieeefp.h>
54632 #endif
54635 main ()
54637 _isnanl(0);
54639 return 0;
54641 _ACEOF
54642 rm -f conftest.$ac_objext
54643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54644 (eval $ac_compile) 2>conftest.er1
54645 ac_status=$?
54646 grep -v '^ *+' conftest.er1 >conftest.err
54647 rm -f conftest.er1
54648 cat conftest.err >&5
54649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54650 (exit $ac_status); } &&
54651 { ac_try='test -z "$ac_cxx_werror_flag"
54652 || test ! -s conftest.err'
54653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54654 (eval $ac_try) 2>&5
54655 ac_status=$?
54656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54657 (exit $ac_status); }; } &&
54658 { ac_try='test -s conftest.$ac_objext'
54659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54660 (eval $ac_try) 2>&5
54661 ac_status=$?
54662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54663 (exit $ac_status); }; }; then
54664 glibcxx_cv_func__isnanl_use=yes
54665 else
54666 echo "$as_me: failed program was:" >&5
54667 sed 's/^/| /' conftest.$ac_ext >&5
54669 glibcxx_cv_func__isnanl_use=no
54671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54672 ac_ext=c
54673 ac_cpp='$CPP $CPPFLAGS'
54674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54682 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
54683 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
54685 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54687 for ac_func in _isnanl
54689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54690 echo "$as_me:$LINENO: checking for $ac_func" >&5
54691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54692 if eval "test \"\${$as_ac_var+set}\" = set"; then
54693 echo $ECHO_N "(cached) $ECHO_C" >&6
54694 else
54695 if test x$gcc_no_link = xyes; then
54696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54698 { (exit 1); exit 1; }; }
54700 cat >conftest.$ac_ext <<_ACEOF
54701 /* confdefs.h. */
54702 _ACEOF
54703 cat confdefs.h >>conftest.$ac_ext
54704 cat >>conftest.$ac_ext <<_ACEOF
54705 /* end confdefs.h. */
54706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54708 #define $ac_func innocuous_$ac_func
54710 /* System header to define __stub macros and hopefully few prototypes,
54711 which can conflict with char $ac_func (); below.
54712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54713 <limits.h> exists even on freestanding compilers. */
54715 #ifdef __STDC__
54716 # include <limits.h>
54717 #else
54718 # include <assert.h>
54719 #endif
54721 #undef $ac_func
54723 /* Override any gcc2 internal prototype to avoid an error. */
54724 #ifdef __cplusplus
54725 extern "C"
54727 #endif
54728 /* We use char because int might match the return type of a gcc2
54729 builtin and then its argument prototype would still apply. */
54730 char $ac_func ();
54731 /* The GNU C library defines this for functions which it implements
54732 to always fail with ENOSYS. Some functions are actually named
54733 something starting with __ and the normal name is an alias. */
54734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54735 choke me
54736 #else
54737 char (*f) () = $ac_func;
54738 #endif
54739 #ifdef __cplusplus
54741 #endif
54744 main ()
54746 return f != $ac_func;
54748 return 0;
54750 _ACEOF
54751 rm -f conftest.$ac_objext conftest$ac_exeext
54752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54753 (eval $ac_link) 2>conftest.er1
54754 ac_status=$?
54755 grep -v '^ *+' conftest.er1 >conftest.err
54756 rm -f conftest.er1
54757 cat conftest.err >&5
54758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54759 (exit $ac_status); } &&
54760 { ac_try='test -z "$ac_c_werror_flag"
54761 || test ! -s conftest.err'
54762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54763 (eval $ac_try) 2>&5
54764 ac_status=$?
54765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54766 (exit $ac_status); }; } &&
54767 { ac_try='test -s conftest$ac_exeext'
54768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54769 (eval $ac_try) 2>&5
54770 ac_status=$?
54771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54772 (exit $ac_status); }; }; then
54773 eval "$as_ac_var=yes"
54774 else
54775 echo "$as_me: failed program was:" >&5
54776 sed 's/^/| /' conftest.$ac_ext >&5
54778 eval "$as_ac_var=no"
54780 rm -f conftest.err conftest.$ac_objext \
54781 conftest$ac_exeext conftest.$ac_ext
54783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54785 if test `eval echo '${'$as_ac_var'}'` = yes; then
54786 cat >>confdefs.h <<_ACEOF
54787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54788 _ACEOF
54791 done
54801 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
54802 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
54803 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54804 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
54805 echo $ECHO_N "(cached) $ECHO_C" >&6
54806 else
54810 ac_ext=cc
54811 ac_cpp='$CXXCPP $CPPFLAGS'
54812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54816 cat >conftest.$ac_ext <<_ACEOF
54817 /* confdefs.h. */
54818 _ACEOF
54819 cat confdefs.h >>conftest.$ac_ext
54820 cat >>conftest.$ac_ext <<_ACEOF
54821 /* end confdefs.h. */
54822 #include <math.h>
54823 #ifdef HAVE_IEEEFP_H
54824 #include <ieeefp.h>
54825 #endif
54828 main ()
54830 isinfl(0);
54832 return 0;
54834 _ACEOF
54835 rm -f conftest.$ac_objext
54836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54837 (eval $ac_compile) 2>conftest.er1
54838 ac_status=$?
54839 grep -v '^ *+' conftest.er1 >conftest.err
54840 rm -f conftest.er1
54841 cat conftest.err >&5
54842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54843 (exit $ac_status); } &&
54844 { ac_try='test -z "$ac_cxx_werror_flag"
54845 || test ! -s conftest.err'
54846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54847 (eval $ac_try) 2>&5
54848 ac_status=$?
54849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54850 (exit $ac_status); }; } &&
54851 { ac_try='test -s conftest.$ac_objext'
54852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54853 (eval $ac_try) 2>&5
54854 ac_status=$?
54855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54856 (exit $ac_status); }; }; then
54857 glibcxx_cv_func_isinfl_use=yes
54858 else
54859 echo "$as_me: failed program was:" >&5
54860 sed 's/^/| /' conftest.$ac_ext >&5
54862 glibcxx_cv_func_isinfl_use=no
54864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54865 ac_ext=c
54866 ac_cpp='$CPP $CPPFLAGS'
54867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54875 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
54876 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
54878 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54880 for ac_func in isinfl
54882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54883 echo "$as_me:$LINENO: checking for $ac_func" >&5
54884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54885 if eval "test \"\${$as_ac_var+set}\" = set"; then
54886 echo $ECHO_N "(cached) $ECHO_C" >&6
54887 else
54888 if test x$gcc_no_link = xyes; then
54889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54891 { (exit 1); exit 1; }; }
54893 cat >conftest.$ac_ext <<_ACEOF
54894 /* confdefs.h. */
54895 _ACEOF
54896 cat confdefs.h >>conftest.$ac_ext
54897 cat >>conftest.$ac_ext <<_ACEOF
54898 /* end confdefs.h. */
54899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54901 #define $ac_func innocuous_$ac_func
54903 /* System header to define __stub macros and hopefully few prototypes,
54904 which can conflict with char $ac_func (); below.
54905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54906 <limits.h> exists even on freestanding compilers. */
54908 #ifdef __STDC__
54909 # include <limits.h>
54910 #else
54911 # include <assert.h>
54912 #endif
54914 #undef $ac_func
54916 /* Override any gcc2 internal prototype to avoid an error. */
54917 #ifdef __cplusplus
54918 extern "C"
54920 #endif
54921 /* We use char because int might match the return type of a gcc2
54922 builtin and then its argument prototype would still apply. */
54923 char $ac_func ();
54924 /* The GNU C library defines this for functions which it implements
54925 to always fail with ENOSYS. Some functions are actually named
54926 something starting with __ and the normal name is an alias. */
54927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54928 choke me
54929 #else
54930 char (*f) () = $ac_func;
54931 #endif
54932 #ifdef __cplusplus
54934 #endif
54937 main ()
54939 return f != $ac_func;
54941 return 0;
54943 _ACEOF
54944 rm -f conftest.$ac_objext conftest$ac_exeext
54945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54946 (eval $ac_link) 2>conftest.er1
54947 ac_status=$?
54948 grep -v '^ *+' conftest.er1 >conftest.err
54949 rm -f conftest.er1
54950 cat conftest.err >&5
54951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54952 (exit $ac_status); } &&
54953 { ac_try='test -z "$ac_c_werror_flag"
54954 || test ! -s conftest.err'
54955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54956 (eval $ac_try) 2>&5
54957 ac_status=$?
54958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54959 (exit $ac_status); }; } &&
54960 { ac_try='test -s conftest$ac_exeext'
54961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54962 (eval $ac_try) 2>&5
54963 ac_status=$?
54964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54965 (exit $ac_status); }; }; then
54966 eval "$as_ac_var=yes"
54967 else
54968 echo "$as_me: failed program was:" >&5
54969 sed 's/^/| /' conftest.$ac_ext >&5
54971 eval "$as_ac_var=no"
54973 rm -f conftest.err conftest.$ac_objext \
54974 conftest$ac_exeext conftest.$ac_ext
54976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54978 if test `eval echo '${'$as_ac_var'}'` = yes; then
54979 cat >>confdefs.h <<_ACEOF
54980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54981 _ACEOF
54984 done
54986 else
54988 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
54989 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
54990 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54991 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
54992 echo $ECHO_N "(cached) $ECHO_C" >&6
54993 else
54997 ac_ext=cc
54998 ac_cpp='$CXXCPP $CPPFLAGS'
54999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55003 cat >conftest.$ac_ext <<_ACEOF
55004 /* confdefs.h. */
55005 _ACEOF
55006 cat confdefs.h >>conftest.$ac_ext
55007 cat >>conftest.$ac_ext <<_ACEOF
55008 /* end confdefs.h. */
55009 #include <math.h>
55010 #ifdef HAVE_IEEEFP_H
55011 #include <ieeefp.h>
55012 #endif
55015 main ()
55017 _isinfl(0);
55019 return 0;
55021 _ACEOF
55022 rm -f conftest.$ac_objext
55023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55024 (eval $ac_compile) 2>conftest.er1
55025 ac_status=$?
55026 grep -v '^ *+' conftest.er1 >conftest.err
55027 rm -f conftest.er1
55028 cat conftest.err >&5
55029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55030 (exit $ac_status); } &&
55031 { ac_try='test -z "$ac_cxx_werror_flag"
55032 || test ! -s conftest.err'
55033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55034 (eval $ac_try) 2>&5
55035 ac_status=$?
55036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55037 (exit $ac_status); }; } &&
55038 { ac_try='test -s conftest.$ac_objext'
55039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55040 (eval $ac_try) 2>&5
55041 ac_status=$?
55042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55043 (exit $ac_status); }; }; then
55044 glibcxx_cv_func__isinfl_use=yes
55045 else
55046 echo "$as_me: failed program was:" >&5
55047 sed 's/^/| /' conftest.$ac_ext >&5
55049 glibcxx_cv_func__isinfl_use=no
55051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55052 ac_ext=c
55053 ac_cpp='$CPP $CPPFLAGS'
55054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55062 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
55063 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
55065 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55067 for ac_func in _isinfl
55069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55070 echo "$as_me:$LINENO: checking for $ac_func" >&5
55071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55072 if eval "test \"\${$as_ac_var+set}\" = set"; then
55073 echo $ECHO_N "(cached) $ECHO_C" >&6
55074 else
55075 if test x$gcc_no_link = xyes; then
55076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55078 { (exit 1); exit 1; }; }
55080 cat >conftest.$ac_ext <<_ACEOF
55081 /* confdefs.h. */
55082 _ACEOF
55083 cat confdefs.h >>conftest.$ac_ext
55084 cat >>conftest.$ac_ext <<_ACEOF
55085 /* end confdefs.h. */
55086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55088 #define $ac_func innocuous_$ac_func
55090 /* System header to define __stub macros and hopefully few prototypes,
55091 which can conflict with char $ac_func (); below.
55092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55093 <limits.h> exists even on freestanding compilers. */
55095 #ifdef __STDC__
55096 # include <limits.h>
55097 #else
55098 # include <assert.h>
55099 #endif
55101 #undef $ac_func
55103 /* Override any gcc2 internal prototype to avoid an error. */
55104 #ifdef __cplusplus
55105 extern "C"
55107 #endif
55108 /* We use char because int might match the return type of a gcc2
55109 builtin and then its argument prototype would still apply. */
55110 char $ac_func ();
55111 /* The GNU C library defines this for functions which it implements
55112 to always fail with ENOSYS. Some functions are actually named
55113 something starting with __ and the normal name is an alias. */
55114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55115 choke me
55116 #else
55117 char (*f) () = $ac_func;
55118 #endif
55119 #ifdef __cplusplus
55121 #endif
55124 main ()
55126 return f != $ac_func;
55128 return 0;
55130 _ACEOF
55131 rm -f conftest.$ac_objext conftest$ac_exeext
55132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55133 (eval $ac_link) 2>conftest.er1
55134 ac_status=$?
55135 grep -v '^ *+' conftest.er1 >conftest.err
55136 rm -f conftest.er1
55137 cat conftest.err >&5
55138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55139 (exit $ac_status); } &&
55140 { ac_try='test -z "$ac_c_werror_flag"
55141 || test ! -s conftest.err'
55142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55143 (eval $ac_try) 2>&5
55144 ac_status=$?
55145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55146 (exit $ac_status); }; } &&
55147 { ac_try='test -s conftest$ac_exeext'
55148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55149 (eval $ac_try) 2>&5
55150 ac_status=$?
55151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55152 (exit $ac_status); }; }; then
55153 eval "$as_ac_var=yes"
55154 else
55155 echo "$as_me: failed program was:" >&5
55156 sed 's/^/| /' conftest.$ac_ext >&5
55158 eval "$as_ac_var=no"
55160 rm -f conftest.err conftest.$ac_objext \
55161 conftest$ac_exeext conftest.$ac_ext
55163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55165 if test `eval echo '${'$as_ac_var'}'` = yes; then
55166 cat >>confdefs.h <<_ACEOF
55167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55168 _ACEOF
55171 done
55181 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
55182 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
55183 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
55184 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
55185 echo $ECHO_N "(cached) $ECHO_C" >&6
55186 else
55190 ac_ext=cc
55191 ac_cpp='$CXXCPP $CPPFLAGS'
55192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55196 cat >conftest.$ac_ext <<_ACEOF
55197 /* confdefs.h. */
55198 _ACEOF
55199 cat confdefs.h >>conftest.$ac_ext
55200 cat >>conftest.$ac_ext <<_ACEOF
55201 /* end confdefs.h. */
55202 #include <math.h>
55204 main ()
55206 copysignl(0, 0);
55208 return 0;
55210 _ACEOF
55211 rm -f conftest.$ac_objext
55212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55213 (eval $ac_compile) 2>conftest.er1
55214 ac_status=$?
55215 grep -v '^ *+' conftest.er1 >conftest.err
55216 rm -f conftest.er1
55217 cat conftest.err >&5
55218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55219 (exit $ac_status); } &&
55220 { ac_try='test -z "$ac_cxx_werror_flag"
55221 || test ! -s conftest.err'
55222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55223 (eval $ac_try) 2>&5
55224 ac_status=$?
55225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55226 (exit $ac_status); }; } &&
55227 { ac_try='test -s conftest.$ac_objext'
55228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55229 (eval $ac_try) 2>&5
55230 ac_status=$?
55231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55232 (exit $ac_status); }; }; then
55233 glibcxx_cv_func_copysignl_use=yes
55234 else
55235 echo "$as_me: failed program was:" >&5
55236 sed 's/^/| /' conftest.$ac_ext >&5
55238 glibcxx_cv_func_copysignl_use=no
55240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55241 ac_ext=c
55242 ac_cpp='$CPP $CPPFLAGS'
55243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55251 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
55252 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
55254 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
55256 for ac_func in copysignl
55258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55259 echo "$as_me:$LINENO: checking for $ac_func" >&5
55260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55261 if eval "test \"\${$as_ac_var+set}\" = set"; then
55262 echo $ECHO_N "(cached) $ECHO_C" >&6
55263 else
55264 if test x$gcc_no_link = xyes; then
55265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55267 { (exit 1); exit 1; }; }
55269 cat >conftest.$ac_ext <<_ACEOF
55270 /* confdefs.h. */
55271 _ACEOF
55272 cat confdefs.h >>conftest.$ac_ext
55273 cat >>conftest.$ac_ext <<_ACEOF
55274 /* end confdefs.h. */
55275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55277 #define $ac_func innocuous_$ac_func
55279 /* System header to define __stub macros and hopefully few prototypes,
55280 which can conflict with char $ac_func (); below.
55281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55282 <limits.h> exists even on freestanding compilers. */
55284 #ifdef __STDC__
55285 # include <limits.h>
55286 #else
55287 # include <assert.h>
55288 #endif
55290 #undef $ac_func
55292 /* Override any gcc2 internal prototype to avoid an error. */
55293 #ifdef __cplusplus
55294 extern "C"
55296 #endif
55297 /* We use char because int might match the return type of a gcc2
55298 builtin and then its argument prototype would still apply. */
55299 char $ac_func ();
55300 /* The GNU C library defines this for functions which it implements
55301 to always fail with ENOSYS. Some functions are actually named
55302 something starting with __ and the normal name is an alias. */
55303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55304 choke me
55305 #else
55306 char (*f) () = $ac_func;
55307 #endif
55308 #ifdef __cplusplus
55310 #endif
55313 main ()
55315 return f != $ac_func;
55317 return 0;
55319 _ACEOF
55320 rm -f conftest.$ac_objext conftest$ac_exeext
55321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55322 (eval $ac_link) 2>conftest.er1
55323 ac_status=$?
55324 grep -v '^ *+' conftest.er1 >conftest.err
55325 rm -f conftest.er1
55326 cat conftest.err >&5
55327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55328 (exit $ac_status); } &&
55329 { ac_try='test -z "$ac_c_werror_flag"
55330 || test ! -s conftest.err'
55331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55332 (eval $ac_try) 2>&5
55333 ac_status=$?
55334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55335 (exit $ac_status); }; } &&
55336 { ac_try='test -s conftest$ac_exeext'
55337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55338 (eval $ac_try) 2>&5
55339 ac_status=$?
55340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55341 (exit $ac_status); }; }; then
55342 eval "$as_ac_var=yes"
55343 else
55344 echo "$as_me: failed program was:" >&5
55345 sed 's/^/| /' conftest.$ac_ext >&5
55347 eval "$as_ac_var=no"
55349 rm -f conftest.err conftest.$ac_objext \
55350 conftest$ac_exeext conftest.$ac_ext
55352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55354 if test `eval echo '${'$as_ac_var'}'` = yes; then
55355 cat >>confdefs.h <<_ACEOF
55356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55357 _ACEOF
55360 done
55362 else
55364 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
55365 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
55366 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
55367 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
55368 echo $ECHO_N "(cached) $ECHO_C" >&6
55369 else
55373 ac_ext=cc
55374 ac_cpp='$CXXCPP $CPPFLAGS'
55375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55379 cat >conftest.$ac_ext <<_ACEOF
55380 /* confdefs.h. */
55381 _ACEOF
55382 cat confdefs.h >>conftest.$ac_ext
55383 cat >>conftest.$ac_ext <<_ACEOF
55384 /* end confdefs.h. */
55385 #include <math.h>
55387 main ()
55389 _copysignl(0, 0);
55391 return 0;
55393 _ACEOF
55394 rm -f conftest.$ac_objext
55395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55396 (eval $ac_compile) 2>conftest.er1
55397 ac_status=$?
55398 grep -v '^ *+' conftest.er1 >conftest.err
55399 rm -f conftest.er1
55400 cat conftest.err >&5
55401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55402 (exit $ac_status); } &&
55403 { ac_try='test -z "$ac_cxx_werror_flag"
55404 || test ! -s conftest.err'
55405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55406 (eval $ac_try) 2>&5
55407 ac_status=$?
55408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55409 (exit $ac_status); }; } &&
55410 { ac_try='test -s conftest.$ac_objext'
55411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55412 (eval $ac_try) 2>&5
55413 ac_status=$?
55414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55415 (exit $ac_status); }; }; then
55416 glibcxx_cv_func__copysignl_use=yes
55417 else
55418 echo "$as_me: failed program was:" >&5
55419 sed 's/^/| /' conftest.$ac_ext >&5
55421 glibcxx_cv_func__copysignl_use=no
55423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55424 ac_ext=c
55425 ac_cpp='$CPP $CPPFLAGS'
55426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55434 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
55435 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
55437 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
55439 for ac_func in _copysignl
55441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55442 echo "$as_me:$LINENO: checking for $ac_func" >&5
55443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55444 if eval "test \"\${$as_ac_var+set}\" = set"; then
55445 echo $ECHO_N "(cached) $ECHO_C" >&6
55446 else
55447 if test x$gcc_no_link = xyes; then
55448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55450 { (exit 1); exit 1; }; }
55452 cat >conftest.$ac_ext <<_ACEOF
55453 /* confdefs.h. */
55454 _ACEOF
55455 cat confdefs.h >>conftest.$ac_ext
55456 cat >>conftest.$ac_ext <<_ACEOF
55457 /* end confdefs.h. */
55458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55460 #define $ac_func innocuous_$ac_func
55462 /* System header to define __stub macros and hopefully few prototypes,
55463 which can conflict with char $ac_func (); below.
55464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55465 <limits.h> exists even on freestanding compilers. */
55467 #ifdef __STDC__
55468 # include <limits.h>
55469 #else
55470 # include <assert.h>
55471 #endif
55473 #undef $ac_func
55475 /* Override any gcc2 internal prototype to avoid an error. */
55476 #ifdef __cplusplus
55477 extern "C"
55479 #endif
55480 /* We use char because int might match the return type of a gcc2
55481 builtin and then its argument prototype would still apply. */
55482 char $ac_func ();
55483 /* The GNU C library defines this for functions which it implements
55484 to always fail with ENOSYS. Some functions are actually named
55485 something starting with __ and the normal name is an alias. */
55486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55487 choke me
55488 #else
55489 char (*f) () = $ac_func;
55490 #endif
55491 #ifdef __cplusplus
55493 #endif
55496 main ()
55498 return f != $ac_func;
55500 return 0;
55502 _ACEOF
55503 rm -f conftest.$ac_objext conftest$ac_exeext
55504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55505 (eval $ac_link) 2>conftest.er1
55506 ac_status=$?
55507 grep -v '^ *+' conftest.er1 >conftest.err
55508 rm -f conftest.er1
55509 cat conftest.err >&5
55510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55511 (exit $ac_status); } &&
55512 { ac_try='test -z "$ac_c_werror_flag"
55513 || test ! -s conftest.err'
55514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55515 (eval $ac_try) 2>&5
55516 ac_status=$?
55517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55518 (exit $ac_status); }; } &&
55519 { ac_try='test -s conftest$ac_exeext'
55520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55521 (eval $ac_try) 2>&5
55522 ac_status=$?
55523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55524 (exit $ac_status); }; }; then
55525 eval "$as_ac_var=yes"
55526 else
55527 echo "$as_me: failed program was:" >&5
55528 sed 's/^/| /' conftest.$ac_ext >&5
55530 eval "$as_ac_var=no"
55532 rm -f conftest.err conftest.$ac_objext \
55533 conftest$ac_exeext conftest.$ac_ext
55535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55537 if test `eval echo '${'$as_ac_var'}'` = yes; then
55538 cat >>confdefs.h <<_ACEOF
55539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55540 _ACEOF
55543 done
55553 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
55554 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
55555 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55556 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
55557 echo $ECHO_N "(cached) $ECHO_C" >&6
55558 else
55562 ac_ext=cc
55563 ac_cpp='$CXXCPP $CPPFLAGS'
55564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55568 cat >conftest.$ac_ext <<_ACEOF
55569 /* confdefs.h. */
55570 _ACEOF
55571 cat confdefs.h >>conftest.$ac_ext
55572 cat >>conftest.$ac_ext <<_ACEOF
55573 /* end confdefs.h. */
55574 #include <math.h>
55576 main ()
55578 atan2l(0, 0);
55580 return 0;
55582 _ACEOF
55583 rm -f conftest.$ac_objext
55584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55585 (eval $ac_compile) 2>conftest.er1
55586 ac_status=$?
55587 grep -v '^ *+' conftest.er1 >conftest.err
55588 rm -f conftest.er1
55589 cat conftest.err >&5
55590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55591 (exit $ac_status); } &&
55592 { ac_try='test -z "$ac_cxx_werror_flag"
55593 || test ! -s conftest.err'
55594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55595 (eval $ac_try) 2>&5
55596 ac_status=$?
55597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55598 (exit $ac_status); }; } &&
55599 { ac_try='test -s conftest.$ac_objext'
55600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55601 (eval $ac_try) 2>&5
55602 ac_status=$?
55603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55604 (exit $ac_status); }; }; then
55605 glibcxx_cv_func_atan2l_use=yes
55606 else
55607 echo "$as_me: failed program was:" >&5
55608 sed 's/^/| /' conftest.$ac_ext >&5
55610 glibcxx_cv_func_atan2l_use=no
55612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55613 ac_ext=c
55614 ac_cpp='$CPP $CPPFLAGS'
55615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55623 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
55624 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
55626 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55628 for ac_func in atan2l
55630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55631 echo "$as_me:$LINENO: checking for $ac_func" >&5
55632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55633 if eval "test \"\${$as_ac_var+set}\" = set"; then
55634 echo $ECHO_N "(cached) $ECHO_C" >&6
55635 else
55636 if test x$gcc_no_link = xyes; then
55637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55639 { (exit 1); exit 1; }; }
55641 cat >conftest.$ac_ext <<_ACEOF
55642 /* confdefs.h. */
55643 _ACEOF
55644 cat confdefs.h >>conftest.$ac_ext
55645 cat >>conftest.$ac_ext <<_ACEOF
55646 /* end confdefs.h. */
55647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55649 #define $ac_func innocuous_$ac_func
55651 /* System header to define __stub macros and hopefully few prototypes,
55652 which can conflict with char $ac_func (); below.
55653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55654 <limits.h> exists even on freestanding compilers. */
55656 #ifdef __STDC__
55657 # include <limits.h>
55658 #else
55659 # include <assert.h>
55660 #endif
55662 #undef $ac_func
55664 /* Override any gcc2 internal prototype to avoid an error. */
55665 #ifdef __cplusplus
55666 extern "C"
55668 #endif
55669 /* We use char because int might match the return type of a gcc2
55670 builtin and then its argument prototype would still apply. */
55671 char $ac_func ();
55672 /* The GNU C library defines this for functions which it implements
55673 to always fail with ENOSYS. Some functions are actually named
55674 something starting with __ and the normal name is an alias. */
55675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55676 choke me
55677 #else
55678 char (*f) () = $ac_func;
55679 #endif
55680 #ifdef __cplusplus
55682 #endif
55685 main ()
55687 return f != $ac_func;
55689 return 0;
55691 _ACEOF
55692 rm -f conftest.$ac_objext conftest$ac_exeext
55693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55694 (eval $ac_link) 2>conftest.er1
55695 ac_status=$?
55696 grep -v '^ *+' conftest.er1 >conftest.err
55697 rm -f conftest.er1
55698 cat conftest.err >&5
55699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55700 (exit $ac_status); } &&
55701 { ac_try='test -z "$ac_c_werror_flag"
55702 || test ! -s conftest.err'
55703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55704 (eval $ac_try) 2>&5
55705 ac_status=$?
55706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55707 (exit $ac_status); }; } &&
55708 { ac_try='test -s conftest$ac_exeext'
55709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55710 (eval $ac_try) 2>&5
55711 ac_status=$?
55712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55713 (exit $ac_status); }; }; then
55714 eval "$as_ac_var=yes"
55715 else
55716 echo "$as_me: failed program was:" >&5
55717 sed 's/^/| /' conftest.$ac_ext >&5
55719 eval "$as_ac_var=no"
55721 rm -f conftest.err conftest.$ac_objext \
55722 conftest$ac_exeext conftest.$ac_ext
55724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55726 if test `eval echo '${'$as_ac_var'}'` = yes; then
55727 cat >>confdefs.h <<_ACEOF
55728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55729 _ACEOF
55732 done
55734 else
55736 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
55737 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
55738 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55739 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
55740 echo $ECHO_N "(cached) $ECHO_C" >&6
55741 else
55745 ac_ext=cc
55746 ac_cpp='$CXXCPP $CPPFLAGS'
55747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55751 cat >conftest.$ac_ext <<_ACEOF
55752 /* confdefs.h. */
55753 _ACEOF
55754 cat confdefs.h >>conftest.$ac_ext
55755 cat >>conftest.$ac_ext <<_ACEOF
55756 /* end confdefs.h. */
55757 #include <math.h>
55759 main ()
55761 _atan2l(0, 0);
55763 return 0;
55765 _ACEOF
55766 rm -f conftest.$ac_objext
55767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55768 (eval $ac_compile) 2>conftest.er1
55769 ac_status=$?
55770 grep -v '^ *+' conftest.er1 >conftest.err
55771 rm -f conftest.er1
55772 cat conftest.err >&5
55773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55774 (exit $ac_status); } &&
55775 { ac_try='test -z "$ac_cxx_werror_flag"
55776 || test ! -s conftest.err'
55777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55778 (eval $ac_try) 2>&5
55779 ac_status=$?
55780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55781 (exit $ac_status); }; } &&
55782 { ac_try='test -s conftest.$ac_objext'
55783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55784 (eval $ac_try) 2>&5
55785 ac_status=$?
55786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55787 (exit $ac_status); }; }; then
55788 glibcxx_cv_func__atan2l_use=yes
55789 else
55790 echo "$as_me: failed program was:" >&5
55791 sed 's/^/| /' conftest.$ac_ext >&5
55793 glibcxx_cv_func__atan2l_use=no
55795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55796 ac_ext=c
55797 ac_cpp='$CPP $CPPFLAGS'
55798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55806 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
55807 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
55809 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55811 for ac_func in _atan2l
55813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55814 echo "$as_me:$LINENO: checking for $ac_func" >&5
55815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55816 if eval "test \"\${$as_ac_var+set}\" = set"; then
55817 echo $ECHO_N "(cached) $ECHO_C" >&6
55818 else
55819 if test x$gcc_no_link = xyes; then
55820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55822 { (exit 1); exit 1; }; }
55824 cat >conftest.$ac_ext <<_ACEOF
55825 /* confdefs.h. */
55826 _ACEOF
55827 cat confdefs.h >>conftest.$ac_ext
55828 cat >>conftest.$ac_ext <<_ACEOF
55829 /* end confdefs.h. */
55830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55832 #define $ac_func innocuous_$ac_func
55834 /* System header to define __stub macros and hopefully few prototypes,
55835 which can conflict with char $ac_func (); below.
55836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55837 <limits.h> exists even on freestanding compilers. */
55839 #ifdef __STDC__
55840 # include <limits.h>
55841 #else
55842 # include <assert.h>
55843 #endif
55845 #undef $ac_func
55847 /* Override any gcc2 internal prototype to avoid an error. */
55848 #ifdef __cplusplus
55849 extern "C"
55851 #endif
55852 /* We use char because int might match the return type of a gcc2
55853 builtin and then its argument prototype would still apply. */
55854 char $ac_func ();
55855 /* The GNU C library defines this for functions which it implements
55856 to always fail with ENOSYS. Some functions are actually named
55857 something starting with __ and the normal name is an alias. */
55858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55859 choke me
55860 #else
55861 char (*f) () = $ac_func;
55862 #endif
55863 #ifdef __cplusplus
55865 #endif
55868 main ()
55870 return f != $ac_func;
55872 return 0;
55874 _ACEOF
55875 rm -f conftest.$ac_objext conftest$ac_exeext
55876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55877 (eval $ac_link) 2>conftest.er1
55878 ac_status=$?
55879 grep -v '^ *+' conftest.er1 >conftest.err
55880 rm -f conftest.er1
55881 cat conftest.err >&5
55882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55883 (exit $ac_status); } &&
55884 { ac_try='test -z "$ac_c_werror_flag"
55885 || test ! -s conftest.err'
55886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55887 (eval $ac_try) 2>&5
55888 ac_status=$?
55889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55890 (exit $ac_status); }; } &&
55891 { ac_try='test -s conftest$ac_exeext'
55892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55893 (eval $ac_try) 2>&5
55894 ac_status=$?
55895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55896 (exit $ac_status); }; }; then
55897 eval "$as_ac_var=yes"
55898 else
55899 echo "$as_me: failed program was:" >&5
55900 sed 's/^/| /' conftest.$ac_ext >&5
55902 eval "$as_ac_var=no"
55904 rm -f conftest.err conftest.$ac_objext \
55905 conftest$ac_exeext conftest.$ac_ext
55907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55909 if test `eval echo '${'$as_ac_var'}'` = yes; then
55910 cat >>confdefs.h <<_ACEOF
55911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55912 _ACEOF
55915 done
55925 echo "$as_me:$LINENO: checking for expl declaration" >&5
55926 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
55927 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55928 if test "${glibcxx_cv_func_expl_use+set}" = set; then
55929 echo $ECHO_N "(cached) $ECHO_C" >&6
55930 else
55934 ac_ext=cc
55935 ac_cpp='$CXXCPP $CPPFLAGS'
55936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55940 cat >conftest.$ac_ext <<_ACEOF
55941 /* confdefs.h. */
55942 _ACEOF
55943 cat confdefs.h >>conftest.$ac_ext
55944 cat >>conftest.$ac_ext <<_ACEOF
55945 /* end confdefs.h. */
55946 #include <math.h>
55947 #ifdef HAVE_IEEEFP_H
55948 #include <ieeefp.h>
55949 #endif
55952 main ()
55954 expl(0);
55956 return 0;
55958 _ACEOF
55959 rm -f conftest.$ac_objext
55960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55961 (eval $ac_compile) 2>conftest.er1
55962 ac_status=$?
55963 grep -v '^ *+' conftest.er1 >conftest.err
55964 rm -f conftest.er1
55965 cat conftest.err >&5
55966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55967 (exit $ac_status); } &&
55968 { ac_try='test -z "$ac_cxx_werror_flag"
55969 || test ! -s conftest.err'
55970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55971 (eval $ac_try) 2>&5
55972 ac_status=$?
55973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55974 (exit $ac_status); }; } &&
55975 { ac_try='test -s conftest.$ac_objext'
55976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55977 (eval $ac_try) 2>&5
55978 ac_status=$?
55979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55980 (exit $ac_status); }; }; then
55981 glibcxx_cv_func_expl_use=yes
55982 else
55983 echo "$as_me: failed program was:" >&5
55984 sed 's/^/| /' conftest.$ac_ext >&5
55986 glibcxx_cv_func_expl_use=no
55988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55989 ac_ext=c
55990 ac_cpp='$CPP $CPPFLAGS'
55991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55999 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
56000 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
56002 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56004 for ac_func in expl
56006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56007 echo "$as_me:$LINENO: checking for $ac_func" >&5
56008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56009 if eval "test \"\${$as_ac_var+set}\" = set"; then
56010 echo $ECHO_N "(cached) $ECHO_C" >&6
56011 else
56012 if test x$gcc_no_link = xyes; then
56013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56015 { (exit 1); exit 1; }; }
56017 cat >conftest.$ac_ext <<_ACEOF
56018 /* confdefs.h. */
56019 _ACEOF
56020 cat confdefs.h >>conftest.$ac_ext
56021 cat >>conftest.$ac_ext <<_ACEOF
56022 /* end confdefs.h. */
56023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56025 #define $ac_func innocuous_$ac_func
56027 /* System header to define __stub macros and hopefully few prototypes,
56028 which can conflict with char $ac_func (); below.
56029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56030 <limits.h> exists even on freestanding compilers. */
56032 #ifdef __STDC__
56033 # include <limits.h>
56034 #else
56035 # include <assert.h>
56036 #endif
56038 #undef $ac_func
56040 /* Override any gcc2 internal prototype to avoid an error. */
56041 #ifdef __cplusplus
56042 extern "C"
56044 #endif
56045 /* We use char because int might match the return type of a gcc2
56046 builtin and then its argument prototype would still apply. */
56047 char $ac_func ();
56048 /* The GNU C library defines this for functions which it implements
56049 to always fail with ENOSYS. Some functions are actually named
56050 something starting with __ and the normal name is an alias. */
56051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56052 choke me
56053 #else
56054 char (*f) () = $ac_func;
56055 #endif
56056 #ifdef __cplusplus
56058 #endif
56061 main ()
56063 return f != $ac_func;
56065 return 0;
56067 _ACEOF
56068 rm -f conftest.$ac_objext conftest$ac_exeext
56069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56070 (eval $ac_link) 2>conftest.er1
56071 ac_status=$?
56072 grep -v '^ *+' conftest.er1 >conftest.err
56073 rm -f conftest.er1
56074 cat conftest.err >&5
56075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56076 (exit $ac_status); } &&
56077 { ac_try='test -z "$ac_c_werror_flag"
56078 || test ! -s conftest.err'
56079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56080 (eval $ac_try) 2>&5
56081 ac_status=$?
56082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56083 (exit $ac_status); }; } &&
56084 { ac_try='test -s conftest$ac_exeext'
56085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56086 (eval $ac_try) 2>&5
56087 ac_status=$?
56088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56089 (exit $ac_status); }; }; then
56090 eval "$as_ac_var=yes"
56091 else
56092 echo "$as_me: failed program was:" >&5
56093 sed 's/^/| /' conftest.$ac_ext >&5
56095 eval "$as_ac_var=no"
56097 rm -f conftest.err conftest.$ac_objext \
56098 conftest$ac_exeext conftest.$ac_ext
56100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56102 if test `eval echo '${'$as_ac_var'}'` = yes; then
56103 cat >>confdefs.h <<_ACEOF
56104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56105 _ACEOF
56108 done
56110 else
56112 echo "$as_me:$LINENO: checking for _expl declaration" >&5
56113 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
56114 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56115 if test "${glibcxx_cv_func__expl_use+set}" = set; then
56116 echo $ECHO_N "(cached) $ECHO_C" >&6
56117 else
56121 ac_ext=cc
56122 ac_cpp='$CXXCPP $CPPFLAGS'
56123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56127 cat >conftest.$ac_ext <<_ACEOF
56128 /* confdefs.h. */
56129 _ACEOF
56130 cat confdefs.h >>conftest.$ac_ext
56131 cat >>conftest.$ac_ext <<_ACEOF
56132 /* end confdefs.h. */
56133 #include <math.h>
56134 #ifdef HAVE_IEEEFP_H
56135 #include <ieeefp.h>
56136 #endif
56139 main ()
56141 _expl(0);
56143 return 0;
56145 _ACEOF
56146 rm -f conftest.$ac_objext
56147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56148 (eval $ac_compile) 2>conftest.er1
56149 ac_status=$?
56150 grep -v '^ *+' conftest.er1 >conftest.err
56151 rm -f conftest.er1
56152 cat conftest.err >&5
56153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56154 (exit $ac_status); } &&
56155 { ac_try='test -z "$ac_cxx_werror_flag"
56156 || test ! -s conftest.err'
56157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56158 (eval $ac_try) 2>&5
56159 ac_status=$?
56160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56161 (exit $ac_status); }; } &&
56162 { ac_try='test -s conftest.$ac_objext'
56163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56164 (eval $ac_try) 2>&5
56165 ac_status=$?
56166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56167 (exit $ac_status); }; }; then
56168 glibcxx_cv_func__expl_use=yes
56169 else
56170 echo "$as_me: failed program was:" >&5
56171 sed 's/^/| /' conftest.$ac_ext >&5
56173 glibcxx_cv_func__expl_use=no
56175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56176 ac_ext=c
56177 ac_cpp='$CPP $CPPFLAGS'
56178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56186 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
56187 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
56189 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56191 for ac_func in _expl
56193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56194 echo "$as_me:$LINENO: checking for $ac_func" >&5
56195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56196 if eval "test \"\${$as_ac_var+set}\" = set"; then
56197 echo $ECHO_N "(cached) $ECHO_C" >&6
56198 else
56199 if test x$gcc_no_link = xyes; then
56200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56202 { (exit 1); exit 1; }; }
56204 cat >conftest.$ac_ext <<_ACEOF
56205 /* confdefs.h. */
56206 _ACEOF
56207 cat confdefs.h >>conftest.$ac_ext
56208 cat >>conftest.$ac_ext <<_ACEOF
56209 /* end confdefs.h. */
56210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56212 #define $ac_func innocuous_$ac_func
56214 /* System header to define __stub macros and hopefully few prototypes,
56215 which can conflict with char $ac_func (); below.
56216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56217 <limits.h> exists even on freestanding compilers. */
56219 #ifdef __STDC__
56220 # include <limits.h>
56221 #else
56222 # include <assert.h>
56223 #endif
56225 #undef $ac_func
56227 /* Override any gcc2 internal prototype to avoid an error. */
56228 #ifdef __cplusplus
56229 extern "C"
56231 #endif
56232 /* We use char because int might match the return type of a gcc2
56233 builtin and then its argument prototype would still apply. */
56234 char $ac_func ();
56235 /* The GNU C library defines this for functions which it implements
56236 to always fail with ENOSYS. Some functions are actually named
56237 something starting with __ and the normal name is an alias. */
56238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56239 choke me
56240 #else
56241 char (*f) () = $ac_func;
56242 #endif
56243 #ifdef __cplusplus
56245 #endif
56248 main ()
56250 return f != $ac_func;
56252 return 0;
56254 _ACEOF
56255 rm -f conftest.$ac_objext conftest$ac_exeext
56256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56257 (eval $ac_link) 2>conftest.er1
56258 ac_status=$?
56259 grep -v '^ *+' conftest.er1 >conftest.err
56260 rm -f conftest.er1
56261 cat conftest.err >&5
56262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56263 (exit $ac_status); } &&
56264 { ac_try='test -z "$ac_c_werror_flag"
56265 || test ! -s conftest.err'
56266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56267 (eval $ac_try) 2>&5
56268 ac_status=$?
56269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56270 (exit $ac_status); }; } &&
56271 { ac_try='test -s conftest$ac_exeext'
56272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56273 (eval $ac_try) 2>&5
56274 ac_status=$?
56275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56276 (exit $ac_status); }; }; then
56277 eval "$as_ac_var=yes"
56278 else
56279 echo "$as_me: failed program was:" >&5
56280 sed 's/^/| /' conftest.$ac_ext >&5
56282 eval "$as_ac_var=no"
56284 rm -f conftest.err conftest.$ac_objext \
56285 conftest$ac_exeext conftest.$ac_ext
56287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56289 if test `eval echo '${'$as_ac_var'}'` = yes; then
56290 cat >>confdefs.h <<_ACEOF
56291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56292 _ACEOF
56295 done
56305 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
56306 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
56307 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56308 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
56309 echo $ECHO_N "(cached) $ECHO_C" >&6
56310 else
56314 ac_ext=cc
56315 ac_cpp='$CXXCPP $CPPFLAGS'
56316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56320 cat >conftest.$ac_ext <<_ACEOF
56321 /* confdefs.h. */
56322 _ACEOF
56323 cat confdefs.h >>conftest.$ac_ext
56324 cat >>conftest.$ac_ext <<_ACEOF
56325 /* end confdefs.h. */
56326 #include <math.h>
56327 #ifdef HAVE_IEEEFP_H
56328 #include <ieeefp.h>
56329 #endif
56332 main ()
56334 fabsl(0);
56336 return 0;
56338 _ACEOF
56339 rm -f conftest.$ac_objext
56340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56341 (eval $ac_compile) 2>conftest.er1
56342 ac_status=$?
56343 grep -v '^ *+' conftest.er1 >conftest.err
56344 rm -f conftest.er1
56345 cat conftest.err >&5
56346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56347 (exit $ac_status); } &&
56348 { ac_try='test -z "$ac_cxx_werror_flag"
56349 || test ! -s conftest.err'
56350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56351 (eval $ac_try) 2>&5
56352 ac_status=$?
56353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56354 (exit $ac_status); }; } &&
56355 { ac_try='test -s conftest.$ac_objext'
56356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56357 (eval $ac_try) 2>&5
56358 ac_status=$?
56359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56360 (exit $ac_status); }; }; then
56361 glibcxx_cv_func_fabsl_use=yes
56362 else
56363 echo "$as_me: failed program was:" >&5
56364 sed 's/^/| /' conftest.$ac_ext >&5
56366 glibcxx_cv_func_fabsl_use=no
56368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56369 ac_ext=c
56370 ac_cpp='$CPP $CPPFLAGS'
56371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56379 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
56380 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
56382 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56384 for ac_func in fabsl
56386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56387 echo "$as_me:$LINENO: checking for $ac_func" >&5
56388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56389 if eval "test \"\${$as_ac_var+set}\" = set"; then
56390 echo $ECHO_N "(cached) $ECHO_C" >&6
56391 else
56392 if test x$gcc_no_link = xyes; then
56393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56395 { (exit 1); exit 1; }; }
56397 cat >conftest.$ac_ext <<_ACEOF
56398 /* confdefs.h. */
56399 _ACEOF
56400 cat confdefs.h >>conftest.$ac_ext
56401 cat >>conftest.$ac_ext <<_ACEOF
56402 /* end confdefs.h. */
56403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56405 #define $ac_func innocuous_$ac_func
56407 /* System header to define __stub macros and hopefully few prototypes,
56408 which can conflict with char $ac_func (); below.
56409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56410 <limits.h> exists even on freestanding compilers. */
56412 #ifdef __STDC__
56413 # include <limits.h>
56414 #else
56415 # include <assert.h>
56416 #endif
56418 #undef $ac_func
56420 /* Override any gcc2 internal prototype to avoid an error. */
56421 #ifdef __cplusplus
56422 extern "C"
56424 #endif
56425 /* We use char because int might match the return type of a gcc2
56426 builtin and then its argument prototype would still apply. */
56427 char $ac_func ();
56428 /* The GNU C library defines this for functions which it implements
56429 to always fail with ENOSYS. Some functions are actually named
56430 something starting with __ and the normal name is an alias. */
56431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56432 choke me
56433 #else
56434 char (*f) () = $ac_func;
56435 #endif
56436 #ifdef __cplusplus
56438 #endif
56441 main ()
56443 return f != $ac_func;
56445 return 0;
56447 _ACEOF
56448 rm -f conftest.$ac_objext conftest$ac_exeext
56449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56450 (eval $ac_link) 2>conftest.er1
56451 ac_status=$?
56452 grep -v '^ *+' conftest.er1 >conftest.err
56453 rm -f conftest.er1
56454 cat conftest.err >&5
56455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56456 (exit $ac_status); } &&
56457 { ac_try='test -z "$ac_c_werror_flag"
56458 || test ! -s conftest.err'
56459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56460 (eval $ac_try) 2>&5
56461 ac_status=$?
56462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56463 (exit $ac_status); }; } &&
56464 { ac_try='test -s conftest$ac_exeext'
56465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56466 (eval $ac_try) 2>&5
56467 ac_status=$?
56468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56469 (exit $ac_status); }; }; then
56470 eval "$as_ac_var=yes"
56471 else
56472 echo "$as_me: failed program was:" >&5
56473 sed 's/^/| /' conftest.$ac_ext >&5
56475 eval "$as_ac_var=no"
56477 rm -f conftest.err conftest.$ac_objext \
56478 conftest$ac_exeext conftest.$ac_ext
56480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56482 if test `eval echo '${'$as_ac_var'}'` = yes; then
56483 cat >>confdefs.h <<_ACEOF
56484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56485 _ACEOF
56488 done
56490 else
56492 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
56493 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
56494 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56495 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
56496 echo $ECHO_N "(cached) $ECHO_C" >&6
56497 else
56501 ac_ext=cc
56502 ac_cpp='$CXXCPP $CPPFLAGS'
56503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56507 cat >conftest.$ac_ext <<_ACEOF
56508 /* confdefs.h. */
56509 _ACEOF
56510 cat confdefs.h >>conftest.$ac_ext
56511 cat >>conftest.$ac_ext <<_ACEOF
56512 /* end confdefs.h. */
56513 #include <math.h>
56514 #ifdef HAVE_IEEEFP_H
56515 #include <ieeefp.h>
56516 #endif
56519 main ()
56521 _fabsl(0);
56523 return 0;
56525 _ACEOF
56526 rm -f conftest.$ac_objext
56527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56528 (eval $ac_compile) 2>conftest.er1
56529 ac_status=$?
56530 grep -v '^ *+' conftest.er1 >conftest.err
56531 rm -f conftest.er1
56532 cat conftest.err >&5
56533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56534 (exit $ac_status); } &&
56535 { ac_try='test -z "$ac_cxx_werror_flag"
56536 || test ! -s conftest.err'
56537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56538 (eval $ac_try) 2>&5
56539 ac_status=$?
56540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56541 (exit $ac_status); }; } &&
56542 { ac_try='test -s conftest.$ac_objext'
56543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56544 (eval $ac_try) 2>&5
56545 ac_status=$?
56546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56547 (exit $ac_status); }; }; then
56548 glibcxx_cv_func__fabsl_use=yes
56549 else
56550 echo "$as_me: failed program was:" >&5
56551 sed 's/^/| /' conftest.$ac_ext >&5
56553 glibcxx_cv_func__fabsl_use=no
56555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56556 ac_ext=c
56557 ac_cpp='$CPP $CPPFLAGS'
56558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56566 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
56567 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
56569 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56571 for ac_func in _fabsl
56573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56574 echo "$as_me:$LINENO: checking for $ac_func" >&5
56575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56576 if eval "test \"\${$as_ac_var+set}\" = set"; then
56577 echo $ECHO_N "(cached) $ECHO_C" >&6
56578 else
56579 if test x$gcc_no_link = xyes; then
56580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56582 { (exit 1); exit 1; }; }
56584 cat >conftest.$ac_ext <<_ACEOF
56585 /* confdefs.h. */
56586 _ACEOF
56587 cat confdefs.h >>conftest.$ac_ext
56588 cat >>conftest.$ac_ext <<_ACEOF
56589 /* end confdefs.h. */
56590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56592 #define $ac_func innocuous_$ac_func
56594 /* System header to define __stub macros and hopefully few prototypes,
56595 which can conflict with char $ac_func (); below.
56596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56597 <limits.h> exists even on freestanding compilers. */
56599 #ifdef __STDC__
56600 # include <limits.h>
56601 #else
56602 # include <assert.h>
56603 #endif
56605 #undef $ac_func
56607 /* Override any gcc2 internal prototype to avoid an error. */
56608 #ifdef __cplusplus
56609 extern "C"
56611 #endif
56612 /* We use char because int might match the return type of a gcc2
56613 builtin and then its argument prototype would still apply. */
56614 char $ac_func ();
56615 /* The GNU C library defines this for functions which it implements
56616 to always fail with ENOSYS. Some functions are actually named
56617 something starting with __ and the normal name is an alias. */
56618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56619 choke me
56620 #else
56621 char (*f) () = $ac_func;
56622 #endif
56623 #ifdef __cplusplus
56625 #endif
56628 main ()
56630 return f != $ac_func;
56632 return 0;
56634 _ACEOF
56635 rm -f conftest.$ac_objext conftest$ac_exeext
56636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56637 (eval $ac_link) 2>conftest.er1
56638 ac_status=$?
56639 grep -v '^ *+' conftest.er1 >conftest.err
56640 rm -f conftest.er1
56641 cat conftest.err >&5
56642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56643 (exit $ac_status); } &&
56644 { ac_try='test -z "$ac_c_werror_flag"
56645 || test ! -s conftest.err'
56646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56647 (eval $ac_try) 2>&5
56648 ac_status=$?
56649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56650 (exit $ac_status); }; } &&
56651 { ac_try='test -s conftest$ac_exeext'
56652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56653 (eval $ac_try) 2>&5
56654 ac_status=$?
56655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56656 (exit $ac_status); }; }; then
56657 eval "$as_ac_var=yes"
56658 else
56659 echo "$as_me: failed program was:" >&5
56660 sed 's/^/| /' conftest.$ac_ext >&5
56662 eval "$as_ac_var=no"
56664 rm -f conftest.err conftest.$ac_objext \
56665 conftest$ac_exeext conftest.$ac_ext
56667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56669 if test `eval echo '${'$as_ac_var'}'` = yes; then
56670 cat >>confdefs.h <<_ACEOF
56671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56672 _ACEOF
56675 done
56685 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
56686 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
56687 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56688 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
56689 echo $ECHO_N "(cached) $ECHO_C" >&6
56690 else
56694 ac_ext=cc
56695 ac_cpp='$CXXCPP $CPPFLAGS'
56696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56700 cat >conftest.$ac_ext <<_ACEOF
56701 /* confdefs.h. */
56702 _ACEOF
56703 cat confdefs.h >>conftest.$ac_ext
56704 cat >>conftest.$ac_ext <<_ACEOF
56705 /* end confdefs.h. */
56706 #include <math.h>
56708 main ()
56710 fmodl(0, 0);
56712 return 0;
56714 _ACEOF
56715 rm -f conftest.$ac_objext
56716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56717 (eval $ac_compile) 2>conftest.er1
56718 ac_status=$?
56719 grep -v '^ *+' conftest.er1 >conftest.err
56720 rm -f conftest.er1
56721 cat conftest.err >&5
56722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56723 (exit $ac_status); } &&
56724 { ac_try='test -z "$ac_cxx_werror_flag"
56725 || test ! -s conftest.err'
56726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56727 (eval $ac_try) 2>&5
56728 ac_status=$?
56729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56730 (exit $ac_status); }; } &&
56731 { ac_try='test -s conftest.$ac_objext'
56732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56733 (eval $ac_try) 2>&5
56734 ac_status=$?
56735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56736 (exit $ac_status); }; }; then
56737 glibcxx_cv_func_fmodl_use=yes
56738 else
56739 echo "$as_me: failed program was:" >&5
56740 sed 's/^/| /' conftest.$ac_ext >&5
56742 glibcxx_cv_func_fmodl_use=no
56744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56745 ac_ext=c
56746 ac_cpp='$CPP $CPPFLAGS'
56747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56755 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
56756 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
56758 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56760 for ac_func in fmodl
56762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56763 echo "$as_me:$LINENO: checking for $ac_func" >&5
56764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56765 if eval "test \"\${$as_ac_var+set}\" = set"; then
56766 echo $ECHO_N "(cached) $ECHO_C" >&6
56767 else
56768 if test x$gcc_no_link = xyes; then
56769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56771 { (exit 1); exit 1; }; }
56773 cat >conftest.$ac_ext <<_ACEOF
56774 /* confdefs.h. */
56775 _ACEOF
56776 cat confdefs.h >>conftest.$ac_ext
56777 cat >>conftest.$ac_ext <<_ACEOF
56778 /* end confdefs.h. */
56779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56781 #define $ac_func innocuous_$ac_func
56783 /* System header to define __stub macros and hopefully few prototypes,
56784 which can conflict with char $ac_func (); below.
56785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56786 <limits.h> exists even on freestanding compilers. */
56788 #ifdef __STDC__
56789 # include <limits.h>
56790 #else
56791 # include <assert.h>
56792 #endif
56794 #undef $ac_func
56796 /* Override any gcc2 internal prototype to avoid an error. */
56797 #ifdef __cplusplus
56798 extern "C"
56800 #endif
56801 /* We use char because int might match the return type of a gcc2
56802 builtin and then its argument prototype would still apply. */
56803 char $ac_func ();
56804 /* The GNU C library defines this for functions which it implements
56805 to always fail with ENOSYS. Some functions are actually named
56806 something starting with __ and the normal name is an alias. */
56807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56808 choke me
56809 #else
56810 char (*f) () = $ac_func;
56811 #endif
56812 #ifdef __cplusplus
56814 #endif
56817 main ()
56819 return f != $ac_func;
56821 return 0;
56823 _ACEOF
56824 rm -f conftest.$ac_objext conftest$ac_exeext
56825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56826 (eval $ac_link) 2>conftest.er1
56827 ac_status=$?
56828 grep -v '^ *+' conftest.er1 >conftest.err
56829 rm -f conftest.er1
56830 cat conftest.err >&5
56831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56832 (exit $ac_status); } &&
56833 { ac_try='test -z "$ac_c_werror_flag"
56834 || test ! -s conftest.err'
56835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56836 (eval $ac_try) 2>&5
56837 ac_status=$?
56838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56839 (exit $ac_status); }; } &&
56840 { ac_try='test -s conftest$ac_exeext'
56841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56842 (eval $ac_try) 2>&5
56843 ac_status=$?
56844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56845 (exit $ac_status); }; }; then
56846 eval "$as_ac_var=yes"
56847 else
56848 echo "$as_me: failed program was:" >&5
56849 sed 's/^/| /' conftest.$ac_ext >&5
56851 eval "$as_ac_var=no"
56853 rm -f conftest.err conftest.$ac_objext \
56854 conftest$ac_exeext conftest.$ac_ext
56856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56858 if test `eval echo '${'$as_ac_var'}'` = yes; then
56859 cat >>confdefs.h <<_ACEOF
56860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56861 _ACEOF
56864 done
56866 else
56868 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
56869 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
56870 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56871 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
56872 echo $ECHO_N "(cached) $ECHO_C" >&6
56873 else
56877 ac_ext=cc
56878 ac_cpp='$CXXCPP $CPPFLAGS'
56879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56883 cat >conftest.$ac_ext <<_ACEOF
56884 /* confdefs.h. */
56885 _ACEOF
56886 cat confdefs.h >>conftest.$ac_ext
56887 cat >>conftest.$ac_ext <<_ACEOF
56888 /* end confdefs.h. */
56889 #include <math.h>
56891 main ()
56893 _fmodl(0, 0);
56895 return 0;
56897 _ACEOF
56898 rm -f conftest.$ac_objext
56899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56900 (eval $ac_compile) 2>conftest.er1
56901 ac_status=$?
56902 grep -v '^ *+' conftest.er1 >conftest.err
56903 rm -f conftest.er1
56904 cat conftest.err >&5
56905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56906 (exit $ac_status); } &&
56907 { ac_try='test -z "$ac_cxx_werror_flag"
56908 || test ! -s conftest.err'
56909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56910 (eval $ac_try) 2>&5
56911 ac_status=$?
56912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56913 (exit $ac_status); }; } &&
56914 { ac_try='test -s conftest.$ac_objext'
56915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56916 (eval $ac_try) 2>&5
56917 ac_status=$?
56918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56919 (exit $ac_status); }; }; then
56920 glibcxx_cv_func__fmodl_use=yes
56921 else
56922 echo "$as_me: failed program was:" >&5
56923 sed 's/^/| /' conftest.$ac_ext >&5
56925 glibcxx_cv_func__fmodl_use=no
56927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56928 ac_ext=c
56929 ac_cpp='$CPP $CPPFLAGS'
56930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56938 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
56939 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
56941 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56943 for ac_func in _fmodl
56945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56946 echo "$as_me:$LINENO: checking for $ac_func" >&5
56947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56948 if eval "test \"\${$as_ac_var+set}\" = set"; then
56949 echo $ECHO_N "(cached) $ECHO_C" >&6
56950 else
56951 if test x$gcc_no_link = xyes; then
56952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56954 { (exit 1); exit 1; }; }
56956 cat >conftest.$ac_ext <<_ACEOF
56957 /* confdefs.h. */
56958 _ACEOF
56959 cat confdefs.h >>conftest.$ac_ext
56960 cat >>conftest.$ac_ext <<_ACEOF
56961 /* end confdefs.h. */
56962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56964 #define $ac_func innocuous_$ac_func
56966 /* System header to define __stub macros and hopefully few prototypes,
56967 which can conflict with char $ac_func (); below.
56968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56969 <limits.h> exists even on freestanding compilers. */
56971 #ifdef __STDC__
56972 # include <limits.h>
56973 #else
56974 # include <assert.h>
56975 #endif
56977 #undef $ac_func
56979 /* Override any gcc2 internal prototype to avoid an error. */
56980 #ifdef __cplusplus
56981 extern "C"
56983 #endif
56984 /* We use char because int might match the return type of a gcc2
56985 builtin and then its argument prototype would still apply. */
56986 char $ac_func ();
56987 /* The GNU C library defines this for functions which it implements
56988 to always fail with ENOSYS. Some functions are actually named
56989 something starting with __ and the normal name is an alias. */
56990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56991 choke me
56992 #else
56993 char (*f) () = $ac_func;
56994 #endif
56995 #ifdef __cplusplus
56997 #endif
57000 main ()
57002 return f != $ac_func;
57004 return 0;
57006 _ACEOF
57007 rm -f conftest.$ac_objext conftest$ac_exeext
57008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57009 (eval $ac_link) 2>conftest.er1
57010 ac_status=$?
57011 grep -v '^ *+' conftest.er1 >conftest.err
57012 rm -f conftest.er1
57013 cat conftest.err >&5
57014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57015 (exit $ac_status); } &&
57016 { ac_try='test -z "$ac_c_werror_flag"
57017 || test ! -s conftest.err'
57018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57019 (eval $ac_try) 2>&5
57020 ac_status=$?
57021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57022 (exit $ac_status); }; } &&
57023 { ac_try='test -s conftest$ac_exeext'
57024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57025 (eval $ac_try) 2>&5
57026 ac_status=$?
57027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57028 (exit $ac_status); }; }; then
57029 eval "$as_ac_var=yes"
57030 else
57031 echo "$as_me: failed program was:" >&5
57032 sed 's/^/| /' conftest.$ac_ext >&5
57034 eval "$as_ac_var=no"
57036 rm -f conftest.err conftest.$ac_objext \
57037 conftest$ac_exeext conftest.$ac_ext
57039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57041 if test `eval echo '${'$as_ac_var'}'` = yes; then
57042 cat >>confdefs.h <<_ACEOF
57043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57044 _ACEOF
57047 done
57057 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
57058 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
57059 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57060 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
57061 echo $ECHO_N "(cached) $ECHO_C" >&6
57062 else
57066 ac_ext=cc
57067 ac_cpp='$CXXCPP $CPPFLAGS'
57068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57072 cat >conftest.$ac_ext <<_ACEOF
57073 /* confdefs.h. */
57074 _ACEOF
57075 cat confdefs.h >>conftest.$ac_ext
57076 cat >>conftest.$ac_ext <<_ACEOF
57077 /* end confdefs.h. */
57078 #include <math.h>
57080 main ()
57082 frexpl(0, 0);
57084 return 0;
57086 _ACEOF
57087 rm -f conftest.$ac_objext
57088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57089 (eval $ac_compile) 2>conftest.er1
57090 ac_status=$?
57091 grep -v '^ *+' conftest.er1 >conftest.err
57092 rm -f conftest.er1
57093 cat conftest.err >&5
57094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57095 (exit $ac_status); } &&
57096 { ac_try='test -z "$ac_cxx_werror_flag"
57097 || test ! -s conftest.err'
57098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57099 (eval $ac_try) 2>&5
57100 ac_status=$?
57101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57102 (exit $ac_status); }; } &&
57103 { ac_try='test -s conftest.$ac_objext'
57104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57105 (eval $ac_try) 2>&5
57106 ac_status=$?
57107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57108 (exit $ac_status); }; }; then
57109 glibcxx_cv_func_frexpl_use=yes
57110 else
57111 echo "$as_me: failed program was:" >&5
57112 sed 's/^/| /' conftest.$ac_ext >&5
57114 glibcxx_cv_func_frexpl_use=no
57116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57117 ac_ext=c
57118 ac_cpp='$CPP $CPPFLAGS'
57119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57127 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
57128 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
57130 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57132 for ac_func in frexpl
57134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57135 echo "$as_me:$LINENO: checking for $ac_func" >&5
57136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57137 if eval "test \"\${$as_ac_var+set}\" = set"; then
57138 echo $ECHO_N "(cached) $ECHO_C" >&6
57139 else
57140 if test x$gcc_no_link = xyes; then
57141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57143 { (exit 1); exit 1; }; }
57145 cat >conftest.$ac_ext <<_ACEOF
57146 /* confdefs.h. */
57147 _ACEOF
57148 cat confdefs.h >>conftest.$ac_ext
57149 cat >>conftest.$ac_ext <<_ACEOF
57150 /* end confdefs.h. */
57151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57153 #define $ac_func innocuous_$ac_func
57155 /* System header to define __stub macros and hopefully few prototypes,
57156 which can conflict with char $ac_func (); below.
57157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57158 <limits.h> exists even on freestanding compilers. */
57160 #ifdef __STDC__
57161 # include <limits.h>
57162 #else
57163 # include <assert.h>
57164 #endif
57166 #undef $ac_func
57168 /* Override any gcc2 internal prototype to avoid an error. */
57169 #ifdef __cplusplus
57170 extern "C"
57172 #endif
57173 /* We use char because int might match the return type of a gcc2
57174 builtin and then its argument prototype would still apply. */
57175 char $ac_func ();
57176 /* The GNU C library defines this for functions which it implements
57177 to always fail with ENOSYS. Some functions are actually named
57178 something starting with __ and the normal name is an alias. */
57179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57180 choke me
57181 #else
57182 char (*f) () = $ac_func;
57183 #endif
57184 #ifdef __cplusplus
57186 #endif
57189 main ()
57191 return f != $ac_func;
57193 return 0;
57195 _ACEOF
57196 rm -f conftest.$ac_objext conftest$ac_exeext
57197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57198 (eval $ac_link) 2>conftest.er1
57199 ac_status=$?
57200 grep -v '^ *+' conftest.er1 >conftest.err
57201 rm -f conftest.er1
57202 cat conftest.err >&5
57203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57204 (exit $ac_status); } &&
57205 { ac_try='test -z "$ac_c_werror_flag"
57206 || test ! -s conftest.err'
57207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57208 (eval $ac_try) 2>&5
57209 ac_status=$?
57210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57211 (exit $ac_status); }; } &&
57212 { ac_try='test -s conftest$ac_exeext'
57213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57214 (eval $ac_try) 2>&5
57215 ac_status=$?
57216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57217 (exit $ac_status); }; }; then
57218 eval "$as_ac_var=yes"
57219 else
57220 echo "$as_me: failed program was:" >&5
57221 sed 's/^/| /' conftest.$ac_ext >&5
57223 eval "$as_ac_var=no"
57225 rm -f conftest.err conftest.$ac_objext \
57226 conftest$ac_exeext conftest.$ac_ext
57228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57230 if test `eval echo '${'$as_ac_var'}'` = yes; then
57231 cat >>confdefs.h <<_ACEOF
57232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57233 _ACEOF
57236 done
57238 else
57240 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
57241 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
57242 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57243 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
57244 echo $ECHO_N "(cached) $ECHO_C" >&6
57245 else
57249 ac_ext=cc
57250 ac_cpp='$CXXCPP $CPPFLAGS'
57251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57255 cat >conftest.$ac_ext <<_ACEOF
57256 /* confdefs.h. */
57257 _ACEOF
57258 cat confdefs.h >>conftest.$ac_ext
57259 cat >>conftest.$ac_ext <<_ACEOF
57260 /* end confdefs.h. */
57261 #include <math.h>
57263 main ()
57265 _frexpl(0, 0);
57267 return 0;
57269 _ACEOF
57270 rm -f conftest.$ac_objext
57271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57272 (eval $ac_compile) 2>conftest.er1
57273 ac_status=$?
57274 grep -v '^ *+' conftest.er1 >conftest.err
57275 rm -f conftest.er1
57276 cat conftest.err >&5
57277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57278 (exit $ac_status); } &&
57279 { ac_try='test -z "$ac_cxx_werror_flag"
57280 || test ! -s conftest.err'
57281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57282 (eval $ac_try) 2>&5
57283 ac_status=$?
57284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57285 (exit $ac_status); }; } &&
57286 { ac_try='test -s conftest.$ac_objext'
57287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57288 (eval $ac_try) 2>&5
57289 ac_status=$?
57290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57291 (exit $ac_status); }; }; then
57292 glibcxx_cv_func__frexpl_use=yes
57293 else
57294 echo "$as_me: failed program was:" >&5
57295 sed 's/^/| /' conftest.$ac_ext >&5
57297 glibcxx_cv_func__frexpl_use=no
57299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57300 ac_ext=c
57301 ac_cpp='$CPP $CPPFLAGS'
57302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57310 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
57311 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
57313 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57315 for ac_func in _frexpl
57317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57318 echo "$as_me:$LINENO: checking for $ac_func" >&5
57319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57320 if eval "test \"\${$as_ac_var+set}\" = set"; then
57321 echo $ECHO_N "(cached) $ECHO_C" >&6
57322 else
57323 if test x$gcc_no_link = xyes; then
57324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57326 { (exit 1); exit 1; }; }
57328 cat >conftest.$ac_ext <<_ACEOF
57329 /* confdefs.h. */
57330 _ACEOF
57331 cat confdefs.h >>conftest.$ac_ext
57332 cat >>conftest.$ac_ext <<_ACEOF
57333 /* end confdefs.h. */
57334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57336 #define $ac_func innocuous_$ac_func
57338 /* System header to define __stub macros and hopefully few prototypes,
57339 which can conflict with char $ac_func (); below.
57340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57341 <limits.h> exists even on freestanding compilers. */
57343 #ifdef __STDC__
57344 # include <limits.h>
57345 #else
57346 # include <assert.h>
57347 #endif
57349 #undef $ac_func
57351 /* Override any gcc2 internal prototype to avoid an error. */
57352 #ifdef __cplusplus
57353 extern "C"
57355 #endif
57356 /* We use char because int might match the return type of a gcc2
57357 builtin and then its argument prototype would still apply. */
57358 char $ac_func ();
57359 /* The GNU C library defines this for functions which it implements
57360 to always fail with ENOSYS. Some functions are actually named
57361 something starting with __ and the normal name is an alias. */
57362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57363 choke me
57364 #else
57365 char (*f) () = $ac_func;
57366 #endif
57367 #ifdef __cplusplus
57369 #endif
57372 main ()
57374 return f != $ac_func;
57376 return 0;
57378 _ACEOF
57379 rm -f conftest.$ac_objext conftest$ac_exeext
57380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57381 (eval $ac_link) 2>conftest.er1
57382 ac_status=$?
57383 grep -v '^ *+' conftest.er1 >conftest.err
57384 rm -f conftest.er1
57385 cat conftest.err >&5
57386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57387 (exit $ac_status); } &&
57388 { ac_try='test -z "$ac_c_werror_flag"
57389 || test ! -s conftest.err'
57390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57391 (eval $ac_try) 2>&5
57392 ac_status=$?
57393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57394 (exit $ac_status); }; } &&
57395 { ac_try='test -s conftest$ac_exeext'
57396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57397 (eval $ac_try) 2>&5
57398 ac_status=$?
57399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57400 (exit $ac_status); }; }; then
57401 eval "$as_ac_var=yes"
57402 else
57403 echo "$as_me: failed program was:" >&5
57404 sed 's/^/| /' conftest.$ac_ext >&5
57406 eval "$as_ac_var=no"
57408 rm -f conftest.err conftest.$ac_objext \
57409 conftest$ac_exeext conftest.$ac_ext
57411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57413 if test `eval echo '${'$as_ac_var'}'` = yes; then
57414 cat >>confdefs.h <<_ACEOF
57415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57416 _ACEOF
57419 done
57429 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
57430 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
57431 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57432 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
57433 echo $ECHO_N "(cached) $ECHO_C" >&6
57434 else
57438 ac_ext=cc
57439 ac_cpp='$CXXCPP $CPPFLAGS'
57440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57444 cat >conftest.$ac_ext <<_ACEOF
57445 /* confdefs.h. */
57446 _ACEOF
57447 cat confdefs.h >>conftest.$ac_ext
57448 cat >>conftest.$ac_ext <<_ACEOF
57449 /* end confdefs.h. */
57450 #include <math.h>
57452 main ()
57454 hypotl(0, 0);
57456 return 0;
57458 _ACEOF
57459 rm -f conftest.$ac_objext
57460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57461 (eval $ac_compile) 2>conftest.er1
57462 ac_status=$?
57463 grep -v '^ *+' conftest.er1 >conftest.err
57464 rm -f conftest.er1
57465 cat conftest.err >&5
57466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57467 (exit $ac_status); } &&
57468 { ac_try='test -z "$ac_cxx_werror_flag"
57469 || test ! -s conftest.err'
57470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57471 (eval $ac_try) 2>&5
57472 ac_status=$?
57473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57474 (exit $ac_status); }; } &&
57475 { ac_try='test -s conftest.$ac_objext'
57476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57477 (eval $ac_try) 2>&5
57478 ac_status=$?
57479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57480 (exit $ac_status); }; }; then
57481 glibcxx_cv_func_hypotl_use=yes
57482 else
57483 echo "$as_me: failed program was:" >&5
57484 sed 's/^/| /' conftest.$ac_ext >&5
57486 glibcxx_cv_func_hypotl_use=no
57488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57489 ac_ext=c
57490 ac_cpp='$CPP $CPPFLAGS'
57491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57499 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
57500 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
57502 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57504 for ac_func in hypotl
57506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57507 echo "$as_me:$LINENO: checking for $ac_func" >&5
57508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57509 if eval "test \"\${$as_ac_var+set}\" = set"; then
57510 echo $ECHO_N "(cached) $ECHO_C" >&6
57511 else
57512 if test x$gcc_no_link = xyes; then
57513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57515 { (exit 1); exit 1; }; }
57517 cat >conftest.$ac_ext <<_ACEOF
57518 /* confdefs.h. */
57519 _ACEOF
57520 cat confdefs.h >>conftest.$ac_ext
57521 cat >>conftest.$ac_ext <<_ACEOF
57522 /* end confdefs.h. */
57523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57525 #define $ac_func innocuous_$ac_func
57527 /* System header to define __stub macros and hopefully few prototypes,
57528 which can conflict with char $ac_func (); below.
57529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57530 <limits.h> exists even on freestanding compilers. */
57532 #ifdef __STDC__
57533 # include <limits.h>
57534 #else
57535 # include <assert.h>
57536 #endif
57538 #undef $ac_func
57540 /* Override any gcc2 internal prototype to avoid an error. */
57541 #ifdef __cplusplus
57542 extern "C"
57544 #endif
57545 /* We use char because int might match the return type of a gcc2
57546 builtin and then its argument prototype would still apply. */
57547 char $ac_func ();
57548 /* The GNU C library defines this for functions which it implements
57549 to always fail with ENOSYS. Some functions are actually named
57550 something starting with __ and the normal name is an alias. */
57551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57552 choke me
57553 #else
57554 char (*f) () = $ac_func;
57555 #endif
57556 #ifdef __cplusplus
57558 #endif
57561 main ()
57563 return f != $ac_func;
57565 return 0;
57567 _ACEOF
57568 rm -f conftest.$ac_objext conftest$ac_exeext
57569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57570 (eval $ac_link) 2>conftest.er1
57571 ac_status=$?
57572 grep -v '^ *+' conftest.er1 >conftest.err
57573 rm -f conftest.er1
57574 cat conftest.err >&5
57575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57576 (exit $ac_status); } &&
57577 { ac_try='test -z "$ac_c_werror_flag"
57578 || test ! -s conftest.err'
57579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57580 (eval $ac_try) 2>&5
57581 ac_status=$?
57582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57583 (exit $ac_status); }; } &&
57584 { ac_try='test -s conftest$ac_exeext'
57585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57586 (eval $ac_try) 2>&5
57587 ac_status=$?
57588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57589 (exit $ac_status); }; }; then
57590 eval "$as_ac_var=yes"
57591 else
57592 echo "$as_me: failed program was:" >&5
57593 sed 's/^/| /' conftest.$ac_ext >&5
57595 eval "$as_ac_var=no"
57597 rm -f conftest.err conftest.$ac_objext \
57598 conftest$ac_exeext conftest.$ac_ext
57600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57602 if test `eval echo '${'$as_ac_var'}'` = yes; then
57603 cat >>confdefs.h <<_ACEOF
57604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57605 _ACEOF
57608 done
57610 else
57612 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
57613 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
57614 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57615 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
57616 echo $ECHO_N "(cached) $ECHO_C" >&6
57617 else
57621 ac_ext=cc
57622 ac_cpp='$CXXCPP $CPPFLAGS'
57623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57627 cat >conftest.$ac_ext <<_ACEOF
57628 /* confdefs.h. */
57629 _ACEOF
57630 cat confdefs.h >>conftest.$ac_ext
57631 cat >>conftest.$ac_ext <<_ACEOF
57632 /* end confdefs.h. */
57633 #include <math.h>
57635 main ()
57637 _hypotl(0, 0);
57639 return 0;
57641 _ACEOF
57642 rm -f conftest.$ac_objext
57643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57644 (eval $ac_compile) 2>conftest.er1
57645 ac_status=$?
57646 grep -v '^ *+' conftest.er1 >conftest.err
57647 rm -f conftest.er1
57648 cat conftest.err >&5
57649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57650 (exit $ac_status); } &&
57651 { ac_try='test -z "$ac_cxx_werror_flag"
57652 || test ! -s conftest.err'
57653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57654 (eval $ac_try) 2>&5
57655 ac_status=$?
57656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57657 (exit $ac_status); }; } &&
57658 { ac_try='test -s conftest.$ac_objext'
57659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57660 (eval $ac_try) 2>&5
57661 ac_status=$?
57662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57663 (exit $ac_status); }; }; then
57664 glibcxx_cv_func__hypotl_use=yes
57665 else
57666 echo "$as_me: failed program was:" >&5
57667 sed 's/^/| /' conftest.$ac_ext >&5
57669 glibcxx_cv_func__hypotl_use=no
57671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57672 ac_ext=c
57673 ac_cpp='$CPP $CPPFLAGS'
57674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57682 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
57683 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
57685 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57687 for ac_func in _hypotl
57689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57690 echo "$as_me:$LINENO: checking for $ac_func" >&5
57691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57692 if eval "test \"\${$as_ac_var+set}\" = set"; then
57693 echo $ECHO_N "(cached) $ECHO_C" >&6
57694 else
57695 if test x$gcc_no_link = xyes; then
57696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57698 { (exit 1); exit 1; }; }
57700 cat >conftest.$ac_ext <<_ACEOF
57701 /* confdefs.h. */
57702 _ACEOF
57703 cat confdefs.h >>conftest.$ac_ext
57704 cat >>conftest.$ac_ext <<_ACEOF
57705 /* end confdefs.h. */
57706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57708 #define $ac_func innocuous_$ac_func
57710 /* System header to define __stub macros and hopefully few prototypes,
57711 which can conflict with char $ac_func (); below.
57712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57713 <limits.h> exists even on freestanding compilers. */
57715 #ifdef __STDC__
57716 # include <limits.h>
57717 #else
57718 # include <assert.h>
57719 #endif
57721 #undef $ac_func
57723 /* Override any gcc2 internal prototype to avoid an error. */
57724 #ifdef __cplusplus
57725 extern "C"
57727 #endif
57728 /* We use char because int might match the return type of a gcc2
57729 builtin and then its argument prototype would still apply. */
57730 char $ac_func ();
57731 /* The GNU C library defines this for functions which it implements
57732 to always fail with ENOSYS. Some functions are actually named
57733 something starting with __ and the normal name is an alias. */
57734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57735 choke me
57736 #else
57737 char (*f) () = $ac_func;
57738 #endif
57739 #ifdef __cplusplus
57741 #endif
57744 main ()
57746 return f != $ac_func;
57748 return 0;
57750 _ACEOF
57751 rm -f conftest.$ac_objext conftest$ac_exeext
57752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57753 (eval $ac_link) 2>conftest.er1
57754 ac_status=$?
57755 grep -v '^ *+' conftest.er1 >conftest.err
57756 rm -f conftest.er1
57757 cat conftest.err >&5
57758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57759 (exit $ac_status); } &&
57760 { ac_try='test -z "$ac_c_werror_flag"
57761 || test ! -s conftest.err'
57762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57763 (eval $ac_try) 2>&5
57764 ac_status=$?
57765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57766 (exit $ac_status); }; } &&
57767 { ac_try='test -s conftest$ac_exeext'
57768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57769 (eval $ac_try) 2>&5
57770 ac_status=$?
57771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57772 (exit $ac_status); }; }; then
57773 eval "$as_ac_var=yes"
57774 else
57775 echo "$as_me: failed program was:" >&5
57776 sed 's/^/| /' conftest.$ac_ext >&5
57778 eval "$as_ac_var=no"
57780 rm -f conftest.err conftest.$ac_objext \
57781 conftest$ac_exeext conftest.$ac_ext
57783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57785 if test `eval echo '${'$as_ac_var'}'` = yes; then
57786 cat >>confdefs.h <<_ACEOF
57787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57788 _ACEOF
57791 done
57801 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
57802 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
57803 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57804 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
57805 echo $ECHO_N "(cached) $ECHO_C" >&6
57806 else
57810 ac_ext=cc
57811 ac_cpp='$CXXCPP $CPPFLAGS'
57812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57816 cat >conftest.$ac_ext <<_ACEOF
57817 /* confdefs.h. */
57818 _ACEOF
57819 cat confdefs.h >>conftest.$ac_ext
57820 cat >>conftest.$ac_ext <<_ACEOF
57821 /* end confdefs.h. */
57822 #include <math.h>
57824 main ()
57826 ldexpl(0, 0);
57828 return 0;
57830 _ACEOF
57831 rm -f conftest.$ac_objext
57832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57833 (eval $ac_compile) 2>conftest.er1
57834 ac_status=$?
57835 grep -v '^ *+' conftest.er1 >conftest.err
57836 rm -f conftest.er1
57837 cat conftest.err >&5
57838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57839 (exit $ac_status); } &&
57840 { ac_try='test -z "$ac_cxx_werror_flag"
57841 || test ! -s conftest.err'
57842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57843 (eval $ac_try) 2>&5
57844 ac_status=$?
57845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57846 (exit $ac_status); }; } &&
57847 { ac_try='test -s conftest.$ac_objext'
57848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57849 (eval $ac_try) 2>&5
57850 ac_status=$?
57851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57852 (exit $ac_status); }; }; then
57853 glibcxx_cv_func_ldexpl_use=yes
57854 else
57855 echo "$as_me: failed program was:" >&5
57856 sed 's/^/| /' conftest.$ac_ext >&5
57858 glibcxx_cv_func_ldexpl_use=no
57860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57861 ac_ext=c
57862 ac_cpp='$CPP $CPPFLAGS'
57863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57871 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
57872 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
57874 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57876 for ac_func in ldexpl
57878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57879 echo "$as_me:$LINENO: checking for $ac_func" >&5
57880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57881 if eval "test \"\${$as_ac_var+set}\" = set"; then
57882 echo $ECHO_N "(cached) $ECHO_C" >&6
57883 else
57884 if test x$gcc_no_link = xyes; then
57885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57887 { (exit 1); exit 1; }; }
57889 cat >conftest.$ac_ext <<_ACEOF
57890 /* confdefs.h. */
57891 _ACEOF
57892 cat confdefs.h >>conftest.$ac_ext
57893 cat >>conftest.$ac_ext <<_ACEOF
57894 /* end confdefs.h. */
57895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57897 #define $ac_func innocuous_$ac_func
57899 /* System header to define __stub macros and hopefully few prototypes,
57900 which can conflict with char $ac_func (); below.
57901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57902 <limits.h> exists even on freestanding compilers. */
57904 #ifdef __STDC__
57905 # include <limits.h>
57906 #else
57907 # include <assert.h>
57908 #endif
57910 #undef $ac_func
57912 /* Override any gcc2 internal prototype to avoid an error. */
57913 #ifdef __cplusplus
57914 extern "C"
57916 #endif
57917 /* We use char because int might match the return type of a gcc2
57918 builtin and then its argument prototype would still apply. */
57919 char $ac_func ();
57920 /* The GNU C library defines this for functions which it implements
57921 to always fail with ENOSYS. Some functions are actually named
57922 something starting with __ and the normal name is an alias. */
57923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57924 choke me
57925 #else
57926 char (*f) () = $ac_func;
57927 #endif
57928 #ifdef __cplusplus
57930 #endif
57933 main ()
57935 return f != $ac_func;
57937 return 0;
57939 _ACEOF
57940 rm -f conftest.$ac_objext conftest$ac_exeext
57941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57942 (eval $ac_link) 2>conftest.er1
57943 ac_status=$?
57944 grep -v '^ *+' conftest.er1 >conftest.err
57945 rm -f conftest.er1
57946 cat conftest.err >&5
57947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57948 (exit $ac_status); } &&
57949 { ac_try='test -z "$ac_c_werror_flag"
57950 || test ! -s conftest.err'
57951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57952 (eval $ac_try) 2>&5
57953 ac_status=$?
57954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57955 (exit $ac_status); }; } &&
57956 { ac_try='test -s conftest$ac_exeext'
57957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57958 (eval $ac_try) 2>&5
57959 ac_status=$?
57960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57961 (exit $ac_status); }; }; then
57962 eval "$as_ac_var=yes"
57963 else
57964 echo "$as_me: failed program was:" >&5
57965 sed 's/^/| /' conftest.$ac_ext >&5
57967 eval "$as_ac_var=no"
57969 rm -f conftest.err conftest.$ac_objext \
57970 conftest$ac_exeext conftest.$ac_ext
57972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57974 if test `eval echo '${'$as_ac_var'}'` = yes; then
57975 cat >>confdefs.h <<_ACEOF
57976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57977 _ACEOF
57980 done
57982 else
57984 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
57985 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
57986 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57987 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
57988 echo $ECHO_N "(cached) $ECHO_C" >&6
57989 else
57993 ac_ext=cc
57994 ac_cpp='$CXXCPP $CPPFLAGS'
57995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57999 cat >conftest.$ac_ext <<_ACEOF
58000 /* confdefs.h. */
58001 _ACEOF
58002 cat confdefs.h >>conftest.$ac_ext
58003 cat >>conftest.$ac_ext <<_ACEOF
58004 /* end confdefs.h. */
58005 #include <math.h>
58007 main ()
58009 _ldexpl(0, 0);
58011 return 0;
58013 _ACEOF
58014 rm -f conftest.$ac_objext
58015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58016 (eval $ac_compile) 2>conftest.er1
58017 ac_status=$?
58018 grep -v '^ *+' conftest.er1 >conftest.err
58019 rm -f conftest.er1
58020 cat conftest.err >&5
58021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58022 (exit $ac_status); } &&
58023 { ac_try='test -z "$ac_cxx_werror_flag"
58024 || test ! -s conftest.err'
58025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58026 (eval $ac_try) 2>&5
58027 ac_status=$?
58028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58029 (exit $ac_status); }; } &&
58030 { ac_try='test -s conftest.$ac_objext'
58031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58032 (eval $ac_try) 2>&5
58033 ac_status=$?
58034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58035 (exit $ac_status); }; }; then
58036 glibcxx_cv_func__ldexpl_use=yes
58037 else
58038 echo "$as_me: failed program was:" >&5
58039 sed 's/^/| /' conftest.$ac_ext >&5
58041 glibcxx_cv_func__ldexpl_use=no
58043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58044 ac_ext=c
58045 ac_cpp='$CPP $CPPFLAGS'
58046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58054 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
58055 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
58057 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58059 for ac_func in _ldexpl
58061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58062 echo "$as_me:$LINENO: checking for $ac_func" >&5
58063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58064 if eval "test \"\${$as_ac_var+set}\" = set"; then
58065 echo $ECHO_N "(cached) $ECHO_C" >&6
58066 else
58067 if test x$gcc_no_link = xyes; then
58068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58070 { (exit 1); exit 1; }; }
58072 cat >conftest.$ac_ext <<_ACEOF
58073 /* confdefs.h. */
58074 _ACEOF
58075 cat confdefs.h >>conftest.$ac_ext
58076 cat >>conftest.$ac_ext <<_ACEOF
58077 /* end confdefs.h. */
58078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58080 #define $ac_func innocuous_$ac_func
58082 /* System header to define __stub macros and hopefully few prototypes,
58083 which can conflict with char $ac_func (); below.
58084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58085 <limits.h> exists even on freestanding compilers. */
58087 #ifdef __STDC__
58088 # include <limits.h>
58089 #else
58090 # include <assert.h>
58091 #endif
58093 #undef $ac_func
58095 /* Override any gcc2 internal prototype to avoid an error. */
58096 #ifdef __cplusplus
58097 extern "C"
58099 #endif
58100 /* We use char because int might match the return type of a gcc2
58101 builtin and then its argument prototype would still apply. */
58102 char $ac_func ();
58103 /* The GNU C library defines this for functions which it implements
58104 to always fail with ENOSYS. Some functions are actually named
58105 something starting with __ and the normal name is an alias. */
58106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58107 choke me
58108 #else
58109 char (*f) () = $ac_func;
58110 #endif
58111 #ifdef __cplusplus
58113 #endif
58116 main ()
58118 return f != $ac_func;
58120 return 0;
58122 _ACEOF
58123 rm -f conftest.$ac_objext conftest$ac_exeext
58124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58125 (eval $ac_link) 2>conftest.er1
58126 ac_status=$?
58127 grep -v '^ *+' conftest.er1 >conftest.err
58128 rm -f conftest.er1
58129 cat conftest.err >&5
58130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58131 (exit $ac_status); } &&
58132 { ac_try='test -z "$ac_c_werror_flag"
58133 || test ! -s conftest.err'
58134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58135 (eval $ac_try) 2>&5
58136 ac_status=$?
58137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58138 (exit $ac_status); }; } &&
58139 { ac_try='test -s conftest$ac_exeext'
58140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58141 (eval $ac_try) 2>&5
58142 ac_status=$?
58143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58144 (exit $ac_status); }; }; then
58145 eval "$as_ac_var=yes"
58146 else
58147 echo "$as_me: failed program was:" >&5
58148 sed 's/^/| /' conftest.$ac_ext >&5
58150 eval "$as_ac_var=no"
58152 rm -f conftest.err conftest.$ac_objext \
58153 conftest$ac_exeext conftest.$ac_ext
58155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58157 if test `eval echo '${'$as_ac_var'}'` = yes; then
58158 cat >>confdefs.h <<_ACEOF
58159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58160 _ACEOF
58163 done
58173 echo "$as_me:$LINENO: checking for logl declaration" >&5
58174 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
58175 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58176 if test "${glibcxx_cv_func_logl_use+set}" = set; then
58177 echo $ECHO_N "(cached) $ECHO_C" >&6
58178 else
58182 ac_ext=cc
58183 ac_cpp='$CXXCPP $CPPFLAGS'
58184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58188 cat >conftest.$ac_ext <<_ACEOF
58189 /* confdefs.h. */
58190 _ACEOF
58191 cat confdefs.h >>conftest.$ac_ext
58192 cat >>conftest.$ac_ext <<_ACEOF
58193 /* end confdefs.h. */
58194 #include <math.h>
58195 #ifdef HAVE_IEEEFP_H
58196 #include <ieeefp.h>
58197 #endif
58200 main ()
58202 logl(0);
58204 return 0;
58206 _ACEOF
58207 rm -f conftest.$ac_objext
58208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58209 (eval $ac_compile) 2>conftest.er1
58210 ac_status=$?
58211 grep -v '^ *+' conftest.er1 >conftest.err
58212 rm -f conftest.er1
58213 cat conftest.err >&5
58214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58215 (exit $ac_status); } &&
58216 { ac_try='test -z "$ac_cxx_werror_flag"
58217 || test ! -s conftest.err'
58218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58219 (eval $ac_try) 2>&5
58220 ac_status=$?
58221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58222 (exit $ac_status); }; } &&
58223 { ac_try='test -s conftest.$ac_objext'
58224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58225 (eval $ac_try) 2>&5
58226 ac_status=$?
58227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58228 (exit $ac_status); }; }; then
58229 glibcxx_cv_func_logl_use=yes
58230 else
58231 echo "$as_me: failed program was:" >&5
58232 sed 's/^/| /' conftest.$ac_ext >&5
58234 glibcxx_cv_func_logl_use=no
58236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58237 ac_ext=c
58238 ac_cpp='$CPP $CPPFLAGS'
58239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58247 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
58248 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
58250 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58252 for ac_func in logl
58254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58255 echo "$as_me:$LINENO: checking for $ac_func" >&5
58256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58257 if eval "test \"\${$as_ac_var+set}\" = set"; then
58258 echo $ECHO_N "(cached) $ECHO_C" >&6
58259 else
58260 if test x$gcc_no_link = xyes; then
58261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58263 { (exit 1); exit 1; }; }
58265 cat >conftest.$ac_ext <<_ACEOF
58266 /* confdefs.h. */
58267 _ACEOF
58268 cat confdefs.h >>conftest.$ac_ext
58269 cat >>conftest.$ac_ext <<_ACEOF
58270 /* end confdefs.h. */
58271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58273 #define $ac_func innocuous_$ac_func
58275 /* System header to define __stub macros and hopefully few prototypes,
58276 which can conflict with char $ac_func (); below.
58277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58278 <limits.h> exists even on freestanding compilers. */
58280 #ifdef __STDC__
58281 # include <limits.h>
58282 #else
58283 # include <assert.h>
58284 #endif
58286 #undef $ac_func
58288 /* Override any gcc2 internal prototype to avoid an error. */
58289 #ifdef __cplusplus
58290 extern "C"
58292 #endif
58293 /* We use char because int might match the return type of a gcc2
58294 builtin and then its argument prototype would still apply. */
58295 char $ac_func ();
58296 /* The GNU C library defines this for functions which it implements
58297 to always fail with ENOSYS. Some functions are actually named
58298 something starting with __ and the normal name is an alias. */
58299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58300 choke me
58301 #else
58302 char (*f) () = $ac_func;
58303 #endif
58304 #ifdef __cplusplus
58306 #endif
58309 main ()
58311 return f != $ac_func;
58313 return 0;
58315 _ACEOF
58316 rm -f conftest.$ac_objext conftest$ac_exeext
58317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58318 (eval $ac_link) 2>conftest.er1
58319 ac_status=$?
58320 grep -v '^ *+' conftest.er1 >conftest.err
58321 rm -f conftest.er1
58322 cat conftest.err >&5
58323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58324 (exit $ac_status); } &&
58325 { ac_try='test -z "$ac_c_werror_flag"
58326 || test ! -s conftest.err'
58327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58328 (eval $ac_try) 2>&5
58329 ac_status=$?
58330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58331 (exit $ac_status); }; } &&
58332 { ac_try='test -s conftest$ac_exeext'
58333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58334 (eval $ac_try) 2>&5
58335 ac_status=$?
58336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58337 (exit $ac_status); }; }; then
58338 eval "$as_ac_var=yes"
58339 else
58340 echo "$as_me: failed program was:" >&5
58341 sed 's/^/| /' conftest.$ac_ext >&5
58343 eval "$as_ac_var=no"
58345 rm -f conftest.err conftest.$ac_objext \
58346 conftest$ac_exeext conftest.$ac_ext
58348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58350 if test `eval echo '${'$as_ac_var'}'` = yes; then
58351 cat >>confdefs.h <<_ACEOF
58352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58353 _ACEOF
58356 done
58358 else
58360 echo "$as_me:$LINENO: checking for _logl declaration" >&5
58361 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
58362 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58363 if test "${glibcxx_cv_func__logl_use+set}" = set; then
58364 echo $ECHO_N "(cached) $ECHO_C" >&6
58365 else
58369 ac_ext=cc
58370 ac_cpp='$CXXCPP $CPPFLAGS'
58371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58375 cat >conftest.$ac_ext <<_ACEOF
58376 /* confdefs.h. */
58377 _ACEOF
58378 cat confdefs.h >>conftest.$ac_ext
58379 cat >>conftest.$ac_ext <<_ACEOF
58380 /* end confdefs.h. */
58381 #include <math.h>
58382 #ifdef HAVE_IEEEFP_H
58383 #include <ieeefp.h>
58384 #endif
58387 main ()
58389 _logl(0);
58391 return 0;
58393 _ACEOF
58394 rm -f conftest.$ac_objext
58395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58396 (eval $ac_compile) 2>conftest.er1
58397 ac_status=$?
58398 grep -v '^ *+' conftest.er1 >conftest.err
58399 rm -f conftest.er1
58400 cat conftest.err >&5
58401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58402 (exit $ac_status); } &&
58403 { ac_try='test -z "$ac_cxx_werror_flag"
58404 || test ! -s conftest.err'
58405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58406 (eval $ac_try) 2>&5
58407 ac_status=$?
58408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58409 (exit $ac_status); }; } &&
58410 { ac_try='test -s conftest.$ac_objext'
58411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58412 (eval $ac_try) 2>&5
58413 ac_status=$?
58414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58415 (exit $ac_status); }; }; then
58416 glibcxx_cv_func__logl_use=yes
58417 else
58418 echo "$as_me: failed program was:" >&5
58419 sed 's/^/| /' conftest.$ac_ext >&5
58421 glibcxx_cv_func__logl_use=no
58423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58424 ac_ext=c
58425 ac_cpp='$CPP $CPPFLAGS'
58426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58434 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
58435 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
58437 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58439 for ac_func in _logl
58441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58442 echo "$as_me:$LINENO: checking for $ac_func" >&5
58443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58444 if eval "test \"\${$as_ac_var+set}\" = set"; then
58445 echo $ECHO_N "(cached) $ECHO_C" >&6
58446 else
58447 if test x$gcc_no_link = xyes; then
58448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58450 { (exit 1); exit 1; }; }
58452 cat >conftest.$ac_ext <<_ACEOF
58453 /* confdefs.h. */
58454 _ACEOF
58455 cat confdefs.h >>conftest.$ac_ext
58456 cat >>conftest.$ac_ext <<_ACEOF
58457 /* end confdefs.h. */
58458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58460 #define $ac_func innocuous_$ac_func
58462 /* System header to define __stub macros and hopefully few prototypes,
58463 which can conflict with char $ac_func (); below.
58464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58465 <limits.h> exists even on freestanding compilers. */
58467 #ifdef __STDC__
58468 # include <limits.h>
58469 #else
58470 # include <assert.h>
58471 #endif
58473 #undef $ac_func
58475 /* Override any gcc2 internal prototype to avoid an error. */
58476 #ifdef __cplusplus
58477 extern "C"
58479 #endif
58480 /* We use char because int might match the return type of a gcc2
58481 builtin and then its argument prototype would still apply. */
58482 char $ac_func ();
58483 /* The GNU C library defines this for functions which it implements
58484 to always fail with ENOSYS. Some functions are actually named
58485 something starting with __ and the normal name is an alias. */
58486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58487 choke me
58488 #else
58489 char (*f) () = $ac_func;
58490 #endif
58491 #ifdef __cplusplus
58493 #endif
58496 main ()
58498 return f != $ac_func;
58500 return 0;
58502 _ACEOF
58503 rm -f conftest.$ac_objext conftest$ac_exeext
58504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58505 (eval $ac_link) 2>conftest.er1
58506 ac_status=$?
58507 grep -v '^ *+' conftest.er1 >conftest.err
58508 rm -f conftest.er1
58509 cat conftest.err >&5
58510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58511 (exit $ac_status); } &&
58512 { ac_try='test -z "$ac_c_werror_flag"
58513 || test ! -s conftest.err'
58514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58515 (eval $ac_try) 2>&5
58516 ac_status=$?
58517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58518 (exit $ac_status); }; } &&
58519 { ac_try='test -s conftest$ac_exeext'
58520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58521 (eval $ac_try) 2>&5
58522 ac_status=$?
58523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58524 (exit $ac_status); }; }; then
58525 eval "$as_ac_var=yes"
58526 else
58527 echo "$as_me: failed program was:" >&5
58528 sed 's/^/| /' conftest.$ac_ext >&5
58530 eval "$as_ac_var=no"
58532 rm -f conftest.err conftest.$ac_objext \
58533 conftest$ac_exeext conftest.$ac_ext
58535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58537 if test `eval echo '${'$as_ac_var'}'` = yes; then
58538 cat >>confdefs.h <<_ACEOF
58539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58540 _ACEOF
58543 done
58553 echo "$as_me:$LINENO: checking for log10l declaration" >&5
58554 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
58555 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58556 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
58557 echo $ECHO_N "(cached) $ECHO_C" >&6
58558 else
58562 ac_ext=cc
58563 ac_cpp='$CXXCPP $CPPFLAGS'
58564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58568 cat >conftest.$ac_ext <<_ACEOF
58569 /* confdefs.h. */
58570 _ACEOF
58571 cat confdefs.h >>conftest.$ac_ext
58572 cat >>conftest.$ac_ext <<_ACEOF
58573 /* end confdefs.h. */
58574 #include <math.h>
58575 #ifdef HAVE_IEEEFP_H
58576 #include <ieeefp.h>
58577 #endif
58580 main ()
58582 log10l(0);
58584 return 0;
58586 _ACEOF
58587 rm -f conftest.$ac_objext
58588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58589 (eval $ac_compile) 2>conftest.er1
58590 ac_status=$?
58591 grep -v '^ *+' conftest.er1 >conftest.err
58592 rm -f conftest.er1
58593 cat conftest.err >&5
58594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58595 (exit $ac_status); } &&
58596 { ac_try='test -z "$ac_cxx_werror_flag"
58597 || test ! -s conftest.err'
58598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58599 (eval $ac_try) 2>&5
58600 ac_status=$?
58601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58602 (exit $ac_status); }; } &&
58603 { ac_try='test -s conftest.$ac_objext'
58604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58605 (eval $ac_try) 2>&5
58606 ac_status=$?
58607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58608 (exit $ac_status); }; }; then
58609 glibcxx_cv_func_log10l_use=yes
58610 else
58611 echo "$as_me: failed program was:" >&5
58612 sed 's/^/| /' conftest.$ac_ext >&5
58614 glibcxx_cv_func_log10l_use=no
58616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58617 ac_ext=c
58618 ac_cpp='$CPP $CPPFLAGS'
58619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58627 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
58628 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
58630 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58632 for ac_func in log10l
58634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58635 echo "$as_me:$LINENO: checking for $ac_func" >&5
58636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58637 if eval "test \"\${$as_ac_var+set}\" = set"; then
58638 echo $ECHO_N "(cached) $ECHO_C" >&6
58639 else
58640 if test x$gcc_no_link = xyes; then
58641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58643 { (exit 1); exit 1; }; }
58645 cat >conftest.$ac_ext <<_ACEOF
58646 /* confdefs.h. */
58647 _ACEOF
58648 cat confdefs.h >>conftest.$ac_ext
58649 cat >>conftest.$ac_ext <<_ACEOF
58650 /* end confdefs.h. */
58651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58653 #define $ac_func innocuous_$ac_func
58655 /* System header to define __stub macros and hopefully few prototypes,
58656 which can conflict with char $ac_func (); below.
58657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58658 <limits.h> exists even on freestanding compilers. */
58660 #ifdef __STDC__
58661 # include <limits.h>
58662 #else
58663 # include <assert.h>
58664 #endif
58666 #undef $ac_func
58668 /* Override any gcc2 internal prototype to avoid an error. */
58669 #ifdef __cplusplus
58670 extern "C"
58672 #endif
58673 /* We use char because int might match the return type of a gcc2
58674 builtin and then its argument prototype would still apply. */
58675 char $ac_func ();
58676 /* The GNU C library defines this for functions which it implements
58677 to always fail with ENOSYS. Some functions are actually named
58678 something starting with __ and the normal name is an alias. */
58679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58680 choke me
58681 #else
58682 char (*f) () = $ac_func;
58683 #endif
58684 #ifdef __cplusplus
58686 #endif
58689 main ()
58691 return f != $ac_func;
58693 return 0;
58695 _ACEOF
58696 rm -f conftest.$ac_objext conftest$ac_exeext
58697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58698 (eval $ac_link) 2>conftest.er1
58699 ac_status=$?
58700 grep -v '^ *+' conftest.er1 >conftest.err
58701 rm -f conftest.er1
58702 cat conftest.err >&5
58703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58704 (exit $ac_status); } &&
58705 { ac_try='test -z "$ac_c_werror_flag"
58706 || test ! -s conftest.err'
58707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58708 (eval $ac_try) 2>&5
58709 ac_status=$?
58710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58711 (exit $ac_status); }; } &&
58712 { ac_try='test -s conftest$ac_exeext'
58713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58714 (eval $ac_try) 2>&5
58715 ac_status=$?
58716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58717 (exit $ac_status); }; }; then
58718 eval "$as_ac_var=yes"
58719 else
58720 echo "$as_me: failed program was:" >&5
58721 sed 's/^/| /' conftest.$ac_ext >&5
58723 eval "$as_ac_var=no"
58725 rm -f conftest.err conftest.$ac_objext \
58726 conftest$ac_exeext conftest.$ac_ext
58728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58730 if test `eval echo '${'$as_ac_var'}'` = yes; then
58731 cat >>confdefs.h <<_ACEOF
58732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58733 _ACEOF
58736 done
58738 else
58740 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
58741 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
58742 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58743 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
58744 echo $ECHO_N "(cached) $ECHO_C" >&6
58745 else
58749 ac_ext=cc
58750 ac_cpp='$CXXCPP $CPPFLAGS'
58751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58755 cat >conftest.$ac_ext <<_ACEOF
58756 /* confdefs.h. */
58757 _ACEOF
58758 cat confdefs.h >>conftest.$ac_ext
58759 cat >>conftest.$ac_ext <<_ACEOF
58760 /* end confdefs.h. */
58761 #include <math.h>
58762 #ifdef HAVE_IEEEFP_H
58763 #include <ieeefp.h>
58764 #endif
58767 main ()
58769 _log10l(0);
58771 return 0;
58773 _ACEOF
58774 rm -f conftest.$ac_objext
58775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58776 (eval $ac_compile) 2>conftest.er1
58777 ac_status=$?
58778 grep -v '^ *+' conftest.er1 >conftest.err
58779 rm -f conftest.er1
58780 cat conftest.err >&5
58781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58782 (exit $ac_status); } &&
58783 { ac_try='test -z "$ac_cxx_werror_flag"
58784 || test ! -s conftest.err'
58785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58786 (eval $ac_try) 2>&5
58787 ac_status=$?
58788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58789 (exit $ac_status); }; } &&
58790 { ac_try='test -s conftest.$ac_objext'
58791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58792 (eval $ac_try) 2>&5
58793 ac_status=$?
58794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58795 (exit $ac_status); }; }; then
58796 glibcxx_cv_func__log10l_use=yes
58797 else
58798 echo "$as_me: failed program was:" >&5
58799 sed 's/^/| /' conftest.$ac_ext >&5
58801 glibcxx_cv_func__log10l_use=no
58803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58804 ac_ext=c
58805 ac_cpp='$CPP $CPPFLAGS'
58806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58814 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
58815 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
58817 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58819 for ac_func in _log10l
58821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58822 echo "$as_me:$LINENO: checking for $ac_func" >&5
58823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58824 if eval "test \"\${$as_ac_var+set}\" = set"; then
58825 echo $ECHO_N "(cached) $ECHO_C" >&6
58826 else
58827 if test x$gcc_no_link = xyes; then
58828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58830 { (exit 1); exit 1; }; }
58832 cat >conftest.$ac_ext <<_ACEOF
58833 /* confdefs.h. */
58834 _ACEOF
58835 cat confdefs.h >>conftest.$ac_ext
58836 cat >>conftest.$ac_ext <<_ACEOF
58837 /* end confdefs.h. */
58838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58840 #define $ac_func innocuous_$ac_func
58842 /* System header to define __stub macros and hopefully few prototypes,
58843 which can conflict with char $ac_func (); below.
58844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58845 <limits.h> exists even on freestanding compilers. */
58847 #ifdef __STDC__
58848 # include <limits.h>
58849 #else
58850 # include <assert.h>
58851 #endif
58853 #undef $ac_func
58855 /* Override any gcc2 internal prototype to avoid an error. */
58856 #ifdef __cplusplus
58857 extern "C"
58859 #endif
58860 /* We use char because int might match the return type of a gcc2
58861 builtin and then its argument prototype would still apply. */
58862 char $ac_func ();
58863 /* The GNU C library defines this for functions which it implements
58864 to always fail with ENOSYS. Some functions are actually named
58865 something starting with __ and the normal name is an alias. */
58866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58867 choke me
58868 #else
58869 char (*f) () = $ac_func;
58870 #endif
58871 #ifdef __cplusplus
58873 #endif
58876 main ()
58878 return f != $ac_func;
58880 return 0;
58882 _ACEOF
58883 rm -f conftest.$ac_objext conftest$ac_exeext
58884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58885 (eval $ac_link) 2>conftest.er1
58886 ac_status=$?
58887 grep -v '^ *+' conftest.er1 >conftest.err
58888 rm -f conftest.er1
58889 cat conftest.err >&5
58890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58891 (exit $ac_status); } &&
58892 { ac_try='test -z "$ac_c_werror_flag"
58893 || test ! -s conftest.err'
58894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58895 (eval $ac_try) 2>&5
58896 ac_status=$?
58897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58898 (exit $ac_status); }; } &&
58899 { ac_try='test -s conftest$ac_exeext'
58900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58901 (eval $ac_try) 2>&5
58902 ac_status=$?
58903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58904 (exit $ac_status); }; }; then
58905 eval "$as_ac_var=yes"
58906 else
58907 echo "$as_me: failed program was:" >&5
58908 sed 's/^/| /' conftest.$ac_ext >&5
58910 eval "$as_ac_var=no"
58912 rm -f conftest.err conftest.$ac_objext \
58913 conftest$ac_exeext conftest.$ac_ext
58915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58917 if test `eval echo '${'$as_ac_var'}'` = yes; then
58918 cat >>confdefs.h <<_ACEOF
58919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58920 _ACEOF
58923 done
58933 echo "$as_me:$LINENO: checking for modfl declaration" >&5
58934 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
58935 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58936 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
58937 echo $ECHO_N "(cached) $ECHO_C" >&6
58938 else
58942 ac_ext=cc
58943 ac_cpp='$CXXCPP $CPPFLAGS'
58944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58948 cat >conftest.$ac_ext <<_ACEOF
58949 /* confdefs.h. */
58950 _ACEOF
58951 cat confdefs.h >>conftest.$ac_ext
58952 cat >>conftest.$ac_ext <<_ACEOF
58953 /* end confdefs.h. */
58954 #include <math.h>
58956 main ()
58958 modfl(0, 0);
58960 return 0;
58962 _ACEOF
58963 rm -f conftest.$ac_objext
58964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58965 (eval $ac_compile) 2>conftest.er1
58966 ac_status=$?
58967 grep -v '^ *+' conftest.er1 >conftest.err
58968 rm -f conftest.er1
58969 cat conftest.err >&5
58970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58971 (exit $ac_status); } &&
58972 { ac_try='test -z "$ac_cxx_werror_flag"
58973 || test ! -s conftest.err'
58974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58975 (eval $ac_try) 2>&5
58976 ac_status=$?
58977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58978 (exit $ac_status); }; } &&
58979 { ac_try='test -s conftest.$ac_objext'
58980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58981 (eval $ac_try) 2>&5
58982 ac_status=$?
58983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58984 (exit $ac_status); }; }; then
58985 glibcxx_cv_func_modfl_use=yes
58986 else
58987 echo "$as_me: failed program was:" >&5
58988 sed 's/^/| /' conftest.$ac_ext >&5
58990 glibcxx_cv_func_modfl_use=no
58992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58993 ac_ext=c
58994 ac_cpp='$CPP $CPPFLAGS'
58995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59003 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
59004 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
59006 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59008 for ac_func in modfl
59010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59011 echo "$as_me:$LINENO: checking for $ac_func" >&5
59012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59013 if eval "test \"\${$as_ac_var+set}\" = set"; then
59014 echo $ECHO_N "(cached) $ECHO_C" >&6
59015 else
59016 if test x$gcc_no_link = xyes; then
59017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59019 { (exit 1); exit 1; }; }
59021 cat >conftest.$ac_ext <<_ACEOF
59022 /* confdefs.h. */
59023 _ACEOF
59024 cat confdefs.h >>conftest.$ac_ext
59025 cat >>conftest.$ac_ext <<_ACEOF
59026 /* end confdefs.h. */
59027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59029 #define $ac_func innocuous_$ac_func
59031 /* System header to define __stub macros and hopefully few prototypes,
59032 which can conflict with char $ac_func (); below.
59033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59034 <limits.h> exists even on freestanding compilers. */
59036 #ifdef __STDC__
59037 # include <limits.h>
59038 #else
59039 # include <assert.h>
59040 #endif
59042 #undef $ac_func
59044 /* Override any gcc2 internal prototype to avoid an error. */
59045 #ifdef __cplusplus
59046 extern "C"
59048 #endif
59049 /* We use char because int might match the return type of a gcc2
59050 builtin and then its argument prototype would still apply. */
59051 char $ac_func ();
59052 /* The GNU C library defines this for functions which it implements
59053 to always fail with ENOSYS. Some functions are actually named
59054 something starting with __ and the normal name is an alias. */
59055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59056 choke me
59057 #else
59058 char (*f) () = $ac_func;
59059 #endif
59060 #ifdef __cplusplus
59062 #endif
59065 main ()
59067 return f != $ac_func;
59069 return 0;
59071 _ACEOF
59072 rm -f conftest.$ac_objext conftest$ac_exeext
59073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59074 (eval $ac_link) 2>conftest.er1
59075 ac_status=$?
59076 grep -v '^ *+' conftest.er1 >conftest.err
59077 rm -f conftest.er1
59078 cat conftest.err >&5
59079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59080 (exit $ac_status); } &&
59081 { ac_try='test -z "$ac_c_werror_flag"
59082 || test ! -s conftest.err'
59083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59084 (eval $ac_try) 2>&5
59085 ac_status=$?
59086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59087 (exit $ac_status); }; } &&
59088 { ac_try='test -s conftest$ac_exeext'
59089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59090 (eval $ac_try) 2>&5
59091 ac_status=$?
59092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59093 (exit $ac_status); }; }; then
59094 eval "$as_ac_var=yes"
59095 else
59096 echo "$as_me: failed program was:" >&5
59097 sed 's/^/| /' conftest.$ac_ext >&5
59099 eval "$as_ac_var=no"
59101 rm -f conftest.err conftest.$ac_objext \
59102 conftest$ac_exeext conftest.$ac_ext
59104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59106 if test `eval echo '${'$as_ac_var'}'` = yes; then
59107 cat >>confdefs.h <<_ACEOF
59108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59109 _ACEOF
59112 done
59114 else
59116 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
59117 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
59118 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59119 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
59120 echo $ECHO_N "(cached) $ECHO_C" >&6
59121 else
59125 ac_ext=cc
59126 ac_cpp='$CXXCPP $CPPFLAGS'
59127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59131 cat >conftest.$ac_ext <<_ACEOF
59132 /* confdefs.h. */
59133 _ACEOF
59134 cat confdefs.h >>conftest.$ac_ext
59135 cat >>conftest.$ac_ext <<_ACEOF
59136 /* end confdefs.h. */
59137 #include <math.h>
59139 main ()
59141 _modfl(0, 0);
59143 return 0;
59145 _ACEOF
59146 rm -f conftest.$ac_objext
59147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59148 (eval $ac_compile) 2>conftest.er1
59149 ac_status=$?
59150 grep -v '^ *+' conftest.er1 >conftest.err
59151 rm -f conftest.er1
59152 cat conftest.err >&5
59153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59154 (exit $ac_status); } &&
59155 { ac_try='test -z "$ac_cxx_werror_flag"
59156 || test ! -s conftest.err'
59157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59158 (eval $ac_try) 2>&5
59159 ac_status=$?
59160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59161 (exit $ac_status); }; } &&
59162 { ac_try='test -s conftest.$ac_objext'
59163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59164 (eval $ac_try) 2>&5
59165 ac_status=$?
59166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59167 (exit $ac_status); }; }; then
59168 glibcxx_cv_func__modfl_use=yes
59169 else
59170 echo "$as_me: failed program was:" >&5
59171 sed 's/^/| /' conftest.$ac_ext >&5
59173 glibcxx_cv_func__modfl_use=no
59175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59176 ac_ext=c
59177 ac_cpp='$CPP $CPPFLAGS'
59178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59186 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
59187 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
59189 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59191 for ac_func in _modfl
59193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59194 echo "$as_me:$LINENO: checking for $ac_func" >&5
59195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59196 if eval "test \"\${$as_ac_var+set}\" = set"; then
59197 echo $ECHO_N "(cached) $ECHO_C" >&6
59198 else
59199 if test x$gcc_no_link = xyes; then
59200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59202 { (exit 1); exit 1; }; }
59204 cat >conftest.$ac_ext <<_ACEOF
59205 /* confdefs.h. */
59206 _ACEOF
59207 cat confdefs.h >>conftest.$ac_ext
59208 cat >>conftest.$ac_ext <<_ACEOF
59209 /* end confdefs.h. */
59210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59212 #define $ac_func innocuous_$ac_func
59214 /* System header to define __stub macros and hopefully few prototypes,
59215 which can conflict with char $ac_func (); below.
59216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59217 <limits.h> exists even on freestanding compilers. */
59219 #ifdef __STDC__
59220 # include <limits.h>
59221 #else
59222 # include <assert.h>
59223 #endif
59225 #undef $ac_func
59227 /* Override any gcc2 internal prototype to avoid an error. */
59228 #ifdef __cplusplus
59229 extern "C"
59231 #endif
59232 /* We use char because int might match the return type of a gcc2
59233 builtin and then its argument prototype would still apply. */
59234 char $ac_func ();
59235 /* The GNU C library defines this for functions which it implements
59236 to always fail with ENOSYS. Some functions are actually named
59237 something starting with __ and the normal name is an alias. */
59238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59239 choke me
59240 #else
59241 char (*f) () = $ac_func;
59242 #endif
59243 #ifdef __cplusplus
59245 #endif
59248 main ()
59250 return f != $ac_func;
59252 return 0;
59254 _ACEOF
59255 rm -f conftest.$ac_objext conftest$ac_exeext
59256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59257 (eval $ac_link) 2>conftest.er1
59258 ac_status=$?
59259 grep -v '^ *+' conftest.er1 >conftest.err
59260 rm -f conftest.er1
59261 cat conftest.err >&5
59262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59263 (exit $ac_status); } &&
59264 { ac_try='test -z "$ac_c_werror_flag"
59265 || test ! -s conftest.err'
59266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59267 (eval $ac_try) 2>&5
59268 ac_status=$?
59269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59270 (exit $ac_status); }; } &&
59271 { ac_try='test -s conftest$ac_exeext'
59272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59273 (eval $ac_try) 2>&5
59274 ac_status=$?
59275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59276 (exit $ac_status); }; }; then
59277 eval "$as_ac_var=yes"
59278 else
59279 echo "$as_me: failed program was:" >&5
59280 sed 's/^/| /' conftest.$ac_ext >&5
59282 eval "$as_ac_var=no"
59284 rm -f conftest.err conftest.$ac_objext \
59285 conftest$ac_exeext conftest.$ac_ext
59287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59289 if test `eval echo '${'$as_ac_var'}'` = yes; then
59290 cat >>confdefs.h <<_ACEOF
59291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59292 _ACEOF
59295 done
59305 echo "$as_me:$LINENO: checking for powl declaration" >&5
59306 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
59307 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59308 if test "${glibcxx_cv_func_powl_use+set}" = set; then
59309 echo $ECHO_N "(cached) $ECHO_C" >&6
59310 else
59314 ac_ext=cc
59315 ac_cpp='$CXXCPP $CPPFLAGS'
59316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59320 cat >conftest.$ac_ext <<_ACEOF
59321 /* confdefs.h. */
59322 _ACEOF
59323 cat confdefs.h >>conftest.$ac_ext
59324 cat >>conftest.$ac_ext <<_ACEOF
59325 /* end confdefs.h. */
59326 #include <math.h>
59328 main ()
59330 powl(0, 0);
59332 return 0;
59334 _ACEOF
59335 rm -f conftest.$ac_objext
59336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59337 (eval $ac_compile) 2>conftest.er1
59338 ac_status=$?
59339 grep -v '^ *+' conftest.er1 >conftest.err
59340 rm -f conftest.er1
59341 cat conftest.err >&5
59342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59343 (exit $ac_status); } &&
59344 { ac_try='test -z "$ac_cxx_werror_flag"
59345 || test ! -s conftest.err'
59346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59347 (eval $ac_try) 2>&5
59348 ac_status=$?
59349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59350 (exit $ac_status); }; } &&
59351 { ac_try='test -s conftest.$ac_objext'
59352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59353 (eval $ac_try) 2>&5
59354 ac_status=$?
59355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59356 (exit $ac_status); }; }; then
59357 glibcxx_cv_func_powl_use=yes
59358 else
59359 echo "$as_me: failed program was:" >&5
59360 sed 's/^/| /' conftest.$ac_ext >&5
59362 glibcxx_cv_func_powl_use=no
59364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59365 ac_ext=c
59366 ac_cpp='$CPP $CPPFLAGS'
59367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59375 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
59376 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
59378 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59380 for ac_func in powl
59382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59383 echo "$as_me:$LINENO: checking for $ac_func" >&5
59384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59385 if eval "test \"\${$as_ac_var+set}\" = set"; then
59386 echo $ECHO_N "(cached) $ECHO_C" >&6
59387 else
59388 if test x$gcc_no_link = xyes; then
59389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59391 { (exit 1); exit 1; }; }
59393 cat >conftest.$ac_ext <<_ACEOF
59394 /* confdefs.h. */
59395 _ACEOF
59396 cat confdefs.h >>conftest.$ac_ext
59397 cat >>conftest.$ac_ext <<_ACEOF
59398 /* end confdefs.h. */
59399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59401 #define $ac_func innocuous_$ac_func
59403 /* System header to define __stub macros and hopefully few prototypes,
59404 which can conflict with char $ac_func (); below.
59405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59406 <limits.h> exists even on freestanding compilers. */
59408 #ifdef __STDC__
59409 # include <limits.h>
59410 #else
59411 # include <assert.h>
59412 #endif
59414 #undef $ac_func
59416 /* Override any gcc2 internal prototype to avoid an error. */
59417 #ifdef __cplusplus
59418 extern "C"
59420 #endif
59421 /* We use char because int might match the return type of a gcc2
59422 builtin and then its argument prototype would still apply. */
59423 char $ac_func ();
59424 /* The GNU C library defines this for functions which it implements
59425 to always fail with ENOSYS. Some functions are actually named
59426 something starting with __ and the normal name is an alias. */
59427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59428 choke me
59429 #else
59430 char (*f) () = $ac_func;
59431 #endif
59432 #ifdef __cplusplus
59434 #endif
59437 main ()
59439 return f != $ac_func;
59441 return 0;
59443 _ACEOF
59444 rm -f conftest.$ac_objext conftest$ac_exeext
59445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59446 (eval $ac_link) 2>conftest.er1
59447 ac_status=$?
59448 grep -v '^ *+' conftest.er1 >conftest.err
59449 rm -f conftest.er1
59450 cat conftest.err >&5
59451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59452 (exit $ac_status); } &&
59453 { ac_try='test -z "$ac_c_werror_flag"
59454 || test ! -s conftest.err'
59455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59456 (eval $ac_try) 2>&5
59457 ac_status=$?
59458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59459 (exit $ac_status); }; } &&
59460 { ac_try='test -s conftest$ac_exeext'
59461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59462 (eval $ac_try) 2>&5
59463 ac_status=$?
59464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59465 (exit $ac_status); }; }; then
59466 eval "$as_ac_var=yes"
59467 else
59468 echo "$as_me: failed program was:" >&5
59469 sed 's/^/| /' conftest.$ac_ext >&5
59471 eval "$as_ac_var=no"
59473 rm -f conftest.err conftest.$ac_objext \
59474 conftest$ac_exeext conftest.$ac_ext
59476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59478 if test `eval echo '${'$as_ac_var'}'` = yes; then
59479 cat >>confdefs.h <<_ACEOF
59480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59481 _ACEOF
59484 done
59486 else
59488 echo "$as_me:$LINENO: checking for _powl declaration" >&5
59489 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
59490 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59491 if test "${glibcxx_cv_func__powl_use+set}" = set; then
59492 echo $ECHO_N "(cached) $ECHO_C" >&6
59493 else
59497 ac_ext=cc
59498 ac_cpp='$CXXCPP $CPPFLAGS'
59499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59503 cat >conftest.$ac_ext <<_ACEOF
59504 /* confdefs.h. */
59505 _ACEOF
59506 cat confdefs.h >>conftest.$ac_ext
59507 cat >>conftest.$ac_ext <<_ACEOF
59508 /* end confdefs.h. */
59509 #include <math.h>
59511 main ()
59513 _powl(0, 0);
59515 return 0;
59517 _ACEOF
59518 rm -f conftest.$ac_objext
59519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59520 (eval $ac_compile) 2>conftest.er1
59521 ac_status=$?
59522 grep -v '^ *+' conftest.er1 >conftest.err
59523 rm -f conftest.er1
59524 cat conftest.err >&5
59525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59526 (exit $ac_status); } &&
59527 { ac_try='test -z "$ac_cxx_werror_flag"
59528 || test ! -s conftest.err'
59529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59530 (eval $ac_try) 2>&5
59531 ac_status=$?
59532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59533 (exit $ac_status); }; } &&
59534 { ac_try='test -s conftest.$ac_objext'
59535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59536 (eval $ac_try) 2>&5
59537 ac_status=$?
59538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59539 (exit $ac_status); }; }; then
59540 glibcxx_cv_func__powl_use=yes
59541 else
59542 echo "$as_me: failed program was:" >&5
59543 sed 's/^/| /' conftest.$ac_ext >&5
59545 glibcxx_cv_func__powl_use=no
59547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59548 ac_ext=c
59549 ac_cpp='$CPP $CPPFLAGS'
59550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59558 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
59559 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
59561 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59563 for ac_func in _powl
59565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59566 echo "$as_me:$LINENO: checking for $ac_func" >&5
59567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59568 if eval "test \"\${$as_ac_var+set}\" = set"; then
59569 echo $ECHO_N "(cached) $ECHO_C" >&6
59570 else
59571 if test x$gcc_no_link = xyes; then
59572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59574 { (exit 1); exit 1; }; }
59576 cat >conftest.$ac_ext <<_ACEOF
59577 /* confdefs.h. */
59578 _ACEOF
59579 cat confdefs.h >>conftest.$ac_ext
59580 cat >>conftest.$ac_ext <<_ACEOF
59581 /* end confdefs.h. */
59582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59584 #define $ac_func innocuous_$ac_func
59586 /* System header to define __stub macros and hopefully few prototypes,
59587 which can conflict with char $ac_func (); below.
59588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59589 <limits.h> exists even on freestanding compilers. */
59591 #ifdef __STDC__
59592 # include <limits.h>
59593 #else
59594 # include <assert.h>
59595 #endif
59597 #undef $ac_func
59599 /* Override any gcc2 internal prototype to avoid an error. */
59600 #ifdef __cplusplus
59601 extern "C"
59603 #endif
59604 /* We use char because int might match the return type of a gcc2
59605 builtin and then its argument prototype would still apply. */
59606 char $ac_func ();
59607 /* The GNU C library defines this for functions which it implements
59608 to always fail with ENOSYS. Some functions are actually named
59609 something starting with __ and the normal name is an alias. */
59610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59611 choke me
59612 #else
59613 char (*f) () = $ac_func;
59614 #endif
59615 #ifdef __cplusplus
59617 #endif
59620 main ()
59622 return f != $ac_func;
59624 return 0;
59626 _ACEOF
59627 rm -f conftest.$ac_objext conftest$ac_exeext
59628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59629 (eval $ac_link) 2>conftest.er1
59630 ac_status=$?
59631 grep -v '^ *+' conftest.er1 >conftest.err
59632 rm -f conftest.er1
59633 cat conftest.err >&5
59634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59635 (exit $ac_status); } &&
59636 { ac_try='test -z "$ac_c_werror_flag"
59637 || test ! -s conftest.err'
59638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59639 (eval $ac_try) 2>&5
59640 ac_status=$?
59641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59642 (exit $ac_status); }; } &&
59643 { ac_try='test -s conftest$ac_exeext'
59644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59645 (eval $ac_try) 2>&5
59646 ac_status=$?
59647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59648 (exit $ac_status); }; }; then
59649 eval "$as_ac_var=yes"
59650 else
59651 echo "$as_me: failed program was:" >&5
59652 sed 's/^/| /' conftest.$ac_ext >&5
59654 eval "$as_ac_var=no"
59656 rm -f conftest.err conftest.$ac_objext \
59657 conftest$ac_exeext conftest.$ac_ext
59659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59661 if test `eval echo '${'$as_ac_var'}'` = yes; then
59662 cat >>confdefs.h <<_ACEOF
59663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59664 _ACEOF
59667 done
59677 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
59678 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
59679 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59680 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
59681 echo $ECHO_N "(cached) $ECHO_C" >&6
59682 else
59686 ac_ext=cc
59687 ac_cpp='$CXXCPP $CPPFLAGS'
59688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59692 cat >conftest.$ac_ext <<_ACEOF
59693 /* confdefs.h. */
59694 _ACEOF
59695 cat confdefs.h >>conftest.$ac_ext
59696 cat >>conftest.$ac_ext <<_ACEOF
59697 /* end confdefs.h. */
59698 #include <math.h>
59699 #ifdef HAVE_IEEEFP_H
59700 #include <ieeefp.h>
59701 #endif
59704 main ()
59706 sqrtl(0);
59708 return 0;
59710 _ACEOF
59711 rm -f conftest.$ac_objext
59712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59713 (eval $ac_compile) 2>conftest.er1
59714 ac_status=$?
59715 grep -v '^ *+' conftest.er1 >conftest.err
59716 rm -f conftest.er1
59717 cat conftest.err >&5
59718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59719 (exit $ac_status); } &&
59720 { ac_try='test -z "$ac_cxx_werror_flag"
59721 || test ! -s conftest.err'
59722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59723 (eval $ac_try) 2>&5
59724 ac_status=$?
59725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59726 (exit $ac_status); }; } &&
59727 { ac_try='test -s conftest.$ac_objext'
59728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59729 (eval $ac_try) 2>&5
59730 ac_status=$?
59731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59732 (exit $ac_status); }; }; then
59733 glibcxx_cv_func_sqrtl_use=yes
59734 else
59735 echo "$as_me: failed program was:" >&5
59736 sed 's/^/| /' conftest.$ac_ext >&5
59738 glibcxx_cv_func_sqrtl_use=no
59740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59741 ac_ext=c
59742 ac_cpp='$CPP $CPPFLAGS'
59743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59751 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
59752 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
59754 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59756 for ac_func in sqrtl
59758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59759 echo "$as_me:$LINENO: checking for $ac_func" >&5
59760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59761 if eval "test \"\${$as_ac_var+set}\" = set"; then
59762 echo $ECHO_N "(cached) $ECHO_C" >&6
59763 else
59764 if test x$gcc_no_link = xyes; then
59765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59767 { (exit 1); exit 1; }; }
59769 cat >conftest.$ac_ext <<_ACEOF
59770 /* confdefs.h. */
59771 _ACEOF
59772 cat confdefs.h >>conftest.$ac_ext
59773 cat >>conftest.$ac_ext <<_ACEOF
59774 /* end confdefs.h. */
59775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59777 #define $ac_func innocuous_$ac_func
59779 /* System header to define __stub macros and hopefully few prototypes,
59780 which can conflict with char $ac_func (); below.
59781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59782 <limits.h> exists even on freestanding compilers. */
59784 #ifdef __STDC__
59785 # include <limits.h>
59786 #else
59787 # include <assert.h>
59788 #endif
59790 #undef $ac_func
59792 /* Override any gcc2 internal prototype to avoid an error. */
59793 #ifdef __cplusplus
59794 extern "C"
59796 #endif
59797 /* We use char because int might match the return type of a gcc2
59798 builtin and then its argument prototype would still apply. */
59799 char $ac_func ();
59800 /* The GNU C library defines this for functions which it implements
59801 to always fail with ENOSYS. Some functions are actually named
59802 something starting with __ and the normal name is an alias. */
59803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59804 choke me
59805 #else
59806 char (*f) () = $ac_func;
59807 #endif
59808 #ifdef __cplusplus
59810 #endif
59813 main ()
59815 return f != $ac_func;
59817 return 0;
59819 _ACEOF
59820 rm -f conftest.$ac_objext conftest$ac_exeext
59821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59822 (eval $ac_link) 2>conftest.er1
59823 ac_status=$?
59824 grep -v '^ *+' conftest.er1 >conftest.err
59825 rm -f conftest.er1
59826 cat conftest.err >&5
59827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59828 (exit $ac_status); } &&
59829 { ac_try='test -z "$ac_c_werror_flag"
59830 || test ! -s conftest.err'
59831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59832 (eval $ac_try) 2>&5
59833 ac_status=$?
59834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59835 (exit $ac_status); }; } &&
59836 { ac_try='test -s conftest$ac_exeext'
59837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59838 (eval $ac_try) 2>&5
59839 ac_status=$?
59840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59841 (exit $ac_status); }; }; then
59842 eval "$as_ac_var=yes"
59843 else
59844 echo "$as_me: failed program was:" >&5
59845 sed 's/^/| /' conftest.$ac_ext >&5
59847 eval "$as_ac_var=no"
59849 rm -f conftest.err conftest.$ac_objext \
59850 conftest$ac_exeext conftest.$ac_ext
59852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59854 if test `eval echo '${'$as_ac_var'}'` = yes; then
59855 cat >>confdefs.h <<_ACEOF
59856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59857 _ACEOF
59860 done
59862 else
59864 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
59865 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
59866 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59867 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
59868 echo $ECHO_N "(cached) $ECHO_C" >&6
59869 else
59873 ac_ext=cc
59874 ac_cpp='$CXXCPP $CPPFLAGS'
59875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59879 cat >conftest.$ac_ext <<_ACEOF
59880 /* confdefs.h. */
59881 _ACEOF
59882 cat confdefs.h >>conftest.$ac_ext
59883 cat >>conftest.$ac_ext <<_ACEOF
59884 /* end confdefs.h. */
59885 #include <math.h>
59886 #ifdef HAVE_IEEEFP_H
59887 #include <ieeefp.h>
59888 #endif
59891 main ()
59893 _sqrtl(0);
59895 return 0;
59897 _ACEOF
59898 rm -f conftest.$ac_objext
59899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59900 (eval $ac_compile) 2>conftest.er1
59901 ac_status=$?
59902 grep -v '^ *+' conftest.er1 >conftest.err
59903 rm -f conftest.er1
59904 cat conftest.err >&5
59905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59906 (exit $ac_status); } &&
59907 { ac_try='test -z "$ac_cxx_werror_flag"
59908 || test ! -s conftest.err'
59909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59910 (eval $ac_try) 2>&5
59911 ac_status=$?
59912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59913 (exit $ac_status); }; } &&
59914 { ac_try='test -s conftest.$ac_objext'
59915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59916 (eval $ac_try) 2>&5
59917 ac_status=$?
59918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59919 (exit $ac_status); }; }; then
59920 glibcxx_cv_func__sqrtl_use=yes
59921 else
59922 echo "$as_me: failed program was:" >&5
59923 sed 's/^/| /' conftest.$ac_ext >&5
59925 glibcxx_cv_func__sqrtl_use=no
59927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59928 ac_ext=c
59929 ac_cpp='$CPP $CPPFLAGS'
59930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59938 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
59939 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
59941 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59943 for ac_func in _sqrtl
59945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59946 echo "$as_me:$LINENO: checking for $ac_func" >&5
59947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59948 if eval "test \"\${$as_ac_var+set}\" = set"; then
59949 echo $ECHO_N "(cached) $ECHO_C" >&6
59950 else
59951 if test x$gcc_no_link = xyes; then
59952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59954 { (exit 1); exit 1; }; }
59956 cat >conftest.$ac_ext <<_ACEOF
59957 /* confdefs.h. */
59958 _ACEOF
59959 cat confdefs.h >>conftest.$ac_ext
59960 cat >>conftest.$ac_ext <<_ACEOF
59961 /* end confdefs.h. */
59962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59964 #define $ac_func innocuous_$ac_func
59966 /* System header to define __stub macros and hopefully few prototypes,
59967 which can conflict with char $ac_func (); below.
59968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59969 <limits.h> exists even on freestanding compilers. */
59971 #ifdef __STDC__
59972 # include <limits.h>
59973 #else
59974 # include <assert.h>
59975 #endif
59977 #undef $ac_func
59979 /* Override any gcc2 internal prototype to avoid an error. */
59980 #ifdef __cplusplus
59981 extern "C"
59983 #endif
59984 /* We use char because int might match the return type of a gcc2
59985 builtin and then its argument prototype would still apply. */
59986 char $ac_func ();
59987 /* The GNU C library defines this for functions which it implements
59988 to always fail with ENOSYS. Some functions are actually named
59989 something starting with __ and the normal name is an alias. */
59990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59991 choke me
59992 #else
59993 char (*f) () = $ac_func;
59994 #endif
59995 #ifdef __cplusplus
59997 #endif
60000 main ()
60002 return f != $ac_func;
60004 return 0;
60006 _ACEOF
60007 rm -f conftest.$ac_objext conftest$ac_exeext
60008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60009 (eval $ac_link) 2>conftest.er1
60010 ac_status=$?
60011 grep -v '^ *+' conftest.er1 >conftest.err
60012 rm -f conftest.er1
60013 cat conftest.err >&5
60014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60015 (exit $ac_status); } &&
60016 { ac_try='test -z "$ac_c_werror_flag"
60017 || test ! -s conftest.err'
60018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60019 (eval $ac_try) 2>&5
60020 ac_status=$?
60021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60022 (exit $ac_status); }; } &&
60023 { ac_try='test -s conftest$ac_exeext'
60024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60025 (eval $ac_try) 2>&5
60026 ac_status=$?
60027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60028 (exit $ac_status); }; }; then
60029 eval "$as_ac_var=yes"
60030 else
60031 echo "$as_me: failed program was:" >&5
60032 sed 's/^/| /' conftest.$ac_ext >&5
60034 eval "$as_ac_var=no"
60036 rm -f conftest.err conftest.$ac_objext \
60037 conftest$ac_exeext conftest.$ac_ext
60039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60041 if test `eval echo '${'$as_ac_var'}'` = yes; then
60042 cat >>confdefs.h <<_ACEOF
60043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60044 _ACEOF
60047 done
60057 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
60058 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
60059 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
60060 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
60061 echo $ECHO_N "(cached) $ECHO_C" >&6
60062 else
60066 ac_ext=cc
60067 ac_cpp='$CXXCPP $CPPFLAGS'
60068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60072 cat >conftest.$ac_ext <<_ACEOF
60073 /* confdefs.h. */
60074 _ACEOF
60075 cat confdefs.h >>conftest.$ac_ext
60076 cat >>conftest.$ac_ext <<_ACEOF
60077 /* end confdefs.h. */
60078 #include <math.h>
60080 main ()
60082 sincosl(0, 0, 0);
60084 return 0;
60086 _ACEOF
60087 rm -f conftest.$ac_objext
60088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60089 (eval $ac_compile) 2>conftest.er1
60090 ac_status=$?
60091 grep -v '^ *+' conftest.er1 >conftest.err
60092 rm -f conftest.er1
60093 cat conftest.err >&5
60094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60095 (exit $ac_status); } &&
60096 { ac_try='test -z "$ac_cxx_werror_flag"
60097 || test ! -s conftest.err'
60098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60099 (eval $ac_try) 2>&5
60100 ac_status=$?
60101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60102 (exit $ac_status); }; } &&
60103 { ac_try='test -s conftest.$ac_objext'
60104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60105 (eval $ac_try) 2>&5
60106 ac_status=$?
60107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60108 (exit $ac_status); }; }; then
60109 glibcxx_cv_func_sincosl_use=yes
60110 else
60111 echo "$as_me: failed program was:" >&5
60112 sed 's/^/| /' conftest.$ac_ext >&5
60114 glibcxx_cv_func_sincosl_use=no
60116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60117 ac_ext=c
60118 ac_cpp='$CPP $CPPFLAGS'
60119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60127 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
60128 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
60130 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
60132 for ac_func in sincosl
60134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60135 echo "$as_me:$LINENO: checking for $ac_func" >&5
60136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60137 if eval "test \"\${$as_ac_var+set}\" = set"; then
60138 echo $ECHO_N "(cached) $ECHO_C" >&6
60139 else
60140 if test x$gcc_no_link = xyes; then
60141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60143 { (exit 1); exit 1; }; }
60145 cat >conftest.$ac_ext <<_ACEOF
60146 /* confdefs.h. */
60147 _ACEOF
60148 cat confdefs.h >>conftest.$ac_ext
60149 cat >>conftest.$ac_ext <<_ACEOF
60150 /* end confdefs.h. */
60151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60153 #define $ac_func innocuous_$ac_func
60155 /* System header to define __stub macros and hopefully few prototypes,
60156 which can conflict with char $ac_func (); below.
60157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60158 <limits.h> exists even on freestanding compilers. */
60160 #ifdef __STDC__
60161 # include <limits.h>
60162 #else
60163 # include <assert.h>
60164 #endif
60166 #undef $ac_func
60168 /* Override any gcc2 internal prototype to avoid an error. */
60169 #ifdef __cplusplus
60170 extern "C"
60172 #endif
60173 /* We use char because int might match the return type of a gcc2
60174 builtin and then its argument prototype would still apply. */
60175 char $ac_func ();
60176 /* The GNU C library defines this for functions which it implements
60177 to always fail with ENOSYS. Some functions are actually named
60178 something starting with __ and the normal name is an alias. */
60179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60180 choke me
60181 #else
60182 char (*f) () = $ac_func;
60183 #endif
60184 #ifdef __cplusplus
60186 #endif
60189 main ()
60191 return f != $ac_func;
60193 return 0;
60195 _ACEOF
60196 rm -f conftest.$ac_objext conftest$ac_exeext
60197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60198 (eval $ac_link) 2>conftest.er1
60199 ac_status=$?
60200 grep -v '^ *+' conftest.er1 >conftest.err
60201 rm -f conftest.er1
60202 cat conftest.err >&5
60203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60204 (exit $ac_status); } &&
60205 { ac_try='test -z "$ac_c_werror_flag"
60206 || test ! -s conftest.err'
60207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60208 (eval $ac_try) 2>&5
60209 ac_status=$?
60210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60211 (exit $ac_status); }; } &&
60212 { ac_try='test -s conftest$ac_exeext'
60213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60214 (eval $ac_try) 2>&5
60215 ac_status=$?
60216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60217 (exit $ac_status); }; }; then
60218 eval "$as_ac_var=yes"
60219 else
60220 echo "$as_me: failed program was:" >&5
60221 sed 's/^/| /' conftest.$ac_ext >&5
60223 eval "$as_ac_var=no"
60225 rm -f conftest.err conftest.$ac_objext \
60226 conftest$ac_exeext conftest.$ac_ext
60228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60230 if test `eval echo '${'$as_ac_var'}'` = yes; then
60231 cat >>confdefs.h <<_ACEOF
60232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60233 _ACEOF
60236 done
60238 else
60240 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
60241 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
60242 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60243 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
60244 echo $ECHO_N "(cached) $ECHO_C" >&6
60245 else
60249 ac_ext=cc
60250 ac_cpp='$CXXCPP $CPPFLAGS'
60251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60255 cat >conftest.$ac_ext <<_ACEOF
60256 /* confdefs.h. */
60257 _ACEOF
60258 cat confdefs.h >>conftest.$ac_ext
60259 cat >>conftest.$ac_ext <<_ACEOF
60260 /* end confdefs.h. */
60261 #include <math.h>
60263 main ()
60265 _sincosl(0, 0, 0);
60267 return 0;
60269 _ACEOF
60270 rm -f conftest.$ac_objext
60271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60272 (eval $ac_compile) 2>conftest.er1
60273 ac_status=$?
60274 grep -v '^ *+' conftest.er1 >conftest.err
60275 rm -f conftest.er1
60276 cat conftest.err >&5
60277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60278 (exit $ac_status); } &&
60279 { ac_try='test -z "$ac_cxx_werror_flag"
60280 || test ! -s conftest.err'
60281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60282 (eval $ac_try) 2>&5
60283 ac_status=$?
60284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60285 (exit $ac_status); }; } &&
60286 { ac_try='test -s conftest.$ac_objext'
60287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60288 (eval $ac_try) 2>&5
60289 ac_status=$?
60290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60291 (exit $ac_status); }; }; then
60292 glibcxx_cv_func__sincosl_use=yes
60293 else
60294 echo "$as_me: failed program was:" >&5
60295 sed 's/^/| /' conftest.$ac_ext >&5
60297 glibcxx_cv_func__sincosl_use=no
60299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60300 ac_ext=c
60301 ac_cpp='$CPP $CPPFLAGS'
60302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60310 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
60311 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
60313 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60315 for ac_func in _sincosl
60317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60318 echo "$as_me:$LINENO: checking for $ac_func" >&5
60319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60320 if eval "test \"\${$as_ac_var+set}\" = set"; then
60321 echo $ECHO_N "(cached) $ECHO_C" >&6
60322 else
60323 if test x$gcc_no_link = xyes; then
60324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60326 { (exit 1); exit 1; }; }
60328 cat >conftest.$ac_ext <<_ACEOF
60329 /* confdefs.h. */
60330 _ACEOF
60331 cat confdefs.h >>conftest.$ac_ext
60332 cat >>conftest.$ac_ext <<_ACEOF
60333 /* end confdefs.h. */
60334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60336 #define $ac_func innocuous_$ac_func
60338 /* System header to define __stub macros and hopefully few prototypes,
60339 which can conflict with char $ac_func (); below.
60340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60341 <limits.h> exists even on freestanding compilers. */
60343 #ifdef __STDC__
60344 # include <limits.h>
60345 #else
60346 # include <assert.h>
60347 #endif
60349 #undef $ac_func
60351 /* Override any gcc2 internal prototype to avoid an error. */
60352 #ifdef __cplusplus
60353 extern "C"
60355 #endif
60356 /* We use char because int might match the return type of a gcc2
60357 builtin and then its argument prototype would still apply. */
60358 char $ac_func ();
60359 /* The GNU C library defines this for functions which it implements
60360 to always fail with ENOSYS. Some functions are actually named
60361 something starting with __ and the normal name is an alias. */
60362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60363 choke me
60364 #else
60365 char (*f) () = $ac_func;
60366 #endif
60367 #ifdef __cplusplus
60369 #endif
60372 main ()
60374 return f != $ac_func;
60376 return 0;
60378 _ACEOF
60379 rm -f conftest.$ac_objext conftest$ac_exeext
60380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60381 (eval $ac_link) 2>conftest.er1
60382 ac_status=$?
60383 grep -v '^ *+' conftest.er1 >conftest.err
60384 rm -f conftest.er1
60385 cat conftest.err >&5
60386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60387 (exit $ac_status); } &&
60388 { ac_try='test -z "$ac_c_werror_flag"
60389 || test ! -s conftest.err'
60390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60391 (eval $ac_try) 2>&5
60392 ac_status=$?
60393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60394 (exit $ac_status); }; } &&
60395 { ac_try='test -s conftest$ac_exeext'
60396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60397 (eval $ac_try) 2>&5
60398 ac_status=$?
60399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60400 (exit $ac_status); }; }; then
60401 eval "$as_ac_var=yes"
60402 else
60403 echo "$as_me: failed program was:" >&5
60404 sed 's/^/| /' conftest.$ac_ext >&5
60406 eval "$as_ac_var=no"
60408 rm -f conftest.err conftest.$ac_objext \
60409 conftest$ac_exeext conftest.$ac_ext
60411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60413 if test `eval echo '${'$as_ac_var'}'` = yes; then
60414 cat >>confdefs.h <<_ACEOF
60415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60416 _ACEOF
60419 done
60429 echo "$as_me:$LINENO: checking for finitel declaration" >&5
60430 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
60431 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60432 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
60433 echo $ECHO_N "(cached) $ECHO_C" >&6
60434 else
60438 ac_ext=cc
60439 ac_cpp='$CXXCPP $CPPFLAGS'
60440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60444 cat >conftest.$ac_ext <<_ACEOF
60445 /* confdefs.h. */
60446 _ACEOF
60447 cat confdefs.h >>conftest.$ac_ext
60448 cat >>conftest.$ac_ext <<_ACEOF
60449 /* end confdefs.h. */
60450 #include <math.h>
60451 #ifdef HAVE_IEEEFP_H
60452 #include <ieeefp.h>
60453 #endif
60456 main ()
60458 finitel(0);
60460 return 0;
60462 _ACEOF
60463 rm -f conftest.$ac_objext
60464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60465 (eval $ac_compile) 2>conftest.er1
60466 ac_status=$?
60467 grep -v '^ *+' conftest.er1 >conftest.err
60468 rm -f conftest.er1
60469 cat conftest.err >&5
60470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60471 (exit $ac_status); } &&
60472 { ac_try='test -z "$ac_cxx_werror_flag"
60473 || test ! -s conftest.err'
60474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60475 (eval $ac_try) 2>&5
60476 ac_status=$?
60477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60478 (exit $ac_status); }; } &&
60479 { ac_try='test -s conftest.$ac_objext'
60480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60481 (eval $ac_try) 2>&5
60482 ac_status=$?
60483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60484 (exit $ac_status); }; }; then
60485 glibcxx_cv_func_finitel_use=yes
60486 else
60487 echo "$as_me: failed program was:" >&5
60488 sed 's/^/| /' conftest.$ac_ext >&5
60490 glibcxx_cv_func_finitel_use=no
60492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60493 ac_ext=c
60494 ac_cpp='$CPP $CPPFLAGS'
60495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60503 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
60504 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
60506 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60508 for ac_func in finitel
60510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60511 echo "$as_me:$LINENO: checking for $ac_func" >&5
60512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60513 if eval "test \"\${$as_ac_var+set}\" = set"; then
60514 echo $ECHO_N "(cached) $ECHO_C" >&6
60515 else
60516 if test x$gcc_no_link = xyes; then
60517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60519 { (exit 1); exit 1; }; }
60521 cat >conftest.$ac_ext <<_ACEOF
60522 /* confdefs.h. */
60523 _ACEOF
60524 cat confdefs.h >>conftest.$ac_ext
60525 cat >>conftest.$ac_ext <<_ACEOF
60526 /* end confdefs.h. */
60527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60529 #define $ac_func innocuous_$ac_func
60531 /* System header to define __stub macros and hopefully few prototypes,
60532 which can conflict with char $ac_func (); below.
60533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60534 <limits.h> exists even on freestanding compilers. */
60536 #ifdef __STDC__
60537 # include <limits.h>
60538 #else
60539 # include <assert.h>
60540 #endif
60542 #undef $ac_func
60544 /* Override any gcc2 internal prototype to avoid an error. */
60545 #ifdef __cplusplus
60546 extern "C"
60548 #endif
60549 /* We use char because int might match the return type of a gcc2
60550 builtin and then its argument prototype would still apply. */
60551 char $ac_func ();
60552 /* The GNU C library defines this for functions which it implements
60553 to always fail with ENOSYS. Some functions are actually named
60554 something starting with __ and the normal name is an alias. */
60555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60556 choke me
60557 #else
60558 char (*f) () = $ac_func;
60559 #endif
60560 #ifdef __cplusplus
60562 #endif
60565 main ()
60567 return f != $ac_func;
60569 return 0;
60571 _ACEOF
60572 rm -f conftest.$ac_objext conftest$ac_exeext
60573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60574 (eval $ac_link) 2>conftest.er1
60575 ac_status=$?
60576 grep -v '^ *+' conftest.er1 >conftest.err
60577 rm -f conftest.er1
60578 cat conftest.err >&5
60579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60580 (exit $ac_status); } &&
60581 { ac_try='test -z "$ac_c_werror_flag"
60582 || test ! -s conftest.err'
60583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60584 (eval $ac_try) 2>&5
60585 ac_status=$?
60586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60587 (exit $ac_status); }; } &&
60588 { ac_try='test -s conftest$ac_exeext'
60589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60590 (eval $ac_try) 2>&5
60591 ac_status=$?
60592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60593 (exit $ac_status); }; }; then
60594 eval "$as_ac_var=yes"
60595 else
60596 echo "$as_me: failed program was:" >&5
60597 sed 's/^/| /' conftest.$ac_ext >&5
60599 eval "$as_ac_var=no"
60601 rm -f conftest.err conftest.$ac_objext \
60602 conftest$ac_exeext conftest.$ac_ext
60604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60606 if test `eval echo '${'$as_ac_var'}'` = yes; then
60607 cat >>confdefs.h <<_ACEOF
60608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60609 _ACEOF
60612 done
60614 else
60616 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
60617 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
60618 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60619 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
60620 echo $ECHO_N "(cached) $ECHO_C" >&6
60621 else
60625 ac_ext=cc
60626 ac_cpp='$CXXCPP $CPPFLAGS'
60627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60631 cat >conftest.$ac_ext <<_ACEOF
60632 /* confdefs.h. */
60633 _ACEOF
60634 cat confdefs.h >>conftest.$ac_ext
60635 cat >>conftest.$ac_ext <<_ACEOF
60636 /* end confdefs.h. */
60637 #include <math.h>
60638 #ifdef HAVE_IEEEFP_H
60639 #include <ieeefp.h>
60640 #endif
60643 main ()
60645 _finitel(0);
60647 return 0;
60649 _ACEOF
60650 rm -f conftest.$ac_objext
60651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60652 (eval $ac_compile) 2>conftest.er1
60653 ac_status=$?
60654 grep -v '^ *+' conftest.er1 >conftest.err
60655 rm -f conftest.er1
60656 cat conftest.err >&5
60657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60658 (exit $ac_status); } &&
60659 { ac_try='test -z "$ac_cxx_werror_flag"
60660 || test ! -s conftest.err'
60661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60662 (eval $ac_try) 2>&5
60663 ac_status=$?
60664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60665 (exit $ac_status); }; } &&
60666 { ac_try='test -s conftest.$ac_objext'
60667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60668 (eval $ac_try) 2>&5
60669 ac_status=$?
60670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60671 (exit $ac_status); }; }; then
60672 glibcxx_cv_func__finitel_use=yes
60673 else
60674 echo "$as_me: failed program was:" >&5
60675 sed 's/^/| /' conftest.$ac_ext >&5
60677 glibcxx_cv_func__finitel_use=no
60679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60680 ac_ext=c
60681 ac_cpp='$CPP $CPPFLAGS'
60682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60690 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
60691 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
60693 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60695 for ac_func in _finitel
60697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60698 echo "$as_me:$LINENO: checking for $ac_func" >&5
60699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60700 if eval "test \"\${$as_ac_var+set}\" = set"; then
60701 echo $ECHO_N "(cached) $ECHO_C" >&6
60702 else
60703 if test x$gcc_no_link = xyes; then
60704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60706 { (exit 1); exit 1; }; }
60708 cat >conftest.$ac_ext <<_ACEOF
60709 /* confdefs.h. */
60710 _ACEOF
60711 cat confdefs.h >>conftest.$ac_ext
60712 cat >>conftest.$ac_ext <<_ACEOF
60713 /* end confdefs.h. */
60714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60716 #define $ac_func innocuous_$ac_func
60718 /* System header to define __stub macros and hopefully few prototypes,
60719 which can conflict with char $ac_func (); below.
60720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60721 <limits.h> exists even on freestanding compilers. */
60723 #ifdef __STDC__
60724 # include <limits.h>
60725 #else
60726 # include <assert.h>
60727 #endif
60729 #undef $ac_func
60731 /* Override any gcc2 internal prototype to avoid an error. */
60732 #ifdef __cplusplus
60733 extern "C"
60735 #endif
60736 /* We use char because int might match the return type of a gcc2
60737 builtin and then its argument prototype would still apply. */
60738 char $ac_func ();
60739 /* The GNU C library defines this for functions which it implements
60740 to always fail with ENOSYS. Some functions are actually named
60741 something starting with __ and the normal name is an alias. */
60742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60743 choke me
60744 #else
60745 char (*f) () = $ac_func;
60746 #endif
60747 #ifdef __cplusplus
60749 #endif
60752 main ()
60754 return f != $ac_func;
60756 return 0;
60758 _ACEOF
60759 rm -f conftest.$ac_objext conftest$ac_exeext
60760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60761 (eval $ac_link) 2>conftest.er1
60762 ac_status=$?
60763 grep -v '^ *+' conftest.er1 >conftest.err
60764 rm -f conftest.er1
60765 cat conftest.err >&5
60766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60767 (exit $ac_status); } &&
60768 { ac_try='test -z "$ac_c_werror_flag"
60769 || test ! -s conftest.err'
60770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60771 (eval $ac_try) 2>&5
60772 ac_status=$?
60773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60774 (exit $ac_status); }; } &&
60775 { ac_try='test -s conftest$ac_exeext'
60776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60777 (eval $ac_try) 2>&5
60778 ac_status=$?
60779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60780 (exit $ac_status); }; }; then
60781 eval "$as_ac_var=yes"
60782 else
60783 echo "$as_me: failed program was:" >&5
60784 sed 's/^/| /' conftest.$ac_ext >&5
60786 eval "$as_ac_var=no"
60788 rm -f conftest.err conftest.$ac_objext \
60789 conftest$ac_exeext conftest.$ac_ext
60791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60793 if test `eval echo '${'$as_ac_var'}'` = yes; then
60794 cat >>confdefs.h <<_ACEOF
60795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60796 _ACEOF
60799 done
60808 LIBS="$ac_save_LIBS"
60809 CXXFLAGS="$ac_save_CXXFLAGS"
60813 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
60814 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
60815 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
60816 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
60817 echo $ECHO_N "(cached) $ECHO_C" >&6
60818 else
60822 ac_ext=cc
60823 ac_cpp='$CXXCPP $CPPFLAGS'
60824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60828 cat >conftest.$ac_ext <<_ACEOF
60829 /* confdefs.h. */
60830 _ACEOF
60831 cat confdefs.h >>conftest.$ac_ext
60832 cat >>conftest.$ac_ext <<_ACEOF
60833 /* end confdefs.h. */
60834 #include <math.h>
60836 main ()
60838 __builtin_abs(0);
60840 return 0;
60842 _ACEOF
60843 rm -f conftest.$ac_objext
60844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60845 (eval $ac_compile) 2>conftest.er1
60846 ac_status=$?
60847 grep -v '^ *+' conftest.er1 >conftest.err
60848 rm -f conftest.er1
60849 cat conftest.err >&5
60850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60851 (exit $ac_status); } &&
60852 { ac_try='test -z "$ac_cxx_werror_flag"
60853 || test ! -s conftest.err'
60854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60855 (eval $ac_try) 2>&5
60856 ac_status=$?
60857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60858 (exit $ac_status); }; } &&
60859 { ac_try='test -s conftest.$ac_objext'
60860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60861 (eval $ac_try) 2>&5
60862 ac_status=$?
60863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60864 (exit $ac_status); }; }; then
60865 glibcxx_cv_func___builtin_abs_use=yes
60866 else
60867 echo "$as_me: failed program was:" >&5
60868 sed 's/^/| /' conftest.$ac_ext >&5
60870 glibcxx_cv_func___builtin_abs_use=no
60872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60873 ac_ext=c
60874 ac_cpp='$CPP $CPPFLAGS'
60875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60883 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
60884 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
60885 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
60886 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
60887 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
60888 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
60889 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
60890 echo $ECHO_N "(cached) $ECHO_C" >&6
60891 else
60893 if test x$gcc_no_link = xyes; then
60894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60896 { (exit 1); exit 1; }; }
60898 cat >conftest.$ac_ext <<_ACEOF
60899 /* confdefs.h. */
60900 _ACEOF
60901 cat confdefs.h >>conftest.$ac_ext
60902 cat >>conftest.$ac_ext <<_ACEOF
60903 /* end confdefs.h. */
60904 #include <math.h>
60906 main ()
60908 __builtin_abs(0);
60910 return 0;
60912 _ACEOF
60913 rm -f conftest.$ac_objext conftest$ac_exeext
60914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60915 (eval $ac_link) 2>conftest.er1
60916 ac_status=$?
60917 grep -v '^ *+' conftest.er1 >conftest.err
60918 rm -f conftest.er1
60919 cat conftest.err >&5
60920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60921 (exit $ac_status); } &&
60922 { ac_try='test -z "$ac_c_werror_flag"
60923 || test ! -s conftest.err'
60924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60925 (eval $ac_try) 2>&5
60926 ac_status=$?
60927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60928 (exit $ac_status); }; } &&
60929 { ac_try='test -s conftest$ac_exeext'
60930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60931 (eval $ac_try) 2>&5
60932 ac_status=$?
60933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60934 (exit $ac_status); }; }; then
60935 glibcxx_cv_func___builtin_abs_link=yes
60936 else
60937 echo "$as_me: failed program was:" >&5
60938 sed 's/^/| /' conftest.$ac_ext >&5
60940 glibcxx_cv_func___builtin_abs_link=no
60942 rm -f conftest.err conftest.$ac_objext \
60943 conftest$ac_exeext conftest.$ac_ext
60948 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
60949 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
60951 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
60953 cat >>confdefs.h <<\_ACEOF
60954 #define HAVE___BUILTIN_ABS 1
60955 _ACEOF
60962 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
60963 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
60964 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
60965 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
60966 echo $ECHO_N "(cached) $ECHO_C" >&6
60967 else
60971 ac_ext=cc
60972 ac_cpp='$CXXCPP $CPPFLAGS'
60973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60977 cat >conftest.$ac_ext <<_ACEOF
60978 /* confdefs.h. */
60979 _ACEOF
60980 cat confdefs.h >>conftest.$ac_ext
60981 cat >>conftest.$ac_ext <<_ACEOF
60982 /* end confdefs.h. */
60983 #include <math.h>
60985 main ()
60987 __builtin_fabsf(0);
60989 return 0;
60991 _ACEOF
60992 rm -f conftest.$ac_objext
60993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60994 (eval $ac_compile) 2>conftest.er1
60995 ac_status=$?
60996 grep -v '^ *+' conftest.er1 >conftest.err
60997 rm -f conftest.er1
60998 cat conftest.err >&5
60999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61000 (exit $ac_status); } &&
61001 { ac_try='test -z "$ac_cxx_werror_flag"
61002 || test ! -s conftest.err'
61003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61004 (eval $ac_try) 2>&5
61005 ac_status=$?
61006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61007 (exit $ac_status); }; } &&
61008 { ac_try='test -s conftest.$ac_objext'
61009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61010 (eval $ac_try) 2>&5
61011 ac_status=$?
61012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61013 (exit $ac_status); }; }; then
61014 glibcxx_cv_func___builtin_fabsf_use=yes
61015 else
61016 echo "$as_me: failed program was:" >&5
61017 sed 's/^/| /' conftest.$ac_ext >&5
61019 glibcxx_cv_func___builtin_fabsf_use=no
61021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61022 ac_ext=c
61023 ac_cpp='$CPP $CPPFLAGS'
61024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61032 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
61033 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
61034 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
61035 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
61036 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
61037 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
61038 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
61039 echo $ECHO_N "(cached) $ECHO_C" >&6
61040 else
61042 if test x$gcc_no_link = xyes; then
61043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61045 { (exit 1); exit 1; }; }
61047 cat >conftest.$ac_ext <<_ACEOF
61048 /* confdefs.h. */
61049 _ACEOF
61050 cat confdefs.h >>conftest.$ac_ext
61051 cat >>conftest.$ac_ext <<_ACEOF
61052 /* end confdefs.h. */
61053 #include <math.h>
61055 main ()
61057 __builtin_fabsf(0);
61059 return 0;
61061 _ACEOF
61062 rm -f conftest.$ac_objext conftest$ac_exeext
61063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61064 (eval $ac_link) 2>conftest.er1
61065 ac_status=$?
61066 grep -v '^ *+' conftest.er1 >conftest.err
61067 rm -f conftest.er1
61068 cat conftest.err >&5
61069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61070 (exit $ac_status); } &&
61071 { ac_try='test -z "$ac_c_werror_flag"
61072 || test ! -s conftest.err'
61073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61074 (eval $ac_try) 2>&5
61075 ac_status=$?
61076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61077 (exit $ac_status); }; } &&
61078 { ac_try='test -s conftest$ac_exeext'
61079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61080 (eval $ac_try) 2>&5
61081 ac_status=$?
61082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61083 (exit $ac_status); }; }; then
61084 glibcxx_cv_func___builtin_fabsf_link=yes
61085 else
61086 echo "$as_me: failed program was:" >&5
61087 sed 's/^/| /' conftest.$ac_ext >&5
61089 glibcxx_cv_func___builtin_fabsf_link=no
61091 rm -f conftest.err conftest.$ac_objext \
61092 conftest$ac_exeext conftest.$ac_ext
61097 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
61098 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
61100 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
61102 cat >>confdefs.h <<\_ACEOF
61103 #define HAVE___BUILTIN_FABSF 1
61104 _ACEOF
61111 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
61112 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
61113 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
61114 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
61115 echo $ECHO_N "(cached) $ECHO_C" >&6
61116 else
61120 ac_ext=cc
61121 ac_cpp='$CXXCPP $CPPFLAGS'
61122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61126 cat >conftest.$ac_ext <<_ACEOF
61127 /* confdefs.h. */
61128 _ACEOF
61129 cat confdefs.h >>conftest.$ac_ext
61130 cat >>conftest.$ac_ext <<_ACEOF
61131 /* end confdefs.h. */
61132 #include <math.h>
61134 main ()
61136 __builtin_fabs(0);
61138 return 0;
61140 _ACEOF
61141 rm -f conftest.$ac_objext
61142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61143 (eval $ac_compile) 2>conftest.er1
61144 ac_status=$?
61145 grep -v '^ *+' conftest.er1 >conftest.err
61146 rm -f conftest.er1
61147 cat conftest.err >&5
61148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61149 (exit $ac_status); } &&
61150 { ac_try='test -z "$ac_cxx_werror_flag"
61151 || test ! -s conftest.err'
61152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61153 (eval $ac_try) 2>&5
61154 ac_status=$?
61155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61156 (exit $ac_status); }; } &&
61157 { ac_try='test -s conftest.$ac_objext'
61158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61159 (eval $ac_try) 2>&5
61160 ac_status=$?
61161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61162 (exit $ac_status); }; }; then
61163 glibcxx_cv_func___builtin_fabs_use=yes
61164 else
61165 echo "$as_me: failed program was:" >&5
61166 sed 's/^/| /' conftest.$ac_ext >&5
61168 glibcxx_cv_func___builtin_fabs_use=no
61170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61171 ac_ext=c
61172 ac_cpp='$CPP $CPPFLAGS'
61173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61181 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
61182 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
61183 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
61184 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
61185 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
61186 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
61187 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
61188 echo $ECHO_N "(cached) $ECHO_C" >&6
61189 else
61191 if test x$gcc_no_link = xyes; then
61192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61194 { (exit 1); exit 1; }; }
61196 cat >conftest.$ac_ext <<_ACEOF
61197 /* confdefs.h. */
61198 _ACEOF
61199 cat confdefs.h >>conftest.$ac_ext
61200 cat >>conftest.$ac_ext <<_ACEOF
61201 /* end confdefs.h. */
61202 #include <math.h>
61204 main ()
61206 __builtin_fabs(0);
61208 return 0;
61210 _ACEOF
61211 rm -f conftest.$ac_objext conftest$ac_exeext
61212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61213 (eval $ac_link) 2>conftest.er1
61214 ac_status=$?
61215 grep -v '^ *+' conftest.er1 >conftest.err
61216 rm -f conftest.er1
61217 cat conftest.err >&5
61218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61219 (exit $ac_status); } &&
61220 { ac_try='test -z "$ac_c_werror_flag"
61221 || test ! -s conftest.err'
61222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61223 (eval $ac_try) 2>&5
61224 ac_status=$?
61225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61226 (exit $ac_status); }; } &&
61227 { ac_try='test -s conftest$ac_exeext'
61228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61229 (eval $ac_try) 2>&5
61230 ac_status=$?
61231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61232 (exit $ac_status); }; }; then
61233 glibcxx_cv_func___builtin_fabs_link=yes
61234 else
61235 echo "$as_me: failed program was:" >&5
61236 sed 's/^/| /' conftest.$ac_ext >&5
61238 glibcxx_cv_func___builtin_fabs_link=no
61240 rm -f conftest.err conftest.$ac_objext \
61241 conftest$ac_exeext conftest.$ac_ext
61246 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
61247 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
61249 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
61251 cat >>confdefs.h <<\_ACEOF
61252 #define HAVE___BUILTIN_FABS 1
61253 _ACEOF
61260 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
61261 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
61262 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
61263 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
61264 echo $ECHO_N "(cached) $ECHO_C" >&6
61265 else
61269 ac_ext=cc
61270 ac_cpp='$CXXCPP $CPPFLAGS'
61271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61275 cat >conftest.$ac_ext <<_ACEOF
61276 /* confdefs.h. */
61277 _ACEOF
61278 cat confdefs.h >>conftest.$ac_ext
61279 cat >>conftest.$ac_ext <<_ACEOF
61280 /* end confdefs.h. */
61281 #include <math.h>
61283 main ()
61285 __builtin_fabsl(0);
61287 return 0;
61289 _ACEOF
61290 rm -f conftest.$ac_objext
61291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61292 (eval $ac_compile) 2>conftest.er1
61293 ac_status=$?
61294 grep -v '^ *+' conftest.er1 >conftest.err
61295 rm -f conftest.er1
61296 cat conftest.err >&5
61297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61298 (exit $ac_status); } &&
61299 { ac_try='test -z "$ac_cxx_werror_flag"
61300 || test ! -s conftest.err'
61301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61302 (eval $ac_try) 2>&5
61303 ac_status=$?
61304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61305 (exit $ac_status); }; } &&
61306 { ac_try='test -s conftest.$ac_objext'
61307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61308 (eval $ac_try) 2>&5
61309 ac_status=$?
61310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61311 (exit $ac_status); }; }; then
61312 glibcxx_cv_func___builtin_fabsl_use=yes
61313 else
61314 echo "$as_me: failed program was:" >&5
61315 sed 's/^/| /' conftest.$ac_ext >&5
61317 glibcxx_cv_func___builtin_fabsl_use=no
61319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61320 ac_ext=c
61321 ac_cpp='$CPP $CPPFLAGS'
61322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61330 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
61331 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
61332 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
61333 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
61334 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
61335 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
61336 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
61337 echo $ECHO_N "(cached) $ECHO_C" >&6
61338 else
61340 if test x$gcc_no_link = xyes; then
61341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61343 { (exit 1); exit 1; }; }
61345 cat >conftest.$ac_ext <<_ACEOF
61346 /* confdefs.h. */
61347 _ACEOF
61348 cat confdefs.h >>conftest.$ac_ext
61349 cat >>conftest.$ac_ext <<_ACEOF
61350 /* end confdefs.h. */
61351 #include <math.h>
61353 main ()
61355 __builtin_fabsl(0);
61357 return 0;
61359 _ACEOF
61360 rm -f conftest.$ac_objext conftest$ac_exeext
61361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61362 (eval $ac_link) 2>conftest.er1
61363 ac_status=$?
61364 grep -v '^ *+' conftest.er1 >conftest.err
61365 rm -f conftest.er1
61366 cat conftest.err >&5
61367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61368 (exit $ac_status); } &&
61369 { ac_try='test -z "$ac_c_werror_flag"
61370 || test ! -s conftest.err'
61371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61372 (eval $ac_try) 2>&5
61373 ac_status=$?
61374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61375 (exit $ac_status); }; } &&
61376 { ac_try='test -s conftest$ac_exeext'
61377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61378 (eval $ac_try) 2>&5
61379 ac_status=$?
61380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61381 (exit $ac_status); }; }; then
61382 glibcxx_cv_func___builtin_fabsl_link=yes
61383 else
61384 echo "$as_me: failed program was:" >&5
61385 sed 's/^/| /' conftest.$ac_ext >&5
61387 glibcxx_cv_func___builtin_fabsl_link=no
61389 rm -f conftest.err conftest.$ac_objext \
61390 conftest$ac_exeext conftest.$ac_ext
61395 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
61396 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
61398 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
61400 cat >>confdefs.h <<\_ACEOF
61401 #define HAVE___BUILTIN_FABSL 1
61402 _ACEOF
61409 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
61410 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
61411 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
61412 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
61413 echo $ECHO_N "(cached) $ECHO_C" >&6
61414 else
61418 ac_ext=cc
61419 ac_cpp='$CXXCPP $CPPFLAGS'
61420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61424 cat >conftest.$ac_ext <<_ACEOF
61425 /* confdefs.h. */
61426 _ACEOF
61427 cat confdefs.h >>conftest.$ac_ext
61428 cat >>conftest.$ac_ext <<_ACEOF
61429 /* end confdefs.h. */
61430 #include <math.h>
61432 main ()
61434 __builtin_labs(0);
61436 return 0;
61438 _ACEOF
61439 rm -f conftest.$ac_objext
61440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61441 (eval $ac_compile) 2>conftest.er1
61442 ac_status=$?
61443 grep -v '^ *+' conftest.er1 >conftest.err
61444 rm -f conftest.er1
61445 cat conftest.err >&5
61446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61447 (exit $ac_status); } &&
61448 { ac_try='test -z "$ac_cxx_werror_flag"
61449 || test ! -s conftest.err'
61450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61451 (eval $ac_try) 2>&5
61452 ac_status=$?
61453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61454 (exit $ac_status); }; } &&
61455 { ac_try='test -s conftest.$ac_objext'
61456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61457 (eval $ac_try) 2>&5
61458 ac_status=$?
61459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61460 (exit $ac_status); }; }; then
61461 glibcxx_cv_func___builtin_labs_use=yes
61462 else
61463 echo "$as_me: failed program was:" >&5
61464 sed 's/^/| /' conftest.$ac_ext >&5
61466 glibcxx_cv_func___builtin_labs_use=no
61468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61469 ac_ext=c
61470 ac_cpp='$CPP $CPPFLAGS'
61471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61479 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
61480 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
61481 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
61482 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
61483 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
61484 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
61485 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
61486 echo $ECHO_N "(cached) $ECHO_C" >&6
61487 else
61489 if test x$gcc_no_link = xyes; then
61490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61492 { (exit 1); exit 1; }; }
61494 cat >conftest.$ac_ext <<_ACEOF
61495 /* confdefs.h. */
61496 _ACEOF
61497 cat confdefs.h >>conftest.$ac_ext
61498 cat >>conftest.$ac_ext <<_ACEOF
61499 /* end confdefs.h. */
61500 #include <math.h>
61502 main ()
61504 __builtin_labs(0);
61506 return 0;
61508 _ACEOF
61509 rm -f conftest.$ac_objext conftest$ac_exeext
61510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61511 (eval $ac_link) 2>conftest.er1
61512 ac_status=$?
61513 grep -v '^ *+' conftest.er1 >conftest.err
61514 rm -f conftest.er1
61515 cat conftest.err >&5
61516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61517 (exit $ac_status); } &&
61518 { ac_try='test -z "$ac_c_werror_flag"
61519 || test ! -s conftest.err'
61520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61521 (eval $ac_try) 2>&5
61522 ac_status=$?
61523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61524 (exit $ac_status); }; } &&
61525 { ac_try='test -s conftest$ac_exeext'
61526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61527 (eval $ac_try) 2>&5
61528 ac_status=$?
61529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61530 (exit $ac_status); }; }; then
61531 glibcxx_cv_func___builtin_labs_link=yes
61532 else
61533 echo "$as_me: failed program was:" >&5
61534 sed 's/^/| /' conftest.$ac_ext >&5
61536 glibcxx_cv_func___builtin_labs_link=no
61538 rm -f conftest.err conftest.$ac_objext \
61539 conftest$ac_exeext conftest.$ac_ext
61544 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
61545 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
61547 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
61549 cat >>confdefs.h <<\_ACEOF
61550 #define HAVE___BUILTIN_LABS 1
61551 _ACEOF
61559 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
61560 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
61561 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
61562 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
61563 echo $ECHO_N "(cached) $ECHO_C" >&6
61564 else
61568 ac_ext=cc
61569 ac_cpp='$CXXCPP $CPPFLAGS'
61570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61574 cat >conftest.$ac_ext <<_ACEOF
61575 /* confdefs.h. */
61576 _ACEOF
61577 cat confdefs.h >>conftest.$ac_ext
61578 cat >>conftest.$ac_ext <<_ACEOF
61579 /* end confdefs.h. */
61580 #include <math.h>
61582 main ()
61584 __builtin_sqrtf(0);
61586 return 0;
61588 _ACEOF
61589 rm -f conftest.$ac_objext
61590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61591 (eval $ac_compile) 2>conftest.er1
61592 ac_status=$?
61593 grep -v '^ *+' conftest.er1 >conftest.err
61594 rm -f conftest.er1
61595 cat conftest.err >&5
61596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61597 (exit $ac_status); } &&
61598 { ac_try='test -z "$ac_cxx_werror_flag"
61599 || test ! -s conftest.err'
61600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61601 (eval $ac_try) 2>&5
61602 ac_status=$?
61603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61604 (exit $ac_status); }; } &&
61605 { ac_try='test -s conftest.$ac_objext'
61606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61607 (eval $ac_try) 2>&5
61608 ac_status=$?
61609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61610 (exit $ac_status); }; }; then
61611 glibcxx_cv_func___builtin_sqrtf_use=yes
61612 else
61613 echo "$as_me: failed program was:" >&5
61614 sed 's/^/| /' conftest.$ac_ext >&5
61616 glibcxx_cv_func___builtin_sqrtf_use=no
61618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61619 ac_ext=c
61620 ac_cpp='$CPP $CPPFLAGS'
61621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61629 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
61630 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
61631 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
61632 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
61633 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
61634 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
61635 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
61636 echo $ECHO_N "(cached) $ECHO_C" >&6
61637 else
61639 if test x$gcc_no_link = xyes; then
61640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61642 { (exit 1); exit 1; }; }
61644 cat >conftest.$ac_ext <<_ACEOF
61645 /* confdefs.h. */
61646 _ACEOF
61647 cat confdefs.h >>conftest.$ac_ext
61648 cat >>conftest.$ac_ext <<_ACEOF
61649 /* end confdefs.h. */
61650 #include <math.h>
61652 main ()
61654 __builtin_sqrtf(0);
61656 return 0;
61658 _ACEOF
61659 rm -f conftest.$ac_objext conftest$ac_exeext
61660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61661 (eval $ac_link) 2>conftest.er1
61662 ac_status=$?
61663 grep -v '^ *+' conftest.er1 >conftest.err
61664 rm -f conftest.er1
61665 cat conftest.err >&5
61666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61667 (exit $ac_status); } &&
61668 { ac_try='test -z "$ac_c_werror_flag"
61669 || test ! -s conftest.err'
61670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61671 (eval $ac_try) 2>&5
61672 ac_status=$?
61673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61674 (exit $ac_status); }; } &&
61675 { ac_try='test -s conftest$ac_exeext'
61676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61677 (eval $ac_try) 2>&5
61678 ac_status=$?
61679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61680 (exit $ac_status); }; }; then
61681 glibcxx_cv_func___builtin_sqrtf_link=yes
61682 else
61683 echo "$as_me: failed program was:" >&5
61684 sed 's/^/| /' conftest.$ac_ext >&5
61686 glibcxx_cv_func___builtin_sqrtf_link=no
61688 rm -f conftest.err conftest.$ac_objext \
61689 conftest$ac_exeext conftest.$ac_ext
61694 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
61695 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
61697 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
61699 cat >>confdefs.h <<\_ACEOF
61700 #define HAVE___BUILTIN_SQRTF 1
61701 _ACEOF
61708 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
61709 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
61710 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
61711 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
61712 echo $ECHO_N "(cached) $ECHO_C" >&6
61713 else
61717 ac_ext=cc
61718 ac_cpp='$CXXCPP $CPPFLAGS'
61719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61723 cat >conftest.$ac_ext <<_ACEOF
61724 /* confdefs.h. */
61725 _ACEOF
61726 cat confdefs.h >>conftest.$ac_ext
61727 cat >>conftest.$ac_ext <<_ACEOF
61728 /* end confdefs.h. */
61729 #include <math.h>
61731 main ()
61733 __builtin_sqrt(0);
61735 return 0;
61737 _ACEOF
61738 rm -f conftest.$ac_objext
61739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61740 (eval $ac_compile) 2>conftest.er1
61741 ac_status=$?
61742 grep -v '^ *+' conftest.er1 >conftest.err
61743 rm -f conftest.er1
61744 cat conftest.err >&5
61745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61746 (exit $ac_status); } &&
61747 { ac_try='test -z "$ac_cxx_werror_flag"
61748 || test ! -s conftest.err'
61749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61750 (eval $ac_try) 2>&5
61751 ac_status=$?
61752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61753 (exit $ac_status); }; } &&
61754 { ac_try='test -s conftest.$ac_objext'
61755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61756 (eval $ac_try) 2>&5
61757 ac_status=$?
61758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61759 (exit $ac_status); }; }; then
61760 glibcxx_cv_func___builtin_sqrt_use=yes
61761 else
61762 echo "$as_me: failed program was:" >&5
61763 sed 's/^/| /' conftest.$ac_ext >&5
61765 glibcxx_cv_func___builtin_sqrt_use=no
61767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61768 ac_ext=c
61769 ac_cpp='$CPP $CPPFLAGS'
61770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61778 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
61779 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
61780 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
61781 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
61782 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
61783 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
61784 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
61785 echo $ECHO_N "(cached) $ECHO_C" >&6
61786 else
61788 if test x$gcc_no_link = xyes; then
61789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61791 { (exit 1); exit 1; }; }
61793 cat >conftest.$ac_ext <<_ACEOF
61794 /* confdefs.h. */
61795 _ACEOF
61796 cat confdefs.h >>conftest.$ac_ext
61797 cat >>conftest.$ac_ext <<_ACEOF
61798 /* end confdefs.h. */
61799 #include <math.h>
61801 main ()
61803 __builtin_sqrt(0);
61805 return 0;
61807 _ACEOF
61808 rm -f conftest.$ac_objext conftest$ac_exeext
61809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61810 (eval $ac_link) 2>conftest.er1
61811 ac_status=$?
61812 grep -v '^ *+' conftest.er1 >conftest.err
61813 rm -f conftest.er1
61814 cat conftest.err >&5
61815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61816 (exit $ac_status); } &&
61817 { ac_try='test -z "$ac_c_werror_flag"
61818 || test ! -s conftest.err'
61819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61820 (eval $ac_try) 2>&5
61821 ac_status=$?
61822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61823 (exit $ac_status); }; } &&
61824 { ac_try='test -s conftest$ac_exeext'
61825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61826 (eval $ac_try) 2>&5
61827 ac_status=$?
61828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61829 (exit $ac_status); }; }; then
61830 glibcxx_cv_func___builtin_sqrt_link=yes
61831 else
61832 echo "$as_me: failed program was:" >&5
61833 sed 's/^/| /' conftest.$ac_ext >&5
61835 glibcxx_cv_func___builtin_sqrt_link=no
61837 rm -f conftest.err conftest.$ac_objext \
61838 conftest$ac_exeext conftest.$ac_ext
61843 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
61844 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
61846 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
61848 cat >>confdefs.h <<\_ACEOF
61849 #define HAVE___BUILTIN_SQRT 1
61850 _ACEOF
61857 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
61858 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
61859 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
61860 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
61861 echo $ECHO_N "(cached) $ECHO_C" >&6
61862 else
61866 ac_ext=cc
61867 ac_cpp='$CXXCPP $CPPFLAGS'
61868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61872 cat >conftest.$ac_ext <<_ACEOF
61873 /* confdefs.h. */
61874 _ACEOF
61875 cat confdefs.h >>conftest.$ac_ext
61876 cat >>conftest.$ac_ext <<_ACEOF
61877 /* end confdefs.h. */
61878 #include <math.h>
61880 main ()
61882 __builtin_sqrtl(0);
61884 return 0;
61886 _ACEOF
61887 rm -f conftest.$ac_objext
61888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61889 (eval $ac_compile) 2>conftest.er1
61890 ac_status=$?
61891 grep -v '^ *+' conftest.er1 >conftest.err
61892 rm -f conftest.er1
61893 cat conftest.err >&5
61894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61895 (exit $ac_status); } &&
61896 { ac_try='test -z "$ac_cxx_werror_flag"
61897 || test ! -s conftest.err'
61898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61899 (eval $ac_try) 2>&5
61900 ac_status=$?
61901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61902 (exit $ac_status); }; } &&
61903 { ac_try='test -s conftest.$ac_objext'
61904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61905 (eval $ac_try) 2>&5
61906 ac_status=$?
61907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61908 (exit $ac_status); }; }; then
61909 glibcxx_cv_func___builtin_sqrtl_use=yes
61910 else
61911 echo "$as_me: failed program was:" >&5
61912 sed 's/^/| /' conftest.$ac_ext >&5
61914 glibcxx_cv_func___builtin_sqrtl_use=no
61916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61917 ac_ext=c
61918 ac_cpp='$CPP $CPPFLAGS'
61919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61927 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
61928 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
61929 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
61930 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
61931 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
61932 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
61933 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
61934 echo $ECHO_N "(cached) $ECHO_C" >&6
61935 else
61937 if test x$gcc_no_link = xyes; then
61938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61940 { (exit 1); exit 1; }; }
61942 cat >conftest.$ac_ext <<_ACEOF
61943 /* confdefs.h. */
61944 _ACEOF
61945 cat confdefs.h >>conftest.$ac_ext
61946 cat >>conftest.$ac_ext <<_ACEOF
61947 /* end confdefs.h. */
61948 #include <math.h>
61950 main ()
61952 __builtin_sqrtl(0);
61954 return 0;
61956 _ACEOF
61957 rm -f conftest.$ac_objext conftest$ac_exeext
61958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61959 (eval $ac_link) 2>conftest.er1
61960 ac_status=$?
61961 grep -v '^ *+' conftest.er1 >conftest.err
61962 rm -f conftest.er1
61963 cat conftest.err >&5
61964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61965 (exit $ac_status); } &&
61966 { ac_try='test -z "$ac_c_werror_flag"
61967 || test ! -s conftest.err'
61968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61969 (eval $ac_try) 2>&5
61970 ac_status=$?
61971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61972 (exit $ac_status); }; } &&
61973 { ac_try='test -s conftest$ac_exeext'
61974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61975 (eval $ac_try) 2>&5
61976 ac_status=$?
61977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61978 (exit $ac_status); }; }; then
61979 glibcxx_cv_func___builtin_sqrtl_link=yes
61980 else
61981 echo "$as_me: failed program was:" >&5
61982 sed 's/^/| /' conftest.$ac_ext >&5
61984 glibcxx_cv_func___builtin_sqrtl_link=no
61986 rm -f conftest.err conftest.$ac_objext \
61987 conftest$ac_exeext conftest.$ac_ext
61992 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
61993 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
61995 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
61997 cat >>confdefs.h <<\_ACEOF
61998 #define HAVE___BUILTIN_SQRTL 1
61999 _ACEOF
62007 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
62008 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
62009 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
62010 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
62011 echo $ECHO_N "(cached) $ECHO_C" >&6
62012 else
62016 ac_ext=cc
62017 ac_cpp='$CXXCPP $CPPFLAGS'
62018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62022 cat >conftest.$ac_ext <<_ACEOF
62023 /* confdefs.h. */
62024 _ACEOF
62025 cat confdefs.h >>conftest.$ac_ext
62026 cat >>conftest.$ac_ext <<_ACEOF
62027 /* end confdefs.h. */
62028 #include <math.h>
62030 main ()
62032 __builtin_sinf(0);
62034 return 0;
62036 _ACEOF
62037 rm -f conftest.$ac_objext
62038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62039 (eval $ac_compile) 2>conftest.er1
62040 ac_status=$?
62041 grep -v '^ *+' conftest.er1 >conftest.err
62042 rm -f conftest.er1
62043 cat conftest.err >&5
62044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62045 (exit $ac_status); } &&
62046 { ac_try='test -z "$ac_cxx_werror_flag"
62047 || test ! -s conftest.err'
62048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62049 (eval $ac_try) 2>&5
62050 ac_status=$?
62051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62052 (exit $ac_status); }; } &&
62053 { ac_try='test -s conftest.$ac_objext'
62054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62055 (eval $ac_try) 2>&5
62056 ac_status=$?
62057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62058 (exit $ac_status); }; }; then
62059 glibcxx_cv_func___builtin_sinf_use=yes
62060 else
62061 echo "$as_me: failed program was:" >&5
62062 sed 's/^/| /' conftest.$ac_ext >&5
62064 glibcxx_cv_func___builtin_sinf_use=no
62066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62067 ac_ext=c
62068 ac_cpp='$CPP $CPPFLAGS'
62069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62077 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
62078 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
62079 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
62080 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
62081 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
62082 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
62083 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
62084 echo $ECHO_N "(cached) $ECHO_C" >&6
62085 else
62087 if test x$gcc_no_link = xyes; then
62088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62090 { (exit 1); exit 1; }; }
62092 cat >conftest.$ac_ext <<_ACEOF
62093 /* confdefs.h. */
62094 _ACEOF
62095 cat confdefs.h >>conftest.$ac_ext
62096 cat >>conftest.$ac_ext <<_ACEOF
62097 /* end confdefs.h. */
62098 #include <math.h>
62100 main ()
62102 __builtin_sinf(0);
62104 return 0;
62106 _ACEOF
62107 rm -f conftest.$ac_objext conftest$ac_exeext
62108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62109 (eval $ac_link) 2>conftest.er1
62110 ac_status=$?
62111 grep -v '^ *+' conftest.er1 >conftest.err
62112 rm -f conftest.er1
62113 cat conftest.err >&5
62114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62115 (exit $ac_status); } &&
62116 { ac_try='test -z "$ac_c_werror_flag"
62117 || test ! -s conftest.err'
62118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62119 (eval $ac_try) 2>&5
62120 ac_status=$?
62121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62122 (exit $ac_status); }; } &&
62123 { ac_try='test -s conftest$ac_exeext'
62124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62125 (eval $ac_try) 2>&5
62126 ac_status=$?
62127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62128 (exit $ac_status); }; }; then
62129 glibcxx_cv_func___builtin_sinf_link=yes
62130 else
62131 echo "$as_me: failed program was:" >&5
62132 sed 's/^/| /' conftest.$ac_ext >&5
62134 glibcxx_cv_func___builtin_sinf_link=no
62136 rm -f conftest.err conftest.$ac_objext \
62137 conftest$ac_exeext conftest.$ac_ext
62142 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
62143 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
62145 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
62147 cat >>confdefs.h <<\_ACEOF
62148 #define HAVE___BUILTIN_SINF 1
62149 _ACEOF
62156 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
62157 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
62158 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
62159 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
62160 echo $ECHO_N "(cached) $ECHO_C" >&6
62161 else
62165 ac_ext=cc
62166 ac_cpp='$CXXCPP $CPPFLAGS'
62167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62171 cat >conftest.$ac_ext <<_ACEOF
62172 /* confdefs.h. */
62173 _ACEOF
62174 cat confdefs.h >>conftest.$ac_ext
62175 cat >>conftest.$ac_ext <<_ACEOF
62176 /* end confdefs.h. */
62177 #include <math.h>
62179 main ()
62181 __builtin_sin(0);
62183 return 0;
62185 _ACEOF
62186 rm -f conftest.$ac_objext
62187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62188 (eval $ac_compile) 2>conftest.er1
62189 ac_status=$?
62190 grep -v '^ *+' conftest.er1 >conftest.err
62191 rm -f conftest.er1
62192 cat conftest.err >&5
62193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62194 (exit $ac_status); } &&
62195 { ac_try='test -z "$ac_cxx_werror_flag"
62196 || test ! -s conftest.err'
62197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62198 (eval $ac_try) 2>&5
62199 ac_status=$?
62200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62201 (exit $ac_status); }; } &&
62202 { ac_try='test -s conftest.$ac_objext'
62203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62204 (eval $ac_try) 2>&5
62205 ac_status=$?
62206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62207 (exit $ac_status); }; }; then
62208 glibcxx_cv_func___builtin_sin_use=yes
62209 else
62210 echo "$as_me: failed program was:" >&5
62211 sed 's/^/| /' conftest.$ac_ext >&5
62213 glibcxx_cv_func___builtin_sin_use=no
62215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62216 ac_ext=c
62217 ac_cpp='$CPP $CPPFLAGS'
62218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62226 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
62227 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
62228 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
62229 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
62230 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
62231 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
62232 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
62233 echo $ECHO_N "(cached) $ECHO_C" >&6
62234 else
62236 if test x$gcc_no_link = xyes; then
62237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62239 { (exit 1); exit 1; }; }
62241 cat >conftest.$ac_ext <<_ACEOF
62242 /* confdefs.h. */
62243 _ACEOF
62244 cat confdefs.h >>conftest.$ac_ext
62245 cat >>conftest.$ac_ext <<_ACEOF
62246 /* end confdefs.h. */
62247 #include <math.h>
62249 main ()
62251 __builtin_sin(0);
62253 return 0;
62255 _ACEOF
62256 rm -f conftest.$ac_objext conftest$ac_exeext
62257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62258 (eval $ac_link) 2>conftest.er1
62259 ac_status=$?
62260 grep -v '^ *+' conftest.er1 >conftest.err
62261 rm -f conftest.er1
62262 cat conftest.err >&5
62263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62264 (exit $ac_status); } &&
62265 { ac_try='test -z "$ac_c_werror_flag"
62266 || test ! -s conftest.err'
62267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62268 (eval $ac_try) 2>&5
62269 ac_status=$?
62270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62271 (exit $ac_status); }; } &&
62272 { ac_try='test -s conftest$ac_exeext'
62273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62274 (eval $ac_try) 2>&5
62275 ac_status=$?
62276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62277 (exit $ac_status); }; }; then
62278 glibcxx_cv_func___builtin_sin_link=yes
62279 else
62280 echo "$as_me: failed program was:" >&5
62281 sed 's/^/| /' conftest.$ac_ext >&5
62283 glibcxx_cv_func___builtin_sin_link=no
62285 rm -f conftest.err conftest.$ac_objext \
62286 conftest$ac_exeext conftest.$ac_ext
62291 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
62292 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
62294 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
62296 cat >>confdefs.h <<\_ACEOF
62297 #define HAVE___BUILTIN_SIN 1
62298 _ACEOF
62305 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
62306 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
62307 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
62308 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
62309 echo $ECHO_N "(cached) $ECHO_C" >&6
62310 else
62314 ac_ext=cc
62315 ac_cpp='$CXXCPP $CPPFLAGS'
62316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62320 cat >conftest.$ac_ext <<_ACEOF
62321 /* confdefs.h. */
62322 _ACEOF
62323 cat confdefs.h >>conftest.$ac_ext
62324 cat >>conftest.$ac_ext <<_ACEOF
62325 /* end confdefs.h. */
62326 #include <math.h>
62328 main ()
62330 __builtin_sinl(0);
62332 return 0;
62334 _ACEOF
62335 rm -f conftest.$ac_objext
62336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62337 (eval $ac_compile) 2>conftest.er1
62338 ac_status=$?
62339 grep -v '^ *+' conftest.er1 >conftest.err
62340 rm -f conftest.er1
62341 cat conftest.err >&5
62342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62343 (exit $ac_status); } &&
62344 { ac_try='test -z "$ac_cxx_werror_flag"
62345 || test ! -s conftest.err'
62346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62347 (eval $ac_try) 2>&5
62348 ac_status=$?
62349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62350 (exit $ac_status); }; } &&
62351 { ac_try='test -s conftest.$ac_objext'
62352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62353 (eval $ac_try) 2>&5
62354 ac_status=$?
62355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62356 (exit $ac_status); }; }; then
62357 glibcxx_cv_func___builtin_sinl_use=yes
62358 else
62359 echo "$as_me: failed program was:" >&5
62360 sed 's/^/| /' conftest.$ac_ext >&5
62362 glibcxx_cv_func___builtin_sinl_use=no
62364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62365 ac_ext=c
62366 ac_cpp='$CPP $CPPFLAGS'
62367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62375 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
62376 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
62377 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
62378 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
62379 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
62380 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
62381 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
62382 echo $ECHO_N "(cached) $ECHO_C" >&6
62383 else
62385 if test x$gcc_no_link = xyes; then
62386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62388 { (exit 1); exit 1; }; }
62390 cat >conftest.$ac_ext <<_ACEOF
62391 /* confdefs.h. */
62392 _ACEOF
62393 cat confdefs.h >>conftest.$ac_ext
62394 cat >>conftest.$ac_ext <<_ACEOF
62395 /* end confdefs.h. */
62396 #include <math.h>
62398 main ()
62400 __builtin_sinl(0);
62402 return 0;
62404 _ACEOF
62405 rm -f conftest.$ac_objext conftest$ac_exeext
62406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62407 (eval $ac_link) 2>conftest.er1
62408 ac_status=$?
62409 grep -v '^ *+' conftest.er1 >conftest.err
62410 rm -f conftest.er1
62411 cat conftest.err >&5
62412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62413 (exit $ac_status); } &&
62414 { ac_try='test -z "$ac_c_werror_flag"
62415 || test ! -s conftest.err'
62416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62417 (eval $ac_try) 2>&5
62418 ac_status=$?
62419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62420 (exit $ac_status); }; } &&
62421 { ac_try='test -s conftest$ac_exeext'
62422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62423 (eval $ac_try) 2>&5
62424 ac_status=$?
62425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62426 (exit $ac_status); }; }; then
62427 glibcxx_cv_func___builtin_sinl_link=yes
62428 else
62429 echo "$as_me: failed program was:" >&5
62430 sed 's/^/| /' conftest.$ac_ext >&5
62432 glibcxx_cv_func___builtin_sinl_link=no
62434 rm -f conftest.err conftest.$ac_objext \
62435 conftest$ac_exeext conftest.$ac_ext
62440 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
62441 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
62443 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
62445 cat >>confdefs.h <<\_ACEOF
62446 #define HAVE___BUILTIN_SINL 1
62447 _ACEOF
62455 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
62456 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
62457 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
62458 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
62459 echo $ECHO_N "(cached) $ECHO_C" >&6
62460 else
62464 ac_ext=cc
62465 ac_cpp='$CXXCPP $CPPFLAGS'
62466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62470 cat >conftest.$ac_ext <<_ACEOF
62471 /* confdefs.h. */
62472 _ACEOF
62473 cat confdefs.h >>conftest.$ac_ext
62474 cat >>conftest.$ac_ext <<_ACEOF
62475 /* end confdefs.h. */
62476 #include <math.h>
62478 main ()
62480 __builtin_cosf(0);
62482 return 0;
62484 _ACEOF
62485 rm -f conftest.$ac_objext
62486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62487 (eval $ac_compile) 2>conftest.er1
62488 ac_status=$?
62489 grep -v '^ *+' conftest.er1 >conftest.err
62490 rm -f conftest.er1
62491 cat conftest.err >&5
62492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62493 (exit $ac_status); } &&
62494 { ac_try='test -z "$ac_cxx_werror_flag"
62495 || test ! -s conftest.err'
62496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62497 (eval $ac_try) 2>&5
62498 ac_status=$?
62499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62500 (exit $ac_status); }; } &&
62501 { ac_try='test -s conftest.$ac_objext'
62502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62503 (eval $ac_try) 2>&5
62504 ac_status=$?
62505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62506 (exit $ac_status); }; }; then
62507 glibcxx_cv_func___builtin_cosf_use=yes
62508 else
62509 echo "$as_me: failed program was:" >&5
62510 sed 's/^/| /' conftest.$ac_ext >&5
62512 glibcxx_cv_func___builtin_cosf_use=no
62514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62515 ac_ext=c
62516 ac_cpp='$CPP $CPPFLAGS'
62517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62525 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
62526 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
62527 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
62528 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
62529 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
62530 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
62531 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
62532 echo $ECHO_N "(cached) $ECHO_C" >&6
62533 else
62535 if test x$gcc_no_link = xyes; then
62536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62538 { (exit 1); exit 1; }; }
62540 cat >conftest.$ac_ext <<_ACEOF
62541 /* confdefs.h. */
62542 _ACEOF
62543 cat confdefs.h >>conftest.$ac_ext
62544 cat >>conftest.$ac_ext <<_ACEOF
62545 /* end confdefs.h. */
62546 #include <math.h>
62548 main ()
62550 __builtin_cosf(0);
62552 return 0;
62554 _ACEOF
62555 rm -f conftest.$ac_objext conftest$ac_exeext
62556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62557 (eval $ac_link) 2>conftest.er1
62558 ac_status=$?
62559 grep -v '^ *+' conftest.er1 >conftest.err
62560 rm -f conftest.er1
62561 cat conftest.err >&5
62562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62563 (exit $ac_status); } &&
62564 { ac_try='test -z "$ac_c_werror_flag"
62565 || test ! -s conftest.err'
62566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62567 (eval $ac_try) 2>&5
62568 ac_status=$?
62569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62570 (exit $ac_status); }; } &&
62571 { ac_try='test -s conftest$ac_exeext'
62572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62573 (eval $ac_try) 2>&5
62574 ac_status=$?
62575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62576 (exit $ac_status); }; }; then
62577 glibcxx_cv_func___builtin_cosf_link=yes
62578 else
62579 echo "$as_me: failed program was:" >&5
62580 sed 's/^/| /' conftest.$ac_ext >&5
62582 glibcxx_cv_func___builtin_cosf_link=no
62584 rm -f conftest.err conftest.$ac_objext \
62585 conftest$ac_exeext conftest.$ac_ext
62590 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
62591 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
62593 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
62595 cat >>confdefs.h <<\_ACEOF
62596 #define HAVE___BUILTIN_COSF 1
62597 _ACEOF
62604 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
62605 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
62606 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
62607 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
62608 echo $ECHO_N "(cached) $ECHO_C" >&6
62609 else
62613 ac_ext=cc
62614 ac_cpp='$CXXCPP $CPPFLAGS'
62615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62619 cat >conftest.$ac_ext <<_ACEOF
62620 /* confdefs.h. */
62621 _ACEOF
62622 cat confdefs.h >>conftest.$ac_ext
62623 cat >>conftest.$ac_ext <<_ACEOF
62624 /* end confdefs.h. */
62625 #include <math.h>
62627 main ()
62629 __builtin_cos(0);
62631 return 0;
62633 _ACEOF
62634 rm -f conftest.$ac_objext
62635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62636 (eval $ac_compile) 2>conftest.er1
62637 ac_status=$?
62638 grep -v '^ *+' conftest.er1 >conftest.err
62639 rm -f conftest.er1
62640 cat conftest.err >&5
62641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62642 (exit $ac_status); } &&
62643 { ac_try='test -z "$ac_cxx_werror_flag"
62644 || test ! -s conftest.err'
62645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62646 (eval $ac_try) 2>&5
62647 ac_status=$?
62648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62649 (exit $ac_status); }; } &&
62650 { ac_try='test -s conftest.$ac_objext'
62651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62652 (eval $ac_try) 2>&5
62653 ac_status=$?
62654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62655 (exit $ac_status); }; }; then
62656 glibcxx_cv_func___builtin_cos_use=yes
62657 else
62658 echo "$as_me: failed program was:" >&5
62659 sed 's/^/| /' conftest.$ac_ext >&5
62661 glibcxx_cv_func___builtin_cos_use=no
62663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62664 ac_ext=c
62665 ac_cpp='$CPP $CPPFLAGS'
62666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62674 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
62675 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
62676 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
62677 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
62678 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
62679 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
62680 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
62681 echo $ECHO_N "(cached) $ECHO_C" >&6
62682 else
62684 if test x$gcc_no_link = xyes; then
62685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62687 { (exit 1); exit 1; }; }
62689 cat >conftest.$ac_ext <<_ACEOF
62690 /* confdefs.h. */
62691 _ACEOF
62692 cat confdefs.h >>conftest.$ac_ext
62693 cat >>conftest.$ac_ext <<_ACEOF
62694 /* end confdefs.h. */
62695 #include <math.h>
62697 main ()
62699 __builtin_cos(0);
62701 return 0;
62703 _ACEOF
62704 rm -f conftest.$ac_objext conftest$ac_exeext
62705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62706 (eval $ac_link) 2>conftest.er1
62707 ac_status=$?
62708 grep -v '^ *+' conftest.er1 >conftest.err
62709 rm -f conftest.er1
62710 cat conftest.err >&5
62711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62712 (exit $ac_status); } &&
62713 { ac_try='test -z "$ac_c_werror_flag"
62714 || test ! -s conftest.err'
62715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62716 (eval $ac_try) 2>&5
62717 ac_status=$?
62718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62719 (exit $ac_status); }; } &&
62720 { ac_try='test -s conftest$ac_exeext'
62721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62722 (eval $ac_try) 2>&5
62723 ac_status=$?
62724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62725 (exit $ac_status); }; }; then
62726 glibcxx_cv_func___builtin_cos_link=yes
62727 else
62728 echo "$as_me: failed program was:" >&5
62729 sed 's/^/| /' conftest.$ac_ext >&5
62731 glibcxx_cv_func___builtin_cos_link=no
62733 rm -f conftest.err conftest.$ac_objext \
62734 conftest$ac_exeext conftest.$ac_ext
62739 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
62740 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
62742 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
62744 cat >>confdefs.h <<\_ACEOF
62745 #define HAVE___BUILTIN_COS 1
62746 _ACEOF
62753 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
62754 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
62755 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
62756 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
62757 echo $ECHO_N "(cached) $ECHO_C" >&6
62758 else
62762 ac_ext=cc
62763 ac_cpp='$CXXCPP $CPPFLAGS'
62764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62768 cat >conftest.$ac_ext <<_ACEOF
62769 /* confdefs.h. */
62770 _ACEOF
62771 cat confdefs.h >>conftest.$ac_ext
62772 cat >>conftest.$ac_ext <<_ACEOF
62773 /* end confdefs.h. */
62774 #include <math.h>
62776 main ()
62778 __builtin_cosl(0);
62780 return 0;
62782 _ACEOF
62783 rm -f conftest.$ac_objext
62784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62785 (eval $ac_compile) 2>conftest.er1
62786 ac_status=$?
62787 grep -v '^ *+' conftest.er1 >conftest.err
62788 rm -f conftest.er1
62789 cat conftest.err >&5
62790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62791 (exit $ac_status); } &&
62792 { ac_try='test -z "$ac_cxx_werror_flag"
62793 || test ! -s conftest.err'
62794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62795 (eval $ac_try) 2>&5
62796 ac_status=$?
62797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62798 (exit $ac_status); }; } &&
62799 { ac_try='test -s conftest.$ac_objext'
62800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62801 (eval $ac_try) 2>&5
62802 ac_status=$?
62803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62804 (exit $ac_status); }; }; then
62805 glibcxx_cv_func___builtin_cosl_use=yes
62806 else
62807 echo "$as_me: failed program was:" >&5
62808 sed 's/^/| /' conftest.$ac_ext >&5
62810 glibcxx_cv_func___builtin_cosl_use=no
62812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62813 ac_ext=c
62814 ac_cpp='$CPP $CPPFLAGS'
62815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62823 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
62824 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
62825 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
62826 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
62827 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
62828 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
62829 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
62830 echo $ECHO_N "(cached) $ECHO_C" >&6
62831 else
62833 if test x$gcc_no_link = xyes; then
62834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62836 { (exit 1); exit 1; }; }
62838 cat >conftest.$ac_ext <<_ACEOF
62839 /* confdefs.h. */
62840 _ACEOF
62841 cat confdefs.h >>conftest.$ac_ext
62842 cat >>conftest.$ac_ext <<_ACEOF
62843 /* end confdefs.h. */
62844 #include <math.h>
62846 main ()
62848 __builtin_cosl(0);
62850 return 0;
62852 _ACEOF
62853 rm -f conftest.$ac_objext conftest$ac_exeext
62854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62855 (eval $ac_link) 2>conftest.er1
62856 ac_status=$?
62857 grep -v '^ *+' conftest.er1 >conftest.err
62858 rm -f conftest.er1
62859 cat conftest.err >&5
62860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62861 (exit $ac_status); } &&
62862 { ac_try='test -z "$ac_c_werror_flag"
62863 || test ! -s conftest.err'
62864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62865 (eval $ac_try) 2>&5
62866 ac_status=$?
62867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62868 (exit $ac_status); }; } &&
62869 { ac_try='test -s conftest$ac_exeext'
62870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62871 (eval $ac_try) 2>&5
62872 ac_status=$?
62873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62874 (exit $ac_status); }; }; then
62875 glibcxx_cv_func___builtin_cosl_link=yes
62876 else
62877 echo "$as_me: failed program was:" >&5
62878 sed 's/^/| /' conftest.$ac_ext >&5
62880 glibcxx_cv_func___builtin_cosl_link=no
62882 rm -f conftest.err conftest.$ac_objext \
62883 conftest$ac_exeext conftest.$ac_ext
62888 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
62889 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
62891 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
62893 cat >>confdefs.h <<\_ACEOF
62894 #define HAVE___BUILTIN_COSL 1
62895 _ACEOF
62904 echo "$as_me:$LINENO: checking for main in -lm" >&5
62905 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
62906 if test "${ac_cv_lib_m_main+set}" = set; then
62907 echo $ECHO_N "(cached) $ECHO_C" >&6
62908 else
62909 ac_check_lib_save_LIBS=$LIBS
62910 LIBS="-lm $LIBS"
62911 if test x$gcc_no_link = xyes; then
62912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62914 { (exit 1); exit 1; }; }
62916 cat >conftest.$ac_ext <<_ACEOF
62917 /* confdefs.h. */
62918 _ACEOF
62919 cat confdefs.h >>conftest.$ac_ext
62920 cat >>conftest.$ac_ext <<_ACEOF
62921 /* end confdefs.h. */
62925 main ()
62927 main ();
62929 return 0;
62931 _ACEOF
62932 rm -f conftest.$ac_objext conftest$ac_exeext
62933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62934 (eval $ac_link) 2>conftest.er1
62935 ac_status=$?
62936 grep -v '^ *+' conftest.er1 >conftest.err
62937 rm -f conftest.er1
62938 cat conftest.err >&5
62939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62940 (exit $ac_status); } &&
62941 { ac_try='test -z "$ac_c_werror_flag"
62942 || test ! -s conftest.err'
62943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62944 (eval $ac_try) 2>&5
62945 ac_status=$?
62946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62947 (exit $ac_status); }; } &&
62948 { ac_try='test -s conftest$ac_exeext'
62949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62950 (eval $ac_try) 2>&5
62951 ac_status=$?
62952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62953 (exit $ac_status); }; }; then
62954 ac_cv_lib_m_main=yes
62955 else
62956 echo "$as_me: failed program was:" >&5
62957 sed 's/^/| /' conftest.$ac_ext >&5
62959 ac_cv_lib_m_main=no
62961 rm -f conftest.err conftest.$ac_objext \
62962 conftest$ac_exeext conftest.$ac_ext
62963 LIBS=$ac_check_lib_save_LIBS
62965 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
62966 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
62967 if test $ac_cv_lib_m_main = yes; then
62968 cat >>confdefs.h <<_ACEOF
62969 #define HAVE_LIBM 1
62970 _ACEOF
62972 LIBS="-lm $LIBS"
62977 for ac_func in copysignf
62979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62980 echo "$as_me:$LINENO: checking for $ac_func" >&5
62981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62982 if eval "test \"\${$as_ac_var+set}\" = set"; then
62983 echo $ECHO_N "(cached) $ECHO_C" >&6
62984 else
62985 if test x$gcc_no_link = xyes; then
62986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62988 { (exit 1); exit 1; }; }
62990 cat >conftest.$ac_ext <<_ACEOF
62991 /* confdefs.h. */
62992 _ACEOF
62993 cat confdefs.h >>conftest.$ac_ext
62994 cat >>conftest.$ac_ext <<_ACEOF
62995 /* end confdefs.h. */
62996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62998 #define $ac_func innocuous_$ac_func
63000 /* System header to define __stub macros and hopefully few prototypes,
63001 which can conflict with char $ac_func (); below.
63002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63003 <limits.h> exists even on freestanding compilers. */
63005 #ifdef __STDC__
63006 # include <limits.h>
63007 #else
63008 # include <assert.h>
63009 #endif
63011 #undef $ac_func
63013 /* Override any gcc2 internal prototype to avoid an error. */
63014 #ifdef __cplusplus
63015 extern "C"
63017 #endif
63018 /* We use char because int might match the return type of a gcc2
63019 builtin and then its argument prototype would still apply. */
63020 char $ac_func ();
63021 /* The GNU C library defines this for functions which it implements
63022 to always fail with ENOSYS. Some functions are actually named
63023 something starting with __ and the normal name is an alias. */
63024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63025 choke me
63026 #else
63027 char (*f) () = $ac_func;
63028 #endif
63029 #ifdef __cplusplus
63031 #endif
63034 main ()
63036 return f != $ac_func;
63038 return 0;
63040 _ACEOF
63041 rm -f conftest.$ac_objext conftest$ac_exeext
63042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63043 (eval $ac_link) 2>conftest.er1
63044 ac_status=$?
63045 grep -v '^ *+' conftest.er1 >conftest.err
63046 rm -f conftest.er1
63047 cat conftest.err >&5
63048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63049 (exit $ac_status); } &&
63050 { ac_try='test -z "$ac_c_werror_flag"
63051 || test ! -s conftest.err'
63052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63053 (eval $ac_try) 2>&5
63054 ac_status=$?
63055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63056 (exit $ac_status); }; } &&
63057 { ac_try='test -s conftest$ac_exeext'
63058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63059 (eval $ac_try) 2>&5
63060 ac_status=$?
63061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63062 (exit $ac_status); }; }; then
63063 eval "$as_ac_var=yes"
63064 else
63065 echo "$as_me: failed program was:" >&5
63066 sed 's/^/| /' conftest.$ac_ext >&5
63068 eval "$as_ac_var=no"
63070 rm -f conftest.err conftest.$ac_objext \
63071 conftest$ac_exeext conftest.$ac_ext
63073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63075 if test `eval echo '${'$as_ac_var'}'` = yes; then
63076 cat >>confdefs.h <<_ACEOF
63077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63078 _ACEOF
63080 else
63081 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
63083 done
63087 for ac_func in __signbit
63089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63090 echo "$as_me:$LINENO: checking for $ac_func" >&5
63091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63092 if eval "test \"\${$as_ac_var+set}\" = set"; then
63093 echo $ECHO_N "(cached) $ECHO_C" >&6
63094 else
63095 if test x$gcc_no_link = xyes; then
63096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63098 { (exit 1); exit 1; }; }
63100 cat >conftest.$ac_ext <<_ACEOF
63101 /* confdefs.h. */
63102 _ACEOF
63103 cat confdefs.h >>conftest.$ac_ext
63104 cat >>conftest.$ac_ext <<_ACEOF
63105 /* end confdefs.h. */
63106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63108 #define $ac_func innocuous_$ac_func
63110 /* System header to define __stub macros and hopefully few prototypes,
63111 which can conflict with char $ac_func (); below.
63112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63113 <limits.h> exists even on freestanding compilers. */
63115 #ifdef __STDC__
63116 # include <limits.h>
63117 #else
63118 # include <assert.h>
63119 #endif
63121 #undef $ac_func
63123 /* Override any gcc2 internal prototype to avoid an error. */
63124 #ifdef __cplusplus
63125 extern "C"
63127 #endif
63128 /* We use char because int might match the return type of a gcc2
63129 builtin and then its argument prototype would still apply. */
63130 char $ac_func ();
63131 /* The GNU C library defines this for functions which it implements
63132 to always fail with ENOSYS. Some functions are actually named
63133 something starting with __ and the normal name is an alias. */
63134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63135 choke me
63136 #else
63137 char (*f) () = $ac_func;
63138 #endif
63139 #ifdef __cplusplus
63141 #endif
63144 main ()
63146 return f != $ac_func;
63148 return 0;
63150 _ACEOF
63151 rm -f conftest.$ac_objext conftest$ac_exeext
63152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63153 (eval $ac_link) 2>conftest.er1
63154 ac_status=$?
63155 grep -v '^ *+' conftest.er1 >conftest.err
63156 rm -f conftest.er1
63157 cat conftest.err >&5
63158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63159 (exit $ac_status); } &&
63160 { ac_try='test -z "$ac_c_werror_flag"
63161 || test ! -s conftest.err'
63162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63163 (eval $ac_try) 2>&5
63164 ac_status=$?
63165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63166 (exit $ac_status); }; } &&
63167 { ac_try='test -s conftest$ac_exeext'
63168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63169 (eval $ac_try) 2>&5
63170 ac_status=$?
63171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63172 (exit $ac_status); }; }; then
63173 eval "$as_ac_var=yes"
63174 else
63175 echo "$as_me: failed program was:" >&5
63176 sed 's/^/| /' conftest.$ac_ext >&5
63178 eval "$as_ac_var=no"
63180 rm -f conftest.err conftest.$ac_objext \
63181 conftest$ac_exeext conftest.$ac_ext
63183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63185 if test `eval echo '${'$as_ac_var'}'` = yes; then
63186 cat >>confdefs.h <<_ACEOF
63187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63188 _ACEOF
63190 else
63191 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
63193 done
63197 for ac_func in __signbitf
63199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63200 echo "$as_me:$LINENO: checking for $ac_func" >&5
63201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63202 if eval "test \"\${$as_ac_var+set}\" = set"; then
63203 echo $ECHO_N "(cached) $ECHO_C" >&6
63204 else
63205 if test x$gcc_no_link = xyes; then
63206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63208 { (exit 1); exit 1; }; }
63210 cat >conftest.$ac_ext <<_ACEOF
63211 /* confdefs.h. */
63212 _ACEOF
63213 cat confdefs.h >>conftest.$ac_ext
63214 cat >>conftest.$ac_ext <<_ACEOF
63215 /* end confdefs.h. */
63216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63218 #define $ac_func innocuous_$ac_func
63220 /* System header to define __stub macros and hopefully few prototypes,
63221 which can conflict with char $ac_func (); below.
63222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63223 <limits.h> exists even on freestanding compilers. */
63225 #ifdef __STDC__
63226 # include <limits.h>
63227 #else
63228 # include <assert.h>
63229 #endif
63231 #undef $ac_func
63233 /* Override any gcc2 internal prototype to avoid an error. */
63234 #ifdef __cplusplus
63235 extern "C"
63237 #endif
63238 /* We use char because int might match the return type of a gcc2
63239 builtin and then its argument prototype would still apply. */
63240 char $ac_func ();
63241 /* The GNU C library defines this for functions which it implements
63242 to always fail with ENOSYS. Some functions are actually named
63243 something starting with __ and the normal name is an alias. */
63244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63245 choke me
63246 #else
63247 char (*f) () = $ac_func;
63248 #endif
63249 #ifdef __cplusplus
63251 #endif
63254 main ()
63256 return f != $ac_func;
63258 return 0;
63260 _ACEOF
63261 rm -f conftest.$ac_objext conftest$ac_exeext
63262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63263 (eval $ac_link) 2>conftest.er1
63264 ac_status=$?
63265 grep -v '^ *+' conftest.er1 >conftest.err
63266 rm -f conftest.er1
63267 cat conftest.err >&5
63268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63269 (exit $ac_status); } &&
63270 { ac_try='test -z "$ac_c_werror_flag"
63271 || test ! -s conftest.err'
63272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63273 (eval $ac_try) 2>&5
63274 ac_status=$?
63275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63276 (exit $ac_status); }; } &&
63277 { ac_try='test -s conftest$ac_exeext'
63278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63279 (eval $ac_try) 2>&5
63280 ac_status=$?
63281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63282 (exit $ac_status); }; }; then
63283 eval "$as_ac_var=yes"
63284 else
63285 echo "$as_me: failed program was:" >&5
63286 sed 's/^/| /' conftest.$ac_ext >&5
63288 eval "$as_ac_var=no"
63290 rm -f conftest.err conftest.$ac_objext \
63291 conftest$ac_exeext conftest.$ac_ext
63293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63295 if test `eval echo '${'$as_ac_var'}'` = yes; then
63296 cat >>confdefs.h <<_ACEOF
63297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63298 _ACEOF
63300 else
63301 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
63303 done
63306 if test x$ac_cv_func_copysignl = x"yes"; then
63308 for ac_func in __signbitl
63310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63311 echo "$as_me:$LINENO: checking for $ac_func" >&5
63312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63313 if eval "test \"\${$as_ac_var+set}\" = set"; then
63314 echo $ECHO_N "(cached) $ECHO_C" >&6
63315 else
63316 if test x$gcc_no_link = xyes; then
63317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63319 { (exit 1); exit 1; }; }
63321 cat >conftest.$ac_ext <<_ACEOF
63322 /* confdefs.h. */
63323 _ACEOF
63324 cat confdefs.h >>conftest.$ac_ext
63325 cat >>conftest.$ac_ext <<_ACEOF
63326 /* end confdefs.h. */
63327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63329 #define $ac_func innocuous_$ac_func
63331 /* System header to define __stub macros and hopefully few prototypes,
63332 which can conflict with char $ac_func (); below.
63333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63334 <limits.h> exists even on freestanding compilers. */
63336 #ifdef __STDC__
63337 # include <limits.h>
63338 #else
63339 # include <assert.h>
63340 #endif
63342 #undef $ac_func
63344 /* Override any gcc2 internal prototype to avoid an error. */
63345 #ifdef __cplusplus
63346 extern "C"
63348 #endif
63349 /* We use char because int might match the return type of a gcc2
63350 builtin and then its argument prototype would still apply. */
63351 char $ac_func ();
63352 /* The GNU C library defines this for functions which it implements
63353 to always fail with ENOSYS. Some functions are actually named
63354 something starting with __ and the normal name is an alias. */
63355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63356 choke me
63357 #else
63358 char (*f) () = $ac_func;
63359 #endif
63360 #ifdef __cplusplus
63362 #endif
63365 main ()
63367 return f != $ac_func;
63369 return 0;
63371 _ACEOF
63372 rm -f conftest.$ac_objext conftest$ac_exeext
63373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63374 (eval $ac_link) 2>conftest.er1
63375 ac_status=$?
63376 grep -v '^ *+' conftest.er1 >conftest.err
63377 rm -f conftest.er1
63378 cat conftest.err >&5
63379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63380 (exit $ac_status); } &&
63381 { ac_try='test -z "$ac_c_werror_flag"
63382 || test ! -s conftest.err'
63383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63384 (eval $ac_try) 2>&5
63385 ac_status=$?
63386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63387 (exit $ac_status); }; } &&
63388 { ac_try='test -s conftest$ac_exeext'
63389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63390 (eval $ac_try) 2>&5
63391 ac_status=$?
63392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63393 (exit $ac_status); }; }; then
63394 eval "$as_ac_var=yes"
63395 else
63396 echo "$as_me: failed program was:" >&5
63397 sed 's/^/| /' conftest.$ac_ext >&5
63399 eval "$as_ac_var=no"
63401 rm -f conftest.err conftest.$ac_objext \
63402 conftest$ac_exeext conftest.$ac_ext
63404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63406 if test `eval echo '${'$as_ac_var'}'` = yes; then
63407 cat >>confdefs.h <<_ACEOF
63408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63409 _ACEOF
63411 else
63412 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
63414 done
63418 # Used in libmath/Makefile.am.
63419 if test -n "$LIBMATHOBJS"; then
63420 need_libmath=yes
63425 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63426 ac_save_CXXFLAGS="$CXXFLAGS"
63427 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63430 echo "$as_me:$LINENO: checking for strtold declaration" >&5
63431 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
63432 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63433 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
63434 echo $ECHO_N "(cached) $ECHO_C" >&6
63435 else
63439 ac_ext=cc
63440 ac_cpp='$CXXCPP $CPPFLAGS'
63441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63445 cat >conftest.$ac_ext <<_ACEOF
63446 /* confdefs.h. */
63447 _ACEOF
63448 cat confdefs.h >>conftest.$ac_ext
63449 cat >>conftest.$ac_ext <<_ACEOF
63450 /* end confdefs.h. */
63451 #include <stdlib.h>
63453 main ()
63455 strtold(0, 0);
63457 return 0;
63459 _ACEOF
63460 rm -f conftest.$ac_objext
63461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63462 (eval $ac_compile) 2>conftest.er1
63463 ac_status=$?
63464 grep -v '^ *+' conftest.er1 >conftest.err
63465 rm -f conftest.er1
63466 cat conftest.err >&5
63467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63468 (exit $ac_status); } &&
63469 { ac_try='test -z "$ac_cxx_werror_flag"
63470 || test ! -s conftest.err'
63471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63472 (eval $ac_try) 2>&5
63473 ac_status=$?
63474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63475 (exit $ac_status); }; } &&
63476 { ac_try='test -s conftest.$ac_objext'
63477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63478 (eval $ac_try) 2>&5
63479 ac_status=$?
63480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63481 (exit $ac_status); }; }; then
63482 glibcxx_cv_func_strtold_use=yes
63483 else
63484 echo "$as_me: failed program was:" >&5
63485 sed 's/^/| /' conftest.$ac_ext >&5
63487 glibcxx_cv_func_strtold_use=no
63489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63490 ac_ext=c
63491 ac_cpp='$CPP $CPPFLAGS'
63492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63500 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
63501 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
63502 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63504 for ac_func in strtold
63506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63507 echo "$as_me:$LINENO: checking for $ac_func" >&5
63508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63509 if eval "test \"\${$as_ac_var+set}\" = set"; then
63510 echo $ECHO_N "(cached) $ECHO_C" >&6
63511 else
63512 if test x$gcc_no_link = xyes; then
63513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63515 { (exit 1); exit 1; }; }
63517 cat >conftest.$ac_ext <<_ACEOF
63518 /* confdefs.h. */
63519 _ACEOF
63520 cat confdefs.h >>conftest.$ac_ext
63521 cat >>conftest.$ac_ext <<_ACEOF
63522 /* end confdefs.h. */
63523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63525 #define $ac_func innocuous_$ac_func
63527 /* System header to define __stub macros and hopefully few prototypes,
63528 which can conflict with char $ac_func (); below.
63529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63530 <limits.h> exists even on freestanding compilers. */
63532 #ifdef __STDC__
63533 # include <limits.h>
63534 #else
63535 # include <assert.h>
63536 #endif
63538 #undef $ac_func
63540 /* Override any gcc2 internal prototype to avoid an error. */
63541 #ifdef __cplusplus
63542 extern "C"
63544 #endif
63545 /* We use char because int might match the return type of a gcc2
63546 builtin and then its argument prototype would still apply. */
63547 char $ac_func ();
63548 /* The GNU C library defines this for functions which it implements
63549 to always fail with ENOSYS. Some functions are actually named
63550 something starting with __ and the normal name is an alias. */
63551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63552 choke me
63553 #else
63554 char (*f) () = $ac_func;
63555 #endif
63556 #ifdef __cplusplus
63558 #endif
63561 main ()
63563 return f != $ac_func;
63565 return 0;
63567 _ACEOF
63568 rm -f conftest.$ac_objext conftest$ac_exeext
63569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63570 (eval $ac_link) 2>conftest.er1
63571 ac_status=$?
63572 grep -v '^ *+' conftest.er1 >conftest.err
63573 rm -f conftest.er1
63574 cat conftest.err >&5
63575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63576 (exit $ac_status); } &&
63577 { ac_try='test -z "$ac_c_werror_flag"
63578 || test ! -s conftest.err'
63579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63580 (eval $ac_try) 2>&5
63581 ac_status=$?
63582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63583 (exit $ac_status); }; } &&
63584 { ac_try='test -s conftest$ac_exeext'
63585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63586 (eval $ac_try) 2>&5
63587 ac_status=$?
63588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63589 (exit $ac_status); }; }; then
63590 eval "$as_ac_var=yes"
63591 else
63592 echo "$as_me: failed program was:" >&5
63593 sed 's/^/| /' conftest.$ac_ext >&5
63595 eval "$as_ac_var=no"
63597 rm -f conftest.err conftest.$ac_objext \
63598 conftest$ac_exeext conftest.$ac_ext
63600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63602 if test `eval echo '${'$as_ac_var'}'` = yes; then
63603 cat >>confdefs.h <<_ACEOF
63604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63605 _ACEOF
63608 done
63616 echo "$as_me:$LINENO: checking for strtof declaration" >&5
63617 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
63618 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63619 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
63620 echo $ECHO_N "(cached) $ECHO_C" >&6
63621 else
63625 ac_ext=cc
63626 ac_cpp='$CXXCPP $CPPFLAGS'
63627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63631 cat >conftest.$ac_ext <<_ACEOF
63632 /* confdefs.h. */
63633 _ACEOF
63634 cat confdefs.h >>conftest.$ac_ext
63635 cat >>conftest.$ac_ext <<_ACEOF
63636 /* end confdefs.h. */
63637 #include <stdlib.h>
63639 main ()
63641 strtof(0, 0);
63643 return 0;
63645 _ACEOF
63646 rm -f conftest.$ac_objext
63647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63648 (eval $ac_compile) 2>conftest.er1
63649 ac_status=$?
63650 grep -v '^ *+' conftest.er1 >conftest.err
63651 rm -f conftest.er1
63652 cat conftest.err >&5
63653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63654 (exit $ac_status); } &&
63655 { ac_try='test -z "$ac_cxx_werror_flag"
63656 || test ! -s conftest.err'
63657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63658 (eval $ac_try) 2>&5
63659 ac_status=$?
63660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63661 (exit $ac_status); }; } &&
63662 { ac_try='test -s conftest.$ac_objext'
63663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63664 (eval $ac_try) 2>&5
63665 ac_status=$?
63666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63667 (exit $ac_status); }; }; then
63668 glibcxx_cv_func_strtof_use=yes
63669 else
63670 echo "$as_me: failed program was:" >&5
63671 sed 's/^/| /' conftest.$ac_ext >&5
63673 glibcxx_cv_func_strtof_use=no
63675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63676 ac_ext=c
63677 ac_cpp='$CPP $CPPFLAGS'
63678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63686 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
63687 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
63688 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63690 for ac_func in strtof
63692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63693 echo "$as_me:$LINENO: checking for $ac_func" >&5
63694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63695 if eval "test \"\${$as_ac_var+set}\" = set"; then
63696 echo $ECHO_N "(cached) $ECHO_C" >&6
63697 else
63698 if test x$gcc_no_link = xyes; then
63699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63701 { (exit 1); exit 1; }; }
63703 cat >conftest.$ac_ext <<_ACEOF
63704 /* confdefs.h. */
63705 _ACEOF
63706 cat confdefs.h >>conftest.$ac_ext
63707 cat >>conftest.$ac_ext <<_ACEOF
63708 /* end confdefs.h. */
63709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63711 #define $ac_func innocuous_$ac_func
63713 /* System header to define __stub macros and hopefully few prototypes,
63714 which can conflict with char $ac_func (); below.
63715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63716 <limits.h> exists even on freestanding compilers. */
63718 #ifdef __STDC__
63719 # include <limits.h>
63720 #else
63721 # include <assert.h>
63722 #endif
63724 #undef $ac_func
63726 /* Override any gcc2 internal prototype to avoid an error. */
63727 #ifdef __cplusplus
63728 extern "C"
63730 #endif
63731 /* We use char because int might match the return type of a gcc2
63732 builtin and then its argument prototype would still apply. */
63733 char $ac_func ();
63734 /* The GNU C library defines this for functions which it implements
63735 to always fail with ENOSYS. Some functions are actually named
63736 something starting with __ and the normal name is an alias. */
63737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63738 choke me
63739 #else
63740 char (*f) () = $ac_func;
63741 #endif
63742 #ifdef __cplusplus
63744 #endif
63747 main ()
63749 return f != $ac_func;
63751 return 0;
63753 _ACEOF
63754 rm -f conftest.$ac_objext conftest$ac_exeext
63755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63756 (eval $ac_link) 2>conftest.er1
63757 ac_status=$?
63758 grep -v '^ *+' conftest.er1 >conftest.err
63759 rm -f conftest.er1
63760 cat conftest.err >&5
63761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63762 (exit $ac_status); } &&
63763 { ac_try='test -z "$ac_c_werror_flag"
63764 || test ! -s conftest.err'
63765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63766 (eval $ac_try) 2>&5
63767 ac_status=$?
63768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63769 (exit $ac_status); }; } &&
63770 { ac_try='test -s conftest$ac_exeext'
63771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63772 (eval $ac_try) 2>&5
63773 ac_status=$?
63774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63775 (exit $ac_status); }; }; then
63776 eval "$as_ac_var=yes"
63777 else
63778 echo "$as_me: failed program was:" >&5
63779 sed 's/^/| /' conftest.$ac_ext >&5
63781 eval "$as_ac_var=no"
63783 rm -f conftest.err conftest.$ac_objext \
63784 conftest$ac_exeext conftest.$ac_ext
63786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63788 if test `eval echo '${'$as_ac_var'}'` = yes; then
63789 cat >>confdefs.h <<_ACEOF
63790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63791 _ACEOF
63794 done
63802 CXXFLAGS="$ac_save_CXXFLAGS"
63805 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
63806 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
63807 if test "${glibcxx_cv_S_ISREG+set}" = set; then
63808 echo $ECHO_N "(cached) $ECHO_C" >&6
63809 else
63811 if test x$gcc_no_link = xyes; then
63812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63814 { (exit 1); exit 1; }; }
63816 cat >conftest.$ac_ext <<_ACEOF
63817 /* confdefs.h. */
63818 _ACEOF
63819 cat confdefs.h >>conftest.$ac_ext
63820 cat >>conftest.$ac_ext <<_ACEOF
63821 /* end confdefs.h. */
63822 #include <sys/stat.h>
63824 main ()
63826 struct stat buffer;
63827 fstat(0, &buffer);
63828 S_ISREG(buffer.st_mode);
63830 return 0;
63832 _ACEOF
63833 rm -f conftest.$ac_objext conftest$ac_exeext
63834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63835 (eval $ac_link) 2>conftest.er1
63836 ac_status=$?
63837 grep -v '^ *+' conftest.er1 >conftest.err
63838 rm -f conftest.er1
63839 cat conftest.err >&5
63840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63841 (exit $ac_status); } &&
63842 { ac_try='test -z "$ac_c_werror_flag"
63843 || test ! -s conftest.err'
63844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63845 (eval $ac_try) 2>&5
63846 ac_status=$?
63847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63848 (exit $ac_status); }; } &&
63849 { ac_try='test -s conftest$ac_exeext'
63850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63851 (eval $ac_try) 2>&5
63852 ac_status=$?
63853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63854 (exit $ac_status); }; }; then
63855 glibcxx_cv_S_ISREG=yes
63856 else
63857 echo "$as_me: failed program was:" >&5
63858 sed 's/^/| /' conftest.$ac_ext >&5
63860 glibcxx_cv_S_ISREG=no
63862 rm -f conftest.err conftest.$ac_objext \
63863 conftest$ac_exeext conftest.$ac_ext
63867 if test "${glibcxx_cv_S_IFREG+set}" = set; then
63868 echo $ECHO_N "(cached) $ECHO_C" >&6
63869 else
63871 if test x$gcc_no_link = xyes; then
63872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63874 { (exit 1); exit 1; }; }
63876 cat >conftest.$ac_ext <<_ACEOF
63877 /* confdefs.h. */
63878 _ACEOF
63879 cat confdefs.h >>conftest.$ac_ext
63880 cat >>conftest.$ac_ext <<_ACEOF
63881 /* end confdefs.h. */
63882 #include <sys/stat.h>
63884 main ()
63886 struct stat buffer;
63887 fstat(0, &buffer);
63888 S_IFREG & buffer.st_mode;
63890 return 0;
63892 _ACEOF
63893 rm -f conftest.$ac_objext conftest$ac_exeext
63894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63895 (eval $ac_link) 2>conftest.er1
63896 ac_status=$?
63897 grep -v '^ *+' conftest.er1 >conftest.err
63898 rm -f conftest.er1
63899 cat conftest.err >&5
63900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63901 (exit $ac_status); } &&
63902 { ac_try='test -z "$ac_c_werror_flag"
63903 || test ! -s conftest.err'
63904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63905 (eval $ac_try) 2>&5
63906 ac_status=$?
63907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63908 (exit $ac_status); }; } &&
63909 { ac_try='test -s conftest$ac_exeext'
63910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63911 (eval $ac_try) 2>&5
63912 ac_status=$?
63913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63914 (exit $ac_status); }; }; then
63915 glibcxx_cv_S_IFREG=yes
63916 else
63917 echo "$as_me: failed program was:" >&5
63918 sed 's/^/| /' conftest.$ac_ext >&5
63920 glibcxx_cv_S_IFREG=no
63922 rm -f conftest.err conftest.$ac_objext \
63923 conftest$ac_exeext conftest.$ac_ext
63927 res=no
63928 if test $glibcxx_cv_S_ISREG = yes; then
63930 cat >>confdefs.h <<\_ACEOF
63931 #define HAVE_S_ISREG 1
63932 _ACEOF
63934 res=S_ISREG
63935 elif test $glibcxx_cv_S_IFREG = yes; then
63937 cat >>confdefs.h <<\_ACEOF
63938 #define HAVE_S_IFREG 1
63939 _ACEOF
63941 res=S_IFREG
63943 echo "$as_me:$LINENO: result: $res" >&5
63944 echo "${ECHO_T}$res" >&6
63946 cat >>confdefs.h <<\_ACEOF
63947 #define HAVE_SIGSETJMP 1
63948 _ACEOF
63950 cat >>confdefs.h <<\_ACEOF
63951 #define HAVE_GETPAGESIZE 1
63952 _ACEOF
63954 cat >>confdefs.h <<\_ACEOF
63955 #define HAVE_WRITEV 1
63956 _ACEOF
63958 cat >>confdefs.h <<\_ACEOF
63959 #define HAVE_INT64_T 1
63960 _ACEOF
63963 cat >>confdefs.h <<\_ACEOF
63964 #define HAVE_LIBM 1
63965 _ACEOF
63967 cat >>confdefs.h <<\_ACEOF
63968 #define HAVE_COPYSIGN 1
63969 _ACEOF
63971 cat >>confdefs.h <<\_ACEOF
63972 #define HAVE_FINITE 1
63973 _ACEOF
63975 cat >>confdefs.h <<\_ACEOF
63976 #define HAVE_HYPOT 1
63977 _ACEOF
63979 cat >>confdefs.h <<\_ACEOF
63980 #define HAVE_ISNAN 1
63981 _ACEOF
63983 cat >>confdefs.h <<\_ACEOF
63984 #define HAVE_ISINF 1
63985 _ACEOF
63988 cat >>confdefs.h <<\_ACEOF
63989 #define HAVE_LDEXPF 1
63990 _ACEOF
63992 cat >>confdefs.h <<\_ACEOF
63993 #define HAVE_MODF 1
63994 _ACEOF
63996 cat >>confdefs.h <<\_ACEOF
63997 #define HAVE_SQRTF 1
63998 _ACEOF
64002 *-darwin*)
64003 # Darwin versions vary, but the linker should work in a cross environment,
64004 # so we just check for all the features here.
64005 # Check for available headers.
64019 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
64020 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
64021 sys/types.h
64023 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
64024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64025 echo "$as_me:$LINENO: checking for $ac_header" >&5
64026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64028 echo $ECHO_N "(cached) $ECHO_C" >&6
64030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64032 else
64033 # Is the header compilable?
64034 echo "$as_me:$LINENO: checking $ac_header usability" >&5
64035 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
64043 #include <$ac_header>
64044 _ACEOF
64045 rm -f conftest.$ac_objext
64046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64047 (eval $ac_compile) 2>conftest.er1
64048 ac_status=$?
64049 grep -v '^ *+' conftest.er1 >conftest.err
64050 rm -f conftest.er1
64051 cat conftest.err >&5
64052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64053 (exit $ac_status); } &&
64054 { ac_try='test -z "$ac_c_werror_flag"
64055 || test ! -s conftest.err'
64056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64057 (eval $ac_try) 2>&5
64058 ac_status=$?
64059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64060 (exit $ac_status); }; } &&
64061 { ac_try='test -s conftest.$ac_objext'
64062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64063 (eval $ac_try) 2>&5
64064 ac_status=$?
64065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64066 (exit $ac_status); }; }; then
64067 ac_header_compiler=yes
64068 else
64069 echo "$as_me: failed program was:" >&5
64070 sed 's/^/| /' conftest.$ac_ext >&5
64072 ac_header_compiler=no
64074 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64075 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64076 echo "${ECHO_T}$ac_header_compiler" >&6
64078 # Is the header present?
64079 echo "$as_me:$LINENO: checking $ac_header presence" >&5
64080 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
64081 cat >conftest.$ac_ext <<_ACEOF
64082 /* confdefs.h. */
64083 _ACEOF
64084 cat confdefs.h >>conftest.$ac_ext
64085 cat >>conftest.$ac_ext <<_ACEOF
64086 /* end confdefs.h. */
64087 #include <$ac_header>
64088 _ACEOF
64089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64090 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64091 ac_status=$?
64092 grep -v '^ *+' conftest.er1 >conftest.err
64093 rm -f conftest.er1
64094 cat conftest.err >&5
64095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64096 (exit $ac_status); } >/dev/null; then
64097 if test -s conftest.err; then
64098 ac_cpp_err=$ac_c_preproc_warn_flag
64099 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64100 else
64101 ac_cpp_err=
64103 else
64104 ac_cpp_err=yes
64106 if test -z "$ac_cpp_err"; then
64107 ac_header_preproc=yes
64108 else
64109 echo "$as_me: failed program was:" >&5
64110 sed 's/^/| /' conftest.$ac_ext >&5
64112 ac_header_preproc=no
64114 rm -f conftest.err conftest.$ac_ext
64115 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64116 echo "${ECHO_T}$ac_header_preproc" >&6
64118 # So? What about this header?
64119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64120 yes:no: )
64121 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
64122 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
64123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
64124 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
64125 ac_header_preproc=yes
64127 no:yes:* )
64128 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
64129 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
64130 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
64131 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
64132 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
64133 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
64134 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
64135 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
64136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
64137 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
64138 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
64139 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
64141 cat <<\_ASBOX
64142 ## ----------------------------------------- ##
64143 ## Report this to the package-unused lists. ##
64144 ## ----------------------------------------- ##
64145 _ASBOX
64147 sed "s/^/$as_me: WARNING: /" >&2
64149 esac
64150 echo "$as_me:$LINENO: checking for $ac_header" >&5
64151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64153 echo $ECHO_N "(cached) $ECHO_C" >&6
64154 else
64155 eval "$as_ac_Header=\$ac_header_preproc"
64157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
64162 cat >>confdefs.h <<_ACEOF
64163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
64164 _ACEOF
64168 done
64171 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
64173 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64174 ac_save_CXXFLAGS="$CXXFLAGS"
64175 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64177 echo "$as_me:$LINENO: checking for sin in -lm" >&5
64178 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
64179 if test "${ac_cv_lib_m_sin+set}" = set; then
64180 echo $ECHO_N "(cached) $ECHO_C" >&6
64181 else
64182 ac_check_lib_save_LIBS=$LIBS
64183 LIBS="-lm $LIBS"
64184 if test x$gcc_no_link = xyes; then
64185 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64187 { (exit 1); exit 1; }; }
64189 cat >conftest.$ac_ext <<_ACEOF
64190 /* confdefs.h. */
64191 _ACEOF
64192 cat confdefs.h >>conftest.$ac_ext
64193 cat >>conftest.$ac_ext <<_ACEOF
64194 /* end confdefs.h. */
64196 /* Override any gcc2 internal prototype to avoid an error. */
64197 #ifdef __cplusplus
64198 extern "C"
64199 #endif
64200 /* We use char because int might match the return type of a gcc2
64201 builtin and then its argument prototype would still apply. */
64202 char sin ();
64204 main ()
64206 sin ();
64208 return 0;
64210 _ACEOF
64211 rm -f conftest.$ac_objext conftest$ac_exeext
64212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64213 (eval $ac_link) 2>conftest.er1
64214 ac_status=$?
64215 grep -v '^ *+' conftest.er1 >conftest.err
64216 rm -f conftest.er1
64217 cat conftest.err >&5
64218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64219 (exit $ac_status); } &&
64220 { ac_try='test -z "$ac_c_werror_flag"
64221 || test ! -s conftest.err'
64222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64223 (eval $ac_try) 2>&5
64224 ac_status=$?
64225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64226 (exit $ac_status); }; } &&
64227 { ac_try='test -s conftest$ac_exeext'
64228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64229 (eval $ac_try) 2>&5
64230 ac_status=$?
64231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64232 (exit $ac_status); }; }; then
64233 ac_cv_lib_m_sin=yes
64234 else
64235 echo "$as_me: failed program was:" >&5
64236 sed 's/^/| /' conftest.$ac_ext >&5
64238 ac_cv_lib_m_sin=no
64240 rm -f conftest.err conftest.$ac_objext \
64241 conftest$ac_exeext conftest.$ac_ext
64242 LIBS=$ac_check_lib_save_LIBS
64244 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
64245 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
64246 if test $ac_cv_lib_m_sin = yes; then
64247 libm="-lm"
64250 ac_save_LIBS="$LIBS"
64251 LIBS="$LIBS $libm"
64255 echo "$as_me:$LINENO: checking for isinf declaration" >&5
64256 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
64257 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
64258 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
64259 echo $ECHO_N "(cached) $ECHO_C" >&6
64260 else
64264 ac_ext=cc
64265 ac_cpp='$CXXCPP $CPPFLAGS'
64266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64270 cat >conftest.$ac_ext <<_ACEOF
64271 /* confdefs.h. */
64272 _ACEOF
64273 cat confdefs.h >>conftest.$ac_ext
64274 cat >>conftest.$ac_ext <<_ACEOF
64275 /* end confdefs.h. */
64276 #include <math.h>
64277 #ifdef HAVE_IEEEFP_H
64278 #include <ieeefp.h>
64279 #endif
64282 main ()
64284 isinf(0);
64286 return 0;
64288 _ACEOF
64289 rm -f conftest.$ac_objext
64290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64291 (eval $ac_compile) 2>conftest.er1
64292 ac_status=$?
64293 grep -v '^ *+' conftest.er1 >conftest.err
64294 rm -f conftest.er1
64295 cat conftest.err >&5
64296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64297 (exit $ac_status); } &&
64298 { ac_try='test -z "$ac_cxx_werror_flag"
64299 || test ! -s conftest.err'
64300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64301 (eval $ac_try) 2>&5
64302 ac_status=$?
64303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64304 (exit $ac_status); }; } &&
64305 { ac_try='test -s conftest.$ac_objext'
64306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64307 (eval $ac_try) 2>&5
64308 ac_status=$?
64309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64310 (exit $ac_status); }; }; then
64311 glibcxx_cv_func_isinf_use=yes
64312 else
64313 echo "$as_me: failed program was:" >&5
64314 sed 's/^/| /' conftest.$ac_ext >&5
64316 glibcxx_cv_func_isinf_use=no
64318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64319 ac_ext=c
64320 ac_cpp='$CPP $CPPFLAGS'
64321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
64330 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
64332 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
64334 for ac_func in isinf
64336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64337 echo "$as_me:$LINENO: checking for $ac_func" >&5
64338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64339 if eval "test \"\${$as_ac_var+set}\" = set"; then
64340 echo $ECHO_N "(cached) $ECHO_C" >&6
64341 else
64342 if test x$gcc_no_link = xyes; then
64343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64345 { (exit 1); exit 1; }; }
64347 cat >conftest.$ac_ext <<_ACEOF
64348 /* confdefs.h. */
64349 _ACEOF
64350 cat confdefs.h >>conftest.$ac_ext
64351 cat >>conftest.$ac_ext <<_ACEOF
64352 /* end confdefs.h. */
64353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64355 #define $ac_func innocuous_$ac_func
64357 /* System header to define __stub macros and hopefully few prototypes,
64358 which can conflict with char $ac_func (); below.
64359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64360 <limits.h> exists even on freestanding compilers. */
64362 #ifdef __STDC__
64363 # include <limits.h>
64364 #else
64365 # include <assert.h>
64366 #endif
64368 #undef $ac_func
64370 /* Override any gcc2 internal prototype to avoid an error. */
64371 #ifdef __cplusplus
64372 extern "C"
64374 #endif
64375 /* We use char because int might match the return type of a gcc2
64376 builtin and then its argument prototype would still apply. */
64377 char $ac_func ();
64378 /* The GNU C library defines this for functions which it implements
64379 to always fail with ENOSYS. Some functions are actually named
64380 something starting with __ and the normal name is an alias. */
64381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64382 choke me
64383 #else
64384 char (*f) () = $ac_func;
64385 #endif
64386 #ifdef __cplusplus
64388 #endif
64391 main ()
64393 return f != $ac_func;
64395 return 0;
64397 _ACEOF
64398 rm -f conftest.$ac_objext conftest$ac_exeext
64399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64400 (eval $ac_link) 2>conftest.er1
64401 ac_status=$?
64402 grep -v '^ *+' conftest.er1 >conftest.err
64403 rm -f conftest.er1
64404 cat conftest.err >&5
64405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64406 (exit $ac_status); } &&
64407 { ac_try='test -z "$ac_c_werror_flag"
64408 || test ! -s conftest.err'
64409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64410 (eval $ac_try) 2>&5
64411 ac_status=$?
64412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64413 (exit $ac_status); }; } &&
64414 { ac_try='test -s conftest$ac_exeext'
64415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64416 (eval $ac_try) 2>&5
64417 ac_status=$?
64418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64419 (exit $ac_status); }; }; then
64420 eval "$as_ac_var=yes"
64421 else
64422 echo "$as_me: failed program was:" >&5
64423 sed 's/^/| /' conftest.$ac_ext >&5
64425 eval "$as_ac_var=no"
64427 rm -f conftest.err conftest.$ac_objext \
64428 conftest$ac_exeext conftest.$ac_ext
64430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64432 if test `eval echo '${'$as_ac_var'}'` = yes; then
64433 cat >>confdefs.h <<_ACEOF
64434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64435 _ACEOF
64438 done
64440 else
64442 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
64443 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
64444 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
64445 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
64446 echo $ECHO_N "(cached) $ECHO_C" >&6
64447 else
64451 ac_ext=cc
64452 ac_cpp='$CXXCPP $CPPFLAGS'
64453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64457 cat >conftest.$ac_ext <<_ACEOF
64458 /* confdefs.h. */
64459 _ACEOF
64460 cat confdefs.h >>conftest.$ac_ext
64461 cat >>conftest.$ac_ext <<_ACEOF
64462 /* end confdefs.h. */
64463 #include <math.h>
64464 #ifdef HAVE_IEEEFP_H
64465 #include <ieeefp.h>
64466 #endif
64469 main ()
64471 _isinf(0);
64473 return 0;
64475 _ACEOF
64476 rm -f conftest.$ac_objext
64477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64478 (eval $ac_compile) 2>conftest.er1
64479 ac_status=$?
64480 grep -v '^ *+' conftest.er1 >conftest.err
64481 rm -f conftest.er1
64482 cat conftest.err >&5
64483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64484 (exit $ac_status); } &&
64485 { ac_try='test -z "$ac_cxx_werror_flag"
64486 || test ! -s conftest.err'
64487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64488 (eval $ac_try) 2>&5
64489 ac_status=$?
64490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64491 (exit $ac_status); }; } &&
64492 { ac_try='test -s conftest.$ac_objext'
64493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64494 (eval $ac_try) 2>&5
64495 ac_status=$?
64496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64497 (exit $ac_status); }; }; then
64498 glibcxx_cv_func__isinf_use=yes
64499 else
64500 echo "$as_me: failed program was:" >&5
64501 sed 's/^/| /' conftest.$ac_ext >&5
64503 glibcxx_cv_func__isinf_use=no
64505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64506 ac_ext=c
64507 ac_cpp='$CPP $CPPFLAGS'
64508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
64517 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
64519 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64521 for ac_func in _isinf
64523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64524 echo "$as_me:$LINENO: checking for $ac_func" >&5
64525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64526 if eval "test \"\${$as_ac_var+set}\" = set"; then
64527 echo $ECHO_N "(cached) $ECHO_C" >&6
64528 else
64529 if test x$gcc_no_link = xyes; then
64530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64532 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64542 #define $ac_func innocuous_$ac_func
64544 /* System header to define __stub macros and hopefully few prototypes,
64545 which can conflict with char $ac_func (); below.
64546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64547 <limits.h> exists even on freestanding compilers. */
64549 #ifdef __STDC__
64550 # include <limits.h>
64551 #else
64552 # include <assert.h>
64553 #endif
64555 #undef $ac_func
64557 /* Override any gcc2 internal prototype to avoid an error. */
64558 #ifdef __cplusplus
64559 extern "C"
64561 #endif
64562 /* We use char because int might match the return type of a gcc2
64563 builtin and then its argument prototype would still apply. */
64564 char $ac_func ();
64565 /* The GNU C library defines this for functions which it implements
64566 to always fail with ENOSYS. Some functions are actually named
64567 something starting with __ and the normal name is an alias. */
64568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64569 choke me
64570 #else
64571 char (*f) () = $ac_func;
64572 #endif
64573 #ifdef __cplusplus
64575 #endif
64578 main ()
64580 return f != $ac_func;
64582 return 0;
64584 _ACEOF
64585 rm -f conftest.$ac_objext conftest$ac_exeext
64586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64587 (eval $ac_link) 2>conftest.er1
64588 ac_status=$?
64589 grep -v '^ *+' conftest.er1 >conftest.err
64590 rm -f conftest.er1
64591 cat conftest.err >&5
64592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64593 (exit $ac_status); } &&
64594 { ac_try='test -z "$ac_c_werror_flag"
64595 || test ! -s conftest.err'
64596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64597 (eval $ac_try) 2>&5
64598 ac_status=$?
64599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64600 (exit $ac_status); }; } &&
64601 { ac_try='test -s conftest$ac_exeext'
64602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64603 (eval $ac_try) 2>&5
64604 ac_status=$?
64605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64606 (exit $ac_status); }; }; then
64607 eval "$as_ac_var=yes"
64608 else
64609 echo "$as_me: failed program was:" >&5
64610 sed 's/^/| /' conftest.$ac_ext >&5
64612 eval "$as_ac_var=no"
64614 rm -f conftest.err conftest.$ac_objext \
64615 conftest$ac_exeext conftest.$ac_ext
64617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64619 if test `eval echo '${'$as_ac_var'}'` = yes; then
64620 cat >>confdefs.h <<_ACEOF
64621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64622 _ACEOF
64625 done
64635 echo "$as_me:$LINENO: checking for isnan declaration" >&5
64636 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
64637 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64638 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
64639 echo $ECHO_N "(cached) $ECHO_C" >&6
64640 else
64644 ac_ext=cc
64645 ac_cpp='$CXXCPP $CPPFLAGS'
64646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64650 cat >conftest.$ac_ext <<_ACEOF
64651 /* confdefs.h. */
64652 _ACEOF
64653 cat confdefs.h >>conftest.$ac_ext
64654 cat >>conftest.$ac_ext <<_ACEOF
64655 /* end confdefs.h. */
64656 #include <math.h>
64657 #ifdef HAVE_IEEEFP_H
64658 #include <ieeefp.h>
64659 #endif
64662 main ()
64664 isnan(0);
64666 return 0;
64668 _ACEOF
64669 rm -f conftest.$ac_objext
64670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64671 (eval $ac_compile) 2>conftest.er1
64672 ac_status=$?
64673 grep -v '^ *+' conftest.er1 >conftest.err
64674 rm -f conftest.er1
64675 cat conftest.err >&5
64676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64677 (exit $ac_status); } &&
64678 { ac_try='test -z "$ac_cxx_werror_flag"
64679 || test ! -s conftest.err'
64680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64681 (eval $ac_try) 2>&5
64682 ac_status=$?
64683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64684 (exit $ac_status); }; } &&
64685 { ac_try='test -s conftest.$ac_objext'
64686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64687 (eval $ac_try) 2>&5
64688 ac_status=$?
64689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64690 (exit $ac_status); }; }; then
64691 glibcxx_cv_func_isnan_use=yes
64692 else
64693 echo "$as_me: failed program was:" >&5
64694 sed 's/^/| /' conftest.$ac_ext >&5
64696 glibcxx_cv_func_isnan_use=no
64698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64699 ac_ext=c
64700 ac_cpp='$CPP $CPPFLAGS'
64701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64709 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
64710 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
64712 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64714 for ac_func in isnan
64716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64717 echo "$as_me:$LINENO: checking for $ac_func" >&5
64718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64719 if eval "test \"\${$as_ac_var+set}\" = set"; then
64720 echo $ECHO_N "(cached) $ECHO_C" >&6
64721 else
64722 if test x$gcc_no_link = xyes; then
64723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64725 { (exit 1); exit 1; }; }
64727 cat >conftest.$ac_ext <<_ACEOF
64728 /* confdefs.h. */
64729 _ACEOF
64730 cat confdefs.h >>conftest.$ac_ext
64731 cat >>conftest.$ac_ext <<_ACEOF
64732 /* end confdefs.h. */
64733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64735 #define $ac_func innocuous_$ac_func
64737 /* System header to define __stub macros and hopefully few prototypes,
64738 which can conflict with char $ac_func (); below.
64739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64740 <limits.h> exists even on freestanding compilers. */
64742 #ifdef __STDC__
64743 # include <limits.h>
64744 #else
64745 # include <assert.h>
64746 #endif
64748 #undef $ac_func
64750 /* Override any gcc2 internal prototype to avoid an error. */
64751 #ifdef __cplusplus
64752 extern "C"
64754 #endif
64755 /* We use char because int might match the return type of a gcc2
64756 builtin and then its argument prototype would still apply. */
64757 char $ac_func ();
64758 /* The GNU C library defines this for functions which it implements
64759 to always fail with ENOSYS. Some functions are actually named
64760 something starting with __ and the normal name is an alias. */
64761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64762 choke me
64763 #else
64764 char (*f) () = $ac_func;
64765 #endif
64766 #ifdef __cplusplus
64768 #endif
64771 main ()
64773 return f != $ac_func;
64775 return 0;
64777 _ACEOF
64778 rm -f conftest.$ac_objext conftest$ac_exeext
64779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64780 (eval $ac_link) 2>conftest.er1
64781 ac_status=$?
64782 grep -v '^ *+' conftest.er1 >conftest.err
64783 rm -f conftest.er1
64784 cat conftest.err >&5
64785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64786 (exit $ac_status); } &&
64787 { ac_try='test -z "$ac_c_werror_flag"
64788 || test ! -s conftest.err'
64789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64790 (eval $ac_try) 2>&5
64791 ac_status=$?
64792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64793 (exit $ac_status); }; } &&
64794 { ac_try='test -s conftest$ac_exeext'
64795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64796 (eval $ac_try) 2>&5
64797 ac_status=$?
64798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64799 (exit $ac_status); }; }; then
64800 eval "$as_ac_var=yes"
64801 else
64802 echo "$as_me: failed program was:" >&5
64803 sed 's/^/| /' conftest.$ac_ext >&5
64805 eval "$as_ac_var=no"
64807 rm -f conftest.err conftest.$ac_objext \
64808 conftest$ac_exeext conftest.$ac_ext
64810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64812 if test `eval echo '${'$as_ac_var'}'` = yes; then
64813 cat >>confdefs.h <<_ACEOF
64814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64815 _ACEOF
64818 done
64820 else
64822 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
64823 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
64824 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64825 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
64826 echo $ECHO_N "(cached) $ECHO_C" >&6
64827 else
64831 ac_ext=cc
64832 ac_cpp='$CXXCPP $CPPFLAGS'
64833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64837 cat >conftest.$ac_ext <<_ACEOF
64838 /* confdefs.h. */
64839 _ACEOF
64840 cat confdefs.h >>conftest.$ac_ext
64841 cat >>conftest.$ac_ext <<_ACEOF
64842 /* end confdefs.h. */
64843 #include <math.h>
64844 #ifdef HAVE_IEEEFP_H
64845 #include <ieeefp.h>
64846 #endif
64849 main ()
64851 _isnan(0);
64853 return 0;
64855 _ACEOF
64856 rm -f conftest.$ac_objext
64857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64858 (eval $ac_compile) 2>conftest.er1
64859 ac_status=$?
64860 grep -v '^ *+' conftest.er1 >conftest.err
64861 rm -f conftest.er1
64862 cat conftest.err >&5
64863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64864 (exit $ac_status); } &&
64865 { ac_try='test -z "$ac_cxx_werror_flag"
64866 || test ! -s conftest.err'
64867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64868 (eval $ac_try) 2>&5
64869 ac_status=$?
64870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64871 (exit $ac_status); }; } &&
64872 { ac_try='test -s conftest.$ac_objext'
64873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64874 (eval $ac_try) 2>&5
64875 ac_status=$?
64876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64877 (exit $ac_status); }; }; then
64878 glibcxx_cv_func__isnan_use=yes
64879 else
64880 echo "$as_me: failed program was:" >&5
64881 sed 's/^/| /' conftest.$ac_ext >&5
64883 glibcxx_cv_func__isnan_use=no
64885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64886 ac_ext=c
64887 ac_cpp='$CPP $CPPFLAGS'
64888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64896 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
64897 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
64899 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64901 for ac_func in _isnan
64903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64904 echo "$as_me:$LINENO: checking for $ac_func" >&5
64905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64906 if eval "test \"\${$as_ac_var+set}\" = set"; then
64907 echo $ECHO_N "(cached) $ECHO_C" >&6
64908 else
64909 if test x$gcc_no_link = xyes; then
64910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64912 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64922 #define $ac_func innocuous_$ac_func
64924 /* System header to define __stub macros and hopefully few prototypes,
64925 which can conflict with char $ac_func (); below.
64926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64927 <limits.h> exists even on freestanding compilers. */
64929 #ifdef __STDC__
64930 # include <limits.h>
64931 #else
64932 # include <assert.h>
64933 #endif
64935 #undef $ac_func
64937 /* Override any gcc2 internal prototype to avoid an error. */
64938 #ifdef __cplusplus
64939 extern "C"
64941 #endif
64942 /* We use char because int might match the return type of a gcc2
64943 builtin and then its argument prototype would still apply. */
64944 char $ac_func ();
64945 /* The GNU C library defines this for functions which it implements
64946 to always fail with ENOSYS. Some functions are actually named
64947 something starting with __ and the normal name is an alias. */
64948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64949 choke me
64950 #else
64951 char (*f) () = $ac_func;
64952 #endif
64953 #ifdef __cplusplus
64955 #endif
64958 main ()
64960 return f != $ac_func;
64962 return 0;
64964 _ACEOF
64965 rm -f conftest.$ac_objext conftest$ac_exeext
64966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64967 (eval $ac_link) 2>conftest.er1
64968 ac_status=$?
64969 grep -v '^ *+' conftest.er1 >conftest.err
64970 rm -f conftest.er1
64971 cat conftest.err >&5
64972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64973 (exit $ac_status); } &&
64974 { ac_try='test -z "$ac_c_werror_flag"
64975 || test ! -s conftest.err'
64976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64977 (eval $ac_try) 2>&5
64978 ac_status=$?
64979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64980 (exit $ac_status); }; } &&
64981 { ac_try='test -s conftest$ac_exeext'
64982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64983 (eval $ac_try) 2>&5
64984 ac_status=$?
64985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64986 (exit $ac_status); }; }; then
64987 eval "$as_ac_var=yes"
64988 else
64989 echo "$as_me: failed program was:" >&5
64990 sed 's/^/| /' conftest.$ac_ext >&5
64992 eval "$as_ac_var=no"
64994 rm -f conftest.err conftest.$ac_objext \
64995 conftest$ac_exeext conftest.$ac_ext
64997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64999 if test `eval echo '${'$as_ac_var'}'` = yes; then
65000 cat >>confdefs.h <<_ACEOF
65001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65002 _ACEOF
65005 done
65015 echo "$as_me:$LINENO: checking for finite declaration" >&5
65016 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
65017 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65018 if test "${glibcxx_cv_func_finite_use+set}" = set; then
65019 echo $ECHO_N "(cached) $ECHO_C" >&6
65020 else
65024 ac_ext=cc
65025 ac_cpp='$CXXCPP $CPPFLAGS'
65026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65030 cat >conftest.$ac_ext <<_ACEOF
65031 /* confdefs.h. */
65032 _ACEOF
65033 cat confdefs.h >>conftest.$ac_ext
65034 cat >>conftest.$ac_ext <<_ACEOF
65035 /* end confdefs.h. */
65036 #include <math.h>
65037 #ifdef HAVE_IEEEFP_H
65038 #include <ieeefp.h>
65039 #endif
65042 main ()
65044 finite(0);
65046 return 0;
65048 _ACEOF
65049 rm -f conftest.$ac_objext
65050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65051 (eval $ac_compile) 2>conftest.er1
65052 ac_status=$?
65053 grep -v '^ *+' conftest.er1 >conftest.err
65054 rm -f conftest.er1
65055 cat conftest.err >&5
65056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65057 (exit $ac_status); } &&
65058 { ac_try='test -z "$ac_cxx_werror_flag"
65059 || test ! -s conftest.err'
65060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65061 (eval $ac_try) 2>&5
65062 ac_status=$?
65063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65064 (exit $ac_status); }; } &&
65065 { ac_try='test -s conftest.$ac_objext'
65066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65067 (eval $ac_try) 2>&5
65068 ac_status=$?
65069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65070 (exit $ac_status); }; }; then
65071 glibcxx_cv_func_finite_use=yes
65072 else
65073 echo "$as_me: failed program was:" >&5
65074 sed 's/^/| /' conftest.$ac_ext >&5
65076 glibcxx_cv_func_finite_use=no
65078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65079 ac_ext=c
65080 ac_cpp='$CPP $CPPFLAGS'
65081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65089 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
65090 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
65092 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65094 for ac_func in finite
65096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65097 echo "$as_me:$LINENO: checking for $ac_func" >&5
65098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65099 if eval "test \"\${$as_ac_var+set}\" = set"; then
65100 echo $ECHO_N "(cached) $ECHO_C" >&6
65101 else
65102 if test x$gcc_no_link = xyes; then
65103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65105 { (exit 1); exit 1; }; }
65107 cat >conftest.$ac_ext <<_ACEOF
65108 /* confdefs.h. */
65109 _ACEOF
65110 cat confdefs.h >>conftest.$ac_ext
65111 cat >>conftest.$ac_ext <<_ACEOF
65112 /* end confdefs.h. */
65113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65115 #define $ac_func innocuous_$ac_func
65117 /* System header to define __stub macros and hopefully few prototypes,
65118 which can conflict with char $ac_func (); below.
65119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65120 <limits.h> exists even on freestanding compilers. */
65122 #ifdef __STDC__
65123 # include <limits.h>
65124 #else
65125 # include <assert.h>
65126 #endif
65128 #undef $ac_func
65130 /* Override any gcc2 internal prototype to avoid an error. */
65131 #ifdef __cplusplus
65132 extern "C"
65134 #endif
65135 /* We use char because int might match the return type of a gcc2
65136 builtin and then its argument prototype would still apply. */
65137 char $ac_func ();
65138 /* The GNU C library defines this for functions which it implements
65139 to always fail with ENOSYS. Some functions are actually named
65140 something starting with __ and the normal name is an alias. */
65141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65142 choke me
65143 #else
65144 char (*f) () = $ac_func;
65145 #endif
65146 #ifdef __cplusplus
65148 #endif
65151 main ()
65153 return f != $ac_func;
65155 return 0;
65157 _ACEOF
65158 rm -f conftest.$ac_objext conftest$ac_exeext
65159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65160 (eval $ac_link) 2>conftest.er1
65161 ac_status=$?
65162 grep -v '^ *+' conftest.er1 >conftest.err
65163 rm -f conftest.er1
65164 cat conftest.err >&5
65165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65166 (exit $ac_status); } &&
65167 { ac_try='test -z "$ac_c_werror_flag"
65168 || test ! -s conftest.err'
65169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65170 (eval $ac_try) 2>&5
65171 ac_status=$?
65172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65173 (exit $ac_status); }; } &&
65174 { ac_try='test -s conftest$ac_exeext'
65175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65176 (eval $ac_try) 2>&5
65177 ac_status=$?
65178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65179 (exit $ac_status); }; }; then
65180 eval "$as_ac_var=yes"
65181 else
65182 echo "$as_me: failed program was:" >&5
65183 sed 's/^/| /' conftest.$ac_ext >&5
65185 eval "$as_ac_var=no"
65187 rm -f conftest.err conftest.$ac_objext \
65188 conftest$ac_exeext conftest.$ac_ext
65190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65192 if test `eval echo '${'$as_ac_var'}'` = yes; then
65193 cat >>confdefs.h <<_ACEOF
65194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65195 _ACEOF
65198 done
65200 else
65202 echo "$as_me:$LINENO: checking for _finite declaration" >&5
65203 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
65204 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65205 if test "${glibcxx_cv_func__finite_use+set}" = set; then
65206 echo $ECHO_N "(cached) $ECHO_C" >&6
65207 else
65211 ac_ext=cc
65212 ac_cpp='$CXXCPP $CPPFLAGS'
65213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65217 cat >conftest.$ac_ext <<_ACEOF
65218 /* confdefs.h. */
65219 _ACEOF
65220 cat confdefs.h >>conftest.$ac_ext
65221 cat >>conftest.$ac_ext <<_ACEOF
65222 /* end confdefs.h. */
65223 #include <math.h>
65224 #ifdef HAVE_IEEEFP_H
65225 #include <ieeefp.h>
65226 #endif
65229 main ()
65231 _finite(0);
65233 return 0;
65235 _ACEOF
65236 rm -f conftest.$ac_objext
65237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65238 (eval $ac_compile) 2>conftest.er1
65239 ac_status=$?
65240 grep -v '^ *+' conftest.er1 >conftest.err
65241 rm -f conftest.er1
65242 cat conftest.err >&5
65243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65244 (exit $ac_status); } &&
65245 { ac_try='test -z "$ac_cxx_werror_flag"
65246 || test ! -s conftest.err'
65247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65248 (eval $ac_try) 2>&5
65249 ac_status=$?
65250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65251 (exit $ac_status); }; } &&
65252 { ac_try='test -s conftest.$ac_objext'
65253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65254 (eval $ac_try) 2>&5
65255 ac_status=$?
65256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65257 (exit $ac_status); }; }; then
65258 glibcxx_cv_func__finite_use=yes
65259 else
65260 echo "$as_me: failed program was:" >&5
65261 sed 's/^/| /' conftest.$ac_ext >&5
65263 glibcxx_cv_func__finite_use=no
65265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65266 ac_ext=c
65267 ac_cpp='$CPP $CPPFLAGS'
65268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65276 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
65277 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
65279 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65281 for ac_func in _finite
65283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65284 echo "$as_me:$LINENO: checking for $ac_func" >&5
65285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65286 if eval "test \"\${$as_ac_var+set}\" = set"; then
65287 echo $ECHO_N "(cached) $ECHO_C" >&6
65288 else
65289 if test x$gcc_no_link = xyes; then
65290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65292 { (exit 1); exit 1; }; }
65294 cat >conftest.$ac_ext <<_ACEOF
65295 /* confdefs.h. */
65296 _ACEOF
65297 cat confdefs.h >>conftest.$ac_ext
65298 cat >>conftest.$ac_ext <<_ACEOF
65299 /* end confdefs.h. */
65300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65302 #define $ac_func innocuous_$ac_func
65304 /* System header to define __stub macros and hopefully few prototypes,
65305 which can conflict with char $ac_func (); below.
65306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65307 <limits.h> exists even on freestanding compilers. */
65309 #ifdef __STDC__
65310 # include <limits.h>
65311 #else
65312 # include <assert.h>
65313 #endif
65315 #undef $ac_func
65317 /* Override any gcc2 internal prototype to avoid an error. */
65318 #ifdef __cplusplus
65319 extern "C"
65321 #endif
65322 /* We use char because int might match the return type of a gcc2
65323 builtin and then its argument prototype would still apply. */
65324 char $ac_func ();
65325 /* The GNU C library defines this for functions which it implements
65326 to always fail with ENOSYS. Some functions are actually named
65327 something starting with __ and the normal name is an alias. */
65328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65329 choke me
65330 #else
65331 char (*f) () = $ac_func;
65332 #endif
65333 #ifdef __cplusplus
65335 #endif
65338 main ()
65340 return f != $ac_func;
65342 return 0;
65344 _ACEOF
65345 rm -f conftest.$ac_objext conftest$ac_exeext
65346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65347 (eval $ac_link) 2>conftest.er1
65348 ac_status=$?
65349 grep -v '^ *+' conftest.er1 >conftest.err
65350 rm -f conftest.er1
65351 cat conftest.err >&5
65352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65353 (exit $ac_status); } &&
65354 { ac_try='test -z "$ac_c_werror_flag"
65355 || test ! -s conftest.err'
65356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65357 (eval $ac_try) 2>&5
65358 ac_status=$?
65359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65360 (exit $ac_status); }; } &&
65361 { ac_try='test -s conftest$ac_exeext'
65362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65363 (eval $ac_try) 2>&5
65364 ac_status=$?
65365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65366 (exit $ac_status); }; }; then
65367 eval "$as_ac_var=yes"
65368 else
65369 echo "$as_me: failed program was:" >&5
65370 sed 's/^/| /' conftest.$ac_ext >&5
65372 eval "$as_ac_var=no"
65374 rm -f conftest.err conftest.$ac_objext \
65375 conftest$ac_exeext conftest.$ac_ext
65377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65379 if test `eval echo '${'$as_ac_var'}'` = yes; then
65380 cat >>confdefs.h <<_ACEOF
65381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65382 _ACEOF
65385 done
65395 echo "$as_me:$LINENO: checking for copysign declaration" >&5
65396 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
65397 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
65398 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
65399 echo $ECHO_N "(cached) $ECHO_C" >&6
65400 else
65404 ac_ext=cc
65405 ac_cpp='$CXXCPP $CPPFLAGS'
65406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65410 cat >conftest.$ac_ext <<_ACEOF
65411 /* confdefs.h. */
65412 _ACEOF
65413 cat confdefs.h >>conftest.$ac_ext
65414 cat >>conftest.$ac_ext <<_ACEOF
65415 /* end confdefs.h. */
65416 #include <math.h>
65418 main ()
65420 copysign(0, 0);
65422 return 0;
65424 _ACEOF
65425 rm -f conftest.$ac_objext
65426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65427 (eval $ac_compile) 2>conftest.er1
65428 ac_status=$?
65429 grep -v '^ *+' conftest.er1 >conftest.err
65430 rm -f conftest.er1
65431 cat conftest.err >&5
65432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65433 (exit $ac_status); } &&
65434 { ac_try='test -z "$ac_cxx_werror_flag"
65435 || test ! -s conftest.err'
65436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65437 (eval $ac_try) 2>&5
65438 ac_status=$?
65439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65440 (exit $ac_status); }; } &&
65441 { ac_try='test -s conftest.$ac_objext'
65442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65443 (eval $ac_try) 2>&5
65444 ac_status=$?
65445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65446 (exit $ac_status); }; }; then
65447 glibcxx_cv_func_copysign_use=yes
65448 else
65449 echo "$as_me: failed program was:" >&5
65450 sed 's/^/| /' conftest.$ac_ext >&5
65452 glibcxx_cv_func_copysign_use=no
65454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65455 ac_ext=c
65456 ac_cpp='$CPP $CPPFLAGS'
65457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65465 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
65466 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
65468 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
65470 for ac_func in copysign
65472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65473 echo "$as_me:$LINENO: checking for $ac_func" >&5
65474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65475 if eval "test \"\${$as_ac_var+set}\" = set"; then
65476 echo $ECHO_N "(cached) $ECHO_C" >&6
65477 else
65478 if test x$gcc_no_link = xyes; then
65479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65481 { (exit 1); exit 1; }; }
65483 cat >conftest.$ac_ext <<_ACEOF
65484 /* confdefs.h. */
65485 _ACEOF
65486 cat confdefs.h >>conftest.$ac_ext
65487 cat >>conftest.$ac_ext <<_ACEOF
65488 /* end confdefs.h. */
65489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65491 #define $ac_func innocuous_$ac_func
65493 /* System header to define __stub macros and hopefully few prototypes,
65494 which can conflict with char $ac_func (); below.
65495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65496 <limits.h> exists even on freestanding compilers. */
65498 #ifdef __STDC__
65499 # include <limits.h>
65500 #else
65501 # include <assert.h>
65502 #endif
65504 #undef $ac_func
65506 /* Override any gcc2 internal prototype to avoid an error. */
65507 #ifdef __cplusplus
65508 extern "C"
65510 #endif
65511 /* We use char because int might match the return type of a gcc2
65512 builtin and then its argument prototype would still apply. */
65513 char $ac_func ();
65514 /* The GNU C library defines this for functions which it implements
65515 to always fail with ENOSYS. Some functions are actually named
65516 something starting with __ and the normal name is an alias. */
65517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65518 choke me
65519 #else
65520 char (*f) () = $ac_func;
65521 #endif
65522 #ifdef __cplusplus
65524 #endif
65527 main ()
65529 return f != $ac_func;
65531 return 0;
65533 _ACEOF
65534 rm -f conftest.$ac_objext conftest$ac_exeext
65535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65536 (eval $ac_link) 2>conftest.er1
65537 ac_status=$?
65538 grep -v '^ *+' conftest.er1 >conftest.err
65539 rm -f conftest.er1
65540 cat conftest.err >&5
65541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65542 (exit $ac_status); } &&
65543 { ac_try='test -z "$ac_c_werror_flag"
65544 || test ! -s conftest.err'
65545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65546 (eval $ac_try) 2>&5
65547 ac_status=$?
65548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65549 (exit $ac_status); }; } &&
65550 { ac_try='test -s conftest$ac_exeext'
65551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65552 (eval $ac_try) 2>&5
65553 ac_status=$?
65554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65555 (exit $ac_status); }; }; then
65556 eval "$as_ac_var=yes"
65557 else
65558 echo "$as_me: failed program was:" >&5
65559 sed 's/^/| /' conftest.$ac_ext >&5
65561 eval "$as_ac_var=no"
65563 rm -f conftest.err conftest.$ac_objext \
65564 conftest$ac_exeext conftest.$ac_ext
65566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65568 if test `eval echo '${'$as_ac_var'}'` = yes; then
65569 cat >>confdefs.h <<_ACEOF
65570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65571 _ACEOF
65574 done
65576 else
65578 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
65579 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
65580 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
65581 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
65582 echo $ECHO_N "(cached) $ECHO_C" >&6
65583 else
65587 ac_ext=cc
65588 ac_cpp='$CXXCPP $CPPFLAGS'
65589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65593 cat >conftest.$ac_ext <<_ACEOF
65594 /* confdefs.h. */
65595 _ACEOF
65596 cat confdefs.h >>conftest.$ac_ext
65597 cat >>conftest.$ac_ext <<_ACEOF
65598 /* end confdefs.h. */
65599 #include <math.h>
65601 main ()
65603 _copysign(0, 0);
65605 return 0;
65607 _ACEOF
65608 rm -f conftest.$ac_objext
65609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65610 (eval $ac_compile) 2>conftest.er1
65611 ac_status=$?
65612 grep -v '^ *+' conftest.er1 >conftest.err
65613 rm -f conftest.er1
65614 cat conftest.err >&5
65615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65616 (exit $ac_status); } &&
65617 { ac_try='test -z "$ac_cxx_werror_flag"
65618 || test ! -s conftest.err'
65619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65620 (eval $ac_try) 2>&5
65621 ac_status=$?
65622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65623 (exit $ac_status); }; } &&
65624 { ac_try='test -s conftest.$ac_objext'
65625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65626 (eval $ac_try) 2>&5
65627 ac_status=$?
65628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65629 (exit $ac_status); }; }; then
65630 glibcxx_cv_func__copysign_use=yes
65631 else
65632 echo "$as_me: failed program was:" >&5
65633 sed 's/^/| /' conftest.$ac_ext >&5
65635 glibcxx_cv_func__copysign_use=no
65637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65638 ac_ext=c
65639 ac_cpp='$CPP $CPPFLAGS'
65640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65648 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
65649 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
65651 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
65653 for ac_func in _copysign
65655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65656 echo "$as_me:$LINENO: checking for $ac_func" >&5
65657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65658 if eval "test \"\${$as_ac_var+set}\" = set"; then
65659 echo $ECHO_N "(cached) $ECHO_C" >&6
65660 else
65661 if test x$gcc_no_link = xyes; then
65662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65664 { (exit 1); exit 1; }; }
65666 cat >conftest.$ac_ext <<_ACEOF
65667 /* confdefs.h. */
65668 _ACEOF
65669 cat confdefs.h >>conftest.$ac_ext
65670 cat >>conftest.$ac_ext <<_ACEOF
65671 /* end confdefs.h. */
65672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65674 #define $ac_func innocuous_$ac_func
65676 /* System header to define __stub macros and hopefully few prototypes,
65677 which can conflict with char $ac_func (); below.
65678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65679 <limits.h> exists even on freestanding compilers. */
65681 #ifdef __STDC__
65682 # include <limits.h>
65683 #else
65684 # include <assert.h>
65685 #endif
65687 #undef $ac_func
65689 /* Override any gcc2 internal prototype to avoid an error. */
65690 #ifdef __cplusplus
65691 extern "C"
65693 #endif
65694 /* We use char because int might match the return type of a gcc2
65695 builtin and then its argument prototype would still apply. */
65696 char $ac_func ();
65697 /* The GNU C library defines this for functions which it implements
65698 to always fail with ENOSYS. Some functions are actually named
65699 something starting with __ and the normal name is an alias. */
65700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65701 choke me
65702 #else
65703 char (*f) () = $ac_func;
65704 #endif
65705 #ifdef __cplusplus
65707 #endif
65710 main ()
65712 return f != $ac_func;
65714 return 0;
65716 _ACEOF
65717 rm -f conftest.$ac_objext conftest$ac_exeext
65718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65719 (eval $ac_link) 2>conftest.er1
65720 ac_status=$?
65721 grep -v '^ *+' conftest.er1 >conftest.err
65722 rm -f conftest.er1
65723 cat conftest.err >&5
65724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65725 (exit $ac_status); } &&
65726 { ac_try='test -z "$ac_c_werror_flag"
65727 || test ! -s conftest.err'
65728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65729 (eval $ac_try) 2>&5
65730 ac_status=$?
65731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65732 (exit $ac_status); }; } &&
65733 { ac_try='test -s conftest$ac_exeext'
65734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65735 (eval $ac_try) 2>&5
65736 ac_status=$?
65737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65738 (exit $ac_status); }; }; then
65739 eval "$as_ac_var=yes"
65740 else
65741 echo "$as_me: failed program was:" >&5
65742 sed 's/^/| /' conftest.$ac_ext >&5
65744 eval "$as_ac_var=no"
65746 rm -f conftest.err conftest.$ac_objext \
65747 conftest$ac_exeext conftest.$ac_ext
65749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65751 if test `eval echo '${'$as_ac_var'}'` = yes; then
65752 cat >>confdefs.h <<_ACEOF
65753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65754 _ACEOF
65757 done
65767 echo "$as_me:$LINENO: checking for sincos declaration" >&5
65768 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
65769 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65770 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
65771 echo $ECHO_N "(cached) $ECHO_C" >&6
65772 else
65776 ac_ext=cc
65777 ac_cpp='$CXXCPP $CPPFLAGS'
65778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65782 cat >conftest.$ac_ext <<_ACEOF
65783 /* confdefs.h. */
65784 _ACEOF
65785 cat confdefs.h >>conftest.$ac_ext
65786 cat >>conftest.$ac_ext <<_ACEOF
65787 /* end confdefs.h. */
65788 #include <math.h>
65790 main ()
65792 sincos(0, 0, 0);
65794 return 0;
65796 _ACEOF
65797 rm -f conftest.$ac_objext
65798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65799 (eval $ac_compile) 2>conftest.er1
65800 ac_status=$?
65801 grep -v '^ *+' conftest.er1 >conftest.err
65802 rm -f conftest.er1
65803 cat conftest.err >&5
65804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65805 (exit $ac_status); } &&
65806 { ac_try='test -z "$ac_cxx_werror_flag"
65807 || test ! -s conftest.err'
65808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65809 (eval $ac_try) 2>&5
65810 ac_status=$?
65811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65812 (exit $ac_status); }; } &&
65813 { ac_try='test -s conftest.$ac_objext'
65814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65815 (eval $ac_try) 2>&5
65816 ac_status=$?
65817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65818 (exit $ac_status); }; }; then
65819 glibcxx_cv_func_sincos_use=yes
65820 else
65821 echo "$as_me: failed program was:" >&5
65822 sed 's/^/| /' conftest.$ac_ext >&5
65824 glibcxx_cv_func_sincos_use=no
65826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65827 ac_ext=c
65828 ac_cpp='$CPP $CPPFLAGS'
65829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65837 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
65838 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
65840 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65842 for ac_func in sincos
65844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65845 echo "$as_me:$LINENO: checking for $ac_func" >&5
65846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65847 if eval "test \"\${$as_ac_var+set}\" = set"; then
65848 echo $ECHO_N "(cached) $ECHO_C" >&6
65849 else
65850 if test x$gcc_no_link = xyes; then
65851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65853 { (exit 1); exit 1; }; }
65855 cat >conftest.$ac_ext <<_ACEOF
65856 /* confdefs.h. */
65857 _ACEOF
65858 cat confdefs.h >>conftest.$ac_ext
65859 cat >>conftest.$ac_ext <<_ACEOF
65860 /* end confdefs.h. */
65861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65863 #define $ac_func innocuous_$ac_func
65865 /* System header to define __stub macros and hopefully few prototypes,
65866 which can conflict with char $ac_func (); below.
65867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65868 <limits.h> exists even on freestanding compilers. */
65870 #ifdef __STDC__
65871 # include <limits.h>
65872 #else
65873 # include <assert.h>
65874 #endif
65876 #undef $ac_func
65878 /* Override any gcc2 internal prototype to avoid an error. */
65879 #ifdef __cplusplus
65880 extern "C"
65882 #endif
65883 /* We use char because int might match the return type of a gcc2
65884 builtin and then its argument prototype would still apply. */
65885 char $ac_func ();
65886 /* The GNU C library defines this for functions which it implements
65887 to always fail with ENOSYS. Some functions are actually named
65888 something starting with __ and the normal name is an alias. */
65889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65890 choke me
65891 #else
65892 char (*f) () = $ac_func;
65893 #endif
65894 #ifdef __cplusplus
65896 #endif
65899 main ()
65901 return f != $ac_func;
65903 return 0;
65905 _ACEOF
65906 rm -f conftest.$ac_objext conftest$ac_exeext
65907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65908 (eval $ac_link) 2>conftest.er1
65909 ac_status=$?
65910 grep -v '^ *+' conftest.er1 >conftest.err
65911 rm -f conftest.er1
65912 cat conftest.err >&5
65913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65914 (exit $ac_status); } &&
65915 { ac_try='test -z "$ac_c_werror_flag"
65916 || test ! -s conftest.err'
65917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65918 (eval $ac_try) 2>&5
65919 ac_status=$?
65920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65921 (exit $ac_status); }; } &&
65922 { ac_try='test -s conftest$ac_exeext'
65923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65924 (eval $ac_try) 2>&5
65925 ac_status=$?
65926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65927 (exit $ac_status); }; }; then
65928 eval "$as_ac_var=yes"
65929 else
65930 echo "$as_me: failed program was:" >&5
65931 sed 's/^/| /' conftest.$ac_ext >&5
65933 eval "$as_ac_var=no"
65935 rm -f conftest.err conftest.$ac_objext \
65936 conftest$ac_exeext conftest.$ac_ext
65938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65940 if test `eval echo '${'$as_ac_var'}'` = yes; then
65941 cat >>confdefs.h <<_ACEOF
65942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65943 _ACEOF
65946 done
65948 else
65950 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
65951 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
65952 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65953 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
65954 echo $ECHO_N "(cached) $ECHO_C" >&6
65955 else
65959 ac_ext=cc
65960 ac_cpp='$CXXCPP $CPPFLAGS'
65961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65965 cat >conftest.$ac_ext <<_ACEOF
65966 /* confdefs.h. */
65967 _ACEOF
65968 cat confdefs.h >>conftest.$ac_ext
65969 cat >>conftest.$ac_ext <<_ACEOF
65970 /* end confdefs.h. */
65971 #include <math.h>
65973 main ()
65975 _sincos(0, 0, 0);
65977 return 0;
65979 _ACEOF
65980 rm -f conftest.$ac_objext
65981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65982 (eval $ac_compile) 2>conftest.er1
65983 ac_status=$?
65984 grep -v '^ *+' conftest.er1 >conftest.err
65985 rm -f conftest.er1
65986 cat conftest.err >&5
65987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65988 (exit $ac_status); } &&
65989 { ac_try='test -z "$ac_cxx_werror_flag"
65990 || test ! -s conftest.err'
65991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65992 (eval $ac_try) 2>&5
65993 ac_status=$?
65994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65995 (exit $ac_status); }; } &&
65996 { ac_try='test -s conftest.$ac_objext'
65997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65998 (eval $ac_try) 2>&5
65999 ac_status=$?
66000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66001 (exit $ac_status); }; }; then
66002 glibcxx_cv_func__sincos_use=yes
66003 else
66004 echo "$as_me: failed program was:" >&5
66005 sed 's/^/| /' conftest.$ac_ext >&5
66007 glibcxx_cv_func__sincos_use=no
66009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66010 ac_ext=c
66011 ac_cpp='$CPP $CPPFLAGS'
66012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66020 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
66021 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
66023 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66025 for ac_func in _sincos
66027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66028 echo "$as_me:$LINENO: checking for $ac_func" >&5
66029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66030 if eval "test \"\${$as_ac_var+set}\" = set"; then
66031 echo $ECHO_N "(cached) $ECHO_C" >&6
66032 else
66033 if test x$gcc_no_link = xyes; then
66034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66036 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66046 #define $ac_func innocuous_$ac_func
66048 /* System header to define __stub macros and hopefully few prototypes,
66049 which can conflict with char $ac_func (); below.
66050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66051 <limits.h> exists even on freestanding compilers. */
66053 #ifdef __STDC__
66054 # include <limits.h>
66055 #else
66056 # include <assert.h>
66057 #endif
66059 #undef $ac_func
66061 /* Override any gcc2 internal prototype to avoid an error. */
66062 #ifdef __cplusplus
66063 extern "C"
66065 #endif
66066 /* We use char because int might match the return type of a gcc2
66067 builtin and then its argument prototype would still apply. */
66068 char $ac_func ();
66069 /* The GNU C library defines this for functions which it implements
66070 to always fail with ENOSYS. Some functions are actually named
66071 something starting with __ and the normal name is an alias. */
66072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66073 choke me
66074 #else
66075 char (*f) () = $ac_func;
66076 #endif
66077 #ifdef __cplusplus
66079 #endif
66082 main ()
66084 return f != $ac_func;
66086 return 0;
66088 _ACEOF
66089 rm -f conftest.$ac_objext conftest$ac_exeext
66090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66091 (eval $ac_link) 2>conftest.er1
66092 ac_status=$?
66093 grep -v '^ *+' conftest.er1 >conftest.err
66094 rm -f conftest.er1
66095 cat conftest.err >&5
66096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66097 (exit $ac_status); } &&
66098 { ac_try='test -z "$ac_c_werror_flag"
66099 || test ! -s conftest.err'
66100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66101 (eval $ac_try) 2>&5
66102 ac_status=$?
66103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66104 (exit $ac_status); }; } &&
66105 { ac_try='test -s conftest$ac_exeext'
66106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66107 (eval $ac_try) 2>&5
66108 ac_status=$?
66109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66110 (exit $ac_status); }; }; then
66111 eval "$as_ac_var=yes"
66112 else
66113 echo "$as_me: failed program was:" >&5
66114 sed 's/^/| /' conftest.$ac_ext >&5
66116 eval "$as_ac_var=no"
66118 rm -f conftest.err conftest.$ac_objext \
66119 conftest$ac_exeext conftest.$ac_ext
66121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66123 if test `eval echo '${'$as_ac_var'}'` = yes; then
66124 cat >>confdefs.h <<_ACEOF
66125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66126 _ACEOF
66129 done
66139 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
66140 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
66141 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66142 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
66143 echo $ECHO_N "(cached) $ECHO_C" >&6
66144 else
66148 ac_ext=cc
66149 ac_cpp='$CXXCPP $CPPFLAGS'
66150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66154 cat >conftest.$ac_ext <<_ACEOF
66155 /* confdefs.h. */
66156 _ACEOF
66157 cat confdefs.h >>conftest.$ac_ext
66158 cat >>conftest.$ac_ext <<_ACEOF
66159 /* end confdefs.h. */
66160 #include <math.h>
66161 #ifdef HAVE_IEEEFP_H
66162 #include <ieeefp.h>
66163 #endif
66166 main ()
66168 fpclass(0);
66170 return 0;
66172 _ACEOF
66173 rm -f conftest.$ac_objext
66174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66175 (eval $ac_compile) 2>conftest.er1
66176 ac_status=$?
66177 grep -v '^ *+' conftest.er1 >conftest.err
66178 rm -f conftest.er1
66179 cat conftest.err >&5
66180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66181 (exit $ac_status); } &&
66182 { ac_try='test -z "$ac_cxx_werror_flag"
66183 || test ! -s conftest.err'
66184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66185 (eval $ac_try) 2>&5
66186 ac_status=$?
66187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66188 (exit $ac_status); }; } &&
66189 { ac_try='test -s conftest.$ac_objext'
66190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66191 (eval $ac_try) 2>&5
66192 ac_status=$?
66193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66194 (exit $ac_status); }; }; then
66195 glibcxx_cv_func_fpclass_use=yes
66196 else
66197 echo "$as_me: failed program was:" >&5
66198 sed 's/^/| /' conftest.$ac_ext >&5
66200 glibcxx_cv_func_fpclass_use=no
66202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66203 ac_ext=c
66204 ac_cpp='$CPP $CPPFLAGS'
66205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66213 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
66214 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
66216 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
66218 for ac_func in fpclass
66220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66221 echo "$as_me:$LINENO: checking for $ac_func" >&5
66222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66223 if eval "test \"\${$as_ac_var+set}\" = set"; then
66224 echo $ECHO_N "(cached) $ECHO_C" >&6
66225 else
66226 if test x$gcc_no_link = xyes; then
66227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66229 { (exit 1); exit 1; }; }
66231 cat >conftest.$ac_ext <<_ACEOF
66232 /* confdefs.h. */
66233 _ACEOF
66234 cat confdefs.h >>conftest.$ac_ext
66235 cat >>conftest.$ac_ext <<_ACEOF
66236 /* end confdefs.h. */
66237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66239 #define $ac_func innocuous_$ac_func
66241 /* System header to define __stub macros and hopefully few prototypes,
66242 which can conflict with char $ac_func (); below.
66243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66244 <limits.h> exists even on freestanding compilers. */
66246 #ifdef __STDC__
66247 # include <limits.h>
66248 #else
66249 # include <assert.h>
66250 #endif
66252 #undef $ac_func
66254 /* Override any gcc2 internal prototype to avoid an error. */
66255 #ifdef __cplusplus
66256 extern "C"
66258 #endif
66259 /* We use char because int might match the return type of a gcc2
66260 builtin and then its argument prototype would still apply. */
66261 char $ac_func ();
66262 /* The GNU C library defines this for functions which it implements
66263 to always fail with ENOSYS. Some functions are actually named
66264 something starting with __ and the normal name is an alias. */
66265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66266 choke me
66267 #else
66268 char (*f) () = $ac_func;
66269 #endif
66270 #ifdef __cplusplus
66272 #endif
66275 main ()
66277 return f != $ac_func;
66279 return 0;
66281 _ACEOF
66282 rm -f conftest.$ac_objext conftest$ac_exeext
66283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66284 (eval $ac_link) 2>conftest.er1
66285 ac_status=$?
66286 grep -v '^ *+' conftest.er1 >conftest.err
66287 rm -f conftest.er1
66288 cat conftest.err >&5
66289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66290 (exit $ac_status); } &&
66291 { ac_try='test -z "$ac_c_werror_flag"
66292 || test ! -s conftest.err'
66293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66294 (eval $ac_try) 2>&5
66295 ac_status=$?
66296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66297 (exit $ac_status); }; } &&
66298 { ac_try='test -s conftest$ac_exeext'
66299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66300 (eval $ac_try) 2>&5
66301 ac_status=$?
66302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66303 (exit $ac_status); }; }; then
66304 eval "$as_ac_var=yes"
66305 else
66306 echo "$as_me: failed program was:" >&5
66307 sed 's/^/| /' conftest.$ac_ext >&5
66309 eval "$as_ac_var=no"
66311 rm -f conftest.err conftest.$ac_objext \
66312 conftest$ac_exeext conftest.$ac_ext
66314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66316 if test `eval echo '${'$as_ac_var'}'` = yes; then
66317 cat >>confdefs.h <<_ACEOF
66318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66319 _ACEOF
66322 done
66324 else
66326 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
66327 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
66328 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66329 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
66330 echo $ECHO_N "(cached) $ECHO_C" >&6
66331 else
66335 ac_ext=cc
66336 ac_cpp='$CXXCPP $CPPFLAGS'
66337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66341 cat >conftest.$ac_ext <<_ACEOF
66342 /* confdefs.h. */
66343 _ACEOF
66344 cat confdefs.h >>conftest.$ac_ext
66345 cat >>conftest.$ac_ext <<_ACEOF
66346 /* end confdefs.h. */
66347 #include <math.h>
66348 #ifdef HAVE_IEEEFP_H
66349 #include <ieeefp.h>
66350 #endif
66353 main ()
66355 _fpclass(0);
66357 return 0;
66359 _ACEOF
66360 rm -f conftest.$ac_objext
66361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66362 (eval $ac_compile) 2>conftest.er1
66363 ac_status=$?
66364 grep -v '^ *+' conftest.er1 >conftest.err
66365 rm -f conftest.er1
66366 cat conftest.err >&5
66367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66368 (exit $ac_status); } &&
66369 { ac_try='test -z "$ac_cxx_werror_flag"
66370 || test ! -s conftest.err'
66371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66372 (eval $ac_try) 2>&5
66373 ac_status=$?
66374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66375 (exit $ac_status); }; } &&
66376 { ac_try='test -s conftest.$ac_objext'
66377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66378 (eval $ac_try) 2>&5
66379 ac_status=$?
66380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66381 (exit $ac_status); }; }; then
66382 glibcxx_cv_func__fpclass_use=yes
66383 else
66384 echo "$as_me: failed program was:" >&5
66385 sed 's/^/| /' conftest.$ac_ext >&5
66387 glibcxx_cv_func__fpclass_use=no
66389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66390 ac_ext=c
66391 ac_cpp='$CPP $CPPFLAGS'
66392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66400 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
66401 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
66403 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66405 for ac_func in _fpclass
66407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66408 echo "$as_me:$LINENO: checking for $ac_func" >&5
66409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66410 if eval "test \"\${$as_ac_var+set}\" = set"; then
66411 echo $ECHO_N "(cached) $ECHO_C" >&6
66412 else
66413 if test x$gcc_no_link = xyes; then
66414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66416 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66426 #define $ac_func innocuous_$ac_func
66428 /* System header to define __stub macros and hopefully few prototypes,
66429 which can conflict with char $ac_func (); below.
66430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66431 <limits.h> exists even on freestanding compilers. */
66433 #ifdef __STDC__
66434 # include <limits.h>
66435 #else
66436 # include <assert.h>
66437 #endif
66439 #undef $ac_func
66441 /* Override any gcc2 internal prototype to avoid an error. */
66442 #ifdef __cplusplus
66443 extern "C"
66445 #endif
66446 /* We use char because int might match the return type of a gcc2
66447 builtin and then its argument prototype would still apply. */
66448 char $ac_func ();
66449 /* The GNU C library defines this for functions which it implements
66450 to always fail with ENOSYS. Some functions are actually named
66451 something starting with __ and the normal name is an alias. */
66452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66453 choke me
66454 #else
66455 char (*f) () = $ac_func;
66456 #endif
66457 #ifdef __cplusplus
66459 #endif
66462 main ()
66464 return f != $ac_func;
66466 return 0;
66468 _ACEOF
66469 rm -f conftest.$ac_objext conftest$ac_exeext
66470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66471 (eval $ac_link) 2>conftest.er1
66472 ac_status=$?
66473 grep -v '^ *+' conftest.er1 >conftest.err
66474 rm -f conftest.er1
66475 cat conftest.err >&5
66476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66477 (exit $ac_status); } &&
66478 { ac_try='test -z "$ac_c_werror_flag"
66479 || test ! -s conftest.err'
66480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66481 (eval $ac_try) 2>&5
66482 ac_status=$?
66483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66484 (exit $ac_status); }; } &&
66485 { ac_try='test -s conftest$ac_exeext'
66486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66487 (eval $ac_try) 2>&5
66488 ac_status=$?
66489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66490 (exit $ac_status); }; }; then
66491 eval "$as_ac_var=yes"
66492 else
66493 echo "$as_me: failed program was:" >&5
66494 sed 's/^/| /' conftest.$ac_ext >&5
66496 eval "$as_ac_var=no"
66498 rm -f conftest.err conftest.$ac_objext \
66499 conftest$ac_exeext conftest.$ac_ext
66501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66503 if test `eval echo '${'$as_ac_var'}'` = yes; then
66504 cat >>confdefs.h <<_ACEOF
66505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66506 _ACEOF
66509 done
66519 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
66520 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
66521 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66522 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
66523 echo $ECHO_N "(cached) $ECHO_C" >&6
66524 else
66528 ac_ext=cc
66529 ac_cpp='$CXXCPP $CPPFLAGS'
66530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66534 cat >conftest.$ac_ext <<_ACEOF
66535 /* confdefs.h. */
66536 _ACEOF
66537 cat confdefs.h >>conftest.$ac_ext
66538 cat >>conftest.$ac_ext <<_ACEOF
66539 /* end confdefs.h. */
66540 #include <math.h>
66541 #ifdef HAVE_IEEEFP_H
66542 #include <ieeefp.h>
66543 #endif
66546 main ()
66548 qfpclass(0);
66550 return 0;
66552 _ACEOF
66553 rm -f conftest.$ac_objext
66554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66555 (eval $ac_compile) 2>conftest.er1
66556 ac_status=$?
66557 grep -v '^ *+' conftest.er1 >conftest.err
66558 rm -f conftest.er1
66559 cat conftest.err >&5
66560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66561 (exit $ac_status); } &&
66562 { ac_try='test -z "$ac_cxx_werror_flag"
66563 || test ! -s conftest.err'
66564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66565 (eval $ac_try) 2>&5
66566 ac_status=$?
66567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66568 (exit $ac_status); }; } &&
66569 { ac_try='test -s conftest.$ac_objext'
66570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66571 (eval $ac_try) 2>&5
66572 ac_status=$?
66573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66574 (exit $ac_status); }; }; then
66575 glibcxx_cv_func_qfpclass_use=yes
66576 else
66577 echo "$as_me: failed program was:" >&5
66578 sed 's/^/| /' conftest.$ac_ext >&5
66580 glibcxx_cv_func_qfpclass_use=no
66582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66583 ac_ext=c
66584 ac_cpp='$CPP $CPPFLAGS'
66585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66593 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
66594 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
66596 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66598 for ac_func in qfpclass
66600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66601 echo "$as_me:$LINENO: checking for $ac_func" >&5
66602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66603 if eval "test \"\${$as_ac_var+set}\" = set"; then
66604 echo $ECHO_N "(cached) $ECHO_C" >&6
66605 else
66606 if test x$gcc_no_link = xyes; then
66607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66609 { (exit 1); exit 1; }; }
66611 cat >conftest.$ac_ext <<_ACEOF
66612 /* confdefs.h. */
66613 _ACEOF
66614 cat confdefs.h >>conftest.$ac_ext
66615 cat >>conftest.$ac_ext <<_ACEOF
66616 /* end confdefs.h. */
66617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66619 #define $ac_func innocuous_$ac_func
66621 /* System header to define __stub macros and hopefully few prototypes,
66622 which can conflict with char $ac_func (); below.
66623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66624 <limits.h> exists even on freestanding compilers. */
66626 #ifdef __STDC__
66627 # include <limits.h>
66628 #else
66629 # include <assert.h>
66630 #endif
66632 #undef $ac_func
66634 /* Override any gcc2 internal prototype to avoid an error. */
66635 #ifdef __cplusplus
66636 extern "C"
66638 #endif
66639 /* We use char because int might match the return type of a gcc2
66640 builtin and then its argument prototype would still apply. */
66641 char $ac_func ();
66642 /* The GNU C library defines this for functions which it implements
66643 to always fail with ENOSYS. Some functions are actually named
66644 something starting with __ and the normal name is an alias. */
66645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66646 choke me
66647 #else
66648 char (*f) () = $ac_func;
66649 #endif
66650 #ifdef __cplusplus
66652 #endif
66655 main ()
66657 return f != $ac_func;
66659 return 0;
66661 _ACEOF
66662 rm -f conftest.$ac_objext conftest$ac_exeext
66663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66664 (eval $ac_link) 2>conftest.er1
66665 ac_status=$?
66666 grep -v '^ *+' conftest.er1 >conftest.err
66667 rm -f conftest.er1
66668 cat conftest.err >&5
66669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66670 (exit $ac_status); } &&
66671 { ac_try='test -z "$ac_c_werror_flag"
66672 || test ! -s conftest.err'
66673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66674 (eval $ac_try) 2>&5
66675 ac_status=$?
66676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66677 (exit $ac_status); }; } &&
66678 { ac_try='test -s conftest$ac_exeext'
66679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66680 (eval $ac_try) 2>&5
66681 ac_status=$?
66682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66683 (exit $ac_status); }; }; then
66684 eval "$as_ac_var=yes"
66685 else
66686 echo "$as_me: failed program was:" >&5
66687 sed 's/^/| /' conftest.$ac_ext >&5
66689 eval "$as_ac_var=no"
66691 rm -f conftest.err conftest.$ac_objext \
66692 conftest$ac_exeext conftest.$ac_ext
66694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66696 if test `eval echo '${'$as_ac_var'}'` = yes; then
66697 cat >>confdefs.h <<_ACEOF
66698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66699 _ACEOF
66702 done
66704 else
66706 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
66707 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
66708 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66709 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
66710 echo $ECHO_N "(cached) $ECHO_C" >&6
66711 else
66715 ac_ext=cc
66716 ac_cpp='$CXXCPP $CPPFLAGS'
66717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66721 cat >conftest.$ac_ext <<_ACEOF
66722 /* confdefs.h. */
66723 _ACEOF
66724 cat confdefs.h >>conftest.$ac_ext
66725 cat >>conftest.$ac_ext <<_ACEOF
66726 /* end confdefs.h. */
66727 #include <math.h>
66728 #ifdef HAVE_IEEEFP_H
66729 #include <ieeefp.h>
66730 #endif
66733 main ()
66735 _qfpclass(0);
66737 return 0;
66739 _ACEOF
66740 rm -f conftest.$ac_objext
66741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66742 (eval $ac_compile) 2>conftest.er1
66743 ac_status=$?
66744 grep -v '^ *+' conftest.er1 >conftest.err
66745 rm -f conftest.er1
66746 cat conftest.err >&5
66747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66748 (exit $ac_status); } &&
66749 { ac_try='test -z "$ac_cxx_werror_flag"
66750 || test ! -s conftest.err'
66751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66752 (eval $ac_try) 2>&5
66753 ac_status=$?
66754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66755 (exit $ac_status); }; } &&
66756 { ac_try='test -s conftest.$ac_objext'
66757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66758 (eval $ac_try) 2>&5
66759 ac_status=$?
66760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66761 (exit $ac_status); }; }; then
66762 glibcxx_cv_func__qfpclass_use=yes
66763 else
66764 echo "$as_me: failed program was:" >&5
66765 sed 's/^/| /' conftest.$ac_ext >&5
66767 glibcxx_cv_func__qfpclass_use=no
66769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66770 ac_ext=c
66771 ac_cpp='$CPP $CPPFLAGS'
66772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66780 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
66781 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
66783 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66785 for ac_func in _qfpclass
66787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66788 echo "$as_me:$LINENO: checking for $ac_func" >&5
66789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66790 if eval "test \"\${$as_ac_var+set}\" = set"; then
66791 echo $ECHO_N "(cached) $ECHO_C" >&6
66792 else
66793 if test x$gcc_no_link = xyes; then
66794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66796 { (exit 1); exit 1; }; }
66798 cat >conftest.$ac_ext <<_ACEOF
66799 /* confdefs.h. */
66800 _ACEOF
66801 cat confdefs.h >>conftest.$ac_ext
66802 cat >>conftest.$ac_ext <<_ACEOF
66803 /* end confdefs.h. */
66804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66806 #define $ac_func innocuous_$ac_func
66808 /* System header to define __stub macros and hopefully few prototypes,
66809 which can conflict with char $ac_func (); below.
66810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66811 <limits.h> exists even on freestanding compilers. */
66813 #ifdef __STDC__
66814 # include <limits.h>
66815 #else
66816 # include <assert.h>
66817 #endif
66819 #undef $ac_func
66821 /* Override any gcc2 internal prototype to avoid an error. */
66822 #ifdef __cplusplus
66823 extern "C"
66825 #endif
66826 /* We use char because int might match the return type of a gcc2
66827 builtin and then its argument prototype would still apply. */
66828 char $ac_func ();
66829 /* The GNU C library defines this for functions which it implements
66830 to always fail with ENOSYS. Some functions are actually named
66831 something starting with __ and the normal name is an alias. */
66832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66833 choke me
66834 #else
66835 char (*f) () = $ac_func;
66836 #endif
66837 #ifdef __cplusplus
66839 #endif
66842 main ()
66844 return f != $ac_func;
66846 return 0;
66848 _ACEOF
66849 rm -f conftest.$ac_objext conftest$ac_exeext
66850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66851 (eval $ac_link) 2>conftest.er1
66852 ac_status=$?
66853 grep -v '^ *+' conftest.er1 >conftest.err
66854 rm -f conftest.er1
66855 cat conftest.err >&5
66856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66857 (exit $ac_status); } &&
66858 { ac_try='test -z "$ac_c_werror_flag"
66859 || test ! -s conftest.err'
66860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66861 (eval $ac_try) 2>&5
66862 ac_status=$?
66863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66864 (exit $ac_status); }; } &&
66865 { ac_try='test -s conftest$ac_exeext'
66866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66867 (eval $ac_try) 2>&5
66868 ac_status=$?
66869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66870 (exit $ac_status); }; }; then
66871 eval "$as_ac_var=yes"
66872 else
66873 echo "$as_me: failed program was:" >&5
66874 sed 's/^/| /' conftest.$ac_ext >&5
66876 eval "$as_ac_var=no"
66878 rm -f conftest.err conftest.$ac_objext \
66879 conftest$ac_exeext conftest.$ac_ext
66881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66883 if test `eval echo '${'$as_ac_var'}'` = yes; then
66884 cat >>confdefs.h <<_ACEOF
66885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66886 _ACEOF
66889 done
66899 echo "$as_me:$LINENO: checking for hypot declaration" >&5
66900 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
66901 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66902 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
66903 echo $ECHO_N "(cached) $ECHO_C" >&6
66904 else
66908 ac_ext=cc
66909 ac_cpp='$CXXCPP $CPPFLAGS'
66910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66914 cat >conftest.$ac_ext <<_ACEOF
66915 /* confdefs.h. */
66916 _ACEOF
66917 cat confdefs.h >>conftest.$ac_ext
66918 cat >>conftest.$ac_ext <<_ACEOF
66919 /* end confdefs.h. */
66920 #include <math.h>
66922 main ()
66924 hypot(0, 0);
66926 return 0;
66928 _ACEOF
66929 rm -f conftest.$ac_objext
66930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66931 (eval $ac_compile) 2>conftest.er1
66932 ac_status=$?
66933 grep -v '^ *+' conftest.er1 >conftest.err
66934 rm -f conftest.er1
66935 cat conftest.err >&5
66936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66937 (exit $ac_status); } &&
66938 { ac_try='test -z "$ac_cxx_werror_flag"
66939 || test ! -s conftest.err'
66940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66941 (eval $ac_try) 2>&5
66942 ac_status=$?
66943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66944 (exit $ac_status); }; } &&
66945 { ac_try='test -s conftest.$ac_objext'
66946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66947 (eval $ac_try) 2>&5
66948 ac_status=$?
66949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66950 (exit $ac_status); }; }; then
66951 glibcxx_cv_func_hypot_use=yes
66952 else
66953 echo "$as_me: failed program was:" >&5
66954 sed 's/^/| /' conftest.$ac_ext >&5
66956 glibcxx_cv_func_hypot_use=no
66958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66959 ac_ext=c
66960 ac_cpp='$CPP $CPPFLAGS'
66961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66969 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
66970 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
66972 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66974 for ac_func in hypot
66976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66977 echo "$as_me:$LINENO: checking for $ac_func" >&5
66978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66979 if eval "test \"\${$as_ac_var+set}\" = set"; then
66980 echo $ECHO_N "(cached) $ECHO_C" >&6
66981 else
66982 if test x$gcc_no_link = xyes; then
66983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66985 { (exit 1); exit 1; }; }
66987 cat >conftest.$ac_ext <<_ACEOF
66988 /* confdefs.h. */
66989 _ACEOF
66990 cat confdefs.h >>conftest.$ac_ext
66991 cat >>conftest.$ac_ext <<_ACEOF
66992 /* end confdefs.h. */
66993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66995 #define $ac_func innocuous_$ac_func
66997 /* System header to define __stub macros and hopefully few prototypes,
66998 which can conflict with char $ac_func (); below.
66999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67000 <limits.h> exists even on freestanding compilers. */
67002 #ifdef __STDC__
67003 # include <limits.h>
67004 #else
67005 # include <assert.h>
67006 #endif
67008 #undef $ac_func
67010 /* Override any gcc2 internal prototype to avoid an error. */
67011 #ifdef __cplusplus
67012 extern "C"
67014 #endif
67015 /* We use char because int might match the return type of a gcc2
67016 builtin and then its argument prototype would still apply. */
67017 char $ac_func ();
67018 /* The GNU C library defines this for functions which it implements
67019 to always fail with ENOSYS. Some functions are actually named
67020 something starting with __ and the normal name is an alias. */
67021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67022 choke me
67023 #else
67024 char (*f) () = $ac_func;
67025 #endif
67026 #ifdef __cplusplus
67028 #endif
67031 main ()
67033 return f != $ac_func;
67035 return 0;
67037 _ACEOF
67038 rm -f conftest.$ac_objext conftest$ac_exeext
67039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67040 (eval $ac_link) 2>conftest.er1
67041 ac_status=$?
67042 grep -v '^ *+' conftest.er1 >conftest.err
67043 rm -f conftest.er1
67044 cat conftest.err >&5
67045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67046 (exit $ac_status); } &&
67047 { ac_try='test -z "$ac_c_werror_flag"
67048 || test ! -s conftest.err'
67049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67050 (eval $ac_try) 2>&5
67051 ac_status=$?
67052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67053 (exit $ac_status); }; } &&
67054 { ac_try='test -s conftest$ac_exeext'
67055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67056 (eval $ac_try) 2>&5
67057 ac_status=$?
67058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67059 (exit $ac_status); }; }; then
67060 eval "$as_ac_var=yes"
67061 else
67062 echo "$as_me: failed program was:" >&5
67063 sed 's/^/| /' conftest.$ac_ext >&5
67065 eval "$as_ac_var=no"
67067 rm -f conftest.err conftest.$ac_objext \
67068 conftest$ac_exeext conftest.$ac_ext
67070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67072 if test `eval echo '${'$as_ac_var'}'` = yes; then
67073 cat >>confdefs.h <<_ACEOF
67074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67075 _ACEOF
67078 done
67080 else
67082 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
67083 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
67084 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67085 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
67086 echo $ECHO_N "(cached) $ECHO_C" >&6
67087 else
67091 ac_ext=cc
67092 ac_cpp='$CXXCPP $CPPFLAGS'
67093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67097 cat >conftest.$ac_ext <<_ACEOF
67098 /* confdefs.h. */
67099 _ACEOF
67100 cat confdefs.h >>conftest.$ac_ext
67101 cat >>conftest.$ac_ext <<_ACEOF
67102 /* end confdefs.h. */
67103 #include <math.h>
67105 main ()
67107 _hypot(0, 0);
67109 return 0;
67111 _ACEOF
67112 rm -f conftest.$ac_objext
67113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67114 (eval $ac_compile) 2>conftest.er1
67115 ac_status=$?
67116 grep -v '^ *+' conftest.er1 >conftest.err
67117 rm -f conftest.er1
67118 cat conftest.err >&5
67119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67120 (exit $ac_status); } &&
67121 { ac_try='test -z "$ac_cxx_werror_flag"
67122 || test ! -s conftest.err'
67123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67124 (eval $ac_try) 2>&5
67125 ac_status=$?
67126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67127 (exit $ac_status); }; } &&
67128 { ac_try='test -s conftest.$ac_objext'
67129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67130 (eval $ac_try) 2>&5
67131 ac_status=$?
67132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67133 (exit $ac_status); }; }; then
67134 glibcxx_cv_func__hypot_use=yes
67135 else
67136 echo "$as_me: failed program was:" >&5
67137 sed 's/^/| /' conftest.$ac_ext >&5
67139 glibcxx_cv_func__hypot_use=no
67141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67142 ac_ext=c
67143 ac_cpp='$CPP $CPPFLAGS'
67144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67152 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
67153 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
67155 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67157 for ac_func in _hypot
67159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67160 echo "$as_me:$LINENO: checking for $ac_func" >&5
67161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67162 if eval "test \"\${$as_ac_var+set}\" = set"; then
67163 echo $ECHO_N "(cached) $ECHO_C" >&6
67164 else
67165 if test x$gcc_no_link = xyes; then
67166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67168 { (exit 1); exit 1; }; }
67170 cat >conftest.$ac_ext <<_ACEOF
67171 /* confdefs.h. */
67172 _ACEOF
67173 cat confdefs.h >>conftest.$ac_ext
67174 cat >>conftest.$ac_ext <<_ACEOF
67175 /* end confdefs.h. */
67176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67178 #define $ac_func innocuous_$ac_func
67180 /* System header to define __stub macros and hopefully few prototypes,
67181 which can conflict with char $ac_func (); below.
67182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67183 <limits.h> exists even on freestanding compilers. */
67185 #ifdef __STDC__
67186 # include <limits.h>
67187 #else
67188 # include <assert.h>
67189 #endif
67191 #undef $ac_func
67193 /* Override any gcc2 internal prototype to avoid an error. */
67194 #ifdef __cplusplus
67195 extern "C"
67197 #endif
67198 /* We use char because int might match the return type of a gcc2
67199 builtin and then its argument prototype would still apply. */
67200 char $ac_func ();
67201 /* The GNU C library defines this for functions which it implements
67202 to always fail with ENOSYS. Some functions are actually named
67203 something starting with __ and the normal name is an alias. */
67204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67205 choke me
67206 #else
67207 char (*f) () = $ac_func;
67208 #endif
67209 #ifdef __cplusplus
67211 #endif
67214 main ()
67216 return f != $ac_func;
67218 return 0;
67220 _ACEOF
67221 rm -f conftest.$ac_objext conftest$ac_exeext
67222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67223 (eval $ac_link) 2>conftest.er1
67224 ac_status=$?
67225 grep -v '^ *+' conftest.er1 >conftest.err
67226 rm -f conftest.er1
67227 cat conftest.err >&5
67228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67229 (exit $ac_status); } &&
67230 { ac_try='test -z "$ac_c_werror_flag"
67231 || test ! -s conftest.err'
67232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67233 (eval $ac_try) 2>&5
67234 ac_status=$?
67235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67236 (exit $ac_status); }; } &&
67237 { ac_try='test -s conftest$ac_exeext'
67238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67239 (eval $ac_try) 2>&5
67240 ac_status=$?
67241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67242 (exit $ac_status); }; }; then
67243 eval "$as_ac_var=yes"
67244 else
67245 echo "$as_me: failed program was:" >&5
67246 sed 's/^/| /' conftest.$ac_ext >&5
67248 eval "$as_ac_var=no"
67250 rm -f conftest.err conftest.$ac_objext \
67251 conftest$ac_exeext conftest.$ac_ext
67253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67255 if test `eval echo '${'$as_ac_var'}'` = yes; then
67256 cat >>confdefs.h <<_ACEOF
67257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67258 _ACEOF
67261 done
67271 echo "$as_me:$LINENO: checking for float trig functions" >&5
67272 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
67273 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
67274 echo $ECHO_N "(cached) $ECHO_C" >&6
67275 else
67279 ac_ext=cc
67280 ac_cpp='$CXXCPP $CPPFLAGS'
67281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67285 cat >conftest.$ac_ext <<_ACEOF
67286 /* confdefs.h. */
67287 _ACEOF
67288 cat confdefs.h >>conftest.$ac_ext
67289 cat >>conftest.$ac_ext <<_ACEOF
67290 /* end confdefs.h. */
67291 #include <math.h>
67293 main ()
67295 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67297 return 0;
67299 _ACEOF
67300 rm -f conftest.$ac_objext
67301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67302 (eval $ac_compile) 2>conftest.er1
67303 ac_status=$?
67304 grep -v '^ *+' conftest.er1 >conftest.err
67305 rm -f conftest.er1
67306 cat conftest.err >&5
67307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67308 (exit $ac_status); } &&
67309 { ac_try='test -z "$ac_cxx_werror_flag"
67310 || test ! -s conftest.err'
67311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67312 (eval $ac_try) 2>&5
67313 ac_status=$?
67314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67315 (exit $ac_status); }; } &&
67316 { ac_try='test -s conftest.$ac_objext'
67317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67318 (eval $ac_try) 2>&5
67319 ac_status=$?
67320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67321 (exit $ac_status); }; }; then
67322 glibcxx_cv_func_float_trig_use=yes
67323 else
67324 echo "$as_me: failed program was:" >&5
67325 sed 's/^/| /' conftest.$ac_ext >&5
67327 glibcxx_cv_func_float_trig_use=no
67329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67330 ac_ext=c
67331 ac_cpp='$CPP $CPPFLAGS'
67332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67338 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
67339 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
67340 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67350 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67353 echo "$as_me:$LINENO: checking for $ac_func" >&5
67354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67355 if eval "test \"\${$as_ac_var+set}\" = set"; then
67356 echo $ECHO_N "(cached) $ECHO_C" >&6
67357 else
67358 if test x$gcc_no_link = xyes; then
67359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67361 { (exit 1); exit 1; }; }
67363 cat >conftest.$ac_ext <<_ACEOF
67364 /* confdefs.h. */
67365 _ACEOF
67366 cat confdefs.h >>conftest.$ac_ext
67367 cat >>conftest.$ac_ext <<_ACEOF
67368 /* end confdefs.h. */
67369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67371 #define $ac_func innocuous_$ac_func
67373 /* System header to define __stub macros and hopefully few prototypes,
67374 which can conflict with char $ac_func (); below.
67375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67376 <limits.h> exists even on freestanding compilers. */
67378 #ifdef __STDC__
67379 # include <limits.h>
67380 #else
67381 # include <assert.h>
67382 #endif
67384 #undef $ac_func
67386 /* Override any gcc2 internal prototype to avoid an error. */
67387 #ifdef __cplusplus
67388 extern "C"
67390 #endif
67391 /* We use char because int might match the return type of a gcc2
67392 builtin and then its argument prototype would still apply. */
67393 char $ac_func ();
67394 /* The GNU C library defines this for functions which it implements
67395 to always fail with ENOSYS. Some functions are actually named
67396 something starting with __ and the normal name is an alias. */
67397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67398 choke me
67399 #else
67400 char (*f) () = $ac_func;
67401 #endif
67402 #ifdef __cplusplus
67404 #endif
67407 main ()
67409 return f != $ac_func;
67411 return 0;
67413 _ACEOF
67414 rm -f conftest.$ac_objext conftest$ac_exeext
67415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67416 (eval $ac_link) 2>conftest.er1
67417 ac_status=$?
67418 grep -v '^ *+' conftest.er1 >conftest.err
67419 rm -f conftest.er1
67420 cat conftest.err >&5
67421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67422 (exit $ac_status); } &&
67423 { ac_try='test -z "$ac_c_werror_flag"
67424 || test ! -s conftest.err'
67425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67426 (eval $ac_try) 2>&5
67427 ac_status=$?
67428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67429 (exit $ac_status); }; } &&
67430 { ac_try='test -s conftest$ac_exeext'
67431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67432 (eval $ac_try) 2>&5
67433 ac_status=$?
67434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67435 (exit $ac_status); }; }; then
67436 eval "$as_ac_var=yes"
67437 else
67438 echo "$as_me: failed program was:" >&5
67439 sed 's/^/| /' conftest.$ac_ext >&5
67441 eval "$as_ac_var=no"
67443 rm -f conftest.err conftest.$ac_objext \
67444 conftest$ac_exeext conftest.$ac_ext
67446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67448 if test `eval echo '${'$as_ac_var'}'` = yes; then
67449 cat >>confdefs.h <<_ACEOF
67450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67451 _ACEOF
67454 done
67456 else
67457 echo "$as_me:$LINENO: checking for _float trig functions" >&5
67458 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
67459 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
67460 echo $ECHO_N "(cached) $ECHO_C" >&6
67461 else
67465 ac_ext=cc
67466 ac_cpp='$CXXCPP $CPPFLAGS'
67467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67471 cat >conftest.$ac_ext <<_ACEOF
67472 /* confdefs.h. */
67473 _ACEOF
67474 cat confdefs.h >>conftest.$ac_ext
67475 cat >>conftest.$ac_ext <<_ACEOF
67476 /* end confdefs.h. */
67477 #include <math.h>
67479 main ()
67481 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67483 return 0;
67485 _ACEOF
67486 rm -f conftest.$ac_objext
67487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67488 (eval $ac_compile) 2>conftest.er1
67489 ac_status=$?
67490 grep -v '^ *+' conftest.er1 >conftest.err
67491 rm -f conftest.er1
67492 cat conftest.err >&5
67493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67494 (exit $ac_status); } &&
67495 { ac_try='test -z "$ac_cxx_werror_flag"
67496 || test ! -s conftest.err'
67497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67498 (eval $ac_try) 2>&5
67499 ac_status=$?
67500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67501 (exit $ac_status); }; } &&
67502 { ac_try='test -s conftest.$ac_objext'
67503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67504 (eval $ac_try) 2>&5
67505 ac_status=$?
67506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67507 (exit $ac_status); }; }; then
67508 glibcxx_cv_func__float_trig_use=yes
67509 else
67510 echo "$as_me: failed program was:" >&5
67511 sed 's/^/| /' conftest.$ac_ext >&5
67513 glibcxx_cv_func__float_trig_use=no
67515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67516 ac_ext=c
67517 ac_cpp='$CPP $CPPFLAGS'
67518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67524 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
67525 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
67526 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67536 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67539 echo "$as_me:$LINENO: checking for $ac_func" >&5
67540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67541 if eval "test \"\${$as_ac_var+set}\" = set"; then
67542 echo $ECHO_N "(cached) $ECHO_C" >&6
67543 else
67544 if test x$gcc_no_link = xyes; then
67545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67547 { (exit 1); exit 1; }; }
67549 cat >conftest.$ac_ext <<_ACEOF
67550 /* confdefs.h. */
67551 _ACEOF
67552 cat confdefs.h >>conftest.$ac_ext
67553 cat >>conftest.$ac_ext <<_ACEOF
67554 /* end confdefs.h. */
67555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67557 #define $ac_func innocuous_$ac_func
67559 /* System header to define __stub macros and hopefully few prototypes,
67560 which can conflict with char $ac_func (); below.
67561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67562 <limits.h> exists even on freestanding compilers. */
67564 #ifdef __STDC__
67565 # include <limits.h>
67566 #else
67567 # include <assert.h>
67568 #endif
67570 #undef $ac_func
67572 /* Override any gcc2 internal prototype to avoid an error. */
67573 #ifdef __cplusplus
67574 extern "C"
67576 #endif
67577 /* We use char because int might match the return type of a gcc2
67578 builtin and then its argument prototype would still apply. */
67579 char $ac_func ();
67580 /* The GNU C library defines this for functions which it implements
67581 to always fail with ENOSYS. Some functions are actually named
67582 something starting with __ and the normal name is an alias. */
67583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67584 choke me
67585 #else
67586 char (*f) () = $ac_func;
67587 #endif
67588 #ifdef __cplusplus
67590 #endif
67593 main ()
67595 return f != $ac_func;
67597 return 0;
67599 _ACEOF
67600 rm -f conftest.$ac_objext conftest$ac_exeext
67601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67602 (eval $ac_link) 2>conftest.er1
67603 ac_status=$?
67604 grep -v '^ *+' conftest.er1 >conftest.err
67605 rm -f conftest.er1
67606 cat conftest.err >&5
67607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67608 (exit $ac_status); } &&
67609 { ac_try='test -z "$ac_c_werror_flag"
67610 || test ! -s conftest.err'
67611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67612 (eval $ac_try) 2>&5
67613 ac_status=$?
67614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67615 (exit $ac_status); }; } &&
67616 { ac_try='test -s conftest$ac_exeext'
67617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67618 (eval $ac_try) 2>&5
67619 ac_status=$?
67620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67621 (exit $ac_status); }; }; then
67622 eval "$as_ac_var=yes"
67623 else
67624 echo "$as_me: failed program was:" >&5
67625 sed 's/^/| /' conftest.$ac_ext >&5
67627 eval "$as_ac_var=no"
67629 rm -f conftest.err conftest.$ac_objext \
67630 conftest$ac_exeext conftest.$ac_ext
67632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67634 if test `eval echo '${'$as_ac_var'}'` = yes; then
67635 cat >>confdefs.h <<_ACEOF
67636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67637 _ACEOF
67640 done
67658 echo "$as_me:$LINENO: checking for float round functions" >&5
67659 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
67660 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
67661 echo $ECHO_N "(cached) $ECHO_C" >&6
67662 else
67666 ac_ext=cc
67667 ac_cpp='$CXXCPP $CPPFLAGS'
67668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67672 cat >conftest.$ac_ext <<_ACEOF
67673 /* confdefs.h. */
67674 _ACEOF
67675 cat confdefs.h >>conftest.$ac_ext
67676 cat >>conftest.$ac_ext <<_ACEOF
67677 /* end confdefs.h. */
67678 #include <math.h>
67680 main ()
67682 ceilf (0); floorf (0);
67684 return 0;
67686 _ACEOF
67687 rm -f conftest.$ac_objext
67688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67689 (eval $ac_compile) 2>conftest.er1
67690 ac_status=$?
67691 grep -v '^ *+' conftest.er1 >conftest.err
67692 rm -f conftest.er1
67693 cat conftest.err >&5
67694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67695 (exit $ac_status); } &&
67696 { ac_try='test -z "$ac_cxx_werror_flag"
67697 || test ! -s conftest.err'
67698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67699 (eval $ac_try) 2>&5
67700 ac_status=$?
67701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67702 (exit $ac_status); }; } &&
67703 { ac_try='test -s conftest.$ac_objext'
67704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67705 (eval $ac_try) 2>&5
67706 ac_status=$?
67707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67708 (exit $ac_status); }; }; then
67709 glibcxx_cv_func_float_round_use=yes
67710 else
67711 echo "$as_me: failed program was:" >&5
67712 sed 's/^/| /' conftest.$ac_ext >&5
67714 glibcxx_cv_func_float_round_use=no
67716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67717 ac_ext=c
67718 ac_cpp='$CPP $CPPFLAGS'
67719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67725 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
67726 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
67727 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67730 for ac_func in ceilf floorf
67732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67733 echo "$as_me:$LINENO: checking for $ac_func" >&5
67734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67735 if eval "test \"\${$as_ac_var+set}\" = set"; then
67736 echo $ECHO_N "(cached) $ECHO_C" >&6
67737 else
67738 if test x$gcc_no_link = xyes; then
67739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67741 { (exit 1); exit 1; }; }
67743 cat >conftest.$ac_ext <<_ACEOF
67744 /* confdefs.h. */
67745 _ACEOF
67746 cat confdefs.h >>conftest.$ac_ext
67747 cat >>conftest.$ac_ext <<_ACEOF
67748 /* end confdefs.h. */
67749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67751 #define $ac_func innocuous_$ac_func
67753 /* System header to define __stub macros and hopefully few prototypes,
67754 which can conflict with char $ac_func (); below.
67755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67756 <limits.h> exists even on freestanding compilers. */
67758 #ifdef __STDC__
67759 # include <limits.h>
67760 #else
67761 # include <assert.h>
67762 #endif
67764 #undef $ac_func
67766 /* Override any gcc2 internal prototype to avoid an error. */
67767 #ifdef __cplusplus
67768 extern "C"
67770 #endif
67771 /* We use char because int might match the return type of a gcc2
67772 builtin and then its argument prototype would still apply. */
67773 char $ac_func ();
67774 /* The GNU C library defines this for functions which it implements
67775 to always fail with ENOSYS. Some functions are actually named
67776 something starting with __ and the normal name is an alias. */
67777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67778 choke me
67779 #else
67780 char (*f) () = $ac_func;
67781 #endif
67782 #ifdef __cplusplus
67784 #endif
67787 main ()
67789 return f != $ac_func;
67791 return 0;
67793 _ACEOF
67794 rm -f conftest.$ac_objext conftest$ac_exeext
67795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67796 (eval $ac_link) 2>conftest.er1
67797 ac_status=$?
67798 grep -v '^ *+' conftest.er1 >conftest.err
67799 rm -f conftest.er1
67800 cat conftest.err >&5
67801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67802 (exit $ac_status); } &&
67803 { ac_try='test -z "$ac_c_werror_flag"
67804 || test ! -s conftest.err'
67805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67806 (eval $ac_try) 2>&5
67807 ac_status=$?
67808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67809 (exit $ac_status); }; } &&
67810 { ac_try='test -s conftest$ac_exeext'
67811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67812 (eval $ac_try) 2>&5
67813 ac_status=$?
67814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67815 (exit $ac_status); }; }; then
67816 eval "$as_ac_var=yes"
67817 else
67818 echo "$as_me: failed program was:" >&5
67819 sed 's/^/| /' conftest.$ac_ext >&5
67821 eval "$as_ac_var=no"
67823 rm -f conftest.err conftest.$ac_objext \
67824 conftest$ac_exeext conftest.$ac_ext
67826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67828 if test `eval echo '${'$as_ac_var'}'` = yes; then
67829 cat >>confdefs.h <<_ACEOF
67830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67831 _ACEOF
67834 done
67836 else
67837 echo "$as_me:$LINENO: checking for _float round functions" >&5
67838 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
67839 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
67840 echo $ECHO_N "(cached) $ECHO_C" >&6
67841 else
67845 ac_ext=cc
67846 ac_cpp='$CXXCPP $CPPFLAGS'
67847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67851 cat >conftest.$ac_ext <<_ACEOF
67852 /* confdefs.h. */
67853 _ACEOF
67854 cat confdefs.h >>conftest.$ac_ext
67855 cat >>conftest.$ac_ext <<_ACEOF
67856 /* end confdefs.h. */
67857 #include <math.h>
67859 main ()
67861 _ceilf (0); _floorf (0);
67863 return 0;
67865 _ACEOF
67866 rm -f conftest.$ac_objext
67867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67868 (eval $ac_compile) 2>conftest.er1
67869 ac_status=$?
67870 grep -v '^ *+' conftest.er1 >conftest.err
67871 rm -f conftest.er1
67872 cat conftest.err >&5
67873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67874 (exit $ac_status); } &&
67875 { ac_try='test -z "$ac_cxx_werror_flag"
67876 || test ! -s conftest.err'
67877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67878 (eval $ac_try) 2>&5
67879 ac_status=$?
67880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67881 (exit $ac_status); }; } &&
67882 { ac_try='test -s conftest.$ac_objext'
67883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67884 (eval $ac_try) 2>&5
67885 ac_status=$?
67886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67887 (exit $ac_status); }; }; then
67888 glibcxx_cv_func__float_round_use=yes
67889 else
67890 echo "$as_me: failed program was:" >&5
67891 sed 's/^/| /' conftest.$ac_ext >&5
67893 glibcxx_cv_func__float_round_use=no
67895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67896 ac_ext=c
67897 ac_cpp='$CPP $CPPFLAGS'
67898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67904 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
67905 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
67906 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67909 for ac_func in _ceilf _floorf
67911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67912 echo "$as_me:$LINENO: checking for $ac_func" >&5
67913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67914 if eval "test \"\${$as_ac_var+set}\" = set"; then
67915 echo $ECHO_N "(cached) $ECHO_C" >&6
67916 else
67917 if test x$gcc_no_link = xyes; then
67918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67920 { (exit 1); exit 1; }; }
67922 cat >conftest.$ac_ext <<_ACEOF
67923 /* confdefs.h. */
67924 _ACEOF
67925 cat confdefs.h >>conftest.$ac_ext
67926 cat >>conftest.$ac_ext <<_ACEOF
67927 /* end confdefs.h. */
67928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67930 #define $ac_func innocuous_$ac_func
67932 /* System header to define __stub macros and hopefully few prototypes,
67933 which can conflict with char $ac_func (); below.
67934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67935 <limits.h> exists even on freestanding compilers. */
67937 #ifdef __STDC__
67938 # include <limits.h>
67939 #else
67940 # include <assert.h>
67941 #endif
67943 #undef $ac_func
67945 /* Override any gcc2 internal prototype to avoid an error. */
67946 #ifdef __cplusplus
67947 extern "C"
67949 #endif
67950 /* We use char because int might match the return type of a gcc2
67951 builtin and then its argument prototype would still apply. */
67952 char $ac_func ();
67953 /* The GNU C library defines this for functions which it implements
67954 to always fail with ENOSYS. Some functions are actually named
67955 something starting with __ and the normal name is an alias. */
67956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67957 choke me
67958 #else
67959 char (*f) () = $ac_func;
67960 #endif
67961 #ifdef __cplusplus
67963 #endif
67966 main ()
67968 return f != $ac_func;
67970 return 0;
67972 _ACEOF
67973 rm -f conftest.$ac_objext conftest$ac_exeext
67974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67975 (eval $ac_link) 2>conftest.er1
67976 ac_status=$?
67977 grep -v '^ *+' conftest.er1 >conftest.err
67978 rm -f conftest.er1
67979 cat conftest.err >&5
67980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67981 (exit $ac_status); } &&
67982 { ac_try='test -z "$ac_c_werror_flag"
67983 || test ! -s conftest.err'
67984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67985 (eval $ac_try) 2>&5
67986 ac_status=$?
67987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67988 (exit $ac_status); }; } &&
67989 { ac_try='test -s conftest$ac_exeext'
67990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67991 (eval $ac_try) 2>&5
67992 ac_status=$?
67993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67994 (exit $ac_status); }; }; then
67995 eval "$as_ac_var=yes"
67996 else
67997 echo "$as_me: failed program was:" >&5
67998 sed 's/^/| /' conftest.$ac_ext >&5
68000 eval "$as_ac_var=no"
68002 rm -f conftest.err conftest.$ac_objext \
68003 conftest$ac_exeext conftest.$ac_ext
68005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68007 if test `eval echo '${'$as_ac_var'}'` = yes; then
68008 cat >>confdefs.h <<_ACEOF
68009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68010 _ACEOF
68013 done
68025 echo "$as_me:$LINENO: checking for expf declaration" >&5
68026 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
68027 if test x${glibcxx_cv_func_expf_use+set} != xset; then
68028 if test "${glibcxx_cv_func_expf_use+set}" = set; then
68029 echo $ECHO_N "(cached) $ECHO_C" >&6
68030 else
68034 ac_ext=cc
68035 ac_cpp='$CXXCPP $CPPFLAGS'
68036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68040 cat >conftest.$ac_ext <<_ACEOF
68041 /* confdefs.h. */
68042 _ACEOF
68043 cat confdefs.h >>conftest.$ac_ext
68044 cat >>conftest.$ac_ext <<_ACEOF
68045 /* end confdefs.h. */
68046 #include <math.h>
68047 #ifdef HAVE_IEEEFP_H
68048 #include <ieeefp.h>
68049 #endif
68052 main ()
68054 expf(0);
68056 return 0;
68058 _ACEOF
68059 rm -f conftest.$ac_objext
68060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68061 (eval $ac_compile) 2>conftest.er1
68062 ac_status=$?
68063 grep -v '^ *+' conftest.er1 >conftest.err
68064 rm -f conftest.er1
68065 cat conftest.err >&5
68066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68067 (exit $ac_status); } &&
68068 { ac_try='test -z "$ac_cxx_werror_flag"
68069 || test ! -s conftest.err'
68070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68071 (eval $ac_try) 2>&5
68072 ac_status=$?
68073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68074 (exit $ac_status); }; } &&
68075 { ac_try='test -s conftest.$ac_objext'
68076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68077 (eval $ac_try) 2>&5
68078 ac_status=$?
68079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68080 (exit $ac_status); }; }; then
68081 glibcxx_cv_func_expf_use=yes
68082 else
68083 echo "$as_me: failed program was:" >&5
68084 sed 's/^/| /' conftest.$ac_ext >&5
68086 glibcxx_cv_func_expf_use=no
68088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68089 ac_ext=c
68090 ac_cpp='$CPP $CPPFLAGS'
68091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68099 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
68100 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
68102 if test x$glibcxx_cv_func_expf_use = x"yes"; then
68104 for ac_func in expf
68106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68107 echo "$as_me:$LINENO: checking for $ac_func" >&5
68108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68109 if eval "test \"\${$as_ac_var+set}\" = set"; then
68110 echo $ECHO_N "(cached) $ECHO_C" >&6
68111 else
68112 if test x$gcc_no_link = xyes; then
68113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68115 { (exit 1); exit 1; }; }
68117 cat >conftest.$ac_ext <<_ACEOF
68118 /* confdefs.h. */
68119 _ACEOF
68120 cat confdefs.h >>conftest.$ac_ext
68121 cat >>conftest.$ac_ext <<_ACEOF
68122 /* end confdefs.h. */
68123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68125 #define $ac_func innocuous_$ac_func
68127 /* System header to define __stub macros and hopefully few prototypes,
68128 which can conflict with char $ac_func (); below.
68129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68130 <limits.h> exists even on freestanding compilers. */
68132 #ifdef __STDC__
68133 # include <limits.h>
68134 #else
68135 # include <assert.h>
68136 #endif
68138 #undef $ac_func
68140 /* Override any gcc2 internal prototype to avoid an error. */
68141 #ifdef __cplusplus
68142 extern "C"
68144 #endif
68145 /* We use char because int might match the return type of a gcc2
68146 builtin and then its argument prototype would still apply. */
68147 char $ac_func ();
68148 /* The GNU C library defines this for functions which it implements
68149 to always fail with ENOSYS. Some functions are actually named
68150 something starting with __ and the normal name is an alias. */
68151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68152 choke me
68153 #else
68154 char (*f) () = $ac_func;
68155 #endif
68156 #ifdef __cplusplus
68158 #endif
68161 main ()
68163 return f != $ac_func;
68165 return 0;
68167 _ACEOF
68168 rm -f conftest.$ac_objext conftest$ac_exeext
68169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68170 (eval $ac_link) 2>conftest.er1
68171 ac_status=$?
68172 grep -v '^ *+' conftest.er1 >conftest.err
68173 rm -f conftest.er1
68174 cat conftest.err >&5
68175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68176 (exit $ac_status); } &&
68177 { ac_try='test -z "$ac_c_werror_flag"
68178 || test ! -s conftest.err'
68179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68180 (eval $ac_try) 2>&5
68181 ac_status=$?
68182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68183 (exit $ac_status); }; } &&
68184 { ac_try='test -s conftest$ac_exeext'
68185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68186 (eval $ac_try) 2>&5
68187 ac_status=$?
68188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68189 (exit $ac_status); }; }; then
68190 eval "$as_ac_var=yes"
68191 else
68192 echo "$as_me: failed program was:" >&5
68193 sed 's/^/| /' conftest.$ac_ext >&5
68195 eval "$as_ac_var=no"
68197 rm -f conftest.err conftest.$ac_objext \
68198 conftest$ac_exeext conftest.$ac_ext
68200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68202 if test `eval echo '${'$as_ac_var'}'` = yes; then
68203 cat >>confdefs.h <<_ACEOF
68204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68205 _ACEOF
68208 done
68210 else
68212 echo "$as_me:$LINENO: checking for _expf declaration" >&5
68213 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
68214 if test x${glibcxx_cv_func__expf_use+set} != xset; then
68215 if test "${glibcxx_cv_func__expf_use+set}" = set; then
68216 echo $ECHO_N "(cached) $ECHO_C" >&6
68217 else
68221 ac_ext=cc
68222 ac_cpp='$CXXCPP $CPPFLAGS'
68223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68227 cat >conftest.$ac_ext <<_ACEOF
68228 /* confdefs.h. */
68229 _ACEOF
68230 cat confdefs.h >>conftest.$ac_ext
68231 cat >>conftest.$ac_ext <<_ACEOF
68232 /* end confdefs.h. */
68233 #include <math.h>
68234 #ifdef HAVE_IEEEFP_H
68235 #include <ieeefp.h>
68236 #endif
68239 main ()
68241 _expf(0);
68243 return 0;
68245 _ACEOF
68246 rm -f conftest.$ac_objext
68247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68248 (eval $ac_compile) 2>conftest.er1
68249 ac_status=$?
68250 grep -v '^ *+' conftest.er1 >conftest.err
68251 rm -f conftest.er1
68252 cat conftest.err >&5
68253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68254 (exit $ac_status); } &&
68255 { ac_try='test -z "$ac_cxx_werror_flag"
68256 || test ! -s conftest.err'
68257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68258 (eval $ac_try) 2>&5
68259 ac_status=$?
68260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68261 (exit $ac_status); }; } &&
68262 { ac_try='test -s conftest.$ac_objext'
68263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68264 (eval $ac_try) 2>&5
68265 ac_status=$?
68266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68267 (exit $ac_status); }; }; then
68268 glibcxx_cv_func__expf_use=yes
68269 else
68270 echo "$as_me: failed program was:" >&5
68271 sed 's/^/| /' conftest.$ac_ext >&5
68273 glibcxx_cv_func__expf_use=no
68275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68276 ac_ext=c
68277 ac_cpp='$CPP $CPPFLAGS'
68278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68286 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
68287 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
68289 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68291 for ac_func in _expf
68293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68294 echo "$as_me:$LINENO: checking for $ac_func" >&5
68295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68296 if eval "test \"\${$as_ac_var+set}\" = set"; then
68297 echo $ECHO_N "(cached) $ECHO_C" >&6
68298 else
68299 if test x$gcc_no_link = xyes; then
68300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68302 { (exit 1); exit 1; }; }
68304 cat >conftest.$ac_ext <<_ACEOF
68305 /* confdefs.h. */
68306 _ACEOF
68307 cat confdefs.h >>conftest.$ac_ext
68308 cat >>conftest.$ac_ext <<_ACEOF
68309 /* end confdefs.h. */
68310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68312 #define $ac_func innocuous_$ac_func
68314 /* System header to define __stub macros and hopefully few prototypes,
68315 which can conflict with char $ac_func (); below.
68316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68317 <limits.h> exists even on freestanding compilers. */
68319 #ifdef __STDC__
68320 # include <limits.h>
68321 #else
68322 # include <assert.h>
68323 #endif
68325 #undef $ac_func
68327 /* Override any gcc2 internal prototype to avoid an error. */
68328 #ifdef __cplusplus
68329 extern "C"
68331 #endif
68332 /* We use char because int might match the return type of a gcc2
68333 builtin and then its argument prototype would still apply. */
68334 char $ac_func ();
68335 /* The GNU C library defines this for functions which it implements
68336 to always fail with ENOSYS. Some functions are actually named
68337 something starting with __ and the normal name is an alias. */
68338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68339 choke me
68340 #else
68341 char (*f) () = $ac_func;
68342 #endif
68343 #ifdef __cplusplus
68345 #endif
68348 main ()
68350 return f != $ac_func;
68352 return 0;
68354 _ACEOF
68355 rm -f conftest.$ac_objext conftest$ac_exeext
68356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68357 (eval $ac_link) 2>conftest.er1
68358 ac_status=$?
68359 grep -v '^ *+' conftest.er1 >conftest.err
68360 rm -f conftest.er1
68361 cat conftest.err >&5
68362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68363 (exit $ac_status); } &&
68364 { ac_try='test -z "$ac_c_werror_flag"
68365 || test ! -s conftest.err'
68366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68367 (eval $ac_try) 2>&5
68368 ac_status=$?
68369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68370 (exit $ac_status); }; } &&
68371 { ac_try='test -s conftest$ac_exeext'
68372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68373 (eval $ac_try) 2>&5
68374 ac_status=$?
68375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68376 (exit $ac_status); }; }; then
68377 eval "$as_ac_var=yes"
68378 else
68379 echo "$as_me: failed program was:" >&5
68380 sed 's/^/| /' conftest.$ac_ext >&5
68382 eval "$as_ac_var=no"
68384 rm -f conftest.err conftest.$ac_objext \
68385 conftest$ac_exeext conftest.$ac_ext
68387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68389 if test `eval echo '${'$as_ac_var'}'` = yes; then
68390 cat >>confdefs.h <<_ACEOF
68391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68392 _ACEOF
68395 done
68405 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
68406 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
68407 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68408 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
68409 echo $ECHO_N "(cached) $ECHO_C" >&6
68410 else
68414 ac_ext=cc
68415 ac_cpp='$CXXCPP $CPPFLAGS'
68416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68420 cat >conftest.$ac_ext <<_ACEOF
68421 /* confdefs.h. */
68422 _ACEOF
68423 cat confdefs.h >>conftest.$ac_ext
68424 cat >>conftest.$ac_ext <<_ACEOF
68425 /* end confdefs.h. */
68426 #include <math.h>
68427 #ifdef HAVE_IEEEFP_H
68428 #include <ieeefp.h>
68429 #endif
68432 main ()
68434 isnanf(0);
68436 return 0;
68438 _ACEOF
68439 rm -f conftest.$ac_objext
68440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68441 (eval $ac_compile) 2>conftest.er1
68442 ac_status=$?
68443 grep -v '^ *+' conftest.er1 >conftest.err
68444 rm -f conftest.er1
68445 cat conftest.err >&5
68446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68447 (exit $ac_status); } &&
68448 { ac_try='test -z "$ac_cxx_werror_flag"
68449 || test ! -s conftest.err'
68450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68451 (eval $ac_try) 2>&5
68452 ac_status=$?
68453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68454 (exit $ac_status); }; } &&
68455 { ac_try='test -s conftest.$ac_objext'
68456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68457 (eval $ac_try) 2>&5
68458 ac_status=$?
68459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68460 (exit $ac_status); }; }; then
68461 glibcxx_cv_func_isnanf_use=yes
68462 else
68463 echo "$as_me: failed program was:" >&5
68464 sed 's/^/| /' conftest.$ac_ext >&5
68466 glibcxx_cv_func_isnanf_use=no
68468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68469 ac_ext=c
68470 ac_cpp='$CPP $CPPFLAGS'
68471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68479 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
68480 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
68482 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68484 for ac_func in isnanf
68486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68487 echo "$as_me:$LINENO: checking for $ac_func" >&5
68488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68489 if eval "test \"\${$as_ac_var+set}\" = set"; then
68490 echo $ECHO_N "(cached) $ECHO_C" >&6
68491 else
68492 if test x$gcc_no_link = xyes; then
68493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68495 { (exit 1); exit 1; }; }
68497 cat >conftest.$ac_ext <<_ACEOF
68498 /* confdefs.h. */
68499 _ACEOF
68500 cat confdefs.h >>conftest.$ac_ext
68501 cat >>conftest.$ac_ext <<_ACEOF
68502 /* end confdefs.h. */
68503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68505 #define $ac_func innocuous_$ac_func
68507 /* System header to define __stub macros and hopefully few prototypes,
68508 which can conflict with char $ac_func (); below.
68509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68510 <limits.h> exists even on freestanding compilers. */
68512 #ifdef __STDC__
68513 # include <limits.h>
68514 #else
68515 # include <assert.h>
68516 #endif
68518 #undef $ac_func
68520 /* Override any gcc2 internal prototype to avoid an error. */
68521 #ifdef __cplusplus
68522 extern "C"
68524 #endif
68525 /* We use char because int might match the return type of a gcc2
68526 builtin and then its argument prototype would still apply. */
68527 char $ac_func ();
68528 /* The GNU C library defines this for functions which it implements
68529 to always fail with ENOSYS. Some functions are actually named
68530 something starting with __ and the normal name is an alias. */
68531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68532 choke me
68533 #else
68534 char (*f) () = $ac_func;
68535 #endif
68536 #ifdef __cplusplus
68538 #endif
68541 main ()
68543 return f != $ac_func;
68545 return 0;
68547 _ACEOF
68548 rm -f conftest.$ac_objext conftest$ac_exeext
68549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68550 (eval $ac_link) 2>conftest.er1
68551 ac_status=$?
68552 grep -v '^ *+' conftest.er1 >conftest.err
68553 rm -f conftest.er1
68554 cat conftest.err >&5
68555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68556 (exit $ac_status); } &&
68557 { ac_try='test -z "$ac_c_werror_flag"
68558 || test ! -s conftest.err'
68559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68560 (eval $ac_try) 2>&5
68561 ac_status=$?
68562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68563 (exit $ac_status); }; } &&
68564 { ac_try='test -s conftest$ac_exeext'
68565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68566 (eval $ac_try) 2>&5
68567 ac_status=$?
68568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68569 (exit $ac_status); }; }; then
68570 eval "$as_ac_var=yes"
68571 else
68572 echo "$as_me: failed program was:" >&5
68573 sed 's/^/| /' conftest.$ac_ext >&5
68575 eval "$as_ac_var=no"
68577 rm -f conftest.err conftest.$ac_objext \
68578 conftest$ac_exeext conftest.$ac_ext
68580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68582 if test `eval echo '${'$as_ac_var'}'` = yes; then
68583 cat >>confdefs.h <<_ACEOF
68584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68585 _ACEOF
68588 done
68590 else
68592 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
68593 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
68594 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68595 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
68596 echo $ECHO_N "(cached) $ECHO_C" >&6
68597 else
68601 ac_ext=cc
68602 ac_cpp='$CXXCPP $CPPFLAGS'
68603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68607 cat >conftest.$ac_ext <<_ACEOF
68608 /* confdefs.h. */
68609 _ACEOF
68610 cat confdefs.h >>conftest.$ac_ext
68611 cat >>conftest.$ac_ext <<_ACEOF
68612 /* end confdefs.h. */
68613 #include <math.h>
68614 #ifdef HAVE_IEEEFP_H
68615 #include <ieeefp.h>
68616 #endif
68619 main ()
68621 _isnanf(0);
68623 return 0;
68625 _ACEOF
68626 rm -f conftest.$ac_objext
68627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68628 (eval $ac_compile) 2>conftest.er1
68629 ac_status=$?
68630 grep -v '^ *+' conftest.er1 >conftest.err
68631 rm -f conftest.er1
68632 cat conftest.err >&5
68633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68634 (exit $ac_status); } &&
68635 { ac_try='test -z "$ac_cxx_werror_flag"
68636 || test ! -s conftest.err'
68637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68638 (eval $ac_try) 2>&5
68639 ac_status=$?
68640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68641 (exit $ac_status); }; } &&
68642 { ac_try='test -s conftest.$ac_objext'
68643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68644 (eval $ac_try) 2>&5
68645 ac_status=$?
68646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68647 (exit $ac_status); }; }; then
68648 glibcxx_cv_func__isnanf_use=yes
68649 else
68650 echo "$as_me: failed program was:" >&5
68651 sed 's/^/| /' conftest.$ac_ext >&5
68653 glibcxx_cv_func__isnanf_use=no
68655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68656 ac_ext=c
68657 ac_cpp='$CPP $CPPFLAGS'
68658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68666 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
68667 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
68669 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68671 for ac_func in _isnanf
68673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68674 echo "$as_me:$LINENO: checking for $ac_func" >&5
68675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68676 if eval "test \"\${$as_ac_var+set}\" = set"; then
68677 echo $ECHO_N "(cached) $ECHO_C" >&6
68678 else
68679 if test x$gcc_no_link = xyes; then
68680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68682 { (exit 1); exit 1; }; }
68684 cat >conftest.$ac_ext <<_ACEOF
68685 /* confdefs.h. */
68686 _ACEOF
68687 cat confdefs.h >>conftest.$ac_ext
68688 cat >>conftest.$ac_ext <<_ACEOF
68689 /* end confdefs.h. */
68690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68692 #define $ac_func innocuous_$ac_func
68694 /* System header to define __stub macros and hopefully few prototypes,
68695 which can conflict with char $ac_func (); below.
68696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68697 <limits.h> exists even on freestanding compilers. */
68699 #ifdef __STDC__
68700 # include <limits.h>
68701 #else
68702 # include <assert.h>
68703 #endif
68705 #undef $ac_func
68707 /* Override any gcc2 internal prototype to avoid an error. */
68708 #ifdef __cplusplus
68709 extern "C"
68711 #endif
68712 /* We use char because int might match the return type of a gcc2
68713 builtin and then its argument prototype would still apply. */
68714 char $ac_func ();
68715 /* The GNU C library defines this for functions which it implements
68716 to always fail with ENOSYS. Some functions are actually named
68717 something starting with __ and the normal name is an alias. */
68718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68719 choke me
68720 #else
68721 char (*f) () = $ac_func;
68722 #endif
68723 #ifdef __cplusplus
68725 #endif
68728 main ()
68730 return f != $ac_func;
68732 return 0;
68734 _ACEOF
68735 rm -f conftest.$ac_objext conftest$ac_exeext
68736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68737 (eval $ac_link) 2>conftest.er1
68738 ac_status=$?
68739 grep -v '^ *+' conftest.er1 >conftest.err
68740 rm -f conftest.er1
68741 cat conftest.err >&5
68742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68743 (exit $ac_status); } &&
68744 { ac_try='test -z "$ac_c_werror_flag"
68745 || test ! -s conftest.err'
68746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68747 (eval $ac_try) 2>&5
68748 ac_status=$?
68749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68750 (exit $ac_status); }; } &&
68751 { ac_try='test -s conftest$ac_exeext'
68752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68753 (eval $ac_try) 2>&5
68754 ac_status=$?
68755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68756 (exit $ac_status); }; }; then
68757 eval "$as_ac_var=yes"
68758 else
68759 echo "$as_me: failed program was:" >&5
68760 sed 's/^/| /' conftest.$ac_ext >&5
68762 eval "$as_ac_var=no"
68764 rm -f conftest.err conftest.$ac_objext \
68765 conftest$ac_exeext conftest.$ac_ext
68767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68769 if test `eval echo '${'$as_ac_var'}'` = yes; then
68770 cat >>confdefs.h <<_ACEOF
68771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68772 _ACEOF
68775 done
68785 echo "$as_me:$LINENO: checking for isinff declaration" >&5
68786 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
68787 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68788 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
68789 echo $ECHO_N "(cached) $ECHO_C" >&6
68790 else
68794 ac_ext=cc
68795 ac_cpp='$CXXCPP $CPPFLAGS'
68796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68800 cat >conftest.$ac_ext <<_ACEOF
68801 /* confdefs.h. */
68802 _ACEOF
68803 cat confdefs.h >>conftest.$ac_ext
68804 cat >>conftest.$ac_ext <<_ACEOF
68805 /* end confdefs.h. */
68806 #include <math.h>
68807 #ifdef HAVE_IEEEFP_H
68808 #include <ieeefp.h>
68809 #endif
68812 main ()
68814 isinff(0);
68816 return 0;
68818 _ACEOF
68819 rm -f conftest.$ac_objext
68820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68821 (eval $ac_compile) 2>conftest.er1
68822 ac_status=$?
68823 grep -v '^ *+' conftest.er1 >conftest.err
68824 rm -f conftest.er1
68825 cat conftest.err >&5
68826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68827 (exit $ac_status); } &&
68828 { ac_try='test -z "$ac_cxx_werror_flag"
68829 || test ! -s conftest.err'
68830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68831 (eval $ac_try) 2>&5
68832 ac_status=$?
68833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68834 (exit $ac_status); }; } &&
68835 { ac_try='test -s conftest.$ac_objext'
68836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68837 (eval $ac_try) 2>&5
68838 ac_status=$?
68839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68840 (exit $ac_status); }; }; then
68841 glibcxx_cv_func_isinff_use=yes
68842 else
68843 echo "$as_me: failed program was:" >&5
68844 sed 's/^/| /' conftest.$ac_ext >&5
68846 glibcxx_cv_func_isinff_use=no
68848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68849 ac_ext=c
68850 ac_cpp='$CPP $CPPFLAGS'
68851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68859 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
68860 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
68862 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68864 for ac_func in isinff
68866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68867 echo "$as_me:$LINENO: checking for $ac_func" >&5
68868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68869 if eval "test \"\${$as_ac_var+set}\" = set"; then
68870 echo $ECHO_N "(cached) $ECHO_C" >&6
68871 else
68872 if test x$gcc_no_link = xyes; then
68873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68875 { (exit 1); exit 1; }; }
68877 cat >conftest.$ac_ext <<_ACEOF
68878 /* confdefs.h. */
68879 _ACEOF
68880 cat confdefs.h >>conftest.$ac_ext
68881 cat >>conftest.$ac_ext <<_ACEOF
68882 /* end confdefs.h. */
68883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68885 #define $ac_func innocuous_$ac_func
68887 /* System header to define __stub macros and hopefully few prototypes,
68888 which can conflict with char $ac_func (); below.
68889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68890 <limits.h> exists even on freestanding compilers. */
68892 #ifdef __STDC__
68893 # include <limits.h>
68894 #else
68895 # include <assert.h>
68896 #endif
68898 #undef $ac_func
68900 /* Override any gcc2 internal prototype to avoid an error. */
68901 #ifdef __cplusplus
68902 extern "C"
68904 #endif
68905 /* We use char because int might match the return type of a gcc2
68906 builtin and then its argument prototype would still apply. */
68907 char $ac_func ();
68908 /* The GNU C library defines this for functions which it implements
68909 to always fail with ENOSYS. Some functions are actually named
68910 something starting with __ and the normal name is an alias. */
68911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68912 choke me
68913 #else
68914 char (*f) () = $ac_func;
68915 #endif
68916 #ifdef __cplusplus
68918 #endif
68921 main ()
68923 return f != $ac_func;
68925 return 0;
68927 _ACEOF
68928 rm -f conftest.$ac_objext conftest$ac_exeext
68929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68930 (eval $ac_link) 2>conftest.er1
68931 ac_status=$?
68932 grep -v '^ *+' conftest.er1 >conftest.err
68933 rm -f conftest.er1
68934 cat conftest.err >&5
68935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68936 (exit $ac_status); } &&
68937 { ac_try='test -z "$ac_c_werror_flag"
68938 || test ! -s conftest.err'
68939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68940 (eval $ac_try) 2>&5
68941 ac_status=$?
68942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68943 (exit $ac_status); }; } &&
68944 { ac_try='test -s conftest$ac_exeext'
68945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68946 (eval $ac_try) 2>&5
68947 ac_status=$?
68948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68949 (exit $ac_status); }; }; then
68950 eval "$as_ac_var=yes"
68951 else
68952 echo "$as_me: failed program was:" >&5
68953 sed 's/^/| /' conftest.$ac_ext >&5
68955 eval "$as_ac_var=no"
68957 rm -f conftest.err conftest.$ac_objext \
68958 conftest$ac_exeext conftest.$ac_ext
68960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68962 if test `eval echo '${'$as_ac_var'}'` = yes; then
68963 cat >>confdefs.h <<_ACEOF
68964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68965 _ACEOF
68968 done
68970 else
68972 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
68973 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
68974 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68975 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
68976 echo $ECHO_N "(cached) $ECHO_C" >&6
68977 else
68981 ac_ext=cc
68982 ac_cpp='$CXXCPP $CPPFLAGS'
68983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68987 cat >conftest.$ac_ext <<_ACEOF
68988 /* confdefs.h. */
68989 _ACEOF
68990 cat confdefs.h >>conftest.$ac_ext
68991 cat >>conftest.$ac_ext <<_ACEOF
68992 /* end confdefs.h. */
68993 #include <math.h>
68994 #ifdef HAVE_IEEEFP_H
68995 #include <ieeefp.h>
68996 #endif
68999 main ()
69001 _isinff(0);
69003 return 0;
69005 _ACEOF
69006 rm -f conftest.$ac_objext
69007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69008 (eval $ac_compile) 2>conftest.er1
69009 ac_status=$?
69010 grep -v '^ *+' conftest.er1 >conftest.err
69011 rm -f conftest.er1
69012 cat conftest.err >&5
69013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69014 (exit $ac_status); } &&
69015 { ac_try='test -z "$ac_cxx_werror_flag"
69016 || test ! -s conftest.err'
69017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69018 (eval $ac_try) 2>&5
69019 ac_status=$?
69020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69021 (exit $ac_status); }; } &&
69022 { ac_try='test -s conftest.$ac_objext'
69023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69024 (eval $ac_try) 2>&5
69025 ac_status=$?
69026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69027 (exit $ac_status); }; }; then
69028 glibcxx_cv_func__isinff_use=yes
69029 else
69030 echo "$as_me: failed program was:" >&5
69031 sed 's/^/| /' conftest.$ac_ext >&5
69033 glibcxx_cv_func__isinff_use=no
69035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69036 ac_ext=c
69037 ac_cpp='$CPP $CPPFLAGS'
69038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69046 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
69047 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
69049 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
69051 for ac_func in _isinff
69053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69054 echo "$as_me:$LINENO: checking for $ac_func" >&5
69055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69056 if eval "test \"\${$as_ac_var+set}\" = set"; then
69057 echo $ECHO_N "(cached) $ECHO_C" >&6
69058 else
69059 if test x$gcc_no_link = xyes; then
69060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69062 { (exit 1); exit 1; }; }
69064 cat >conftest.$ac_ext <<_ACEOF
69065 /* confdefs.h. */
69066 _ACEOF
69067 cat confdefs.h >>conftest.$ac_ext
69068 cat >>conftest.$ac_ext <<_ACEOF
69069 /* end confdefs.h. */
69070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69072 #define $ac_func innocuous_$ac_func
69074 /* System header to define __stub macros and hopefully few prototypes,
69075 which can conflict with char $ac_func (); below.
69076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69077 <limits.h> exists even on freestanding compilers. */
69079 #ifdef __STDC__
69080 # include <limits.h>
69081 #else
69082 # include <assert.h>
69083 #endif
69085 #undef $ac_func
69087 /* Override any gcc2 internal prototype to avoid an error. */
69088 #ifdef __cplusplus
69089 extern "C"
69091 #endif
69092 /* We use char because int might match the return type of a gcc2
69093 builtin and then its argument prototype would still apply. */
69094 char $ac_func ();
69095 /* The GNU C library defines this for functions which it implements
69096 to always fail with ENOSYS. Some functions are actually named
69097 something starting with __ and the normal name is an alias. */
69098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69099 choke me
69100 #else
69101 char (*f) () = $ac_func;
69102 #endif
69103 #ifdef __cplusplus
69105 #endif
69108 main ()
69110 return f != $ac_func;
69112 return 0;
69114 _ACEOF
69115 rm -f conftest.$ac_objext conftest$ac_exeext
69116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69117 (eval $ac_link) 2>conftest.er1
69118 ac_status=$?
69119 grep -v '^ *+' conftest.er1 >conftest.err
69120 rm -f conftest.er1
69121 cat conftest.err >&5
69122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69123 (exit $ac_status); } &&
69124 { ac_try='test -z "$ac_c_werror_flag"
69125 || test ! -s conftest.err'
69126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69127 (eval $ac_try) 2>&5
69128 ac_status=$?
69129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69130 (exit $ac_status); }; } &&
69131 { ac_try='test -s conftest$ac_exeext'
69132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69133 (eval $ac_try) 2>&5
69134 ac_status=$?
69135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69136 (exit $ac_status); }; }; then
69137 eval "$as_ac_var=yes"
69138 else
69139 echo "$as_me: failed program was:" >&5
69140 sed 's/^/| /' conftest.$ac_ext >&5
69142 eval "$as_ac_var=no"
69144 rm -f conftest.err conftest.$ac_objext \
69145 conftest$ac_exeext conftest.$ac_ext
69147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69149 if test `eval echo '${'$as_ac_var'}'` = yes; then
69150 cat >>confdefs.h <<_ACEOF
69151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69152 _ACEOF
69155 done
69165 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
69166 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
69167 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
69168 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
69169 echo $ECHO_N "(cached) $ECHO_C" >&6
69170 else
69174 ac_ext=cc
69175 ac_cpp='$CXXCPP $CPPFLAGS'
69176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69180 cat >conftest.$ac_ext <<_ACEOF
69181 /* confdefs.h. */
69182 _ACEOF
69183 cat confdefs.h >>conftest.$ac_ext
69184 cat >>conftest.$ac_ext <<_ACEOF
69185 /* end confdefs.h. */
69186 #include <math.h>
69188 main ()
69190 atan2f(0, 0);
69192 return 0;
69194 _ACEOF
69195 rm -f conftest.$ac_objext
69196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69197 (eval $ac_compile) 2>conftest.er1
69198 ac_status=$?
69199 grep -v '^ *+' conftest.er1 >conftest.err
69200 rm -f conftest.er1
69201 cat conftest.err >&5
69202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69203 (exit $ac_status); } &&
69204 { ac_try='test -z "$ac_cxx_werror_flag"
69205 || test ! -s conftest.err'
69206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69207 (eval $ac_try) 2>&5
69208 ac_status=$?
69209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69210 (exit $ac_status); }; } &&
69211 { ac_try='test -s conftest.$ac_objext'
69212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69213 (eval $ac_try) 2>&5
69214 ac_status=$?
69215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69216 (exit $ac_status); }; }; then
69217 glibcxx_cv_func_atan2f_use=yes
69218 else
69219 echo "$as_me: failed program was:" >&5
69220 sed 's/^/| /' conftest.$ac_ext >&5
69222 glibcxx_cv_func_atan2f_use=no
69224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69225 ac_ext=c
69226 ac_cpp='$CPP $CPPFLAGS'
69227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69235 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
69236 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
69238 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
69240 for ac_func in atan2f
69242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69243 echo "$as_me:$LINENO: checking for $ac_func" >&5
69244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69245 if eval "test \"\${$as_ac_var+set}\" = set"; then
69246 echo $ECHO_N "(cached) $ECHO_C" >&6
69247 else
69248 if test x$gcc_no_link = xyes; then
69249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69251 { (exit 1); exit 1; }; }
69253 cat >conftest.$ac_ext <<_ACEOF
69254 /* confdefs.h. */
69255 _ACEOF
69256 cat confdefs.h >>conftest.$ac_ext
69257 cat >>conftest.$ac_ext <<_ACEOF
69258 /* end confdefs.h. */
69259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69261 #define $ac_func innocuous_$ac_func
69263 /* System header to define __stub macros and hopefully few prototypes,
69264 which can conflict with char $ac_func (); below.
69265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69266 <limits.h> exists even on freestanding compilers. */
69268 #ifdef __STDC__
69269 # include <limits.h>
69270 #else
69271 # include <assert.h>
69272 #endif
69274 #undef $ac_func
69276 /* Override any gcc2 internal prototype to avoid an error. */
69277 #ifdef __cplusplus
69278 extern "C"
69280 #endif
69281 /* We use char because int might match the return type of a gcc2
69282 builtin and then its argument prototype would still apply. */
69283 char $ac_func ();
69284 /* The GNU C library defines this for functions which it implements
69285 to always fail with ENOSYS. Some functions are actually named
69286 something starting with __ and the normal name is an alias. */
69287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69288 choke me
69289 #else
69290 char (*f) () = $ac_func;
69291 #endif
69292 #ifdef __cplusplus
69294 #endif
69297 main ()
69299 return f != $ac_func;
69301 return 0;
69303 _ACEOF
69304 rm -f conftest.$ac_objext conftest$ac_exeext
69305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69306 (eval $ac_link) 2>conftest.er1
69307 ac_status=$?
69308 grep -v '^ *+' conftest.er1 >conftest.err
69309 rm -f conftest.er1
69310 cat conftest.err >&5
69311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69312 (exit $ac_status); } &&
69313 { ac_try='test -z "$ac_c_werror_flag"
69314 || test ! -s conftest.err'
69315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69316 (eval $ac_try) 2>&5
69317 ac_status=$?
69318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69319 (exit $ac_status); }; } &&
69320 { ac_try='test -s conftest$ac_exeext'
69321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69322 (eval $ac_try) 2>&5
69323 ac_status=$?
69324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69325 (exit $ac_status); }; }; then
69326 eval "$as_ac_var=yes"
69327 else
69328 echo "$as_me: failed program was:" >&5
69329 sed 's/^/| /' conftest.$ac_ext >&5
69331 eval "$as_ac_var=no"
69333 rm -f conftest.err conftest.$ac_objext \
69334 conftest$ac_exeext conftest.$ac_ext
69336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69338 if test `eval echo '${'$as_ac_var'}'` = yes; then
69339 cat >>confdefs.h <<_ACEOF
69340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69341 _ACEOF
69344 done
69346 else
69348 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
69349 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
69350 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
69351 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
69352 echo $ECHO_N "(cached) $ECHO_C" >&6
69353 else
69357 ac_ext=cc
69358 ac_cpp='$CXXCPP $CPPFLAGS'
69359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69363 cat >conftest.$ac_ext <<_ACEOF
69364 /* confdefs.h. */
69365 _ACEOF
69366 cat confdefs.h >>conftest.$ac_ext
69367 cat >>conftest.$ac_ext <<_ACEOF
69368 /* end confdefs.h. */
69369 #include <math.h>
69371 main ()
69373 _atan2f(0, 0);
69375 return 0;
69377 _ACEOF
69378 rm -f conftest.$ac_objext
69379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69380 (eval $ac_compile) 2>conftest.er1
69381 ac_status=$?
69382 grep -v '^ *+' conftest.er1 >conftest.err
69383 rm -f conftest.er1
69384 cat conftest.err >&5
69385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69386 (exit $ac_status); } &&
69387 { ac_try='test -z "$ac_cxx_werror_flag"
69388 || test ! -s conftest.err'
69389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69390 (eval $ac_try) 2>&5
69391 ac_status=$?
69392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69393 (exit $ac_status); }; } &&
69394 { ac_try='test -s conftest.$ac_objext'
69395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69396 (eval $ac_try) 2>&5
69397 ac_status=$?
69398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69399 (exit $ac_status); }; }; then
69400 glibcxx_cv_func__atan2f_use=yes
69401 else
69402 echo "$as_me: failed program was:" >&5
69403 sed 's/^/| /' conftest.$ac_ext >&5
69405 glibcxx_cv_func__atan2f_use=no
69407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69408 ac_ext=c
69409 ac_cpp='$CPP $CPPFLAGS'
69410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69418 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
69419 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
69421 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
69423 for ac_func in _atan2f
69425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69426 echo "$as_me:$LINENO: checking for $ac_func" >&5
69427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69428 if eval "test \"\${$as_ac_var+set}\" = set"; then
69429 echo $ECHO_N "(cached) $ECHO_C" >&6
69430 else
69431 if test x$gcc_no_link = xyes; then
69432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69434 { (exit 1); exit 1; }; }
69436 cat >conftest.$ac_ext <<_ACEOF
69437 /* confdefs.h. */
69438 _ACEOF
69439 cat confdefs.h >>conftest.$ac_ext
69440 cat >>conftest.$ac_ext <<_ACEOF
69441 /* end confdefs.h. */
69442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69444 #define $ac_func innocuous_$ac_func
69446 /* System header to define __stub macros and hopefully few prototypes,
69447 which can conflict with char $ac_func (); below.
69448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69449 <limits.h> exists even on freestanding compilers. */
69451 #ifdef __STDC__
69452 # include <limits.h>
69453 #else
69454 # include <assert.h>
69455 #endif
69457 #undef $ac_func
69459 /* Override any gcc2 internal prototype to avoid an error. */
69460 #ifdef __cplusplus
69461 extern "C"
69463 #endif
69464 /* We use char because int might match the return type of a gcc2
69465 builtin and then its argument prototype would still apply. */
69466 char $ac_func ();
69467 /* The GNU C library defines this for functions which it implements
69468 to always fail with ENOSYS. Some functions are actually named
69469 something starting with __ and the normal name is an alias. */
69470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69471 choke me
69472 #else
69473 char (*f) () = $ac_func;
69474 #endif
69475 #ifdef __cplusplus
69477 #endif
69480 main ()
69482 return f != $ac_func;
69484 return 0;
69486 _ACEOF
69487 rm -f conftest.$ac_objext conftest$ac_exeext
69488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69489 (eval $ac_link) 2>conftest.er1
69490 ac_status=$?
69491 grep -v '^ *+' conftest.er1 >conftest.err
69492 rm -f conftest.er1
69493 cat conftest.err >&5
69494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69495 (exit $ac_status); } &&
69496 { ac_try='test -z "$ac_c_werror_flag"
69497 || test ! -s conftest.err'
69498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69499 (eval $ac_try) 2>&5
69500 ac_status=$?
69501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69502 (exit $ac_status); }; } &&
69503 { ac_try='test -s conftest$ac_exeext'
69504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69505 (eval $ac_try) 2>&5
69506 ac_status=$?
69507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69508 (exit $ac_status); }; }; then
69509 eval "$as_ac_var=yes"
69510 else
69511 echo "$as_me: failed program was:" >&5
69512 sed 's/^/| /' conftest.$ac_ext >&5
69514 eval "$as_ac_var=no"
69516 rm -f conftest.err conftest.$ac_objext \
69517 conftest$ac_exeext conftest.$ac_ext
69519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69521 if test `eval echo '${'$as_ac_var'}'` = yes; then
69522 cat >>confdefs.h <<_ACEOF
69523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69524 _ACEOF
69527 done
69537 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
69538 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
69539 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
69540 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
69541 echo $ECHO_N "(cached) $ECHO_C" >&6
69542 else
69546 ac_ext=cc
69547 ac_cpp='$CXXCPP $CPPFLAGS'
69548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69552 cat >conftest.$ac_ext <<_ACEOF
69553 /* confdefs.h. */
69554 _ACEOF
69555 cat confdefs.h >>conftest.$ac_ext
69556 cat >>conftest.$ac_ext <<_ACEOF
69557 /* end confdefs.h. */
69558 #include <math.h>
69559 #ifdef HAVE_IEEEFP_H
69560 #include <ieeefp.h>
69561 #endif
69564 main ()
69566 fabsf(0);
69568 return 0;
69570 _ACEOF
69571 rm -f conftest.$ac_objext
69572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69573 (eval $ac_compile) 2>conftest.er1
69574 ac_status=$?
69575 grep -v '^ *+' conftest.er1 >conftest.err
69576 rm -f conftest.er1
69577 cat conftest.err >&5
69578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69579 (exit $ac_status); } &&
69580 { ac_try='test -z "$ac_cxx_werror_flag"
69581 || test ! -s conftest.err'
69582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69583 (eval $ac_try) 2>&5
69584 ac_status=$?
69585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69586 (exit $ac_status); }; } &&
69587 { ac_try='test -s conftest.$ac_objext'
69588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69589 (eval $ac_try) 2>&5
69590 ac_status=$?
69591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69592 (exit $ac_status); }; }; then
69593 glibcxx_cv_func_fabsf_use=yes
69594 else
69595 echo "$as_me: failed program was:" >&5
69596 sed 's/^/| /' conftest.$ac_ext >&5
69598 glibcxx_cv_func_fabsf_use=no
69600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69601 ac_ext=c
69602 ac_cpp='$CPP $CPPFLAGS'
69603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69611 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
69612 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
69614 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
69616 for ac_func in fabsf
69618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69619 echo "$as_me:$LINENO: checking for $ac_func" >&5
69620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69621 if eval "test \"\${$as_ac_var+set}\" = set"; then
69622 echo $ECHO_N "(cached) $ECHO_C" >&6
69623 else
69624 if test x$gcc_no_link = xyes; then
69625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69627 { (exit 1); exit 1; }; }
69629 cat >conftest.$ac_ext <<_ACEOF
69630 /* confdefs.h. */
69631 _ACEOF
69632 cat confdefs.h >>conftest.$ac_ext
69633 cat >>conftest.$ac_ext <<_ACEOF
69634 /* end confdefs.h. */
69635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69637 #define $ac_func innocuous_$ac_func
69639 /* System header to define __stub macros and hopefully few prototypes,
69640 which can conflict with char $ac_func (); below.
69641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69642 <limits.h> exists even on freestanding compilers. */
69644 #ifdef __STDC__
69645 # include <limits.h>
69646 #else
69647 # include <assert.h>
69648 #endif
69650 #undef $ac_func
69652 /* Override any gcc2 internal prototype to avoid an error. */
69653 #ifdef __cplusplus
69654 extern "C"
69656 #endif
69657 /* We use char because int might match the return type of a gcc2
69658 builtin and then its argument prototype would still apply. */
69659 char $ac_func ();
69660 /* The GNU C library defines this for functions which it implements
69661 to always fail with ENOSYS. Some functions are actually named
69662 something starting with __ and the normal name is an alias. */
69663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69664 choke me
69665 #else
69666 char (*f) () = $ac_func;
69667 #endif
69668 #ifdef __cplusplus
69670 #endif
69673 main ()
69675 return f != $ac_func;
69677 return 0;
69679 _ACEOF
69680 rm -f conftest.$ac_objext conftest$ac_exeext
69681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69682 (eval $ac_link) 2>conftest.er1
69683 ac_status=$?
69684 grep -v '^ *+' conftest.er1 >conftest.err
69685 rm -f conftest.er1
69686 cat conftest.err >&5
69687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69688 (exit $ac_status); } &&
69689 { ac_try='test -z "$ac_c_werror_flag"
69690 || test ! -s conftest.err'
69691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69692 (eval $ac_try) 2>&5
69693 ac_status=$?
69694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69695 (exit $ac_status); }; } &&
69696 { ac_try='test -s conftest$ac_exeext'
69697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69698 (eval $ac_try) 2>&5
69699 ac_status=$?
69700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69701 (exit $ac_status); }; }; then
69702 eval "$as_ac_var=yes"
69703 else
69704 echo "$as_me: failed program was:" >&5
69705 sed 's/^/| /' conftest.$ac_ext >&5
69707 eval "$as_ac_var=no"
69709 rm -f conftest.err conftest.$ac_objext \
69710 conftest$ac_exeext conftest.$ac_ext
69712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69714 if test `eval echo '${'$as_ac_var'}'` = yes; then
69715 cat >>confdefs.h <<_ACEOF
69716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69717 _ACEOF
69720 done
69722 else
69724 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
69725 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
69726 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
69727 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
69728 echo $ECHO_N "(cached) $ECHO_C" >&6
69729 else
69733 ac_ext=cc
69734 ac_cpp='$CXXCPP $CPPFLAGS'
69735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69739 cat >conftest.$ac_ext <<_ACEOF
69740 /* confdefs.h. */
69741 _ACEOF
69742 cat confdefs.h >>conftest.$ac_ext
69743 cat >>conftest.$ac_ext <<_ACEOF
69744 /* end confdefs.h. */
69745 #include <math.h>
69746 #ifdef HAVE_IEEEFP_H
69747 #include <ieeefp.h>
69748 #endif
69751 main ()
69753 _fabsf(0);
69755 return 0;
69757 _ACEOF
69758 rm -f conftest.$ac_objext
69759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69760 (eval $ac_compile) 2>conftest.er1
69761 ac_status=$?
69762 grep -v '^ *+' conftest.er1 >conftest.err
69763 rm -f conftest.er1
69764 cat conftest.err >&5
69765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69766 (exit $ac_status); } &&
69767 { ac_try='test -z "$ac_cxx_werror_flag"
69768 || test ! -s conftest.err'
69769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69770 (eval $ac_try) 2>&5
69771 ac_status=$?
69772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69773 (exit $ac_status); }; } &&
69774 { ac_try='test -s conftest.$ac_objext'
69775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69776 (eval $ac_try) 2>&5
69777 ac_status=$?
69778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69779 (exit $ac_status); }; }; then
69780 glibcxx_cv_func__fabsf_use=yes
69781 else
69782 echo "$as_me: failed program was:" >&5
69783 sed 's/^/| /' conftest.$ac_ext >&5
69785 glibcxx_cv_func__fabsf_use=no
69787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69788 ac_ext=c
69789 ac_cpp='$CPP $CPPFLAGS'
69790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69798 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
69799 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
69801 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
69803 for ac_func in _fabsf
69805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69806 echo "$as_me:$LINENO: checking for $ac_func" >&5
69807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69808 if eval "test \"\${$as_ac_var+set}\" = set"; then
69809 echo $ECHO_N "(cached) $ECHO_C" >&6
69810 else
69811 if test x$gcc_no_link = xyes; then
69812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69814 { (exit 1); exit 1; }; }
69816 cat >conftest.$ac_ext <<_ACEOF
69817 /* confdefs.h. */
69818 _ACEOF
69819 cat confdefs.h >>conftest.$ac_ext
69820 cat >>conftest.$ac_ext <<_ACEOF
69821 /* end confdefs.h. */
69822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69824 #define $ac_func innocuous_$ac_func
69826 /* System header to define __stub macros and hopefully few prototypes,
69827 which can conflict with char $ac_func (); below.
69828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69829 <limits.h> exists even on freestanding compilers. */
69831 #ifdef __STDC__
69832 # include <limits.h>
69833 #else
69834 # include <assert.h>
69835 #endif
69837 #undef $ac_func
69839 /* Override any gcc2 internal prototype to avoid an error. */
69840 #ifdef __cplusplus
69841 extern "C"
69843 #endif
69844 /* We use char because int might match the return type of a gcc2
69845 builtin and then its argument prototype would still apply. */
69846 char $ac_func ();
69847 /* The GNU C library defines this for functions which it implements
69848 to always fail with ENOSYS. Some functions are actually named
69849 something starting with __ and the normal name is an alias. */
69850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69851 choke me
69852 #else
69853 char (*f) () = $ac_func;
69854 #endif
69855 #ifdef __cplusplus
69857 #endif
69860 main ()
69862 return f != $ac_func;
69864 return 0;
69866 _ACEOF
69867 rm -f conftest.$ac_objext conftest$ac_exeext
69868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69869 (eval $ac_link) 2>conftest.er1
69870 ac_status=$?
69871 grep -v '^ *+' conftest.er1 >conftest.err
69872 rm -f conftest.er1
69873 cat conftest.err >&5
69874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69875 (exit $ac_status); } &&
69876 { ac_try='test -z "$ac_c_werror_flag"
69877 || test ! -s conftest.err'
69878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69879 (eval $ac_try) 2>&5
69880 ac_status=$?
69881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69882 (exit $ac_status); }; } &&
69883 { ac_try='test -s conftest$ac_exeext'
69884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69885 (eval $ac_try) 2>&5
69886 ac_status=$?
69887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69888 (exit $ac_status); }; }; then
69889 eval "$as_ac_var=yes"
69890 else
69891 echo "$as_me: failed program was:" >&5
69892 sed 's/^/| /' conftest.$ac_ext >&5
69894 eval "$as_ac_var=no"
69896 rm -f conftest.err conftest.$ac_objext \
69897 conftest$ac_exeext conftest.$ac_ext
69899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69901 if test `eval echo '${'$as_ac_var'}'` = yes; then
69902 cat >>confdefs.h <<_ACEOF
69903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69904 _ACEOF
69907 done
69917 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
69918 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
69919 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
69920 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
69921 echo $ECHO_N "(cached) $ECHO_C" >&6
69922 else
69926 ac_ext=cc
69927 ac_cpp='$CXXCPP $CPPFLAGS'
69928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69932 cat >conftest.$ac_ext <<_ACEOF
69933 /* confdefs.h. */
69934 _ACEOF
69935 cat confdefs.h >>conftest.$ac_ext
69936 cat >>conftest.$ac_ext <<_ACEOF
69937 /* end confdefs.h. */
69938 #include <math.h>
69940 main ()
69942 fmodf(0, 0);
69944 return 0;
69946 _ACEOF
69947 rm -f conftest.$ac_objext
69948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69949 (eval $ac_compile) 2>conftest.er1
69950 ac_status=$?
69951 grep -v '^ *+' conftest.er1 >conftest.err
69952 rm -f conftest.er1
69953 cat conftest.err >&5
69954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69955 (exit $ac_status); } &&
69956 { ac_try='test -z "$ac_cxx_werror_flag"
69957 || test ! -s conftest.err'
69958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69959 (eval $ac_try) 2>&5
69960 ac_status=$?
69961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69962 (exit $ac_status); }; } &&
69963 { ac_try='test -s conftest.$ac_objext'
69964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69965 (eval $ac_try) 2>&5
69966 ac_status=$?
69967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69968 (exit $ac_status); }; }; then
69969 glibcxx_cv_func_fmodf_use=yes
69970 else
69971 echo "$as_me: failed program was:" >&5
69972 sed 's/^/| /' conftest.$ac_ext >&5
69974 glibcxx_cv_func_fmodf_use=no
69976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69977 ac_ext=c
69978 ac_cpp='$CPP $CPPFLAGS'
69979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69987 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
69988 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
69990 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
69992 for ac_func in fmodf
69994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69995 echo "$as_me:$LINENO: checking for $ac_func" >&5
69996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69997 if eval "test \"\${$as_ac_var+set}\" = set"; then
69998 echo $ECHO_N "(cached) $ECHO_C" >&6
69999 else
70000 if test x$gcc_no_link = xyes; then
70001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70003 { (exit 1); exit 1; }; }
70005 cat >conftest.$ac_ext <<_ACEOF
70006 /* confdefs.h. */
70007 _ACEOF
70008 cat confdefs.h >>conftest.$ac_ext
70009 cat >>conftest.$ac_ext <<_ACEOF
70010 /* end confdefs.h. */
70011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70013 #define $ac_func innocuous_$ac_func
70015 /* System header to define __stub macros and hopefully few prototypes,
70016 which can conflict with char $ac_func (); below.
70017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70018 <limits.h> exists even on freestanding compilers. */
70020 #ifdef __STDC__
70021 # include <limits.h>
70022 #else
70023 # include <assert.h>
70024 #endif
70026 #undef $ac_func
70028 /* Override any gcc2 internal prototype to avoid an error. */
70029 #ifdef __cplusplus
70030 extern "C"
70032 #endif
70033 /* We use char because int might match the return type of a gcc2
70034 builtin and then its argument prototype would still apply. */
70035 char $ac_func ();
70036 /* The GNU C library defines this for functions which it implements
70037 to always fail with ENOSYS. Some functions are actually named
70038 something starting with __ and the normal name is an alias. */
70039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70040 choke me
70041 #else
70042 char (*f) () = $ac_func;
70043 #endif
70044 #ifdef __cplusplus
70046 #endif
70049 main ()
70051 return f != $ac_func;
70053 return 0;
70055 _ACEOF
70056 rm -f conftest.$ac_objext conftest$ac_exeext
70057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70058 (eval $ac_link) 2>conftest.er1
70059 ac_status=$?
70060 grep -v '^ *+' conftest.er1 >conftest.err
70061 rm -f conftest.er1
70062 cat conftest.err >&5
70063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70064 (exit $ac_status); } &&
70065 { ac_try='test -z "$ac_c_werror_flag"
70066 || test ! -s conftest.err'
70067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70068 (eval $ac_try) 2>&5
70069 ac_status=$?
70070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70071 (exit $ac_status); }; } &&
70072 { ac_try='test -s conftest$ac_exeext'
70073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70074 (eval $ac_try) 2>&5
70075 ac_status=$?
70076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70077 (exit $ac_status); }; }; then
70078 eval "$as_ac_var=yes"
70079 else
70080 echo "$as_me: failed program was:" >&5
70081 sed 's/^/| /' conftest.$ac_ext >&5
70083 eval "$as_ac_var=no"
70085 rm -f conftest.err conftest.$ac_objext \
70086 conftest$ac_exeext conftest.$ac_ext
70088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70090 if test `eval echo '${'$as_ac_var'}'` = yes; then
70091 cat >>confdefs.h <<_ACEOF
70092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70093 _ACEOF
70096 done
70098 else
70100 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
70101 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
70102 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
70103 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
70104 echo $ECHO_N "(cached) $ECHO_C" >&6
70105 else
70109 ac_ext=cc
70110 ac_cpp='$CXXCPP $CPPFLAGS'
70111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70115 cat >conftest.$ac_ext <<_ACEOF
70116 /* confdefs.h. */
70117 _ACEOF
70118 cat confdefs.h >>conftest.$ac_ext
70119 cat >>conftest.$ac_ext <<_ACEOF
70120 /* end confdefs.h. */
70121 #include <math.h>
70123 main ()
70125 _fmodf(0, 0);
70127 return 0;
70129 _ACEOF
70130 rm -f conftest.$ac_objext
70131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70132 (eval $ac_compile) 2>conftest.er1
70133 ac_status=$?
70134 grep -v '^ *+' conftest.er1 >conftest.err
70135 rm -f conftest.er1
70136 cat conftest.err >&5
70137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70138 (exit $ac_status); } &&
70139 { ac_try='test -z "$ac_cxx_werror_flag"
70140 || test ! -s conftest.err'
70141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70142 (eval $ac_try) 2>&5
70143 ac_status=$?
70144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70145 (exit $ac_status); }; } &&
70146 { ac_try='test -s conftest.$ac_objext'
70147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70148 (eval $ac_try) 2>&5
70149 ac_status=$?
70150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70151 (exit $ac_status); }; }; then
70152 glibcxx_cv_func__fmodf_use=yes
70153 else
70154 echo "$as_me: failed program was:" >&5
70155 sed 's/^/| /' conftest.$ac_ext >&5
70157 glibcxx_cv_func__fmodf_use=no
70159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70160 ac_ext=c
70161 ac_cpp='$CPP $CPPFLAGS'
70162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70170 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
70171 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
70173 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
70175 for ac_func in _fmodf
70177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70178 echo "$as_me:$LINENO: checking for $ac_func" >&5
70179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70180 if eval "test \"\${$as_ac_var+set}\" = set"; then
70181 echo $ECHO_N "(cached) $ECHO_C" >&6
70182 else
70183 if test x$gcc_no_link = xyes; then
70184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70186 { (exit 1); exit 1; }; }
70188 cat >conftest.$ac_ext <<_ACEOF
70189 /* confdefs.h. */
70190 _ACEOF
70191 cat confdefs.h >>conftest.$ac_ext
70192 cat >>conftest.$ac_ext <<_ACEOF
70193 /* end confdefs.h. */
70194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70196 #define $ac_func innocuous_$ac_func
70198 /* System header to define __stub macros and hopefully few prototypes,
70199 which can conflict with char $ac_func (); below.
70200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70201 <limits.h> exists even on freestanding compilers. */
70203 #ifdef __STDC__
70204 # include <limits.h>
70205 #else
70206 # include <assert.h>
70207 #endif
70209 #undef $ac_func
70211 /* Override any gcc2 internal prototype to avoid an error. */
70212 #ifdef __cplusplus
70213 extern "C"
70215 #endif
70216 /* We use char because int might match the return type of a gcc2
70217 builtin and then its argument prototype would still apply. */
70218 char $ac_func ();
70219 /* The GNU C library defines this for functions which it implements
70220 to always fail with ENOSYS. Some functions are actually named
70221 something starting with __ and the normal name is an alias. */
70222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70223 choke me
70224 #else
70225 char (*f) () = $ac_func;
70226 #endif
70227 #ifdef __cplusplus
70229 #endif
70232 main ()
70234 return f != $ac_func;
70236 return 0;
70238 _ACEOF
70239 rm -f conftest.$ac_objext conftest$ac_exeext
70240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70241 (eval $ac_link) 2>conftest.er1
70242 ac_status=$?
70243 grep -v '^ *+' conftest.er1 >conftest.err
70244 rm -f conftest.er1
70245 cat conftest.err >&5
70246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70247 (exit $ac_status); } &&
70248 { ac_try='test -z "$ac_c_werror_flag"
70249 || test ! -s conftest.err'
70250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70251 (eval $ac_try) 2>&5
70252 ac_status=$?
70253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70254 (exit $ac_status); }; } &&
70255 { ac_try='test -s conftest$ac_exeext'
70256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70257 (eval $ac_try) 2>&5
70258 ac_status=$?
70259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70260 (exit $ac_status); }; }; then
70261 eval "$as_ac_var=yes"
70262 else
70263 echo "$as_me: failed program was:" >&5
70264 sed 's/^/| /' conftest.$ac_ext >&5
70266 eval "$as_ac_var=no"
70268 rm -f conftest.err conftest.$ac_objext \
70269 conftest$ac_exeext conftest.$ac_ext
70271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70273 if test `eval echo '${'$as_ac_var'}'` = yes; then
70274 cat >>confdefs.h <<_ACEOF
70275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70276 _ACEOF
70279 done
70289 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
70290 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
70291 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
70292 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
70293 echo $ECHO_N "(cached) $ECHO_C" >&6
70294 else
70298 ac_ext=cc
70299 ac_cpp='$CXXCPP $CPPFLAGS'
70300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70304 cat >conftest.$ac_ext <<_ACEOF
70305 /* confdefs.h. */
70306 _ACEOF
70307 cat confdefs.h >>conftest.$ac_ext
70308 cat >>conftest.$ac_ext <<_ACEOF
70309 /* end confdefs.h. */
70310 #include <math.h>
70312 main ()
70314 frexpf(0, 0);
70316 return 0;
70318 _ACEOF
70319 rm -f conftest.$ac_objext
70320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70321 (eval $ac_compile) 2>conftest.er1
70322 ac_status=$?
70323 grep -v '^ *+' conftest.er1 >conftest.err
70324 rm -f conftest.er1
70325 cat conftest.err >&5
70326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70327 (exit $ac_status); } &&
70328 { ac_try='test -z "$ac_cxx_werror_flag"
70329 || test ! -s conftest.err'
70330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70331 (eval $ac_try) 2>&5
70332 ac_status=$?
70333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70334 (exit $ac_status); }; } &&
70335 { ac_try='test -s conftest.$ac_objext'
70336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70337 (eval $ac_try) 2>&5
70338 ac_status=$?
70339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70340 (exit $ac_status); }; }; then
70341 glibcxx_cv_func_frexpf_use=yes
70342 else
70343 echo "$as_me: failed program was:" >&5
70344 sed 's/^/| /' conftest.$ac_ext >&5
70346 glibcxx_cv_func_frexpf_use=no
70348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70349 ac_ext=c
70350 ac_cpp='$CPP $CPPFLAGS'
70351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70359 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
70360 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
70362 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
70364 for ac_func in frexpf
70366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70367 echo "$as_me:$LINENO: checking for $ac_func" >&5
70368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70369 if eval "test \"\${$as_ac_var+set}\" = set"; then
70370 echo $ECHO_N "(cached) $ECHO_C" >&6
70371 else
70372 if test x$gcc_no_link = xyes; then
70373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70375 { (exit 1); exit 1; }; }
70377 cat >conftest.$ac_ext <<_ACEOF
70378 /* confdefs.h. */
70379 _ACEOF
70380 cat confdefs.h >>conftest.$ac_ext
70381 cat >>conftest.$ac_ext <<_ACEOF
70382 /* end confdefs.h. */
70383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70385 #define $ac_func innocuous_$ac_func
70387 /* System header to define __stub macros and hopefully few prototypes,
70388 which can conflict with char $ac_func (); below.
70389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70390 <limits.h> exists even on freestanding compilers. */
70392 #ifdef __STDC__
70393 # include <limits.h>
70394 #else
70395 # include <assert.h>
70396 #endif
70398 #undef $ac_func
70400 /* Override any gcc2 internal prototype to avoid an error. */
70401 #ifdef __cplusplus
70402 extern "C"
70404 #endif
70405 /* We use char because int might match the return type of a gcc2
70406 builtin and then its argument prototype would still apply. */
70407 char $ac_func ();
70408 /* The GNU C library defines this for functions which it implements
70409 to always fail with ENOSYS. Some functions are actually named
70410 something starting with __ and the normal name is an alias. */
70411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70412 choke me
70413 #else
70414 char (*f) () = $ac_func;
70415 #endif
70416 #ifdef __cplusplus
70418 #endif
70421 main ()
70423 return f != $ac_func;
70425 return 0;
70427 _ACEOF
70428 rm -f conftest.$ac_objext conftest$ac_exeext
70429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70430 (eval $ac_link) 2>conftest.er1
70431 ac_status=$?
70432 grep -v '^ *+' conftest.er1 >conftest.err
70433 rm -f conftest.er1
70434 cat conftest.err >&5
70435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70436 (exit $ac_status); } &&
70437 { ac_try='test -z "$ac_c_werror_flag"
70438 || test ! -s conftest.err'
70439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70440 (eval $ac_try) 2>&5
70441 ac_status=$?
70442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70443 (exit $ac_status); }; } &&
70444 { ac_try='test -s conftest$ac_exeext'
70445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70446 (eval $ac_try) 2>&5
70447 ac_status=$?
70448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70449 (exit $ac_status); }; }; then
70450 eval "$as_ac_var=yes"
70451 else
70452 echo "$as_me: failed program was:" >&5
70453 sed 's/^/| /' conftest.$ac_ext >&5
70455 eval "$as_ac_var=no"
70457 rm -f conftest.err conftest.$ac_objext \
70458 conftest$ac_exeext conftest.$ac_ext
70460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70462 if test `eval echo '${'$as_ac_var'}'` = yes; then
70463 cat >>confdefs.h <<_ACEOF
70464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70465 _ACEOF
70468 done
70470 else
70472 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
70473 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
70474 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
70475 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
70476 echo $ECHO_N "(cached) $ECHO_C" >&6
70477 else
70481 ac_ext=cc
70482 ac_cpp='$CXXCPP $CPPFLAGS'
70483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70487 cat >conftest.$ac_ext <<_ACEOF
70488 /* confdefs.h. */
70489 _ACEOF
70490 cat confdefs.h >>conftest.$ac_ext
70491 cat >>conftest.$ac_ext <<_ACEOF
70492 /* end confdefs.h. */
70493 #include <math.h>
70495 main ()
70497 _frexpf(0, 0);
70499 return 0;
70501 _ACEOF
70502 rm -f conftest.$ac_objext
70503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70504 (eval $ac_compile) 2>conftest.er1
70505 ac_status=$?
70506 grep -v '^ *+' conftest.er1 >conftest.err
70507 rm -f conftest.er1
70508 cat conftest.err >&5
70509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70510 (exit $ac_status); } &&
70511 { ac_try='test -z "$ac_cxx_werror_flag"
70512 || test ! -s conftest.err'
70513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70514 (eval $ac_try) 2>&5
70515 ac_status=$?
70516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70517 (exit $ac_status); }; } &&
70518 { ac_try='test -s conftest.$ac_objext'
70519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70520 (eval $ac_try) 2>&5
70521 ac_status=$?
70522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70523 (exit $ac_status); }; }; then
70524 glibcxx_cv_func__frexpf_use=yes
70525 else
70526 echo "$as_me: failed program was:" >&5
70527 sed 's/^/| /' conftest.$ac_ext >&5
70529 glibcxx_cv_func__frexpf_use=no
70531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70532 ac_ext=c
70533 ac_cpp='$CPP $CPPFLAGS'
70534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70542 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
70543 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
70545 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
70547 for ac_func in _frexpf
70549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70550 echo "$as_me:$LINENO: checking for $ac_func" >&5
70551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70552 if eval "test \"\${$as_ac_var+set}\" = set"; then
70553 echo $ECHO_N "(cached) $ECHO_C" >&6
70554 else
70555 if test x$gcc_no_link = xyes; then
70556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70558 { (exit 1); exit 1; }; }
70560 cat >conftest.$ac_ext <<_ACEOF
70561 /* confdefs.h. */
70562 _ACEOF
70563 cat confdefs.h >>conftest.$ac_ext
70564 cat >>conftest.$ac_ext <<_ACEOF
70565 /* end confdefs.h. */
70566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70568 #define $ac_func innocuous_$ac_func
70570 /* System header to define __stub macros and hopefully few prototypes,
70571 which can conflict with char $ac_func (); below.
70572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70573 <limits.h> exists even on freestanding compilers. */
70575 #ifdef __STDC__
70576 # include <limits.h>
70577 #else
70578 # include <assert.h>
70579 #endif
70581 #undef $ac_func
70583 /* Override any gcc2 internal prototype to avoid an error. */
70584 #ifdef __cplusplus
70585 extern "C"
70587 #endif
70588 /* We use char because int might match the return type of a gcc2
70589 builtin and then its argument prototype would still apply. */
70590 char $ac_func ();
70591 /* The GNU C library defines this for functions which it implements
70592 to always fail with ENOSYS. Some functions are actually named
70593 something starting with __ and the normal name is an alias. */
70594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70595 choke me
70596 #else
70597 char (*f) () = $ac_func;
70598 #endif
70599 #ifdef __cplusplus
70601 #endif
70604 main ()
70606 return f != $ac_func;
70608 return 0;
70610 _ACEOF
70611 rm -f conftest.$ac_objext conftest$ac_exeext
70612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70613 (eval $ac_link) 2>conftest.er1
70614 ac_status=$?
70615 grep -v '^ *+' conftest.er1 >conftest.err
70616 rm -f conftest.er1
70617 cat conftest.err >&5
70618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70619 (exit $ac_status); } &&
70620 { ac_try='test -z "$ac_c_werror_flag"
70621 || test ! -s conftest.err'
70622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70623 (eval $ac_try) 2>&5
70624 ac_status=$?
70625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70626 (exit $ac_status); }; } &&
70627 { ac_try='test -s conftest$ac_exeext'
70628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70629 (eval $ac_try) 2>&5
70630 ac_status=$?
70631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70632 (exit $ac_status); }; }; then
70633 eval "$as_ac_var=yes"
70634 else
70635 echo "$as_me: failed program was:" >&5
70636 sed 's/^/| /' conftest.$ac_ext >&5
70638 eval "$as_ac_var=no"
70640 rm -f conftest.err conftest.$ac_objext \
70641 conftest$ac_exeext conftest.$ac_ext
70643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70645 if test `eval echo '${'$as_ac_var'}'` = yes; then
70646 cat >>confdefs.h <<_ACEOF
70647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70648 _ACEOF
70651 done
70661 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
70662 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
70663 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
70664 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
70665 echo $ECHO_N "(cached) $ECHO_C" >&6
70666 else
70670 ac_ext=cc
70671 ac_cpp='$CXXCPP $CPPFLAGS'
70672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70676 cat >conftest.$ac_ext <<_ACEOF
70677 /* confdefs.h. */
70678 _ACEOF
70679 cat confdefs.h >>conftest.$ac_ext
70680 cat >>conftest.$ac_ext <<_ACEOF
70681 /* end confdefs.h. */
70682 #include <math.h>
70684 main ()
70686 hypotf(0, 0);
70688 return 0;
70690 _ACEOF
70691 rm -f conftest.$ac_objext
70692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70693 (eval $ac_compile) 2>conftest.er1
70694 ac_status=$?
70695 grep -v '^ *+' conftest.er1 >conftest.err
70696 rm -f conftest.er1
70697 cat conftest.err >&5
70698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70699 (exit $ac_status); } &&
70700 { ac_try='test -z "$ac_cxx_werror_flag"
70701 || test ! -s conftest.err'
70702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70703 (eval $ac_try) 2>&5
70704 ac_status=$?
70705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70706 (exit $ac_status); }; } &&
70707 { ac_try='test -s conftest.$ac_objext'
70708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70709 (eval $ac_try) 2>&5
70710 ac_status=$?
70711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70712 (exit $ac_status); }; }; then
70713 glibcxx_cv_func_hypotf_use=yes
70714 else
70715 echo "$as_me: failed program was:" >&5
70716 sed 's/^/| /' conftest.$ac_ext >&5
70718 glibcxx_cv_func_hypotf_use=no
70720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70721 ac_ext=c
70722 ac_cpp='$CPP $CPPFLAGS'
70723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70731 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
70732 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
70734 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
70736 for ac_func in hypotf
70738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70739 echo "$as_me:$LINENO: checking for $ac_func" >&5
70740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70741 if eval "test \"\${$as_ac_var+set}\" = set"; then
70742 echo $ECHO_N "(cached) $ECHO_C" >&6
70743 else
70744 if test x$gcc_no_link = xyes; then
70745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70747 { (exit 1); exit 1; }; }
70749 cat >conftest.$ac_ext <<_ACEOF
70750 /* confdefs.h. */
70751 _ACEOF
70752 cat confdefs.h >>conftest.$ac_ext
70753 cat >>conftest.$ac_ext <<_ACEOF
70754 /* end confdefs.h. */
70755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70757 #define $ac_func innocuous_$ac_func
70759 /* System header to define __stub macros and hopefully few prototypes,
70760 which can conflict with char $ac_func (); below.
70761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70762 <limits.h> exists even on freestanding compilers. */
70764 #ifdef __STDC__
70765 # include <limits.h>
70766 #else
70767 # include <assert.h>
70768 #endif
70770 #undef $ac_func
70772 /* Override any gcc2 internal prototype to avoid an error. */
70773 #ifdef __cplusplus
70774 extern "C"
70776 #endif
70777 /* We use char because int might match the return type of a gcc2
70778 builtin and then its argument prototype would still apply. */
70779 char $ac_func ();
70780 /* The GNU C library defines this for functions which it implements
70781 to always fail with ENOSYS. Some functions are actually named
70782 something starting with __ and the normal name is an alias. */
70783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70784 choke me
70785 #else
70786 char (*f) () = $ac_func;
70787 #endif
70788 #ifdef __cplusplus
70790 #endif
70793 main ()
70795 return f != $ac_func;
70797 return 0;
70799 _ACEOF
70800 rm -f conftest.$ac_objext conftest$ac_exeext
70801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70802 (eval $ac_link) 2>conftest.er1
70803 ac_status=$?
70804 grep -v '^ *+' conftest.er1 >conftest.err
70805 rm -f conftest.er1
70806 cat conftest.err >&5
70807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70808 (exit $ac_status); } &&
70809 { ac_try='test -z "$ac_c_werror_flag"
70810 || test ! -s conftest.err'
70811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70812 (eval $ac_try) 2>&5
70813 ac_status=$?
70814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70815 (exit $ac_status); }; } &&
70816 { ac_try='test -s conftest$ac_exeext'
70817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70818 (eval $ac_try) 2>&5
70819 ac_status=$?
70820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70821 (exit $ac_status); }; }; then
70822 eval "$as_ac_var=yes"
70823 else
70824 echo "$as_me: failed program was:" >&5
70825 sed 's/^/| /' conftest.$ac_ext >&5
70827 eval "$as_ac_var=no"
70829 rm -f conftest.err conftest.$ac_objext \
70830 conftest$ac_exeext conftest.$ac_ext
70832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70834 if test `eval echo '${'$as_ac_var'}'` = yes; then
70835 cat >>confdefs.h <<_ACEOF
70836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70837 _ACEOF
70840 done
70842 else
70844 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
70845 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
70846 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
70847 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
70848 echo $ECHO_N "(cached) $ECHO_C" >&6
70849 else
70853 ac_ext=cc
70854 ac_cpp='$CXXCPP $CPPFLAGS'
70855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70859 cat >conftest.$ac_ext <<_ACEOF
70860 /* confdefs.h. */
70861 _ACEOF
70862 cat confdefs.h >>conftest.$ac_ext
70863 cat >>conftest.$ac_ext <<_ACEOF
70864 /* end confdefs.h. */
70865 #include <math.h>
70867 main ()
70869 _hypotf(0, 0);
70871 return 0;
70873 _ACEOF
70874 rm -f conftest.$ac_objext
70875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70876 (eval $ac_compile) 2>conftest.er1
70877 ac_status=$?
70878 grep -v '^ *+' conftest.er1 >conftest.err
70879 rm -f conftest.er1
70880 cat conftest.err >&5
70881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70882 (exit $ac_status); } &&
70883 { ac_try='test -z "$ac_cxx_werror_flag"
70884 || test ! -s conftest.err'
70885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70886 (eval $ac_try) 2>&5
70887 ac_status=$?
70888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70889 (exit $ac_status); }; } &&
70890 { ac_try='test -s conftest.$ac_objext'
70891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70892 (eval $ac_try) 2>&5
70893 ac_status=$?
70894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70895 (exit $ac_status); }; }; then
70896 glibcxx_cv_func__hypotf_use=yes
70897 else
70898 echo "$as_me: failed program was:" >&5
70899 sed 's/^/| /' conftest.$ac_ext >&5
70901 glibcxx_cv_func__hypotf_use=no
70903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70904 ac_ext=c
70905 ac_cpp='$CPP $CPPFLAGS'
70906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70914 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
70915 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
70917 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
70919 for ac_func in _hypotf
70921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70922 echo "$as_me:$LINENO: checking for $ac_func" >&5
70923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70924 if eval "test \"\${$as_ac_var+set}\" = set"; then
70925 echo $ECHO_N "(cached) $ECHO_C" >&6
70926 else
70927 if test x$gcc_no_link = xyes; then
70928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70930 { (exit 1); exit 1; }; }
70932 cat >conftest.$ac_ext <<_ACEOF
70933 /* confdefs.h. */
70934 _ACEOF
70935 cat confdefs.h >>conftest.$ac_ext
70936 cat >>conftest.$ac_ext <<_ACEOF
70937 /* end confdefs.h. */
70938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70940 #define $ac_func innocuous_$ac_func
70942 /* System header to define __stub macros and hopefully few prototypes,
70943 which can conflict with char $ac_func (); below.
70944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70945 <limits.h> exists even on freestanding compilers. */
70947 #ifdef __STDC__
70948 # include <limits.h>
70949 #else
70950 # include <assert.h>
70951 #endif
70953 #undef $ac_func
70955 /* Override any gcc2 internal prototype to avoid an error. */
70956 #ifdef __cplusplus
70957 extern "C"
70959 #endif
70960 /* We use char because int might match the return type of a gcc2
70961 builtin and then its argument prototype would still apply. */
70962 char $ac_func ();
70963 /* The GNU C library defines this for functions which it implements
70964 to always fail with ENOSYS. Some functions are actually named
70965 something starting with __ and the normal name is an alias. */
70966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70967 choke me
70968 #else
70969 char (*f) () = $ac_func;
70970 #endif
70971 #ifdef __cplusplus
70973 #endif
70976 main ()
70978 return f != $ac_func;
70980 return 0;
70982 _ACEOF
70983 rm -f conftest.$ac_objext conftest$ac_exeext
70984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70985 (eval $ac_link) 2>conftest.er1
70986 ac_status=$?
70987 grep -v '^ *+' conftest.er1 >conftest.err
70988 rm -f conftest.er1
70989 cat conftest.err >&5
70990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70991 (exit $ac_status); } &&
70992 { ac_try='test -z "$ac_c_werror_flag"
70993 || test ! -s conftest.err'
70994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70995 (eval $ac_try) 2>&5
70996 ac_status=$?
70997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70998 (exit $ac_status); }; } &&
70999 { ac_try='test -s conftest$ac_exeext'
71000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71001 (eval $ac_try) 2>&5
71002 ac_status=$?
71003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71004 (exit $ac_status); }; }; then
71005 eval "$as_ac_var=yes"
71006 else
71007 echo "$as_me: failed program was:" >&5
71008 sed 's/^/| /' conftest.$ac_ext >&5
71010 eval "$as_ac_var=no"
71012 rm -f conftest.err conftest.$ac_objext \
71013 conftest$ac_exeext conftest.$ac_ext
71015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71017 if test `eval echo '${'$as_ac_var'}'` = yes; then
71018 cat >>confdefs.h <<_ACEOF
71019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71020 _ACEOF
71023 done
71033 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
71034 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
71035 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
71036 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
71037 echo $ECHO_N "(cached) $ECHO_C" >&6
71038 else
71042 ac_ext=cc
71043 ac_cpp='$CXXCPP $CPPFLAGS'
71044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71048 cat >conftest.$ac_ext <<_ACEOF
71049 /* confdefs.h. */
71050 _ACEOF
71051 cat confdefs.h >>conftest.$ac_ext
71052 cat >>conftest.$ac_ext <<_ACEOF
71053 /* end confdefs.h. */
71054 #include <math.h>
71056 main ()
71058 ldexpf(0, 0);
71060 return 0;
71062 _ACEOF
71063 rm -f conftest.$ac_objext
71064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71065 (eval $ac_compile) 2>conftest.er1
71066 ac_status=$?
71067 grep -v '^ *+' conftest.er1 >conftest.err
71068 rm -f conftest.er1
71069 cat conftest.err >&5
71070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71071 (exit $ac_status); } &&
71072 { ac_try='test -z "$ac_cxx_werror_flag"
71073 || test ! -s conftest.err'
71074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71075 (eval $ac_try) 2>&5
71076 ac_status=$?
71077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71078 (exit $ac_status); }; } &&
71079 { ac_try='test -s conftest.$ac_objext'
71080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71081 (eval $ac_try) 2>&5
71082 ac_status=$?
71083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71084 (exit $ac_status); }; }; then
71085 glibcxx_cv_func_ldexpf_use=yes
71086 else
71087 echo "$as_me: failed program was:" >&5
71088 sed 's/^/| /' conftest.$ac_ext >&5
71090 glibcxx_cv_func_ldexpf_use=no
71092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71093 ac_ext=c
71094 ac_cpp='$CPP $CPPFLAGS'
71095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71103 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
71104 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
71106 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
71108 for ac_func in ldexpf
71110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71111 echo "$as_me:$LINENO: checking for $ac_func" >&5
71112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71113 if eval "test \"\${$as_ac_var+set}\" = set"; then
71114 echo $ECHO_N "(cached) $ECHO_C" >&6
71115 else
71116 if test x$gcc_no_link = xyes; then
71117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71119 { (exit 1); exit 1; }; }
71121 cat >conftest.$ac_ext <<_ACEOF
71122 /* confdefs.h. */
71123 _ACEOF
71124 cat confdefs.h >>conftest.$ac_ext
71125 cat >>conftest.$ac_ext <<_ACEOF
71126 /* end confdefs.h. */
71127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71129 #define $ac_func innocuous_$ac_func
71131 /* System header to define __stub macros and hopefully few prototypes,
71132 which can conflict with char $ac_func (); below.
71133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71134 <limits.h> exists even on freestanding compilers. */
71136 #ifdef __STDC__
71137 # include <limits.h>
71138 #else
71139 # include <assert.h>
71140 #endif
71142 #undef $ac_func
71144 /* Override any gcc2 internal prototype to avoid an error. */
71145 #ifdef __cplusplus
71146 extern "C"
71148 #endif
71149 /* We use char because int might match the return type of a gcc2
71150 builtin and then its argument prototype would still apply. */
71151 char $ac_func ();
71152 /* The GNU C library defines this for functions which it implements
71153 to always fail with ENOSYS. Some functions are actually named
71154 something starting with __ and the normal name is an alias. */
71155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71156 choke me
71157 #else
71158 char (*f) () = $ac_func;
71159 #endif
71160 #ifdef __cplusplus
71162 #endif
71165 main ()
71167 return f != $ac_func;
71169 return 0;
71171 _ACEOF
71172 rm -f conftest.$ac_objext conftest$ac_exeext
71173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71174 (eval $ac_link) 2>conftest.er1
71175 ac_status=$?
71176 grep -v '^ *+' conftest.er1 >conftest.err
71177 rm -f conftest.er1
71178 cat conftest.err >&5
71179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71180 (exit $ac_status); } &&
71181 { ac_try='test -z "$ac_c_werror_flag"
71182 || test ! -s conftest.err'
71183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71184 (eval $ac_try) 2>&5
71185 ac_status=$?
71186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71187 (exit $ac_status); }; } &&
71188 { ac_try='test -s conftest$ac_exeext'
71189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71190 (eval $ac_try) 2>&5
71191 ac_status=$?
71192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71193 (exit $ac_status); }; }; then
71194 eval "$as_ac_var=yes"
71195 else
71196 echo "$as_me: failed program was:" >&5
71197 sed 's/^/| /' conftest.$ac_ext >&5
71199 eval "$as_ac_var=no"
71201 rm -f conftest.err conftest.$ac_objext \
71202 conftest$ac_exeext conftest.$ac_ext
71204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71206 if test `eval echo '${'$as_ac_var'}'` = yes; then
71207 cat >>confdefs.h <<_ACEOF
71208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71209 _ACEOF
71212 done
71214 else
71216 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
71217 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
71218 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
71219 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
71220 echo $ECHO_N "(cached) $ECHO_C" >&6
71221 else
71225 ac_ext=cc
71226 ac_cpp='$CXXCPP $CPPFLAGS'
71227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71231 cat >conftest.$ac_ext <<_ACEOF
71232 /* confdefs.h. */
71233 _ACEOF
71234 cat confdefs.h >>conftest.$ac_ext
71235 cat >>conftest.$ac_ext <<_ACEOF
71236 /* end confdefs.h. */
71237 #include <math.h>
71239 main ()
71241 _ldexpf(0, 0);
71243 return 0;
71245 _ACEOF
71246 rm -f conftest.$ac_objext
71247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71248 (eval $ac_compile) 2>conftest.er1
71249 ac_status=$?
71250 grep -v '^ *+' conftest.er1 >conftest.err
71251 rm -f conftest.er1
71252 cat conftest.err >&5
71253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71254 (exit $ac_status); } &&
71255 { ac_try='test -z "$ac_cxx_werror_flag"
71256 || test ! -s conftest.err'
71257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71258 (eval $ac_try) 2>&5
71259 ac_status=$?
71260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71261 (exit $ac_status); }; } &&
71262 { ac_try='test -s conftest.$ac_objext'
71263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71264 (eval $ac_try) 2>&5
71265 ac_status=$?
71266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71267 (exit $ac_status); }; }; then
71268 glibcxx_cv_func__ldexpf_use=yes
71269 else
71270 echo "$as_me: failed program was:" >&5
71271 sed 's/^/| /' conftest.$ac_ext >&5
71273 glibcxx_cv_func__ldexpf_use=no
71275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71276 ac_ext=c
71277 ac_cpp='$CPP $CPPFLAGS'
71278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71286 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
71287 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
71289 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
71291 for ac_func in _ldexpf
71293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71294 echo "$as_me:$LINENO: checking for $ac_func" >&5
71295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71296 if eval "test \"\${$as_ac_var+set}\" = set"; then
71297 echo $ECHO_N "(cached) $ECHO_C" >&6
71298 else
71299 if test x$gcc_no_link = xyes; then
71300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71302 { (exit 1); exit 1; }; }
71304 cat >conftest.$ac_ext <<_ACEOF
71305 /* confdefs.h. */
71306 _ACEOF
71307 cat confdefs.h >>conftest.$ac_ext
71308 cat >>conftest.$ac_ext <<_ACEOF
71309 /* end confdefs.h. */
71310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71312 #define $ac_func innocuous_$ac_func
71314 /* System header to define __stub macros and hopefully few prototypes,
71315 which can conflict with char $ac_func (); below.
71316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71317 <limits.h> exists even on freestanding compilers. */
71319 #ifdef __STDC__
71320 # include <limits.h>
71321 #else
71322 # include <assert.h>
71323 #endif
71325 #undef $ac_func
71327 /* Override any gcc2 internal prototype to avoid an error. */
71328 #ifdef __cplusplus
71329 extern "C"
71331 #endif
71332 /* We use char because int might match the return type of a gcc2
71333 builtin and then its argument prototype would still apply. */
71334 char $ac_func ();
71335 /* The GNU C library defines this for functions which it implements
71336 to always fail with ENOSYS. Some functions are actually named
71337 something starting with __ and the normal name is an alias. */
71338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71339 choke me
71340 #else
71341 char (*f) () = $ac_func;
71342 #endif
71343 #ifdef __cplusplus
71345 #endif
71348 main ()
71350 return f != $ac_func;
71352 return 0;
71354 _ACEOF
71355 rm -f conftest.$ac_objext conftest$ac_exeext
71356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71357 (eval $ac_link) 2>conftest.er1
71358 ac_status=$?
71359 grep -v '^ *+' conftest.er1 >conftest.err
71360 rm -f conftest.er1
71361 cat conftest.err >&5
71362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71363 (exit $ac_status); } &&
71364 { ac_try='test -z "$ac_c_werror_flag"
71365 || test ! -s conftest.err'
71366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71367 (eval $ac_try) 2>&5
71368 ac_status=$?
71369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71370 (exit $ac_status); }; } &&
71371 { ac_try='test -s conftest$ac_exeext'
71372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71373 (eval $ac_try) 2>&5
71374 ac_status=$?
71375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71376 (exit $ac_status); }; }; then
71377 eval "$as_ac_var=yes"
71378 else
71379 echo "$as_me: failed program was:" >&5
71380 sed 's/^/| /' conftest.$ac_ext >&5
71382 eval "$as_ac_var=no"
71384 rm -f conftest.err conftest.$ac_objext \
71385 conftest$ac_exeext conftest.$ac_ext
71387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71389 if test `eval echo '${'$as_ac_var'}'` = yes; then
71390 cat >>confdefs.h <<_ACEOF
71391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71392 _ACEOF
71395 done
71405 echo "$as_me:$LINENO: checking for logf declaration" >&5
71406 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
71407 if test x${glibcxx_cv_func_logf_use+set} != xset; then
71408 if test "${glibcxx_cv_func_logf_use+set}" = set; then
71409 echo $ECHO_N "(cached) $ECHO_C" >&6
71410 else
71414 ac_ext=cc
71415 ac_cpp='$CXXCPP $CPPFLAGS'
71416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71420 cat >conftest.$ac_ext <<_ACEOF
71421 /* confdefs.h. */
71422 _ACEOF
71423 cat confdefs.h >>conftest.$ac_ext
71424 cat >>conftest.$ac_ext <<_ACEOF
71425 /* end confdefs.h. */
71426 #include <math.h>
71427 #ifdef HAVE_IEEEFP_H
71428 #include <ieeefp.h>
71429 #endif
71432 main ()
71434 logf(0);
71436 return 0;
71438 _ACEOF
71439 rm -f conftest.$ac_objext
71440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71441 (eval $ac_compile) 2>conftest.er1
71442 ac_status=$?
71443 grep -v '^ *+' conftest.er1 >conftest.err
71444 rm -f conftest.er1
71445 cat conftest.err >&5
71446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71447 (exit $ac_status); } &&
71448 { ac_try='test -z "$ac_cxx_werror_flag"
71449 || test ! -s conftest.err'
71450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71451 (eval $ac_try) 2>&5
71452 ac_status=$?
71453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71454 (exit $ac_status); }; } &&
71455 { ac_try='test -s conftest.$ac_objext'
71456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71457 (eval $ac_try) 2>&5
71458 ac_status=$?
71459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71460 (exit $ac_status); }; }; then
71461 glibcxx_cv_func_logf_use=yes
71462 else
71463 echo "$as_me: failed program was:" >&5
71464 sed 's/^/| /' conftest.$ac_ext >&5
71466 glibcxx_cv_func_logf_use=no
71468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71469 ac_ext=c
71470 ac_cpp='$CPP $CPPFLAGS'
71471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71479 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
71480 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
71482 if test x$glibcxx_cv_func_logf_use = x"yes"; then
71484 for ac_func in logf
71486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71487 echo "$as_me:$LINENO: checking for $ac_func" >&5
71488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71489 if eval "test \"\${$as_ac_var+set}\" = set"; then
71490 echo $ECHO_N "(cached) $ECHO_C" >&6
71491 else
71492 if test x$gcc_no_link = xyes; then
71493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71495 { (exit 1); exit 1; }; }
71497 cat >conftest.$ac_ext <<_ACEOF
71498 /* confdefs.h. */
71499 _ACEOF
71500 cat confdefs.h >>conftest.$ac_ext
71501 cat >>conftest.$ac_ext <<_ACEOF
71502 /* end confdefs.h. */
71503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71505 #define $ac_func innocuous_$ac_func
71507 /* System header to define __stub macros and hopefully few prototypes,
71508 which can conflict with char $ac_func (); below.
71509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71510 <limits.h> exists even on freestanding compilers. */
71512 #ifdef __STDC__
71513 # include <limits.h>
71514 #else
71515 # include <assert.h>
71516 #endif
71518 #undef $ac_func
71520 /* Override any gcc2 internal prototype to avoid an error. */
71521 #ifdef __cplusplus
71522 extern "C"
71524 #endif
71525 /* We use char because int might match the return type of a gcc2
71526 builtin and then its argument prototype would still apply. */
71527 char $ac_func ();
71528 /* The GNU C library defines this for functions which it implements
71529 to always fail with ENOSYS. Some functions are actually named
71530 something starting with __ and the normal name is an alias. */
71531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71532 choke me
71533 #else
71534 char (*f) () = $ac_func;
71535 #endif
71536 #ifdef __cplusplus
71538 #endif
71541 main ()
71543 return f != $ac_func;
71545 return 0;
71547 _ACEOF
71548 rm -f conftest.$ac_objext conftest$ac_exeext
71549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71550 (eval $ac_link) 2>conftest.er1
71551 ac_status=$?
71552 grep -v '^ *+' conftest.er1 >conftest.err
71553 rm -f conftest.er1
71554 cat conftest.err >&5
71555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71556 (exit $ac_status); } &&
71557 { ac_try='test -z "$ac_c_werror_flag"
71558 || test ! -s conftest.err'
71559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71560 (eval $ac_try) 2>&5
71561 ac_status=$?
71562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71563 (exit $ac_status); }; } &&
71564 { ac_try='test -s conftest$ac_exeext'
71565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71566 (eval $ac_try) 2>&5
71567 ac_status=$?
71568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71569 (exit $ac_status); }; }; then
71570 eval "$as_ac_var=yes"
71571 else
71572 echo "$as_me: failed program was:" >&5
71573 sed 's/^/| /' conftest.$ac_ext >&5
71575 eval "$as_ac_var=no"
71577 rm -f conftest.err conftest.$ac_objext \
71578 conftest$ac_exeext conftest.$ac_ext
71580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71582 if test `eval echo '${'$as_ac_var'}'` = yes; then
71583 cat >>confdefs.h <<_ACEOF
71584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71585 _ACEOF
71588 done
71590 else
71592 echo "$as_me:$LINENO: checking for _logf declaration" >&5
71593 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
71594 if test x${glibcxx_cv_func__logf_use+set} != xset; then
71595 if test "${glibcxx_cv_func__logf_use+set}" = set; then
71596 echo $ECHO_N "(cached) $ECHO_C" >&6
71597 else
71601 ac_ext=cc
71602 ac_cpp='$CXXCPP $CPPFLAGS'
71603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71607 cat >conftest.$ac_ext <<_ACEOF
71608 /* confdefs.h. */
71609 _ACEOF
71610 cat confdefs.h >>conftest.$ac_ext
71611 cat >>conftest.$ac_ext <<_ACEOF
71612 /* end confdefs.h. */
71613 #include <math.h>
71614 #ifdef HAVE_IEEEFP_H
71615 #include <ieeefp.h>
71616 #endif
71619 main ()
71621 _logf(0);
71623 return 0;
71625 _ACEOF
71626 rm -f conftest.$ac_objext
71627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71628 (eval $ac_compile) 2>conftest.er1
71629 ac_status=$?
71630 grep -v '^ *+' conftest.er1 >conftest.err
71631 rm -f conftest.er1
71632 cat conftest.err >&5
71633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71634 (exit $ac_status); } &&
71635 { ac_try='test -z "$ac_cxx_werror_flag"
71636 || test ! -s conftest.err'
71637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71638 (eval $ac_try) 2>&5
71639 ac_status=$?
71640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71641 (exit $ac_status); }; } &&
71642 { ac_try='test -s conftest.$ac_objext'
71643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71644 (eval $ac_try) 2>&5
71645 ac_status=$?
71646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71647 (exit $ac_status); }; }; then
71648 glibcxx_cv_func__logf_use=yes
71649 else
71650 echo "$as_me: failed program was:" >&5
71651 sed 's/^/| /' conftest.$ac_ext >&5
71653 glibcxx_cv_func__logf_use=no
71655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71656 ac_ext=c
71657 ac_cpp='$CPP $CPPFLAGS'
71658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71666 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
71667 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
71669 if test x$glibcxx_cv_func__logf_use = x"yes"; then
71671 for ac_func in _logf
71673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71674 echo "$as_me:$LINENO: checking for $ac_func" >&5
71675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71676 if eval "test \"\${$as_ac_var+set}\" = set"; then
71677 echo $ECHO_N "(cached) $ECHO_C" >&6
71678 else
71679 if test x$gcc_no_link = xyes; then
71680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71682 { (exit 1); exit 1; }; }
71684 cat >conftest.$ac_ext <<_ACEOF
71685 /* confdefs.h. */
71686 _ACEOF
71687 cat confdefs.h >>conftest.$ac_ext
71688 cat >>conftest.$ac_ext <<_ACEOF
71689 /* end confdefs.h. */
71690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71692 #define $ac_func innocuous_$ac_func
71694 /* System header to define __stub macros and hopefully few prototypes,
71695 which can conflict with char $ac_func (); below.
71696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71697 <limits.h> exists even on freestanding compilers. */
71699 #ifdef __STDC__
71700 # include <limits.h>
71701 #else
71702 # include <assert.h>
71703 #endif
71705 #undef $ac_func
71707 /* Override any gcc2 internal prototype to avoid an error. */
71708 #ifdef __cplusplus
71709 extern "C"
71711 #endif
71712 /* We use char because int might match the return type of a gcc2
71713 builtin and then its argument prototype would still apply. */
71714 char $ac_func ();
71715 /* The GNU C library defines this for functions which it implements
71716 to always fail with ENOSYS. Some functions are actually named
71717 something starting with __ and the normal name is an alias. */
71718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71719 choke me
71720 #else
71721 char (*f) () = $ac_func;
71722 #endif
71723 #ifdef __cplusplus
71725 #endif
71728 main ()
71730 return f != $ac_func;
71732 return 0;
71734 _ACEOF
71735 rm -f conftest.$ac_objext conftest$ac_exeext
71736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71737 (eval $ac_link) 2>conftest.er1
71738 ac_status=$?
71739 grep -v '^ *+' conftest.er1 >conftest.err
71740 rm -f conftest.er1
71741 cat conftest.err >&5
71742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71743 (exit $ac_status); } &&
71744 { ac_try='test -z "$ac_c_werror_flag"
71745 || test ! -s conftest.err'
71746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71747 (eval $ac_try) 2>&5
71748 ac_status=$?
71749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71750 (exit $ac_status); }; } &&
71751 { ac_try='test -s conftest$ac_exeext'
71752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71753 (eval $ac_try) 2>&5
71754 ac_status=$?
71755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71756 (exit $ac_status); }; }; then
71757 eval "$as_ac_var=yes"
71758 else
71759 echo "$as_me: failed program was:" >&5
71760 sed 's/^/| /' conftest.$ac_ext >&5
71762 eval "$as_ac_var=no"
71764 rm -f conftest.err conftest.$ac_objext \
71765 conftest$ac_exeext conftest.$ac_ext
71767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71769 if test `eval echo '${'$as_ac_var'}'` = yes; then
71770 cat >>confdefs.h <<_ACEOF
71771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71772 _ACEOF
71775 done
71785 echo "$as_me:$LINENO: checking for log10f declaration" >&5
71786 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
71787 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
71788 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
71789 echo $ECHO_N "(cached) $ECHO_C" >&6
71790 else
71794 ac_ext=cc
71795 ac_cpp='$CXXCPP $CPPFLAGS'
71796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71800 cat >conftest.$ac_ext <<_ACEOF
71801 /* confdefs.h. */
71802 _ACEOF
71803 cat confdefs.h >>conftest.$ac_ext
71804 cat >>conftest.$ac_ext <<_ACEOF
71805 /* end confdefs.h. */
71806 #include <math.h>
71807 #ifdef HAVE_IEEEFP_H
71808 #include <ieeefp.h>
71809 #endif
71812 main ()
71814 log10f(0);
71816 return 0;
71818 _ACEOF
71819 rm -f conftest.$ac_objext
71820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71821 (eval $ac_compile) 2>conftest.er1
71822 ac_status=$?
71823 grep -v '^ *+' conftest.er1 >conftest.err
71824 rm -f conftest.er1
71825 cat conftest.err >&5
71826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71827 (exit $ac_status); } &&
71828 { ac_try='test -z "$ac_cxx_werror_flag"
71829 || test ! -s conftest.err'
71830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71831 (eval $ac_try) 2>&5
71832 ac_status=$?
71833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71834 (exit $ac_status); }; } &&
71835 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
71841 glibcxx_cv_func_log10f_use=yes
71842 else
71843 echo "$as_me: failed program was:" >&5
71844 sed 's/^/| /' conftest.$ac_ext >&5
71846 glibcxx_cv_func_log10f_use=no
71848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71849 ac_ext=c
71850 ac_cpp='$CPP $CPPFLAGS'
71851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71859 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
71860 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
71862 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
71864 for ac_func in log10f
71866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71867 echo "$as_me:$LINENO: checking for $ac_func" >&5
71868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71869 if eval "test \"\${$as_ac_var+set}\" = set"; then
71870 echo $ECHO_N "(cached) $ECHO_C" >&6
71871 else
71872 if test x$gcc_no_link = xyes; then
71873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71875 { (exit 1); exit 1; }; }
71877 cat >conftest.$ac_ext <<_ACEOF
71878 /* confdefs.h. */
71879 _ACEOF
71880 cat confdefs.h >>conftest.$ac_ext
71881 cat >>conftest.$ac_ext <<_ACEOF
71882 /* end confdefs.h. */
71883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71885 #define $ac_func innocuous_$ac_func
71887 /* System header to define __stub macros and hopefully few prototypes,
71888 which can conflict with char $ac_func (); below.
71889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71890 <limits.h> exists even on freestanding compilers. */
71892 #ifdef __STDC__
71893 # include <limits.h>
71894 #else
71895 # include <assert.h>
71896 #endif
71898 #undef $ac_func
71900 /* Override any gcc2 internal prototype to avoid an error. */
71901 #ifdef __cplusplus
71902 extern "C"
71904 #endif
71905 /* We use char because int might match the return type of a gcc2
71906 builtin and then its argument prototype would still apply. */
71907 char $ac_func ();
71908 /* The GNU C library defines this for functions which it implements
71909 to always fail with ENOSYS. Some functions are actually named
71910 something starting with __ and the normal name is an alias. */
71911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71912 choke me
71913 #else
71914 char (*f) () = $ac_func;
71915 #endif
71916 #ifdef __cplusplus
71918 #endif
71921 main ()
71923 return f != $ac_func;
71925 return 0;
71927 _ACEOF
71928 rm -f conftest.$ac_objext conftest$ac_exeext
71929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71930 (eval $ac_link) 2>conftest.er1
71931 ac_status=$?
71932 grep -v '^ *+' conftest.er1 >conftest.err
71933 rm -f conftest.er1
71934 cat conftest.err >&5
71935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71936 (exit $ac_status); } &&
71937 { ac_try='test -z "$ac_c_werror_flag"
71938 || test ! -s conftest.err'
71939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71940 (eval $ac_try) 2>&5
71941 ac_status=$?
71942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71943 (exit $ac_status); }; } &&
71944 { ac_try='test -s conftest$ac_exeext'
71945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71946 (eval $ac_try) 2>&5
71947 ac_status=$?
71948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71949 (exit $ac_status); }; }; then
71950 eval "$as_ac_var=yes"
71951 else
71952 echo "$as_me: failed program was:" >&5
71953 sed 's/^/| /' conftest.$ac_ext >&5
71955 eval "$as_ac_var=no"
71957 rm -f conftest.err conftest.$ac_objext \
71958 conftest$ac_exeext conftest.$ac_ext
71960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71962 if test `eval echo '${'$as_ac_var'}'` = yes; then
71963 cat >>confdefs.h <<_ACEOF
71964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71965 _ACEOF
71968 done
71970 else
71972 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
71973 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
71974 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
71975 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
71976 echo $ECHO_N "(cached) $ECHO_C" >&6
71977 else
71981 ac_ext=cc
71982 ac_cpp='$CXXCPP $CPPFLAGS'
71983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71987 cat >conftest.$ac_ext <<_ACEOF
71988 /* confdefs.h. */
71989 _ACEOF
71990 cat confdefs.h >>conftest.$ac_ext
71991 cat >>conftest.$ac_ext <<_ACEOF
71992 /* end confdefs.h. */
71993 #include <math.h>
71994 #ifdef HAVE_IEEEFP_H
71995 #include <ieeefp.h>
71996 #endif
71999 main ()
72001 _log10f(0);
72003 return 0;
72005 _ACEOF
72006 rm -f conftest.$ac_objext
72007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72008 (eval $ac_compile) 2>conftest.er1
72009 ac_status=$?
72010 grep -v '^ *+' conftest.er1 >conftest.err
72011 rm -f conftest.er1
72012 cat conftest.err >&5
72013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72014 (exit $ac_status); } &&
72015 { ac_try='test -z "$ac_cxx_werror_flag"
72016 || test ! -s conftest.err'
72017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72018 (eval $ac_try) 2>&5
72019 ac_status=$?
72020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72021 (exit $ac_status); }; } &&
72022 { ac_try='test -s conftest.$ac_objext'
72023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72024 (eval $ac_try) 2>&5
72025 ac_status=$?
72026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72027 (exit $ac_status); }; }; then
72028 glibcxx_cv_func__log10f_use=yes
72029 else
72030 echo "$as_me: failed program was:" >&5
72031 sed 's/^/| /' conftest.$ac_ext >&5
72033 glibcxx_cv_func__log10f_use=no
72035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72036 ac_ext=c
72037 ac_cpp='$CPP $CPPFLAGS'
72038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72046 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
72047 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
72049 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
72051 for ac_func in _log10f
72053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72054 echo "$as_me:$LINENO: checking for $ac_func" >&5
72055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72056 if eval "test \"\${$as_ac_var+set}\" = set"; then
72057 echo $ECHO_N "(cached) $ECHO_C" >&6
72058 else
72059 if test x$gcc_no_link = xyes; then
72060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72062 { (exit 1); exit 1; }; }
72064 cat >conftest.$ac_ext <<_ACEOF
72065 /* confdefs.h. */
72066 _ACEOF
72067 cat confdefs.h >>conftest.$ac_ext
72068 cat >>conftest.$ac_ext <<_ACEOF
72069 /* end confdefs.h. */
72070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72072 #define $ac_func innocuous_$ac_func
72074 /* System header to define __stub macros and hopefully few prototypes,
72075 which can conflict with char $ac_func (); below.
72076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72077 <limits.h> exists even on freestanding compilers. */
72079 #ifdef __STDC__
72080 # include <limits.h>
72081 #else
72082 # include <assert.h>
72083 #endif
72085 #undef $ac_func
72087 /* Override any gcc2 internal prototype to avoid an error. */
72088 #ifdef __cplusplus
72089 extern "C"
72091 #endif
72092 /* We use char because int might match the return type of a gcc2
72093 builtin and then its argument prototype would still apply. */
72094 char $ac_func ();
72095 /* The GNU C library defines this for functions which it implements
72096 to always fail with ENOSYS. Some functions are actually named
72097 something starting with __ and the normal name is an alias. */
72098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72099 choke me
72100 #else
72101 char (*f) () = $ac_func;
72102 #endif
72103 #ifdef __cplusplus
72105 #endif
72108 main ()
72110 return f != $ac_func;
72112 return 0;
72114 _ACEOF
72115 rm -f conftest.$ac_objext conftest$ac_exeext
72116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72117 (eval $ac_link) 2>conftest.er1
72118 ac_status=$?
72119 grep -v '^ *+' conftest.er1 >conftest.err
72120 rm -f conftest.er1
72121 cat conftest.err >&5
72122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72123 (exit $ac_status); } &&
72124 { ac_try='test -z "$ac_c_werror_flag"
72125 || test ! -s conftest.err'
72126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72127 (eval $ac_try) 2>&5
72128 ac_status=$?
72129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72130 (exit $ac_status); }; } &&
72131 { ac_try='test -s conftest$ac_exeext'
72132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72133 (eval $ac_try) 2>&5
72134 ac_status=$?
72135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72136 (exit $ac_status); }; }; then
72137 eval "$as_ac_var=yes"
72138 else
72139 echo "$as_me: failed program was:" >&5
72140 sed 's/^/| /' conftest.$ac_ext >&5
72142 eval "$as_ac_var=no"
72144 rm -f conftest.err conftest.$ac_objext \
72145 conftest$ac_exeext conftest.$ac_ext
72147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72149 if test `eval echo '${'$as_ac_var'}'` = yes; then
72150 cat >>confdefs.h <<_ACEOF
72151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72152 _ACEOF
72155 done
72165 echo "$as_me:$LINENO: checking for modff declaration" >&5
72166 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
72167 if test x${glibcxx_cv_func_modff_use+set} != xset; then
72168 if test "${glibcxx_cv_func_modff_use+set}" = set; then
72169 echo $ECHO_N "(cached) $ECHO_C" >&6
72170 else
72174 ac_ext=cc
72175 ac_cpp='$CXXCPP $CPPFLAGS'
72176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72180 cat >conftest.$ac_ext <<_ACEOF
72181 /* confdefs.h. */
72182 _ACEOF
72183 cat confdefs.h >>conftest.$ac_ext
72184 cat >>conftest.$ac_ext <<_ACEOF
72185 /* end confdefs.h. */
72186 #include <math.h>
72188 main ()
72190 modff(0, 0);
72192 return 0;
72194 _ACEOF
72195 rm -f conftest.$ac_objext
72196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72197 (eval $ac_compile) 2>conftest.er1
72198 ac_status=$?
72199 grep -v '^ *+' conftest.er1 >conftest.err
72200 rm -f conftest.er1
72201 cat conftest.err >&5
72202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72203 (exit $ac_status); } &&
72204 { ac_try='test -z "$ac_cxx_werror_flag"
72205 || test ! -s conftest.err'
72206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72207 (eval $ac_try) 2>&5
72208 ac_status=$?
72209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72210 (exit $ac_status); }; } &&
72211 { ac_try='test -s conftest.$ac_objext'
72212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72213 (eval $ac_try) 2>&5
72214 ac_status=$?
72215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72216 (exit $ac_status); }; }; then
72217 glibcxx_cv_func_modff_use=yes
72218 else
72219 echo "$as_me: failed program was:" >&5
72220 sed 's/^/| /' conftest.$ac_ext >&5
72222 glibcxx_cv_func_modff_use=no
72224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72225 ac_ext=c
72226 ac_cpp='$CPP $CPPFLAGS'
72227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72235 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
72236 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
72238 if test x$glibcxx_cv_func_modff_use = x"yes"; then
72240 for ac_func in modff
72242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72243 echo "$as_me:$LINENO: checking for $ac_func" >&5
72244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72245 if eval "test \"\${$as_ac_var+set}\" = set"; then
72246 echo $ECHO_N "(cached) $ECHO_C" >&6
72247 else
72248 if test x$gcc_no_link = xyes; then
72249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72251 { (exit 1); exit 1; }; }
72253 cat >conftest.$ac_ext <<_ACEOF
72254 /* confdefs.h. */
72255 _ACEOF
72256 cat confdefs.h >>conftest.$ac_ext
72257 cat >>conftest.$ac_ext <<_ACEOF
72258 /* end confdefs.h. */
72259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72261 #define $ac_func innocuous_$ac_func
72263 /* System header to define __stub macros and hopefully few prototypes,
72264 which can conflict with char $ac_func (); below.
72265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72266 <limits.h> exists even on freestanding compilers. */
72268 #ifdef __STDC__
72269 # include <limits.h>
72270 #else
72271 # include <assert.h>
72272 #endif
72274 #undef $ac_func
72276 /* Override any gcc2 internal prototype to avoid an error. */
72277 #ifdef __cplusplus
72278 extern "C"
72280 #endif
72281 /* We use char because int might match the return type of a gcc2
72282 builtin and then its argument prototype would still apply. */
72283 char $ac_func ();
72284 /* The GNU C library defines this for functions which it implements
72285 to always fail with ENOSYS. Some functions are actually named
72286 something starting with __ and the normal name is an alias. */
72287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72288 choke me
72289 #else
72290 char (*f) () = $ac_func;
72291 #endif
72292 #ifdef __cplusplus
72294 #endif
72297 main ()
72299 return f != $ac_func;
72301 return 0;
72303 _ACEOF
72304 rm -f conftest.$ac_objext conftest$ac_exeext
72305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72306 (eval $ac_link) 2>conftest.er1
72307 ac_status=$?
72308 grep -v '^ *+' conftest.er1 >conftest.err
72309 rm -f conftest.er1
72310 cat conftest.err >&5
72311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72312 (exit $ac_status); } &&
72313 { ac_try='test -z "$ac_c_werror_flag"
72314 || test ! -s conftest.err'
72315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72316 (eval $ac_try) 2>&5
72317 ac_status=$?
72318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72319 (exit $ac_status); }; } &&
72320 { ac_try='test -s conftest$ac_exeext'
72321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72322 (eval $ac_try) 2>&5
72323 ac_status=$?
72324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72325 (exit $ac_status); }; }; then
72326 eval "$as_ac_var=yes"
72327 else
72328 echo "$as_me: failed program was:" >&5
72329 sed 's/^/| /' conftest.$ac_ext >&5
72331 eval "$as_ac_var=no"
72333 rm -f conftest.err conftest.$ac_objext \
72334 conftest$ac_exeext conftest.$ac_ext
72336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72338 if test `eval echo '${'$as_ac_var'}'` = yes; then
72339 cat >>confdefs.h <<_ACEOF
72340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72341 _ACEOF
72344 done
72346 else
72348 echo "$as_me:$LINENO: checking for _modff declaration" >&5
72349 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
72350 if test x${glibcxx_cv_func__modff_use+set} != xset; then
72351 if test "${glibcxx_cv_func__modff_use+set}" = set; then
72352 echo $ECHO_N "(cached) $ECHO_C" >&6
72353 else
72357 ac_ext=cc
72358 ac_cpp='$CXXCPP $CPPFLAGS'
72359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72363 cat >conftest.$ac_ext <<_ACEOF
72364 /* confdefs.h. */
72365 _ACEOF
72366 cat confdefs.h >>conftest.$ac_ext
72367 cat >>conftest.$ac_ext <<_ACEOF
72368 /* end confdefs.h. */
72369 #include <math.h>
72371 main ()
72373 _modff(0, 0);
72375 return 0;
72377 _ACEOF
72378 rm -f conftest.$ac_objext
72379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72380 (eval $ac_compile) 2>conftest.er1
72381 ac_status=$?
72382 grep -v '^ *+' conftest.er1 >conftest.err
72383 rm -f conftest.er1
72384 cat conftest.err >&5
72385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72386 (exit $ac_status); } &&
72387 { ac_try='test -z "$ac_cxx_werror_flag"
72388 || test ! -s conftest.err'
72389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72390 (eval $ac_try) 2>&5
72391 ac_status=$?
72392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72393 (exit $ac_status); }; } &&
72394 { ac_try='test -s conftest.$ac_objext'
72395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72396 (eval $ac_try) 2>&5
72397 ac_status=$?
72398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72399 (exit $ac_status); }; }; then
72400 glibcxx_cv_func__modff_use=yes
72401 else
72402 echo "$as_me: failed program was:" >&5
72403 sed 's/^/| /' conftest.$ac_ext >&5
72405 glibcxx_cv_func__modff_use=no
72407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72408 ac_ext=c
72409 ac_cpp='$CPP $CPPFLAGS'
72410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72418 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
72419 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
72421 if test x$glibcxx_cv_func__modff_use = x"yes"; then
72423 for ac_func in _modff
72425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72426 echo "$as_me:$LINENO: checking for $ac_func" >&5
72427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72428 if eval "test \"\${$as_ac_var+set}\" = set"; then
72429 echo $ECHO_N "(cached) $ECHO_C" >&6
72430 else
72431 if test x$gcc_no_link = xyes; then
72432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72434 { (exit 1); exit 1; }; }
72436 cat >conftest.$ac_ext <<_ACEOF
72437 /* confdefs.h. */
72438 _ACEOF
72439 cat confdefs.h >>conftest.$ac_ext
72440 cat >>conftest.$ac_ext <<_ACEOF
72441 /* end confdefs.h. */
72442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72444 #define $ac_func innocuous_$ac_func
72446 /* System header to define __stub macros and hopefully few prototypes,
72447 which can conflict with char $ac_func (); below.
72448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72449 <limits.h> exists even on freestanding compilers. */
72451 #ifdef __STDC__
72452 # include <limits.h>
72453 #else
72454 # include <assert.h>
72455 #endif
72457 #undef $ac_func
72459 /* Override any gcc2 internal prototype to avoid an error. */
72460 #ifdef __cplusplus
72461 extern "C"
72463 #endif
72464 /* We use char because int might match the return type of a gcc2
72465 builtin and then its argument prototype would still apply. */
72466 char $ac_func ();
72467 /* The GNU C library defines this for functions which it implements
72468 to always fail with ENOSYS. Some functions are actually named
72469 something starting with __ and the normal name is an alias. */
72470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72471 choke me
72472 #else
72473 char (*f) () = $ac_func;
72474 #endif
72475 #ifdef __cplusplus
72477 #endif
72480 main ()
72482 return f != $ac_func;
72484 return 0;
72486 _ACEOF
72487 rm -f conftest.$ac_objext conftest$ac_exeext
72488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72489 (eval $ac_link) 2>conftest.er1
72490 ac_status=$?
72491 grep -v '^ *+' conftest.er1 >conftest.err
72492 rm -f conftest.er1
72493 cat conftest.err >&5
72494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72495 (exit $ac_status); } &&
72496 { ac_try='test -z "$ac_c_werror_flag"
72497 || test ! -s conftest.err'
72498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72499 (eval $ac_try) 2>&5
72500 ac_status=$?
72501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72502 (exit $ac_status); }; } &&
72503 { ac_try='test -s conftest$ac_exeext'
72504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72505 (eval $ac_try) 2>&5
72506 ac_status=$?
72507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72508 (exit $ac_status); }; }; then
72509 eval "$as_ac_var=yes"
72510 else
72511 echo "$as_me: failed program was:" >&5
72512 sed 's/^/| /' conftest.$ac_ext >&5
72514 eval "$as_ac_var=no"
72516 rm -f conftest.err conftest.$ac_objext \
72517 conftest$ac_exeext conftest.$ac_ext
72519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72521 if test `eval echo '${'$as_ac_var'}'` = yes; then
72522 cat >>confdefs.h <<_ACEOF
72523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72524 _ACEOF
72527 done
72537 echo "$as_me:$LINENO: checking for modf declaration" >&5
72538 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
72539 if test x${glibcxx_cv_func_modf_use+set} != xset; then
72540 if test "${glibcxx_cv_func_modf_use+set}" = set; then
72541 echo $ECHO_N "(cached) $ECHO_C" >&6
72542 else
72546 ac_ext=cc
72547 ac_cpp='$CXXCPP $CPPFLAGS'
72548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72552 cat >conftest.$ac_ext <<_ACEOF
72553 /* confdefs.h. */
72554 _ACEOF
72555 cat confdefs.h >>conftest.$ac_ext
72556 cat >>conftest.$ac_ext <<_ACEOF
72557 /* end confdefs.h. */
72558 #include <math.h>
72560 main ()
72562 modf(0, 0);
72564 return 0;
72566 _ACEOF
72567 rm -f conftest.$ac_objext
72568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72569 (eval $ac_compile) 2>conftest.er1
72570 ac_status=$?
72571 grep -v '^ *+' conftest.er1 >conftest.err
72572 rm -f conftest.er1
72573 cat conftest.err >&5
72574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72575 (exit $ac_status); } &&
72576 { ac_try='test -z "$ac_cxx_werror_flag"
72577 || test ! -s conftest.err'
72578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72579 (eval $ac_try) 2>&5
72580 ac_status=$?
72581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72582 (exit $ac_status); }; } &&
72583 { ac_try='test -s conftest.$ac_objext'
72584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72585 (eval $ac_try) 2>&5
72586 ac_status=$?
72587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72588 (exit $ac_status); }; }; then
72589 glibcxx_cv_func_modf_use=yes
72590 else
72591 echo "$as_me: failed program was:" >&5
72592 sed 's/^/| /' conftest.$ac_ext >&5
72594 glibcxx_cv_func_modf_use=no
72596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72597 ac_ext=c
72598 ac_cpp='$CPP $CPPFLAGS'
72599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72607 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
72608 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
72610 if test x$glibcxx_cv_func_modf_use = x"yes"; then
72612 for ac_func in modf
72614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72615 echo "$as_me:$LINENO: checking for $ac_func" >&5
72616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72617 if eval "test \"\${$as_ac_var+set}\" = set"; then
72618 echo $ECHO_N "(cached) $ECHO_C" >&6
72619 else
72620 if test x$gcc_no_link = xyes; then
72621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72623 { (exit 1); exit 1; }; }
72625 cat >conftest.$ac_ext <<_ACEOF
72626 /* confdefs.h. */
72627 _ACEOF
72628 cat confdefs.h >>conftest.$ac_ext
72629 cat >>conftest.$ac_ext <<_ACEOF
72630 /* end confdefs.h. */
72631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72633 #define $ac_func innocuous_$ac_func
72635 /* System header to define __stub macros and hopefully few prototypes,
72636 which can conflict with char $ac_func (); below.
72637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72638 <limits.h> exists even on freestanding compilers. */
72640 #ifdef __STDC__
72641 # include <limits.h>
72642 #else
72643 # include <assert.h>
72644 #endif
72646 #undef $ac_func
72648 /* Override any gcc2 internal prototype to avoid an error. */
72649 #ifdef __cplusplus
72650 extern "C"
72652 #endif
72653 /* We use char because int might match the return type of a gcc2
72654 builtin and then its argument prototype would still apply. */
72655 char $ac_func ();
72656 /* The GNU C library defines this for functions which it implements
72657 to always fail with ENOSYS. Some functions are actually named
72658 something starting with __ and the normal name is an alias. */
72659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72660 choke me
72661 #else
72662 char (*f) () = $ac_func;
72663 #endif
72664 #ifdef __cplusplus
72666 #endif
72669 main ()
72671 return f != $ac_func;
72673 return 0;
72675 _ACEOF
72676 rm -f conftest.$ac_objext conftest$ac_exeext
72677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72678 (eval $ac_link) 2>conftest.er1
72679 ac_status=$?
72680 grep -v '^ *+' conftest.er1 >conftest.err
72681 rm -f conftest.er1
72682 cat conftest.err >&5
72683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72684 (exit $ac_status); } &&
72685 { ac_try='test -z "$ac_c_werror_flag"
72686 || test ! -s conftest.err'
72687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72688 (eval $ac_try) 2>&5
72689 ac_status=$?
72690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72691 (exit $ac_status); }; } &&
72692 { ac_try='test -s conftest$ac_exeext'
72693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72694 (eval $ac_try) 2>&5
72695 ac_status=$?
72696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72697 (exit $ac_status); }; }; then
72698 eval "$as_ac_var=yes"
72699 else
72700 echo "$as_me: failed program was:" >&5
72701 sed 's/^/| /' conftest.$ac_ext >&5
72703 eval "$as_ac_var=no"
72705 rm -f conftest.err conftest.$ac_objext \
72706 conftest$ac_exeext conftest.$ac_ext
72708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72710 if test `eval echo '${'$as_ac_var'}'` = yes; then
72711 cat >>confdefs.h <<_ACEOF
72712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72713 _ACEOF
72716 done
72718 else
72720 echo "$as_me:$LINENO: checking for _modf declaration" >&5
72721 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
72722 if test x${glibcxx_cv_func__modf_use+set} != xset; then
72723 if test "${glibcxx_cv_func__modf_use+set}" = set; then
72724 echo $ECHO_N "(cached) $ECHO_C" >&6
72725 else
72729 ac_ext=cc
72730 ac_cpp='$CXXCPP $CPPFLAGS'
72731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72735 cat >conftest.$ac_ext <<_ACEOF
72736 /* confdefs.h. */
72737 _ACEOF
72738 cat confdefs.h >>conftest.$ac_ext
72739 cat >>conftest.$ac_ext <<_ACEOF
72740 /* end confdefs.h. */
72741 #include <math.h>
72743 main ()
72745 _modf(0, 0);
72747 return 0;
72749 _ACEOF
72750 rm -f conftest.$ac_objext
72751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72752 (eval $ac_compile) 2>conftest.er1
72753 ac_status=$?
72754 grep -v '^ *+' conftest.er1 >conftest.err
72755 rm -f conftest.er1
72756 cat conftest.err >&5
72757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72758 (exit $ac_status); } &&
72759 { ac_try='test -z "$ac_cxx_werror_flag"
72760 || test ! -s conftest.err'
72761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72762 (eval $ac_try) 2>&5
72763 ac_status=$?
72764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72765 (exit $ac_status); }; } &&
72766 { ac_try='test -s conftest.$ac_objext'
72767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72768 (eval $ac_try) 2>&5
72769 ac_status=$?
72770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72771 (exit $ac_status); }; }; then
72772 glibcxx_cv_func__modf_use=yes
72773 else
72774 echo "$as_me: failed program was:" >&5
72775 sed 's/^/| /' conftest.$ac_ext >&5
72777 glibcxx_cv_func__modf_use=no
72779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72780 ac_ext=c
72781 ac_cpp='$CPP $CPPFLAGS'
72782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72790 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
72791 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
72793 if test x$glibcxx_cv_func__modf_use = x"yes"; then
72795 for ac_func in _modf
72797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72798 echo "$as_me:$LINENO: checking for $ac_func" >&5
72799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72800 if eval "test \"\${$as_ac_var+set}\" = set"; then
72801 echo $ECHO_N "(cached) $ECHO_C" >&6
72802 else
72803 if test x$gcc_no_link = xyes; then
72804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72806 { (exit 1); exit 1; }; }
72808 cat >conftest.$ac_ext <<_ACEOF
72809 /* confdefs.h. */
72810 _ACEOF
72811 cat confdefs.h >>conftest.$ac_ext
72812 cat >>conftest.$ac_ext <<_ACEOF
72813 /* end confdefs.h. */
72814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72816 #define $ac_func innocuous_$ac_func
72818 /* System header to define __stub macros and hopefully few prototypes,
72819 which can conflict with char $ac_func (); below.
72820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72821 <limits.h> exists even on freestanding compilers. */
72823 #ifdef __STDC__
72824 # include <limits.h>
72825 #else
72826 # include <assert.h>
72827 #endif
72829 #undef $ac_func
72831 /* Override any gcc2 internal prototype to avoid an error. */
72832 #ifdef __cplusplus
72833 extern "C"
72835 #endif
72836 /* We use char because int might match the return type of a gcc2
72837 builtin and then its argument prototype would still apply. */
72838 char $ac_func ();
72839 /* The GNU C library defines this for functions which it implements
72840 to always fail with ENOSYS. Some functions are actually named
72841 something starting with __ and the normal name is an alias. */
72842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72843 choke me
72844 #else
72845 char (*f) () = $ac_func;
72846 #endif
72847 #ifdef __cplusplus
72849 #endif
72852 main ()
72854 return f != $ac_func;
72856 return 0;
72858 _ACEOF
72859 rm -f conftest.$ac_objext conftest$ac_exeext
72860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72861 (eval $ac_link) 2>conftest.er1
72862 ac_status=$?
72863 grep -v '^ *+' conftest.er1 >conftest.err
72864 rm -f conftest.er1
72865 cat conftest.err >&5
72866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72867 (exit $ac_status); } &&
72868 { ac_try='test -z "$ac_c_werror_flag"
72869 || test ! -s conftest.err'
72870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72871 (eval $ac_try) 2>&5
72872 ac_status=$?
72873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72874 (exit $ac_status); }; } &&
72875 { ac_try='test -s conftest$ac_exeext'
72876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72877 (eval $ac_try) 2>&5
72878 ac_status=$?
72879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72880 (exit $ac_status); }; }; then
72881 eval "$as_ac_var=yes"
72882 else
72883 echo "$as_me: failed program was:" >&5
72884 sed 's/^/| /' conftest.$ac_ext >&5
72886 eval "$as_ac_var=no"
72888 rm -f conftest.err conftest.$ac_objext \
72889 conftest$ac_exeext conftest.$ac_ext
72891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72893 if test `eval echo '${'$as_ac_var'}'` = yes; then
72894 cat >>confdefs.h <<_ACEOF
72895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72896 _ACEOF
72899 done
72909 echo "$as_me:$LINENO: checking for powf declaration" >&5
72910 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
72911 if test x${glibcxx_cv_func_powf_use+set} != xset; then
72912 if test "${glibcxx_cv_func_powf_use+set}" = set; then
72913 echo $ECHO_N "(cached) $ECHO_C" >&6
72914 else
72918 ac_ext=cc
72919 ac_cpp='$CXXCPP $CPPFLAGS'
72920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72924 cat >conftest.$ac_ext <<_ACEOF
72925 /* confdefs.h. */
72926 _ACEOF
72927 cat confdefs.h >>conftest.$ac_ext
72928 cat >>conftest.$ac_ext <<_ACEOF
72929 /* end confdefs.h. */
72930 #include <math.h>
72932 main ()
72934 powf(0, 0);
72936 return 0;
72938 _ACEOF
72939 rm -f conftest.$ac_objext
72940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72941 (eval $ac_compile) 2>conftest.er1
72942 ac_status=$?
72943 grep -v '^ *+' conftest.er1 >conftest.err
72944 rm -f conftest.er1
72945 cat conftest.err >&5
72946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72947 (exit $ac_status); } &&
72948 { ac_try='test -z "$ac_cxx_werror_flag"
72949 || test ! -s conftest.err'
72950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72951 (eval $ac_try) 2>&5
72952 ac_status=$?
72953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72954 (exit $ac_status); }; } &&
72955 { ac_try='test -s conftest.$ac_objext'
72956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72957 (eval $ac_try) 2>&5
72958 ac_status=$?
72959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72960 (exit $ac_status); }; }; then
72961 glibcxx_cv_func_powf_use=yes
72962 else
72963 echo "$as_me: failed program was:" >&5
72964 sed 's/^/| /' conftest.$ac_ext >&5
72966 glibcxx_cv_func_powf_use=no
72968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72969 ac_ext=c
72970 ac_cpp='$CPP $CPPFLAGS'
72971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72979 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
72980 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
72982 if test x$glibcxx_cv_func_powf_use = x"yes"; then
72984 for ac_func in powf
72986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72987 echo "$as_me:$LINENO: checking for $ac_func" >&5
72988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72989 if eval "test \"\${$as_ac_var+set}\" = set"; then
72990 echo $ECHO_N "(cached) $ECHO_C" >&6
72991 else
72992 if test x$gcc_no_link = xyes; then
72993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72995 { (exit 1); exit 1; }; }
72997 cat >conftest.$ac_ext <<_ACEOF
72998 /* confdefs.h. */
72999 _ACEOF
73000 cat confdefs.h >>conftest.$ac_ext
73001 cat >>conftest.$ac_ext <<_ACEOF
73002 /* end confdefs.h. */
73003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73005 #define $ac_func innocuous_$ac_func
73007 /* System header to define __stub macros and hopefully few prototypes,
73008 which can conflict with char $ac_func (); below.
73009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73010 <limits.h> exists even on freestanding compilers. */
73012 #ifdef __STDC__
73013 # include <limits.h>
73014 #else
73015 # include <assert.h>
73016 #endif
73018 #undef $ac_func
73020 /* Override any gcc2 internal prototype to avoid an error. */
73021 #ifdef __cplusplus
73022 extern "C"
73024 #endif
73025 /* We use char because int might match the return type of a gcc2
73026 builtin and then its argument prototype would still apply. */
73027 char $ac_func ();
73028 /* The GNU C library defines this for functions which it implements
73029 to always fail with ENOSYS. Some functions are actually named
73030 something starting with __ and the normal name is an alias. */
73031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73032 choke me
73033 #else
73034 char (*f) () = $ac_func;
73035 #endif
73036 #ifdef __cplusplus
73038 #endif
73041 main ()
73043 return f != $ac_func;
73045 return 0;
73047 _ACEOF
73048 rm -f conftest.$ac_objext conftest$ac_exeext
73049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73050 (eval $ac_link) 2>conftest.er1
73051 ac_status=$?
73052 grep -v '^ *+' conftest.er1 >conftest.err
73053 rm -f conftest.er1
73054 cat conftest.err >&5
73055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73056 (exit $ac_status); } &&
73057 { ac_try='test -z "$ac_c_werror_flag"
73058 || test ! -s conftest.err'
73059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73060 (eval $ac_try) 2>&5
73061 ac_status=$?
73062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73063 (exit $ac_status); }; } &&
73064 { ac_try='test -s conftest$ac_exeext'
73065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73066 (eval $ac_try) 2>&5
73067 ac_status=$?
73068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73069 (exit $ac_status); }; }; then
73070 eval "$as_ac_var=yes"
73071 else
73072 echo "$as_me: failed program was:" >&5
73073 sed 's/^/| /' conftest.$ac_ext >&5
73075 eval "$as_ac_var=no"
73077 rm -f conftest.err conftest.$ac_objext \
73078 conftest$ac_exeext conftest.$ac_ext
73080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73082 if test `eval echo '${'$as_ac_var'}'` = yes; then
73083 cat >>confdefs.h <<_ACEOF
73084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73085 _ACEOF
73088 done
73090 else
73092 echo "$as_me:$LINENO: checking for _powf declaration" >&5
73093 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
73094 if test x${glibcxx_cv_func__powf_use+set} != xset; then
73095 if test "${glibcxx_cv_func__powf_use+set}" = set; then
73096 echo $ECHO_N "(cached) $ECHO_C" >&6
73097 else
73101 ac_ext=cc
73102 ac_cpp='$CXXCPP $CPPFLAGS'
73103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73107 cat >conftest.$ac_ext <<_ACEOF
73108 /* confdefs.h. */
73109 _ACEOF
73110 cat confdefs.h >>conftest.$ac_ext
73111 cat >>conftest.$ac_ext <<_ACEOF
73112 /* end confdefs.h. */
73113 #include <math.h>
73115 main ()
73117 _powf(0, 0);
73119 return 0;
73121 _ACEOF
73122 rm -f conftest.$ac_objext
73123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73124 (eval $ac_compile) 2>conftest.er1
73125 ac_status=$?
73126 grep -v '^ *+' conftest.er1 >conftest.err
73127 rm -f conftest.er1
73128 cat conftest.err >&5
73129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73130 (exit $ac_status); } &&
73131 { ac_try='test -z "$ac_cxx_werror_flag"
73132 || test ! -s conftest.err'
73133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73134 (eval $ac_try) 2>&5
73135 ac_status=$?
73136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73137 (exit $ac_status); }; } &&
73138 { ac_try='test -s conftest.$ac_objext'
73139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73140 (eval $ac_try) 2>&5
73141 ac_status=$?
73142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73143 (exit $ac_status); }; }; then
73144 glibcxx_cv_func__powf_use=yes
73145 else
73146 echo "$as_me: failed program was:" >&5
73147 sed 's/^/| /' conftest.$ac_ext >&5
73149 glibcxx_cv_func__powf_use=no
73151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73152 ac_ext=c
73153 ac_cpp='$CPP $CPPFLAGS'
73154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73162 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
73163 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
73165 if test x$glibcxx_cv_func__powf_use = x"yes"; then
73167 for ac_func in _powf
73169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73170 echo "$as_me:$LINENO: checking for $ac_func" >&5
73171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73172 if eval "test \"\${$as_ac_var+set}\" = set"; then
73173 echo $ECHO_N "(cached) $ECHO_C" >&6
73174 else
73175 if test x$gcc_no_link = xyes; then
73176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73178 { (exit 1); exit 1; }; }
73180 cat >conftest.$ac_ext <<_ACEOF
73181 /* confdefs.h. */
73182 _ACEOF
73183 cat confdefs.h >>conftest.$ac_ext
73184 cat >>conftest.$ac_ext <<_ACEOF
73185 /* end confdefs.h. */
73186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73188 #define $ac_func innocuous_$ac_func
73190 /* System header to define __stub macros and hopefully few prototypes,
73191 which can conflict with char $ac_func (); below.
73192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73193 <limits.h> exists even on freestanding compilers. */
73195 #ifdef __STDC__
73196 # include <limits.h>
73197 #else
73198 # include <assert.h>
73199 #endif
73201 #undef $ac_func
73203 /* Override any gcc2 internal prototype to avoid an error. */
73204 #ifdef __cplusplus
73205 extern "C"
73207 #endif
73208 /* We use char because int might match the return type of a gcc2
73209 builtin and then its argument prototype would still apply. */
73210 char $ac_func ();
73211 /* The GNU C library defines this for functions which it implements
73212 to always fail with ENOSYS. Some functions are actually named
73213 something starting with __ and the normal name is an alias. */
73214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73215 choke me
73216 #else
73217 char (*f) () = $ac_func;
73218 #endif
73219 #ifdef __cplusplus
73221 #endif
73224 main ()
73226 return f != $ac_func;
73228 return 0;
73230 _ACEOF
73231 rm -f conftest.$ac_objext conftest$ac_exeext
73232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73233 (eval $ac_link) 2>conftest.er1
73234 ac_status=$?
73235 grep -v '^ *+' conftest.er1 >conftest.err
73236 rm -f conftest.er1
73237 cat conftest.err >&5
73238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73239 (exit $ac_status); } &&
73240 { ac_try='test -z "$ac_c_werror_flag"
73241 || test ! -s conftest.err'
73242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73243 (eval $ac_try) 2>&5
73244 ac_status=$?
73245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73246 (exit $ac_status); }; } &&
73247 { ac_try='test -s conftest$ac_exeext'
73248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73249 (eval $ac_try) 2>&5
73250 ac_status=$?
73251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73252 (exit $ac_status); }; }; then
73253 eval "$as_ac_var=yes"
73254 else
73255 echo "$as_me: failed program was:" >&5
73256 sed 's/^/| /' conftest.$ac_ext >&5
73258 eval "$as_ac_var=no"
73260 rm -f conftest.err conftest.$ac_objext \
73261 conftest$ac_exeext conftest.$ac_ext
73263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73265 if test `eval echo '${'$as_ac_var'}'` = yes; then
73266 cat >>confdefs.h <<_ACEOF
73267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73268 _ACEOF
73271 done
73281 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
73282 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
73283 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
73284 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
73285 echo $ECHO_N "(cached) $ECHO_C" >&6
73286 else
73290 ac_ext=cc
73291 ac_cpp='$CXXCPP $CPPFLAGS'
73292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73296 cat >conftest.$ac_ext <<_ACEOF
73297 /* confdefs.h. */
73298 _ACEOF
73299 cat confdefs.h >>conftest.$ac_ext
73300 cat >>conftest.$ac_ext <<_ACEOF
73301 /* end confdefs.h. */
73302 #include <math.h>
73303 #ifdef HAVE_IEEEFP_H
73304 #include <ieeefp.h>
73305 #endif
73308 main ()
73310 sqrtf(0);
73312 return 0;
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_cxx_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 glibcxx_cv_func_sqrtf_use=yes
73338 else
73339 echo "$as_me: failed program was:" >&5
73340 sed 's/^/| /' conftest.$ac_ext >&5
73342 glibcxx_cv_func_sqrtf_use=no
73344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73345 ac_ext=c
73346 ac_cpp='$CPP $CPPFLAGS'
73347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73355 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
73356 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
73358 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
73360 for ac_func in sqrtf
73362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73363 echo "$as_me:$LINENO: checking for $ac_func" >&5
73364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73365 if eval "test \"\${$as_ac_var+set}\" = set"; then
73366 echo $ECHO_N "(cached) $ECHO_C" >&6
73367 else
73368 if test x$gcc_no_link = xyes; then
73369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73371 { (exit 1); exit 1; }; }
73373 cat >conftest.$ac_ext <<_ACEOF
73374 /* confdefs.h. */
73375 _ACEOF
73376 cat confdefs.h >>conftest.$ac_ext
73377 cat >>conftest.$ac_ext <<_ACEOF
73378 /* end confdefs.h. */
73379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73381 #define $ac_func innocuous_$ac_func
73383 /* System header to define __stub macros and hopefully few prototypes,
73384 which can conflict with char $ac_func (); below.
73385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73386 <limits.h> exists even on freestanding compilers. */
73388 #ifdef __STDC__
73389 # include <limits.h>
73390 #else
73391 # include <assert.h>
73392 #endif
73394 #undef $ac_func
73396 /* Override any gcc2 internal prototype to avoid an error. */
73397 #ifdef __cplusplus
73398 extern "C"
73400 #endif
73401 /* We use char because int might match the return type of a gcc2
73402 builtin and then its argument prototype would still apply. */
73403 char $ac_func ();
73404 /* The GNU C library defines this for functions which it implements
73405 to always fail with ENOSYS. Some functions are actually named
73406 something starting with __ and the normal name is an alias. */
73407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73408 choke me
73409 #else
73410 char (*f) () = $ac_func;
73411 #endif
73412 #ifdef __cplusplus
73414 #endif
73417 main ()
73419 return f != $ac_func;
73421 return 0;
73423 _ACEOF
73424 rm -f conftest.$ac_objext conftest$ac_exeext
73425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73426 (eval $ac_link) 2>conftest.er1
73427 ac_status=$?
73428 grep -v '^ *+' conftest.er1 >conftest.err
73429 rm -f conftest.er1
73430 cat conftest.err >&5
73431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73432 (exit $ac_status); } &&
73433 { ac_try='test -z "$ac_c_werror_flag"
73434 || test ! -s conftest.err'
73435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73436 (eval $ac_try) 2>&5
73437 ac_status=$?
73438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73439 (exit $ac_status); }; } &&
73440 { ac_try='test -s conftest$ac_exeext'
73441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73442 (eval $ac_try) 2>&5
73443 ac_status=$?
73444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73445 (exit $ac_status); }; }; then
73446 eval "$as_ac_var=yes"
73447 else
73448 echo "$as_me: failed program was:" >&5
73449 sed 's/^/| /' conftest.$ac_ext >&5
73451 eval "$as_ac_var=no"
73453 rm -f conftest.err conftest.$ac_objext \
73454 conftest$ac_exeext conftest.$ac_ext
73456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73458 if test `eval echo '${'$as_ac_var'}'` = yes; then
73459 cat >>confdefs.h <<_ACEOF
73460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73461 _ACEOF
73464 done
73466 else
73468 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
73469 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
73470 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
73471 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
73472 echo $ECHO_N "(cached) $ECHO_C" >&6
73473 else
73477 ac_ext=cc
73478 ac_cpp='$CXXCPP $CPPFLAGS'
73479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73483 cat >conftest.$ac_ext <<_ACEOF
73484 /* confdefs.h. */
73485 _ACEOF
73486 cat confdefs.h >>conftest.$ac_ext
73487 cat >>conftest.$ac_ext <<_ACEOF
73488 /* end confdefs.h. */
73489 #include <math.h>
73490 #ifdef HAVE_IEEEFP_H
73491 #include <ieeefp.h>
73492 #endif
73495 main ()
73497 _sqrtf(0);
73499 return 0;
73501 _ACEOF
73502 rm -f conftest.$ac_objext
73503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73504 (eval $ac_compile) 2>conftest.er1
73505 ac_status=$?
73506 grep -v '^ *+' conftest.er1 >conftest.err
73507 rm -f conftest.er1
73508 cat conftest.err >&5
73509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73510 (exit $ac_status); } &&
73511 { ac_try='test -z "$ac_cxx_werror_flag"
73512 || test ! -s conftest.err'
73513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73514 (eval $ac_try) 2>&5
73515 ac_status=$?
73516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73517 (exit $ac_status); }; } &&
73518 { ac_try='test -s conftest.$ac_objext'
73519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73520 (eval $ac_try) 2>&5
73521 ac_status=$?
73522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73523 (exit $ac_status); }; }; then
73524 glibcxx_cv_func__sqrtf_use=yes
73525 else
73526 echo "$as_me: failed program was:" >&5
73527 sed 's/^/| /' conftest.$ac_ext >&5
73529 glibcxx_cv_func__sqrtf_use=no
73531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73532 ac_ext=c
73533 ac_cpp='$CPP $CPPFLAGS'
73534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73542 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
73543 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
73545 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
73547 for ac_func in _sqrtf
73549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73550 echo "$as_me:$LINENO: checking for $ac_func" >&5
73551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73552 if eval "test \"\${$as_ac_var+set}\" = set"; then
73553 echo $ECHO_N "(cached) $ECHO_C" >&6
73554 else
73555 if test x$gcc_no_link = xyes; then
73556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73558 { (exit 1); exit 1; }; }
73560 cat >conftest.$ac_ext <<_ACEOF
73561 /* confdefs.h. */
73562 _ACEOF
73563 cat confdefs.h >>conftest.$ac_ext
73564 cat >>conftest.$ac_ext <<_ACEOF
73565 /* end confdefs.h. */
73566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73568 #define $ac_func innocuous_$ac_func
73570 /* System header to define __stub macros and hopefully few prototypes,
73571 which can conflict with char $ac_func (); below.
73572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73573 <limits.h> exists even on freestanding compilers. */
73575 #ifdef __STDC__
73576 # include <limits.h>
73577 #else
73578 # include <assert.h>
73579 #endif
73581 #undef $ac_func
73583 /* Override any gcc2 internal prototype to avoid an error. */
73584 #ifdef __cplusplus
73585 extern "C"
73587 #endif
73588 /* We use char because int might match the return type of a gcc2
73589 builtin and then its argument prototype would still apply. */
73590 char $ac_func ();
73591 /* The GNU C library defines this for functions which it implements
73592 to always fail with ENOSYS. Some functions are actually named
73593 something starting with __ and the normal name is an alias. */
73594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73595 choke me
73596 #else
73597 char (*f) () = $ac_func;
73598 #endif
73599 #ifdef __cplusplus
73601 #endif
73604 main ()
73606 return f != $ac_func;
73608 return 0;
73610 _ACEOF
73611 rm -f conftest.$ac_objext conftest$ac_exeext
73612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73613 (eval $ac_link) 2>conftest.er1
73614 ac_status=$?
73615 grep -v '^ *+' conftest.er1 >conftest.err
73616 rm -f conftest.er1
73617 cat conftest.err >&5
73618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73619 (exit $ac_status); } &&
73620 { ac_try='test -z "$ac_c_werror_flag"
73621 || test ! -s conftest.err'
73622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73623 (eval $ac_try) 2>&5
73624 ac_status=$?
73625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73626 (exit $ac_status); }; } &&
73627 { ac_try='test -s conftest$ac_exeext'
73628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73629 (eval $ac_try) 2>&5
73630 ac_status=$?
73631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73632 (exit $ac_status); }; }; then
73633 eval "$as_ac_var=yes"
73634 else
73635 echo "$as_me: failed program was:" >&5
73636 sed 's/^/| /' conftest.$ac_ext >&5
73638 eval "$as_ac_var=no"
73640 rm -f conftest.err conftest.$ac_objext \
73641 conftest$ac_exeext conftest.$ac_ext
73643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73645 if test `eval echo '${'$as_ac_var'}'` = yes; then
73646 cat >>confdefs.h <<_ACEOF
73647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73648 _ACEOF
73651 done
73661 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
73662 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
73663 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
73664 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
73665 echo $ECHO_N "(cached) $ECHO_C" >&6
73666 else
73670 ac_ext=cc
73671 ac_cpp='$CXXCPP $CPPFLAGS'
73672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73676 cat >conftest.$ac_ext <<_ACEOF
73677 /* confdefs.h. */
73678 _ACEOF
73679 cat confdefs.h >>conftest.$ac_ext
73680 cat >>conftest.$ac_ext <<_ACEOF
73681 /* end confdefs.h. */
73682 #include <math.h>
73684 main ()
73686 sincosf(0, 0, 0);
73688 return 0;
73690 _ACEOF
73691 rm -f conftest.$ac_objext
73692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73693 (eval $ac_compile) 2>conftest.er1
73694 ac_status=$?
73695 grep -v '^ *+' conftest.er1 >conftest.err
73696 rm -f conftest.er1
73697 cat conftest.err >&5
73698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73699 (exit $ac_status); } &&
73700 { ac_try='test -z "$ac_cxx_werror_flag"
73701 || test ! -s conftest.err'
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); }; } &&
73707 { ac_try='test -s conftest.$ac_objext'
73708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73709 (eval $ac_try) 2>&5
73710 ac_status=$?
73711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73712 (exit $ac_status); }; }; then
73713 glibcxx_cv_func_sincosf_use=yes
73714 else
73715 echo "$as_me: failed program was:" >&5
73716 sed 's/^/| /' conftest.$ac_ext >&5
73718 glibcxx_cv_func_sincosf_use=no
73720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73721 ac_ext=c
73722 ac_cpp='$CPP $CPPFLAGS'
73723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73731 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
73732 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
73734 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
73736 for ac_func in sincosf
73738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73739 echo "$as_me:$LINENO: checking for $ac_func" >&5
73740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73741 if eval "test \"\${$as_ac_var+set}\" = set"; then
73742 echo $ECHO_N "(cached) $ECHO_C" >&6
73743 else
73744 if test x$gcc_no_link = xyes; then
73745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73747 { (exit 1); exit 1; }; }
73749 cat >conftest.$ac_ext <<_ACEOF
73750 /* confdefs.h. */
73751 _ACEOF
73752 cat confdefs.h >>conftest.$ac_ext
73753 cat >>conftest.$ac_ext <<_ACEOF
73754 /* end confdefs.h. */
73755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73757 #define $ac_func innocuous_$ac_func
73759 /* System header to define __stub macros and hopefully few prototypes,
73760 which can conflict with char $ac_func (); below.
73761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73762 <limits.h> exists even on freestanding compilers. */
73764 #ifdef __STDC__
73765 # include <limits.h>
73766 #else
73767 # include <assert.h>
73768 #endif
73770 #undef $ac_func
73772 /* Override any gcc2 internal prototype to avoid an error. */
73773 #ifdef __cplusplus
73774 extern "C"
73776 #endif
73777 /* We use char because int might match the return type of a gcc2
73778 builtin and then its argument prototype would still apply. */
73779 char $ac_func ();
73780 /* The GNU C library defines this for functions which it implements
73781 to always fail with ENOSYS. Some functions are actually named
73782 something starting with __ and the normal name is an alias. */
73783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73784 choke me
73785 #else
73786 char (*f) () = $ac_func;
73787 #endif
73788 #ifdef __cplusplus
73790 #endif
73793 main ()
73795 return f != $ac_func;
73797 return 0;
73799 _ACEOF
73800 rm -f conftest.$ac_objext conftest$ac_exeext
73801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73802 (eval $ac_link) 2>conftest.er1
73803 ac_status=$?
73804 grep -v '^ *+' conftest.er1 >conftest.err
73805 rm -f conftest.er1
73806 cat conftest.err >&5
73807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73808 (exit $ac_status); } &&
73809 { ac_try='test -z "$ac_c_werror_flag"
73810 || test ! -s conftest.err'
73811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73812 (eval $ac_try) 2>&5
73813 ac_status=$?
73814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73815 (exit $ac_status); }; } &&
73816 { ac_try='test -s conftest$ac_exeext'
73817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73818 (eval $ac_try) 2>&5
73819 ac_status=$?
73820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73821 (exit $ac_status); }; }; then
73822 eval "$as_ac_var=yes"
73823 else
73824 echo "$as_me: failed program was:" >&5
73825 sed 's/^/| /' conftest.$ac_ext >&5
73827 eval "$as_ac_var=no"
73829 rm -f conftest.err conftest.$ac_objext \
73830 conftest$ac_exeext conftest.$ac_ext
73832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73834 if test `eval echo '${'$as_ac_var'}'` = yes; then
73835 cat >>confdefs.h <<_ACEOF
73836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73837 _ACEOF
73840 done
73842 else
73844 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
73845 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
73846 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
73847 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
73848 echo $ECHO_N "(cached) $ECHO_C" >&6
73849 else
73853 ac_ext=cc
73854 ac_cpp='$CXXCPP $CPPFLAGS'
73855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73859 cat >conftest.$ac_ext <<_ACEOF
73860 /* confdefs.h. */
73861 _ACEOF
73862 cat confdefs.h >>conftest.$ac_ext
73863 cat >>conftest.$ac_ext <<_ACEOF
73864 /* end confdefs.h. */
73865 #include <math.h>
73867 main ()
73869 _sincosf(0, 0, 0);
73871 return 0;
73873 _ACEOF
73874 rm -f conftest.$ac_objext
73875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73876 (eval $ac_compile) 2>conftest.er1
73877 ac_status=$?
73878 grep -v '^ *+' conftest.er1 >conftest.err
73879 rm -f conftest.er1
73880 cat conftest.err >&5
73881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73882 (exit $ac_status); } &&
73883 { ac_try='test -z "$ac_cxx_werror_flag"
73884 || test ! -s conftest.err'
73885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73886 (eval $ac_try) 2>&5
73887 ac_status=$?
73888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73889 (exit $ac_status); }; } &&
73890 { ac_try='test -s conftest.$ac_objext'
73891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73892 (eval $ac_try) 2>&5
73893 ac_status=$?
73894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73895 (exit $ac_status); }; }; then
73896 glibcxx_cv_func__sincosf_use=yes
73897 else
73898 echo "$as_me: failed program was:" >&5
73899 sed 's/^/| /' conftest.$ac_ext >&5
73901 glibcxx_cv_func__sincosf_use=no
73903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73904 ac_ext=c
73905 ac_cpp='$CPP $CPPFLAGS'
73906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73914 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
73915 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
73917 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
73919 for ac_func in _sincosf
73921 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73922 echo "$as_me:$LINENO: checking for $ac_func" >&5
73923 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73924 if eval "test \"\${$as_ac_var+set}\" = set"; then
73925 echo $ECHO_N "(cached) $ECHO_C" >&6
73926 else
73927 if test x$gcc_no_link = xyes; then
73928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73930 { (exit 1); exit 1; }; }
73932 cat >conftest.$ac_ext <<_ACEOF
73933 /* confdefs.h. */
73934 _ACEOF
73935 cat confdefs.h >>conftest.$ac_ext
73936 cat >>conftest.$ac_ext <<_ACEOF
73937 /* end confdefs.h. */
73938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73940 #define $ac_func innocuous_$ac_func
73942 /* System header to define __stub macros and hopefully few prototypes,
73943 which can conflict with char $ac_func (); below.
73944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73945 <limits.h> exists even on freestanding compilers. */
73947 #ifdef __STDC__
73948 # include <limits.h>
73949 #else
73950 # include <assert.h>
73951 #endif
73953 #undef $ac_func
73955 /* Override any gcc2 internal prototype to avoid an error. */
73956 #ifdef __cplusplus
73957 extern "C"
73959 #endif
73960 /* We use char because int might match the return type of a gcc2
73961 builtin and then its argument prototype would still apply. */
73962 char $ac_func ();
73963 /* The GNU C library defines this for functions which it implements
73964 to always fail with ENOSYS. Some functions are actually named
73965 something starting with __ and the normal name is an alias. */
73966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73967 choke me
73968 #else
73969 char (*f) () = $ac_func;
73970 #endif
73971 #ifdef __cplusplus
73973 #endif
73976 main ()
73978 return f != $ac_func;
73980 return 0;
73982 _ACEOF
73983 rm -f conftest.$ac_objext conftest$ac_exeext
73984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73985 (eval $ac_link) 2>conftest.er1
73986 ac_status=$?
73987 grep -v '^ *+' conftest.er1 >conftest.err
73988 rm -f conftest.er1
73989 cat conftest.err >&5
73990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73991 (exit $ac_status); } &&
73992 { ac_try='test -z "$ac_c_werror_flag"
73993 || test ! -s conftest.err'
73994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73995 (eval $ac_try) 2>&5
73996 ac_status=$?
73997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73998 (exit $ac_status); }; } &&
73999 { ac_try='test -s conftest$ac_exeext'
74000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74001 (eval $ac_try) 2>&5
74002 ac_status=$?
74003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74004 (exit $ac_status); }; }; then
74005 eval "$as_ac_var=yes"
74006 else
74007 echo "$as_me: failed program was:" >&5
74008 sed 's/^/| /' conftest.$ac_ext >&5
74010 eval "$as_ac_var=no"
74012 rm -f conftest.err conftest.$ac_objext \
74013 conftest$ac_exeext conftest.$ac_ext
74015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74017 if test `eval echo '${'$as_ac_var'}'` = yes; then
74018 cat >>confdefs.h <<_ACEOF
74019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74020 _ACEOF
74023 done
74033 echo "$as_me:$LINENO: checking for finitef declaration" >&5
74034 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
74035 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74036 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
74037 echo $ECHO_N "(cached) $ECHO_C" >&6
74038 else
74042 ac_ext=cc
74043 ac_cpp='$CXXCPP $CPPFLAGS'
74044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74048 cat >conftest.$ac_ext <<_ACEOF
74049 /* confdefs.h. */
74050 _ACEOF
74051 cat confdefs.h >>conftest.$ac_ext
74052 cat >>conftest.$ac_ext <<_ACEOF
74053 /* end confdefs.h. */
74054 #include <math.h>
74055 #ifdef HAVE_IEEEFP_H
74056 #include <ieeefp.h>
74057 #endif
74060 main ()
74062 finitef(0);
74064 return 0;
74066 _ACEOF
74067 rm -f conftest.$ac_objext
74068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74069 (eval $ac_compile) 2>conftest.er1
74070 ac_status=$?
74071 grep -v '^ *+' conftest.er1 >conftest.err
74072 rm -f conftest.er1
74073 cat conftest.err >&5
74074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74075 (exit $ac_status); } &&
74076 { ac_try='test -z "$ac_cxx_werror_flag"
74077 || test ! -s conftest.err'
74078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74079 (eval $ac_try) 2>&5
74080 ac_status=$?
74081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74082 (exit $ac_status); }; } &&
74083 { ac_try='test -s conftest.$ac_objext'
74084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74085 (eval $ac_try) 2>&5
74086 ac_status=$?
74087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74088 (exit $ac_status); }; }; then
74089 glibcxx_cv_func_finitef_use=yes
74090 else
74091 echo "$as_me: failed program was:" >&5
74092 sed 's/^/| /' conftest.$ac_ext >&5
74094 glibcxx_cv_func_finitef_use=no
74096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74097 ac_ext=c
74098 ac_cpp='$CPP $CPPFLAGS'
74099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74107 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
74108 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
74110 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74112 for ac_func in finitef
74114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74115 echo "$as_me:$LINENO: checking for $ac_func" >&5
74116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74117 if eval "test \"\${$as_ac_var+set}\" = set"; then
74118 echo $ECHO_N "(cached) $ECHO_C" >&6
74119 else
74120 if test x$gcc_no_link = xyes; then
74121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74123 { (exit 1); exit 1; }; }
74125 cat >conftest.$ac_ext <<_ACEOF
74126 /* confdefs.h. */
74127 _ACEOF
74128 cat confdefs.h >>conftest.$ac_ext
74129 cat >>conftest.$ac_ext <<_ACEOF
74130 /* end confdefs.h. */
74131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74133 #define $ac_func innocuous_$ac_func
74135 /* System header to define __stub macros and hopefully few prototypes,
74136 which can conflict with char $ac_func (); below.
74137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74138 <limits.h> exists even on freestanding compilers. */
74140 #ifdef __STDC__
74141 # include <limits.h>
74142 #else
74143 # include <assert.h>
74144 #endif
74146 #undef $ac_func
74148 /* Override any gcc2 internal prototype to avoid an error. */
74149 #ifdef __cplusplus
74150 extern "C"
74152 #endif
74153 /* We use char because int might match the return type of a gcc2
74154 builtin and then its argument prototype would still apply. */
74155 char $ac_func ();
74156 /* The GNU C library defines this for functions which it implements
74157 to always fail with ENOSYS. Some functions are actually named
74158 something starting with __ and the normal name is an alias. */
74159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74160 choke me
74161 #else
74162 char (*f) () = $ac_func;
74163 #endif
74164 #ifdef __cplusplus
74166 #endif
74169 main ()
74171 return f != $ac_func;
74173 return 0;
74175 _ACEOF
74176 rm -f conftest.$ac_objext conftest$ac_exeext
74177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74178 (eval $ac_link) 2>conftest.er1
74179 ac_status=$?
74180 grep -v '^ *+' conftest.er1 >conftest.err
74181 rm -f conftest.er1
74182 cat conftest.err >&5
74183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74184 (exit $ac_status); } &&
74185 { ac_try='test -z "$ac_c_werror_flag"
74186 || test ! -s conftest.err'
74187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74188 (eval $ac_try) 2>&5
74189 ac_status=$?
74190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74191 (exit $ac_status); }; } &&
74192 { ac_try='test -s conftest$ac_exeext'
74193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74194 (eval $ac_try) 2>&5
74195 ac_status=$?
74196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74197 (exit $ac_status); }; }; then
74198 eval "$as_ac_var=yes"
74199 else
74200 echo "$as_me: failed program was:" >&5
74201 sed 's/^/| /' conftest.$ac_ext >&5
74203 eval "$as_ac_var=no"
74205 rm -f conftest.err conftest.$ac_objext \
74206 conftest$ac_exeext conftest.$ac_ext
74208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74210 if test `eval echo '${'$as_ac_var'}'` = yes; then
74211 cat >>confdefs.h <<_ACEOF
74212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74213 _ACEOF
74216 done
74218 else
74220 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
74221 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
74222 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74223 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
74224 echo $ECHO_N "(cached) $ECHO_C" >&6
74225 else
74229 ac_ext=cc
74230 ac_cpp='$CXXCPP $CPPFLAGS'
74231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74235 cat >conftest.$ac_ext <<_ACEOF
74236 /* confdefs.h. */
74237 _ACEOF
74238 cat confdefs.h >>conftest.$ac_ext
74239 cat >>conftest.$ac_ext <<_ACEOF
74240 /* end confdefs.h. */
74241 #include <math.h>
74242 #ifdef HAVE_IEEEFP_H
74243 #include <ieeefp.h>
74244 #endif
74247 main ()
74249 _finitef(0);
74251 return 0;
74253 _ACEOF
74254 rm -f conftest.$ac_objext
74255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74256 (eval $ac_compile) 2>conftest.er1
74257 ac_status=$?
74258 grep -v '^ *+' conftest.er1 >conftest.err
74259 rm -f conftest.er1
74260 cat conftest.err >&5
74261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74262 (exit $ac_status); } &&
74263 { ac_try='test -z "$ac_cxx_werror_flag"
74264 || test ! -s conftest.err'
74265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74266 (eval $ac_try) 2>&5
74267 ac_status=$?
74268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74269 (exit $ac_status); }; } &&
74270 { ac_try='test -s conftest.$ac_objext'
74271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74272 (eval $ac_try) 2>&5
74273 ac_status=$?
74274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74275 (exit $ac_status); }; }; then
74276 glibcxx_cv_func__finitef_use=yes
74277 else
74278 echo "$as_me: failed program was:" >&5
74279 sed 's/^/| /' conftest.$ac_ext >&5
74281 glibcxx_cv_func__finitef_use=no
74283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74284 ac_ext=c
74285 ac_cpp='$CPP $CPPFLAGS'
74286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74294 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
74295 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
74297 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74299 for ac_func in _finitef
74301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74302 echo "$as_me:$LINENO: checking for $ac_func" >&5
74303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74304 if eval "test \"\${$as_ac_var+set}\" = set"; then
74305 echo $ECHO_N "(cached) $ECHO_C" >&6
74306 else
74307 if test x$gcc_no_link = xyes; then
74308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74310 { (exit 1); exit 1; }; }
74312 cat >conftest.$ac_ext <<_ACEOF
74313 /* confdefs.h. */
74314 _ACEOF
74315 cat confdefs.h >>conftest.$ac_ext
74316 cat >>conftest.$ac_ext <<_ACEOF
74317 /* end confdefs.h. */
74318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74320 #define $ac_func innocuous_$ac_func
74322 /* System header to define __stub macros and hopefully few prototypes,
74323 which can conflict with char $ac_func (); below.
74324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74325 <limits.h> exists even on freestanding compilers. */
74327 #ifdef __STDC__
74328 # include <limits.h>
74329 #else
74330 # include <assert.h>
74331 #endif
74333 #undef $ac_func
74335 /* Override any gcc2 internal prototype to avoid an error. */
74336 #ifdef __cplusplus
74337 extern "C"
74339 #endif
74340 /* We use char because int might match the return type of a gcc2
74341 builtin and then its argument prototype would still apply. */
74342 char $ac_func ();
74343 /* The GNU C library defines this for functions which it implements
74344 to always fail with ENOSYS. Some functions are actually named
74345 something starting with __ and the normal name is an alias. */
74346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74347 choke me
74348 #else
74349 char (*f) () = $ac_func;
74350 #endif
74351 #ifdef __cplusplus
74353 #endif
74356 main ()
74358 return f != $ac_func;
74360 return 0;
74362 _ACEOF
74363 rm -f conftest.$ac_objext conftest$ac_exeext
74364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74365 (eval $ac_link) 2>conftest.er1
74366 ac_status=$?
74367 grep -v '^ *+' conftest.er1 >conftest.err
74368 rm -f conftest.er1
74369 cat conftest.err >&5
74370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74371 (exit $ac_status); } &&
74372 { ac_try='test -z "$ac_c_werror_flag"
74373 || test ! -s conftest.err'
74374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74375 (eval $ac_try) 2>&5
74376 ac_status=$?
74377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74378 (exit $ac_status); }; } &&
74379 { ac_try='test -s conftest$ac_exeext'
74380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74381 (eval $ac_try) 2>&5
74382 ac_status=$?
74383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74384 (exit $ac_status); }; }; then
74385 eval "$as_ac_var=yes"
74386 else
74387 echo "$as_me: failed program was:" >&5
74388 sed 's/^/| /' conftest.$ac_ext >&5
74390 eval "$as_ac_var=no"
74392 rm -f conftest.err conftest.$ac_objext \
74393 conftest$ac_exeext conftest.$ac_ext
74395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74397 if test `eval echo '${'$as_ac_var'}'` = yes; then
74398 cat >>confdefs.h <<_ACEOF
74399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74400 _ACEOF
74403 done
74413 echo "$as_me:$LINENO: checking for long double trig functions" >&5
74414 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
74415 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
74416 echo $ECHO_N "(cached) $ECHO_C" >&6
74417 else
74421 ac_ext=cc
74422 ac_cpp='$CXXCPP $CPPFLAGS'
74423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74427 cat >conftest.$ac_ext <<_ACEOF
74428 /* confdefs.h. */
74429 _ACEOF
74430 cat confdefs.h >>conftest.$ac_ext
74431 cat >>conftest.$ac_ext <<_ACEOF
74432 /* end confdefs.h. */
74433 #include <math.h>
74435 main ()
74437 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74439 return 0;
74441 _ACEOF
74442 rm -f conftest.$ac_objext
74443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74444 (eval $ac_compile) 2>conftest.er1
74445 ac_status=$?
74446 grep -v '^ *+' conftest.er1 >conftest.err
74447 rm -f conftest.er1
74448 cat conftest.err >&5
74449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74450 (exit $ac_status); } &&
74451 { ac_try='test -z "$ac_cxx_werror_flag"
74452 || test ! -s conftest.err'
74453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74454 (eval $ac_try) 2>&5
74455 ac_status=$?
74456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74457 (exit $ac_status); }; } &&
74458 { ac_try='test -s conftest.$ac_objext'
74459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74460 (eval $ac_try) 2>&5
74461 ac_status=$?
74462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74463 (exit $ac_status); }; }; then
74464 glibcxx_cv_func_long_double_trig_use=yes
74465 else
74466 echo "$as_me: failed program was:" >&5
74467 sed 's/^/| /' conftest.$ac_ext >&5
74469 glibcxx_cv_func_long_double_trig_use=no
74471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74472 ac_ext=c
74473 ac_cpp='$CPP $CPPFLAGS'
74474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74480 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
74481 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
74482 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74492 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74495 echo "$as_me:$LINENO: checking for $ac_func" >&5
74496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74497 if eval "test \"\${$as_ac_var+set}\" = set"; then
74498 echo $ECHO_N "(cached) $ECHO_C" >&6
74499 else
74500 if test x$gcc_no_link = xyes; then
74501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74503 { (exit 1); exit 1; }; }
74505 cat >conftest.$ac_ext <<_ACEOF
74506 /* confdefs.h. */
74507 _ACEOF
74508 cat confdefs.h >>conftest.$ac_ext
74509 cat >>conftest.$ac_ext <<_ACEOF
74510 /* end confdefs.h. */
74511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74513 #define $ac_func innocuous_$ac_func
74515 /* System header to define __stub macros and hopefully few prototypes,
74516 which can conflict with char $ac_func (); below.
74517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74518 <limits.h> exists even on freestanding compilers. */
74520 #ifdef __STDC__
74521 # include <limits.h>
74522 #else
74523 # include <assert.h>
74524 #endif
74526 #undef $ac_func
74528 /* Override any gcc2 internal prototype to avoid an error. */
74529 #ifdef __cplusplus
74530 extern "C"
74532 #endif
74533 /* We use char because int might match the return type of a gcc2
74534 builtin and then its argument prototype would still apply. */
74535 char $ac_func ();
74536 /* The GNU C library defines this for functions which it implements
74537 to always fail with ENOSYS. Some functions are actually named
74538 something starting with __ and the normal name is an alias. */
74539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74540 choke me
74541 #else
74542 char (*f) () = $ac_func;
74543 #endif
74544 #ifdef __cplusplus
74546 #endif
74549 main ()
74551 return f != $ac_func;
74553 return 0;
74555 _ACEOF
74556 rm -f conftest.$ac_objext conftest$ac_exeext
74557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74558 (eval $ac_link) 2>conftest.er1
74559 ac_status=$?
74560 grep -v '^ *+' conftest.er1 >conftest.err
74561 rm -f conftest.er1
74562 cat conftest.err >&5
74563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74564 (exit $ac_status); } &&
74565 { ac_try='test -z "$ac_c_werror_flag"
74566 || test ! -s conftest.err'
74567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74568 (eval $ac_try) 2>&5
74569 ac_status=$?
74570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74571 (exit $ac_status); }; } &&
74572 { ac_try='test -s conftest$ac_exeext'
74573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74574 (eval $ac_try) 2>&5
74575 ac_status=$?
74576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74577 (exit $ac_status); }; }; then
74578 eval "$as_ac_var=yes"
74579 else
74580 echo "$as_me: failed program was:" >&5
74581 sed 's/^/| /' conftest.$ac_ext >&5
74583 eval "$as_ac_var=no"
74585 rm -f conftest.err conftest.$ac_objext \
74586 conftest$ac_exeext conftest.$ac_ext
74588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74590 if test `eval echo '${'$as_ac_var'}'` = yes; then
74591 cat >>confdefs.h <<_ACEOF
74592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74593 _ACEOF
74596 done
74598 else
74599 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
74600 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
74601 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
74602 echo $ECHO_N "(cached) $ECHO_C" >&6
74603 else
74607 ac_ext=cc
74608 ac_cpp='$CXXCPP $CPPFLAGS'
74609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74613 cat >conftest.$ac_ext <<_ACEOF
74614 /* confdefs.h. */
74615 _ACEOF
74616 cat confdefs.h >>conftest.$ac_ext
74617 cat >>conftest.$ac_ext <<_ACEOF
74618 /* end confdefs.h. */
74619 #include <math.h>
74621 main ()
74623 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74625 return 0;
74627 _ACEOF
74628 rm -f conftest.$ac_objext
74629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74630 (eval $ac_compile) 2>conftest.er1
74631 ac_status=$?
74632 grep -v '^ *+' conftest.er1 >conftest.err
74633 rm -f conftest.er1
74634 cat conftest.err >&5
74635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74636 (exit $ac_status); } &&
74637 { ac_try='test -z "$ac_cxx_werror_flag"
74638 || test ! -s conftest.err'
74639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74640 (eval $ac_try) 2>&5
74641 ac_status=$?
74642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74643 (exit $ac_status); }; } &&
74644 { ac_try='test -s conftest.$ac_objext'
74645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74646 (eval $ac_try) 2>&5
74647 ac_status=$?
74648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74649 (exit $ac_status); }; }; then
74650 glibcxx_cv_func__long_double_trig_use=yes
74651 else
74652 echo "$as_me: failed program was:" >&5
74653 sed 's/^/| /' conftest.$ac_ext >&5
74655 glibcxx_cv_func__long_double_trig_use=no
74657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74658 ac_ext=c
74659 ac_cpp='$CPP $CPPFLAGS'
74660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74666 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
74667 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
74668 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74678 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74681 echo "$as_me:$LINENO: checking for $ac_func" >&5
74682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74683 if eval "test \"\${$as_ac_var+set}\" = set"; then
74684 echo $ECHO_N "(cached) $ECHO_C" >&6
74685 else
74686 if test x$gcc_no_link = xyes; then
74687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74689 { (exit 1); exit 1; }; }
74691 cat >conftest.$ac_ext <<_ACEOF
74692 /* confdefs.h. */
74693 _ACEOF
74694 cat confdefs.h >>conftest.$ac_ext
74695 cat >>conftest.$ac_ext <<_ACEOF
74696 /* end confdefs.h. */
74697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74699 #define $ac_func innocuous_$ac_func
74701 /* System header to define __stub macros and hopefully few prototypes,
74702 which can conflict with char $ac_func (); below.
74703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74704 <limits.h> exists even on freestanding compilers. */
74706 #ifdef __STDC__
74707 # include <limits.h>
74708 #else
74709 # include <assert.h>
74710 #endif
74712 #undef $ac_func
74714 /* Override any gcc2 internal prototype to avoid an error. */
74715 #ifdef __cplusplus
74716 extern "C"
74718 #endif
74719 /* We use char because int might match the return type of a gcc2
74720 builtin and then its argument prototype would still apply. */
74721 char $ac_func ();
74722 /* The GNU C library defines this for functions which it implements
74723 to always fail with ENOSYS. Some functions are actually named
74724 something starting with __ and the normal name is an alias. */
74725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74726 choke me
74727 #else
74728 char (*f) () = $ac_func;
74729 #endif
74730 #ifdef __cplusplus
74732 #endif
74735 main ()
74737 return f != $ac_func;
74739 return 0;
74741 _ACEOF
74742 rm -f conftest.$ac_objext conftest$ac_exeext
74743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74744 (eval $ac_link) 2>conftest.er1
74745 ac_status=$?
74746 grep -v '^ *+' conftest.er1 >conftest.err
74747 rm -f conftest.er1
74748 cat conftest.err >&5
74749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74750 (exit $ac_status); } &&
74751 { ac_try='test -z "$ac_c_werror_flag"
74752 || test ! -s conftest.err'
74753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74754 (eval $ac_try) 2>&5
74755 ac_status=$?
74756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74757 (exit $ac_status); }; } &&
74758 { ac_try='test -s conftest$ac_exeext'
74759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74760 (eval $ac_try) 2>&5
74761 ac_status=$?
74762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74763 (exit $ac_status); }; }; then
74764 eval "$as_ac_var=yes"
74765 else
74766 echo "$as_me: failed program was:" >&5
74767 sed 's/^/| /' conftest.$ac_ext >&5
74769 eval "$as_ac_var=no"
74771 rm -f conftest.err conftest.$ac_objext \
74772 conftest$ac_exeext conftest.$ac_ext
74774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74776 if test `eval echo '${'$as_ac_var'}'` = yes; then
74777 cat >>confdefs.h <<_ACEOF
74778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74779 _ACEOF
74782 done
74800 echo "$as_me:$LINENO: checking for long double round functions" >&5
74801 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
74802 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
74803 echo $ECHO_N "(cached) $ECHO_C" >&6
74804 else
74808 ac_ext=cc
74809 ac_cpp='$CXXCPP $CPPFLAGS'
74810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74814 cat >conftest.$ac_ext <<_ACEOF
74815 /* confdefs.h. */
74816 _ACEOF
74817 cat confdefs.h >>conftest.$ac_ext
74818 cat >>conftest.$ac_ext <<_ACEOF
74819 /* end confdefs.h. */
74820 #include <math.h>
74822 main ()
74824 ceill (0); floorl (0);
74826 return 0;
74828 _ACEOF
74829 rm -f conftest.$ac_objext
74830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74831 (eval $ac_compile) 2>conftest.er1
74832 ac_status=$?
74833 grep -v '^ *+' conftest.er1 >conftest.err
74834 rm -f conftest.er1
74835 cat conftest.err >&5
74836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74837 (exit $ac_status); } &&
74838 { ac_try='test -z "$ac_cxx_werror_flag"
74839 || test ! -s conftest.err'
74840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74841 (eval $ac_try) 2>&5
74842 ac_status=$?
74843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74844 (exit $ac_status); }; } &&
74845 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
74851 glibcxx_cv_func_long_double_round_use=yes
74852 else
74853 echo "$as_me: failed program was:" >&5
74854 sed 's/^/| /' conftest.$ac_ext >&5
74856 glibcxx_cv_func_long_double_round_use=no
74858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74859 ac_ext=c
74860 ac_cpp='$CPP $CPPFLAGS'
74861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74867 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
74868 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
74869 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74872 for ac_func in ceill floorl
74874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74875 echo "$as_me:$LINENO: checking for $ac_func" >&5
74876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74877 if eval "test \"\${$as_ac_var+set}\" = set"; then
74878 echo $ECHO_N "(cached) $ECHO_C" >&6
74879 else
74880 if test x$gcc_no_link = xyes; then
74881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74883 { (exit 1); exit 1; }; }
74885 cat >conftest.$ac_ext <<_ACEOF
74886 /* confdefs.h. */
74887 _ACEOF
74888 cat confdefs.h >>conftest.$ac_ext
74889 cat >>conftest.$ac_ext <<_ACEOF
74890 /* end confdefs.h. */
74891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74893 #define $ac_func innocuous_$ac_func
74895 /* System header to define __stub macros and hopefully few prototypes,
74896 which can conflict with char $ac_func (); below.
74897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74898 <limits.h> exists even on freestanding compilers. */
74900 #ifdef __STDC__
74901 # include <limits.h>
74902 #else
74903 # include <assert.h>
74904 #endif
74906 #undef $ac_func
74908 /* Override any gcc2 internal prototype to avoid an error. */
74909 #ifdef __cplusplus
74910 extern "C"
74912 #endif
74913 /* We use char because int might match the return type of a gcc2
74914 builtin and then its argument prototype would still apply. */
74915 char $ac_func ();
74916 /* The GNU C library defines this for functions which it implements
74917 to always fail with ENOSYS. Some functions are actually named
74918 something starting with __ and the normal name is an alias. */
74919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74920 choke me
74921 #else
74922 char (*f) () = $ac_func;
74923 #endif
74924 #ifdef __cplusplus
74926 #endif
74929 main ()
74931 return f != $ac_func;
74933 return 0;
74935 _ACEOF
74936 rm -f conftest.$ac_objext conftest$ac_exeext
74937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74938 (eval $ac_link) 2>conftest.er1
74939 ac_status=$?
74940 grep -v '^ *+' conftest.er1 >conftest.err
74941 rm -f conftest.er1
74942 cat conftest.err >&5
74943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74944 (exit $ac_status); } &&
74945 { ac_try='test -z "$ac_c_werror_flag"
74946 || test ! -s conftest.err'
74947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74948 (eval $ac_try) 2>&5
74949 ac_status=$?
74950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74951 (exit $ac_status); }; } &&
74952 { ac_try='test -s conftest$ac_exeext'
74953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74954 (eval $ac_try) 2>&5
74955 ac_status=$?
74956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74957 (exit $ac_status); }; }; then
74958 eval "$as_ac_var=yes"
74959 else
74960 echo "$as_me: failed program was:" >&5
74961 sed 's/^/| /' conftest.$ac_ext >&5
74963 eval "$as_ac_var=no"
74965 rm -f conftest.err conftest.$ac_objext \
74966 conftest$ac_exeext conftest.$ac_ext
74968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74970 if test `eval echo '${'$as_ac_var'}'` = yes; then
74971 cat >>confdefs.h <<_ACEOF
74972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74973 _ACEOF
74976 done
74978 else
74979 echo "$as_me:$LINENO: checking for _long double round functions" >&5
74980 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
74981 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
74982 echo $ECHO_N "(cached) $ECHO_C" >&6
74983 else
74987 ac_ext=cc
74988 ac_cpp='$CXXCPP $CPPFLAGS'
74989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74993 cat >conftest.$ac_ext <<_ACEOF
74994 /* confdefs.h. */
74995 _ACEOF
74996 cat confdefs.h >>conftest.$ac_ext
74997 cat >>conftest.$ac_ext <<_ACEOF
74998 /* end confdefs.h. */
74999 #include <math.h>
75001 main ()
75003 _ceill (0); _floorl (0);
75005 return 0;
75007 _ACEOF
75008 rm -f conftest.$ac_objext
75009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75010 (eval $ac_compile) 2>conftest.er1
75011 ac_status=$?
75012 grep -v '^ *+' conftest.er1 >conftest.err
75013 rm -f conftest.er1
75014 cat conftest.err >&5
75015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75016 (exit $ac_status); } &&
75017 { ac_try='test -z "$ac_cxx_werror_flag"
75018 || test ! -s conftest.err'
75019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75020 (eval $ac_try) 2>&5
75021 ac_status=$?
75022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75023 (exit $ac_status); }; } &&
75024 { ac_try='test -s conftest.$ac_objext'
75025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75026 (eval $ac_try) 2>&5
75027 ac_status=$?
75028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75029 (exit $ac_status); }; }; then
75030 glibcxx_cv_func__long_double_round_use=yes
75031 else
75032 echo "$as_me: failed program was:" >&5
75033 sed 's/^/| /' conftest.$ac_ext >&5
75035 glibcxx_cv_func__long_double_round_use=no
75037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75038 ac_ext=c
75039 ac_cpp='$CPP $CPPFLAGS'
75040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75046 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
75047 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
75048 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75051 for ac_func in _ceill _floorl
75053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75054 echo "$as_me:$LINENO: checking for $ac_func" >&5
75055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75056 if eval "test \"\${$as_ac_var+set}\" = set"; then
75057 echo $ECHO_N "(cached) $ECHO_C" >&6
75058 else
75059 if test x$gcc_no_link = xyes; then
75060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75062 { (exit 1); exit 1; }; }
75064 cat >conftest.$ac_ext <<_ACEOF
75065 /* confdefs.h. */
75066 _ACEOF
75067 cat confdefs.h >>conftest.$ac_ext
75068 cat >>conftest.$ac_ext <<_ACEOF
75069 /* end confdefs.h. */
75070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75072 #define $ac_func innocuous_$ac_func
75074 /* System header to define __stub macros and hopefully few prototypes,
75075 which can conflict with char $ac_func (); below.
75076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75077 <limits.h> exists even on freestanding compilers. */
75079 #ifdef __STDC__
75080 # include <limits.h>
75081 #else
75082 # include <assert.h>
75083 #endif
75085 #undef $ac_func
75087 /* Override any gcc2 internal prototype to avoid an error. */
75088 #ifdef __cplusplus
75089 extern "C"
75091 #endif
75092 /* We use char because int might match the return type of a gcc2
75093 builtin and then its argument prototype would still apply. */
75094 char $ac_func ();
75095 /* The GNU C library defines this for functions which it implements
75096 to always fail with ENOSYS. Some functions are actually named
75097 something starting with __ and the normal name is an alias. */
75098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75099 choke me
75100 #else
75101 char (*f) () = $ac_func;
75102 #endif
75103 #ifdef __cplusplus
75105 #endif
75108 main ()
75110 return f != $ac_func;
75112 return 0;
75114 _ACEOF
75115 rm -f conftest.$ac_objext conftest$ac_exeext
75116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75117 (eval $ac_link) 2>conftest.er1
75118 ac_status=$?
75119 grep -v '^ *+' conftest.er1 >conftest.err
75120 rm -f conftest.er1
75121 cat conftest.err >&5
75122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75123 (exit $ac_status); } &&
75124 { ac_try='test -z "$ac_c_werror_flag"
75125 || test ! -s conftest.err'
75126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75127 (eval $ac_try) 2>&5
75128 ac_status=$?
75129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75130 (exit $ac_status); }; } &&
75131 { ac_try='test -s conftest$ac_exeext'
75132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75133 (eval $ac_try) 2>&5
75134 ac_status=$?
75135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75136 (exit $ac_status); }; }; then
75137 eval "$as_ac_var=yes"
75138 else
75139 echo "$as_me: failed program was:" >&5
75140 sed 's/^/| /' conftest.$ac_ext >&5
75142 eval "$as_ac_var=no"
75144 rm -f conftest.err conftest.$ac_objext \
75145 conftest$ac_exeext conftest.$ac_ext
75147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75149 if test `eval echo '${'$as_ac_var'}'` = yes; then
75150 cat >>confdefs.h <<_ACEOF
75151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75152 _ACEOF
75155 done
75167 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
75168 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
75169 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75170 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
75171 echo $ECHO_N "(cached) $ECHO_C" >&6
75172 else
75176 ac_ext=cc
75177 ac_cpp='$CXXCPP $CPPFLAGS'
75178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75182 cat >conftest.$ac_ext <<_ACEOF
75183 /* confdefs.h. */
75184 _ACEOF
75185 cat confdefs.h >>conftest.$ac_ext
75186 cat >>conftest.$ac_ext <<_ACEOF
75187 /* end confdefs.h. */
75188 #include <math.h>
75189 #ifdef HAVE_IEEEFP_H
75190 #include <ieeefp.h>
75191 #endif
75194 main ()
75196 isnanl(0);
75198 return 0;
75200 _ACEOF
75201 rm -f conftest.$ac_objext
75202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75203 (eval $ac_compile) 2>conftest.er1
75204 ac_status=$?
75205 grep -v '^ *+' conftest.er1 >conftest.err
75206 rm -f conftest.er1
75207 cat conftest.err >&5
75208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75209 (exit $ac_status); } &&
75210 { ac_try='test -z "$ac_cxx_werror_flag"
75211 || test ! -s conftest.err'
75212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75213 (eval $ac_try) 2>&5
75214 ac_status=$?
75215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75216 (exit $ac_status); }; } &&
75217 { ac_try='test -s conftest.$ac_objext'
75218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75219 (eval $ac_try) 2>&5
75220 ac_status=$?
75221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75222 (exit $ac_status); }; }; then
75223 glibcxx_cv_func_isnanl_use=yes
75224 else
75225 echo "$as_me: failed program was:" >&5
75226 sed 's/^/| /' conftest.$ac_ext >&5
75228 glibcxx_cv_func_isnanl_use=no
75230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75231 ac_ext=c
75232 ac_cpp='$CPP $CPPFLAGS'
75233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75241 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
75242 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
75244 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75246 for ac_func in isnanl
75248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75249 echo "$as_me:$LINENO: checking for $ac_func" >&5
75250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75251 if eval "test \"\${$as_ac_var+set}\" = set"; then
75252 echo $ECHO_N "(cached) $ECHO_C" >&6
75253 else
75254 if test x$gcc_no_link = xyes; then
75255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75257 { (exit 1); exit 1; }; }
75259 cat >conftest.$ac_ext <<_ACEOF
75260 /* confdefs.h. */
75261 _ACEOF
75262 cat confdefs.h >>conftest.$ac_ext
75263 cat >>conftest.$ac_ext <<_ACEOF
75264 /* end confdefs.h. */
75265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75267 #define $ac_func innocuous_$ac_func
75269 /* System header to define __stub macros and hopefully few prototypes,
75270 which can conflict with char $ac_func (); below.
75271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75272 <limits.h> exists even on freestanding compilers. */
75274 #ifdef __STDC__
75275 # include <limits.h>
75276 #else
75277 # include <assert.h>
75278 #endif
75280 #undef $ac_func
75282 /* Override any gcc2 internal prototype to avoid an error. */
75283 #ifdef __cplusplus
75284 extern "C"
75286 #endif
75287 /* We use char because int might match the return type of a gcc2
75288 builtin and then its argument prototype would still apply. */
75289 char $ac_func ();
75290 /* The GNU C library defines this for functions which it implements
75291 to always fail with ENOSYS. Some functions are actually named
75292 something starting with __ and the normal name is an alias. */
75293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75294 choke me
75295 #else
75296 char (*f) () = $ac_func;
75297 #endif
75298 #ifdef __cplusplus
75300 #endif
75303 main ()
75305 return f != $ac_func;
75307 return 0;
75309 _ACEOF
75310 rm -f conftest.$ac_objext conftest$ac_exeext
75311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75312 (eval $ac_link) 2>conftest.er1
75313 ac_status=$?
75314 grep -v '^ *+' conftest.er1 >conftest.err
75315 rm -f conftest.er1
75316 cat conftest.err >&5
75317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75318 (exit $ac_status); } &&
75319 { ac_try='test -z "$ac_c_werror_flag"
75320 || test ! -s conftest.err'
75321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75322 (eval $ac_try) 2>&5
75323 ac_status=$?
75324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75325 (exit $ac_status); }; } &&
75326 { ac_try='test -s conftest$ac_exeext'
75327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75328 (eval $ac_try) 2>&5
75329 ac_status=$?
75330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75331 (exit $ac_status); }; }; then
75332 eval "$as_ac_var=yes"
75333 else
75334 echo "$as_me: failed program was:" >&5
75335 sed 's/^/| /' conftest.$ac_ext >&5
75337 eval "$as_ac_var=no"
75339 rm -f conftest.err conftest.$ac_objext \
75340 conftest$ac_exeext conftest.$ac_ext
75342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75344 if test `eval echo '${'$as_ac_var'}'` = yes; then
75345 cat >>confdefs.h <<_ACEOF
75346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75347 _ACEOF
75350 done
75352 else
75354 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
75355 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
75356 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75357 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
75358 echo $ECHO_N "(cached) $ECHO_C" >&6
75359 else
75363 ac_ext=cc
75364 ac_cpp='$CXXCPP $CPPFLAGS'
75365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75369 cat >conftest.$ac_ext <<_ACEOF
75370 /* confdefs.h. */
75371 _ACEOF
75372 cat confdefs.h >>conftest.$ac_ext
75373 cat >>conftest.$ac_ext <<_ACEOF
75374 /* end confdefs.h. */
75375 #include <math.h>
75376 #ifdef HAVE_IEEEFP_H
75377 #include <ieeefp.h>
75378 #endif
75381 main ()
75383 _isnanl(0);
75385 return 0;
75387 _ACEOF
75388 rm -f conftest.$ac_objext
75389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75390 (eval $ac_compile) 2>conftest.er1
75391 ac_status=$?
75392 grep -v '^ *+' conftest.er1 >conftest.err
75393 rm -f conftest.er1
75394 cat conftest.err >&5
75395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75396 (exit $ac_status); } &&
75397 { ac_try='test -z "$ac_cxx_werror_flag"
75398 || test ! -s conftest.err'
75399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75400 (eval $ac_try) 2>&5
75401 ac_status=$?
75402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75403 (exit $ac_status); }; } &&
75404 { ac_try='test -s conftest.$ac_objext'
75405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75406 (eval $ac_try) 2>&5
75407 ac_status=$?
75408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75409 (exit $ac_status); }; }; then
75410 glibcxx_cv_func__isnanl_use=yes
75411 else
75412 echo "$as_me: failed program was:" >&5
75413 sed 's/^/| /' conftest.$ac_ext >&5
75415 glibcxx_cv_func__isnanl_use=no
75417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75418 ac_ext=c
75419 ac_cpp='$CPP $CPPFLAGS'
75420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75428 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
75429 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
75431 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
75433 for ac_func in _isnanl
75435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75436 echo "$as_me:$LINENO: checking for $ac_func" >&5
75437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75438 if eval "test \"\${$as_ac_var+set}\" = set"; then
75439 echo $ECHO_N "(cached) $ECHO_C" >&6
75440 else
75441 if test x$gcc_no_link = xyes; then
75442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75444 { (exit 1); exit 1; }; }
75446 cat >conftest.$ac_ext <<_ACEOF
75447 /* confdefs.h. */
75448 _ACEOF
75449 cat confdefs.h >>conftest.$ac_ext
75450 cat >>conftest.$ac_ext <<_ACEOF
75451 /* end confdefs.h. */
75452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75454 #define $ac_func innocuous_$ac_func
75456 /* System header to define __stub macros and hopefully few prototypes,
75457 which can conflict with char $ac_func (); below.
75458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75459 <limits.h> exists even on freestanding compilers. */
75461 #ifdef __STDC__
75462 # include <limits.h>
75463 #else
75464 # include <assert.h>
75465 #endif
75467 #undef $ac_func
75469 /* Override any gcc2 internal prototype to avoid an error. */
75470 #ifdef __cplusplus
75471 extern "C"
75473 #endif
75474 /* We use char because int might match the return type of a gcc2
75475 builtin and then its argument prototype would still apply. */
75476 char $ac_func ();
75477 /* The GNU C library defines this for functions which it implements
75478 to always fail with ENOSYS. Some functions are actually named
75479 something starting with __ and the normal name is an alias. */
75480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75481 choke me
75482 #else
75483 char (*f) () = $ac_func;
75484 #endif
75485 #ifdef __cplusplus
75487 #endif
75490 main ()
75492 return f != $ac_func;
75494 return 0;
75496 _ACEOF
75497 rm -f conftest.$ac_objext conftest$ac_exeext
75498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75499 (eval $ac_link) 2>conftest.er1
75500 ac_status=$?
75501 grep -v '^ *+' conftest.er1 >conftest.err
75502 rm -f conftest.er1
75503 cat conftest.err >&5
75504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75505 (exit $ac_status); } &&
75506 { ac_try='test -z "$ac_c_werror_flag"
75507 || test ! -s conftest.err'
75508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75509 (eval $ac_try) 2>&5
75510 ac_status=$?
75511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75512 (exit $ac_status); }; } &&
75513 { ac_try='test -s conftest$ac_exeext'
75514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75515 (eval $ac_try) 2>&5
75516 ac_status=$?
75517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75518 (exit $ac_status); }; }; then
75519 eval "$as_ac_var=yes"
75520 else
75521 echo "$as_me: failed program was:" >&5
75522 sed 's/^/| /' conftest.$ac_ext >&5
75524 eval "$as_ac_var=no"
75526 rm -f conftest.err conftest.$ac_objext \
75527 conftest$ac_exeext conftest.$ac_ext
75529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75531 if test `eval echo '${'$as_ac_var'}'` = yes; then
75532 cat >>confdefs.h <<_ACEOF
75533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75534 _ACEOF
75537 done
75547 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
75548 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
75549 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75550 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
75551 echo $ECHO_N "(cached) $ECHO_C" >&6
75552 else
75556 ac_ext=cc
75557 ac_cpp='$CXXCPP $CPPFLAGS'
75558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75562 cat >conftest.$ac_ext <<_ACEOF
75563 /* confdefs.h. */
75564 _ACEOF
75565 cat confdefs.h >>conftest.$ac_ext
75566 cat >>conftest.$ac_ext <<_ACEOF
75567 /* end confdefs.h. */
75568 #include <math.h>
75569 #ifdef HAVE_IEEEFP_H
75570 #include <ieeefp.h>
75571 #endif
75574 main ()
75576 isinfl(0);
75578 return 0;
75580 _ACEOF
75581 rm -f conftest.$ac_objext
75582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75583 (eval $ac_compile) 2>conftest.er1
75584 ac_status=$?
75585 grep -v '^ *+' conftest.er1 >conftest.err
75586 rm -f conftest.er1
75587 cat conftest.err >&5
75588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75589 (exit $ac_status); } &&
75590 { ac_try='test -z "$ac_cxx_werror_flag"
75591 || test ! -s conftest.err'
75592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75593 (eval $ac_try) 2>&5
75594 ac_status=$?
75595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75596 (exit $ac_status); }; } &&
75597 { ac_try='test -s conftest.$ac_objext'
75598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75599 (eval $ac_try) 2>&5
75600 ac_status=$?
75601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75602 (exit $ac_status); }; }; then
75603 glibcxx_cv_func_isinfl_use=yes
75604 else
75605 echo "$as_me: failed program was:" >&5
75606 sed 's/^/| /' conftest.$ac_ext >&5
75608 glibcxx_cv_func_isinfl_use=no
75610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75611 ac_ext=c
75612 ac_cpp='$CPP $CPPFLAGS'
75613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75621 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
75622 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
75624 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75626 for ac_func in isinfl
75628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75629 echo "$as_me:$LINENO: checking for $ac_func" >&5
75630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75631 if eval "test \"\${$as_ac_var+set}\" = set"; then
75632 echo $ECHO_N "(cached) $ECHO_C" >&6
75633 else
75634 if test x$gcc_no_link = xyes; then
75635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75637 { (exit 1); exit 1; }; }
75639 cat >conftest.$ac_ext <<_ACEOF
75640 /* confdefs.h. */
75641 _ACEOF
75642 cat confdefs.h >>conftest.$ac_ext
75643 cat >>conftest.$ac_ext <<_ACEOF
75644 /* end confdefs.h. */
75645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75647 #define $ac_func innocuous_$ac_func
75649 /* System header to define __stub macros and hopefully few prototypes,
75650 which can conflict with char $ac_func (); below.
75651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75652 <limits.h> exists even on freestanding compilers. */
75654 #ifdef __STDC__
75655 # include <limits.h>
75656 #else
75657 # include <assert.h>
75658 #endif
75660 #undef $ac_func
75662 /* Override any gcc2 internal prototype to avoid an error. */
75663 #ifdef __cplusplus
75664 extern "C"
75666 #endif
75667 /* We use char because int might match the return type of a gcc2
75668 builtin and then its argument prototype would still apply. */
75669 char $ac_func ();
75670 /* The GNU C library defines this for functions which it implements
75671 to always fail with ENOSYS. Some functions are actually named
75672 something starting with __ and the normal name is an alias. */
75673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75674 choke me
75675 #else
75676 char (*f) () = $ac_func;
75677 #endif
75678 #ifdef __cplusplus
75680 #endif
75683 main ()
75685 return f != $ac_func;
75687 return 0;
75689 _ACEOF
75690 rm -f conftest.$ac_objext conftest$ac_exeext
75691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75692 (eval $ac_link) 2>conftest.er1
75693 ac_status=$?
75694 grep -v '^ *+' conftest.er1 >conftest.err
75695 rm -f conftest.er1
75696 cat conftest.err >&5
75697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75698 (exit $ac_status); } &&
75699 { ac_try='test -z "$ac_c_werror_flag"
75700 || test ! -s conftest.err'
75701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75702 (eval $ac_try) 2>&5
75703 ac_status=$?
75704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75705 (exit $ac_status); }; } &&
75706 { ac_try='test -s conftest$ac_exeext'
75707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75708 (eval $ac_try) 2>&5
75709 ac_status=$?
75710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75711 (exit $ac_status); }; }; then
75712 eval "$as_ac_var=yes"
75713 else
75714 echo "$as_me: failed program was:" >&5
75715 sed 's/^/| /' conftest.$ac_ext >&5
75717 eval "$as_ac_var=no"
75719 rm -f conftest.err conftest.$ac_objext \
75720 conftest$ac_exeext conftest.$ac_ext
75722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75724 if test `eval echo '${'$as_ac_var'}'` = yes; then
75725 cat >>confdefs.h <<_ACEOF
75726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75727 _ACEOF
75730 done
75732 else
75734 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
75735 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
75736 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75737 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
75738 echo $ECHO_N "(cached) $ECHO_C" >&6
75739 else
75743 ac_ext=cc
75744 ac_cpp='$CXXCPP $CPPFLAGS'
75745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75749 cat >conftest.$ac_ext <<_ACEOF
75750 /* confdefs.h. */
75751 _ACEOF
75752 cat confdefs.h >>conftest.$ac_ext
75753 cat >>conftest.$ac_ext <<_ACEOF
75754 /* end confdefs.h. */
75755 #include <math.h>
75756 #ifdef HAVE_IEEEFP_H
75757 #include <ieeefp.h>
75758 #endif
75761 main ()
75763 _isinfl(0);
75765 return 0;
75767 _ACEOF
75768 rm -f conftest.$ac_objext
75769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75770 (eval $ac_compile) 2>conftest.er1
75771 ac_status=$?
75772 grep -v '^ *+' conftest.er1 >conftest.err
75773 rm -f conftest.er1
75774 cat conftest.err >&5
75775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75776 (exit $ac_status); } &&
75777 { ac_try='test -z "$ac_cxx_werror_flag"
75778 || test ! -s conftest.err'
75779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75780 (eval $ac_try) 2>&5
75781 ac_status=$?
75782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75783 (exit $ac_status); }; } &&
75784 { ac_try='test -s conftest.$ac_objext'
75785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75786 (eval $ac_try) 2>&5
75787 ac_status=$?
75788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75789 (exit $ac_status); }; }; then
75790 glibcxx_cv_func__isinfl_use=yes
75791 else
75792 echo "$as_me: failed program was:" >&5
75793 sed 's/^/| /' conftest.$ac_ext >&5
75795 glibcxx_cv_func__isinfl_use=no
75797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75798 ac_ext=c
75799 ac_cpp='$CPP $CPPFLAGS'
75800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75808 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
75809 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
75811 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75813 for ac_func in _isinfl
75815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75816 echo "$as_me:$LINENO: checking for $ac_func" >&5
75817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75818 if eval "test \"\${$as_ac_var+set}\" = set"; then
75819 echo $ECHO_N "(cached) $ECHO_C" >&6
75820 else
75821 if test x$gcc_no_link = xyes; then
75822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75824 { (exit 1); exit 1; }; }
75826 cat >conftest.$ac_ext <<_ACEOF
75827 /* confdefs.h. */
75828 _ACEOF
75829 cat confdefs.h >>conftest.$ac_ext
75830 cat >>conftest.$ac_ext <<_ACEOF
75831 /* end confdefs.h. */
75832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75834 #define $ac_func innocuous_$ac_func
75836 /* System header to define __stub macros and hopefully few prototypes,
75837 which can conflict with char $ac_func (); below.
75838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75839 <limits.h> exists even on freestanding compilers. */
75841 #ifdef __STDC__
75842 # include <limits.h>
75843 #else
75844 # include <assert.h>
75845 #endif
75847 #undef $ac_func
75849 /* Override any gcc2 internal prototype to avoid an error. */
75850 #ifdef __cplusplus
75851 extern "C"
75853 #endif
75854 /* We use char because int might match the return type of a gcc2
75855 builtin and then its argument prototype would still apply. */
75856 char $ac_func ();
75857 /* The GNU C library defines this for functions which it implements
75858 to always fail with ENOSYS. Some functions are actually named
75859 something starting with __ and the normal name is an alias. */
75860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75861 choke me
75862 #else
75863 char (*f) () = $ac_func;
75864 #endif
75865 #ifdef __cplusplus
75867 #endif
75870 main ()
75872 return f != $ac_func;
75874 return 0;
75876 _ACEOF
75877 rm -f conftest.$ac_objext conftest$ac_exeext
75878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75879 (eval $ac_link) 2>conftest.er1
75880 ac_status=$?
75881 grep -v '^ *+' conftest.er1 >conftest.err
75882 rm -f conftest.er1
75883 cat conftest.err >&5
75884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75885 (exit $ac_status); } &&
75886 { ac_try='test -z "$ac_c_werror_flag"
75887 || test ! -s conftest.err'
75888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75889 (eval $ac_try) 2>&5
75890 ac_status=$?
75891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75892 (exit $ac_status); }; } &&
75893 { ac_try='test -s conftest$ac_exeext'
75894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75895 (eval $ac_try) 2>&5
75896 ac_status=$?
75897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75898 (exit $ac_status); }; }; then
75899 eval "$as_ac_var=yes"
75900 else
75901 echo "$as_me: failed program was:" >&5
75902 sed 's/^/| /' conftest.$ac_ext >&5
75904 eval "$as_ac_var=no"
75906 rm -f conftest.err conftest.$ac_objext \
75907 conftest$ac_exeext conftest.$ac_ext
75909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75911 if test `eval echo '${'$as_ac_var'}'` = yes; then
75912 cat >>confdefs.h <<_ACEOF
75913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75914 _ACEOF
75917 done
75927 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
75928 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
75929 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
75930 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
75931 echo $ECHO_N "(cached) $ECHO_C" >&6
75932 else
75936 ac_ext=cc
75937 ac_cpp='$CXXCPP $CPPFLAGS'
75938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75942 cat >conftest.$ac_ext <<_ACEOF
75943 /* confdefs.h. */
75944 _ACEOF
75945 cat confdefs.h >>conftest.$ac_ext
75946 cat >>conftest.$ac_ext <<_ACEOF
75947 /* end confdefs.h. */
75948 #include <math.h>
75950 main ()
75952 copysignl(0, 0);
75954 return 0;
75956 _ACEOF
75957 rm -f conftest.$ac_objext
75958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75959 (eval $ac_compile) 2>conftest.er1
75960 ac_status=$?
75961 grep -v '^ *+' conftest.er1 >conftest.err
75962 rm -f conftest.er1
75963 cat conftest.err >&5
75964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75965 (exit $ac_status); } &&
75966 { ac_try='test -z "$ac_cxx_werror_flag"
75967 || test ! -s conftest.err'
75968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75969 (eval $ac_try) 2>&5
75970 ac_status=$?
75971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75972 (exit $ac_status); }; } &&
75973 { ac_try='test -s conftest.$ac_objext'
75974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75975 (eval $ac_try) 2>&5
75976 ac_status=$?
75977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75978 (exit $ac_status); }; }; then
75979 glibcxx_cv_func_copysignl_use=yes
75980 else
75981 echo "$as_me: failed program was:" >&5
75982 sed 's/^/| /' conftest.$ac_ext >&5
75984 glibcxx_cv_func_copysignl_use=no
75986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75987 ac_ext=c
75988 ac_cpp='$CPP $CPPFLAGS'
75989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75997 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
75998 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
76000 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
76002 for ac_func in copysignl
76004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76005 echo "$as_me:$LINENO: checking for $ac_func" >&5
76006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76007 if eval "test \"\${$as_ac_var+set}\" = set"; then
76008 echo $ECHO_N "(cached) $ECHO_C" >&6
76009 else
76010 if test x$gcc_no_link = xyes; then
76011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76013 { (exit 1); exit 1; }; }
76015 cat >conftest.$ac_ext <<_ACEOF
76016 /* confdefs.h. */
76017 _ACEOF
76018 cat confdefs.h >>conftest.$ac_ext
76019 cat >>conftest.$ac_ext <<_ACEOF
76020 /* end confdefs.h. */
76021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76023 #define $ac_func innocuous_$ac_func
76025 /* System header to define __stub macros and hopefully few prototypes,
76026 which can conflict with char $ac_func (); below.
76027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76028 <limits.h> exists even on freestanding compilers. */
76030 #ifdef __STDC__
76031 # include <limits.h>
76032 #else
76033 # include <assert.h>
76034 #endif
76036 #undef $ac_func
76038 /* Override any gcc2 internal prototype to avoid an error. */
76039 #ifdef __cplusplus
76040 extern "C"
76042 #endif
76043 /* We use char because int might match the return type of a gcc2
76044 builtin and then its argument prototype would still apply. */
76045 char $ac_func ();
76046 /* The GNU C library defines this for functions which it implements
76047 to always fail with ENOSYS. Some functions are actually named
76048 something starting with __ and the normal name is an alias. */
76049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76050 choke me
76051 #else
76052 char (*f) () = $ac_func;
76053 #endif
76054 #ifdef __cplusplus
76056 #endif
76059 main ()
76061 return f != $ac_func;
76063 return 0;
76065 _ACEOF
76066 rm -f conftest.$ac_objext conftest$ac_exeext
76067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76068 (eval $ac_link) 2>conftest.er1
76069 ac_status=$?
76070 grep -v '^ *+' conftest.er1 >conftest.err
76071 rm -f conftest.er1
76072 cat conftest.err >&5
76073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76074 (exit $ac_status); } &&
76075 { ac_try='test -z "$ac_c_werror_flag"
76076 || test ! -s conftest.err'
76077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76078 (eval $ac_try) 2>&5
76079 ac_status=$?
76080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76081 (exit $ac_status); }; } &&
76082 { ac_try='test -s conftest$ac_exeext'
76083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76084 (eval $ac_try) 2>&5
76085 ac_status=$?
76086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76087 (exit $ac_status); }; }; then
76088 eval "$as_ac_var=yes"
76089 else
76090 echo "$as_me: failed program was:" >&5
76091 sed 's/^/| /' conftest.$ac_ext >&5
76093 eval "$as_ac_var=no"
76095 rm -f conftest.err conftest.$ac_objext \
76096 conftest$ac_exeext conftest.$ac_ext
76098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76100 if test `eval echo '${'$as_ac_var'}'` = yes; then
76101 cat >>confdefs.h <<_ACEOF
76102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76103 _ACEOF
76106 done
76108 else
76110 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
76111 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
76112 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
76113 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
76114 echo $ECHO_N "(cached) $ECHO_C" >&6
76115 else
76119 ac_ext=cc
76120 ac_cpp='$CXXCPP $CPPFLAGS'
76121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76125 cat >conftest.$ac_ext <<_ACEOF
76126 /* confdefs.h. */
76127 _ACEOF
76128 cat confdefs.h >>conftest.$ac_ext
76129 cat >>conftest.$ac_ext <<_ACEOF
76130 /* end confdefs.h. */
76131 #include <math.h>
76133 main ()
76135 _copysignl(0, 0);
76137 return 0;
76139 _ACEOF
76140 rm -f conftest.$ac_objext
76141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76142 (eval $ac_compile) 2>conftest.er1
76143 ac_status=$?
76144 grep -v '^ *+' conftest.er1 >conftest.err
76145 rm -f conftest.er1
76146 cat conftest.err >&5
76147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76148 (exit $ac_status); } &&
76149 { ac_try='test -z "$ac_cxx_werror_flag"
76150 || test ! -s conftest.err'
76151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76152 (eval $ac_try) 2>&5
76153 ac_status=$?
76154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76155 (exit $ac_status); }; } &&
76156 { ac_try='test -s conftest.$ac_objext'
76157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76158 (eval $ac_try) 2>&5
76159 ac_status=$?
76160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76161 (exit $ac_status); }; }; then
76162 glibcxx_cv_func__copysignl_use=yes
76163 else
76164 echo "$as_me: failed program was:" >&5
76165 sed 's/^/| /' conftest.$ac_ext >&5
76167 glibcxx_cv_func__copysignl_use=no
76169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76170 ac_ext=c
76171 ac_cpp='$CPP $CPPFLAGS'
76172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76180 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
76181 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
76183 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
76185 for ac_func in _copysignl
76187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76188 echo "$as_me:$LINENO: checking for $ac_func" >&5
76189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76190 if eval "test \"\${$as_ac_var+set}\" = set"; then
76191 echo $ECHO_N "(cached) $ECHO_C" >&6
76192 else
76193 if test x$gcc_no_link = xyes; then
76194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76196 { (exit 1); exit 1; }; }
76198 cat >conftest.$ac_ext <<_ACEOF
76199 /* confdefs.h. */
76200 _ACEOF
76201 cat confdefs.h >>conftest.$ac_ext
76202 cat >>conftest.$ac_ext <<_ACEOF
76203 /* end confdefs.h. */
76204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76206 #define $ac_func innocuous_$ac_func
76208 /* System header to define __stub macros and hopefully few prototypes,
76209 which can conflict with char $ac_func (); below.
76210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76211 <limits.h> exists even on freestanding compilers. */
76213 #ifdef __STDC__
76214 # include <limits.h>
76215 #else
76216 # include <assert.h>
76217 #endif
76219 #undef $ac_func
76221 /* Override any gcc2 internal prototype to avoid an error. */
76222 #ifdef __cplusplus
76223 extern "C"
76225 #endif
76226 /* We use char because int might match the return type of a gcc2
76227 builtin and then its argument prototype would still apply. */
76228 char $ac_func ();
76229 /* The GNU C library defines this for functions which it implements
76230 to always fail with ENOSYS. Some functions are actually named
76231 something starting with __ and the normal name is an alias. */
76232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76233 choke me
76234 #else
76235 char (*f) () = $ac_func;
76236 #endif
76237 #ifdef __cplusplus
76239 #endif
76242 main ()
76244 return f != $ac_func;
76246 return 0;
76248 _ACEOF
76249 rm -f conftest.$ac_objext conftest$ac_exeext
76250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76251 (eval $ac_link) 2>conftest.er1
76252 ac_status=$?
76253 grep -v '^ *+' conftest.er1 >conftest.err
76254 rm -f conftest.er1
76255 cat conftest.err >&5
76256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76257 (exit $ac_status); } &&
76258 { ac_try='test -z "$ac_c_werror_flag"
76259 || test ! -s conftest.err'
76260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76261 (eval $ac_try) 2>&5
76262 ac_status=$?
76263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76264 (exit $ac_status); }; } &&
76265 { ac_try='test -s conftest$ac_exeext'
76266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76267 (eval $ac_try) 2>&5
76268 ac_status=$?
76269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76270 (exit $ac_status); }; }; then
76271 eval "$as_ac_var=yes"
76272 else
76273 echo "$as_me: failed program was:" >&5
76274 sed 's/^/| /' conftest.$ac_ext >&5
76276 eval "$as_ac_var=no"
76278 rm -f conftest.err conftest.$ac_objext \
76279 conftest$ac_exeext conftest.$ac_ext
76281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76283 if test `eval echo '${'$as_ac_var'}'` = yes; then
76284 cat >>confdefs.h <<_ACEOF
76285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76286 _ACEOF
76289 done
76299 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
76300 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
76301 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76302 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
76303 echo $ECHO_N "(cached) $ECHO_C" >&6
76304 else
76308 ac_ext=cc
76309 ac_cpp='$CXXCPP $CPPFLAGS'
76310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76314 cat >conftest.$ac_ext <<_ACEOF
76315 /* confdefs.h. */
76316 _ACEOF
76317 cat confdefs.h >>conftest.$ac_ext
76318 cat >>conftest.$ac_ext <<_ACEOF
76319 /* end confdefs.h. */
76320 #include <math.h>
76322 main ()
76324 atan2l(0, 0);
76326 return 0;
76328 _ACEOF
76329 rm -f conftest.$ac_objext
76330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76331 (eval $ac_compile) 2>conftest.er1
76332 ac_status=$?
76333 grep -v '^ *+' conftest.er1 >conftest.err
76334 rm -f conftest.er1
76335 cat conftest.err >&5
76336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76337 (exit $ac_status); } &&
76338 { ac_try='test -z "$ac_cxx_werror_flag"
76339 || test ! -s conftest.err'
76340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76341 (eval $ac_try) 2>&5
76342 ac_status=$?
76343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76344 (exit $ac_status); }; } &&
76345 { ac_try='test -s conftest.$ac_objext'
76346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76347 (eval $ac_try) 2>&5
76348 ac_status=$?
76349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76350 (exit $ac_status); }; }; then
76351 glibcxx_cv_func_atan2l_use=yes
76352 else
76353 echo "$as_me: failed program was:" >&5
76354 sed 's/^/| /' conftest.$ac_ext >&5
76356 glibcxx_cv_func_atan2l_use=no
76358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76359 ac_ext=c
76360 ac_cpp='$CPP $CPPFLAGS'
76361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76369 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
76370 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
76372 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76374 for ac_func in atan2l
76376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76377 echo "$as_me:$LINENO: checking for $ac_func" >&5
76378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76379 if eval "test \"\${$as_ac_var+set}\" = set"; then
76380 echo $ECHO_N "(cached) $ECHO_C" >&6
76381 else
76382 if test x$gcc_no_link = xyes; then
76383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76385 { (exit 1); exit 1; }; }
76387 cat >conftest.$ac_ext <<_ACEOF
76388 /* confdefs.h. */
76389 _ACEOF
76390 cat confdefs.h >>conftest.$ac_ext
76391 cat >>conftest.$ac_ext <<_ACEOF
76392 /* end confdefs.h. */
76393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76395 #define $ac_func innocuous_$ac_func
76397 /* System header to define __stub macros and hopefully few prototypes,
76398 which can conflict with char $ac_func (); below.
76399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76400 <limits.h> exists even on freestanding compilers. */
76402 #ifdef __STDC__
76403 # include <limits.h>
76404 #else
76405 # include <assert.h>
76406 #endif
76408 #undef $ac_func
76410 /* Override any gcc2 internal prototype to avoid an error. */
76411 #ifdef __cplusplus
76412 extern "C"
76414 #endif
76415 /* We use char because int might match the return type of a gcc2
76416 builtin and then its argument prototype would still apply. */
76417 char $ac_func ();
76418 /* The GNU C library defines this for functions which it implements
76419 to always fail with ENOSYS. Some functions are actually named
76420 something starting with __ and the normal name is an alias. */
76421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76422 choke me
76423 #else
76424 char (*f) () = $ac_func;
76425 #endif
76426 #ifdef __cplusplus
76428 #endif
76431 main ()
76433 return f != $ac_func;
76435 return 0;
76437 _ACEOF
76438 rm -f conftest.$ac_objext conftest$ac_exeext
76439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76440 (eval $ac_link) 2>conftest.er1
76441 ac_status=$?
76442 grep -v '^ *+' conftest.er1 >conftest.err
76443 rm -f conftest.er1
76444 cat conftest.err >&5
76445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76446 (exit $ac_status); } &&
76447 { ac_try='test -z "$ac_c_werror_flag"
76448 || test ! -s conftest.err'
76449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76450 (eval $ac_try) 2>&5
76451 ac_status=$?
76452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76453 (exit $ac_status); }; } &&
76454 { ac_try='test -s conftest$ac_exeext'
76455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76456 (eval $ac_try) 2>&5
76457 ac_status=$?
76458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76459 (exit $ac_status); }; }; then
76460 eval "$as_ac_var=yes"
76461 else
76462 echo "$as_me: failed program was:" >&5
76463 sed 's/^/| /' conftest.$ac_ext >&5
76465 eval "$as_ac_var=no"
76467 rm -f conftest.err conftest.$ac_objext \
76468 conftest$ac_exeext conftest.$ac_ext
76470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76472 if test `eval echo '${'$as_ac_var'}'` = yes; then
76473 cat >>confdefs.h <<_ACEOF
76474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76475 _ACEOF
76478 done
76480 else
76482 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
76483 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
76484 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76485 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
76486 echo $ECHO_N "(cached) $ECHO_C" >&6
76487 else
76491 ac_ext=cc
76492 ac_cpp='$CXXCPP $CPPFLAGS'
76493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76497 cat >conftest.$ac_ext <<_ACEOF
76498 /* confdefs.h. */
76499 _ACEOF
76500 cat confdefs.h >>conftest.$ac_ext
76501 cat >>conftest.$ac_ext <<_ACEOF
76502 /* end confdefs.h. */
76503 #include <math.h>
76505 main ()
76507 _atan2l(0, 0);
76509 return 0;
76511 _ACEOF
76512 rm -f conftest.$ac_objext
76513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76514 (eval $ac_compile) 2>conftest.er1
76515 ac_status=$?
76516 grep -v '^ *+' conftest.er1 >conftest.err
76517 rm -f conftest.er1
76518 cat conftest.err >&5
76519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76520 (exit $ac_status); } &&
76521 { ac_try='test -z "$ac_cxx_werror_flag"
76522 || test ! -s conftest.err'
76523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76524 (eval $ac_try) 2>&5
76525 ac_status=$?
76526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76527 (exit $ac_status); }; } &&
76528 { ac_try='test -s conftest.$ac_objext'
76529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76530 (eval $ac_try) 2>&5
76531 ac_status=$?
76532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76533 (exit $ac_status); }; }; then
76534 glibcxx_cv_func__atan2l_use=yes
76535 else
76536 echo "$as_me: failed program was:" >&5
76537 sed 's/^/| /' conftest.$ac_ext >&5
76539 glibcxx_cv_func__atan2l_use=no
76541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76542 ac_ext=c
76543 ac_cpp='$CPP $CPPFLAGS'
76544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76552 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
76553 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
76555 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76557 for ac_func in _atan2l
76559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76560 echo "$as_me:$LINENO: checking for $ac_func" >&5
76561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76562 if eval "test \"\${$as_ac_var+set}\" = set"; then
76563 echo $ECHO_N "(cached) $ECHO_C" >&6
76564 else
76565 if test x$gcc_no_link = xyes; then
76566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76568 { (exit 1); exit 1; }; }
76570 cat >conftest.$ac_ext <<_ACEOF
76571 /* confdefs.h. */
76572 _ACEOF
76573 cat confdefs.h >>conftest.$ac_ext
76574 cat >>conftest.$ac_ext <<_ACEOF
76575 /* end confdefs.h. */
76576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76578 #define $ac_func innocuous_$ac_func
76580 /* System header to define __stub macros and hopefully few prototypes,
76581 which can conflict with char $ac_func (); below.
76582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76583 <limits.h> exists even on freestanding compilers. */
76585 #ifdef __STDC__
76586 # include <limits.h>
76587 #else
76588 # include <assert.h>
76589 #endif
76591 #undef $ac_func
76593 /* Override any gcc2 internal prototype to avoid an error. */
76594 #ifdef __cplusplus
76595 extern "C"
76597 #endif
76598 /* We use char because int might match the return type of a gcc2
76599 builtin and then its argument prototype would still apply. */
76600 char $ac_func ();
76601 /* The GNU C library defines this for functions which it implements
76602 to always fail with ENOSYS. Some functions are actually named
76603 something starting with __ and the normal name is an alias. */
76604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76605 choke me
76606 #else
76607 char (*f) () = $ac_func;
76608 #endif
76609 #ifdef __cplusplus
76611 #endif
76614 main ()
76616 return f != $ac_func;
76618 return 0;
76620 _ACEOF
76621 rm -f conftest.$ac_objext conftest$ac_exeext
76622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76623 (eval $ac_link) 2>conftest.er1
76624 ac_status=$?
76625 grep -v '^ *+' conftest.er1 >conftest.err
76626 rm -f conftest.er1
76627 cat conftest.err >&5
76628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76629 (exit $ac_status); } &&
76630 { ac_try='test -z "$ac_c_werror_flag"
76631 || test ! -s conftest.err'
76632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76633 (eval $ac_try) 2>&5
76634 ac_status=$?
76635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76636 (exit $ac_status); }; } &&
76637 { ac_try='test -s conftest$ac_exeext'
76638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76639 (eval $ac_try) 2>&5
76640 ac_status=$?
76641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76642 (exit $ac_status); }; }; then
76643 eval "$as_ac_var=yes"
76644 else
76645 echo "$as_me: failed program was:" >&5
76646 sed 's/^/| /' conftest.$ac_ext >&5
76648 eval "$as_ac_var=no"
76650 rm -f conftest.err conftest.$ac_objext \
76651 conftest$ac_exeext conftest.$ac_ext
76653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76655 if test `eval echo '${'$as_ac_var'}'` = yes; then
76656 cat >>confdefs.h <<_ACEOF
76657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76658 _ACEOF
76661 done
76671 echo "$as_me:$LINENO: checking for expl declaration" >&5
76672 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
76673 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76674 if test "${glibcxx_cv_func_expl_use+set}" = set; then
76675 echo $ECHO_N "(cached) $ECHO_C" >&6
76676 else
76680 ac_ext=cc
76681 ac_cpp='$CXXCPP $CPPFLAGS'
76682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76686 cat >conftest.$ac_ext <<_ACEOF
76687 /* confdefs.h. */
76688 _ACEOF
76689 cat confdefs.h >>conftest.$ac_ext
76690 cat >>conftest.$ac_ext <<_ACEOF
76691 /* end confdefs.h. */
76692 #include <math.h>
76693 #ifdef HAVE_IEEEFP_H
76694 #include <ieeefp.h>
76695 #endif
76698 main ()
76700 expl(0);
76702 return 0;
76704 _ACEOF
76705 rm -f conftest.$ac_objext
76706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76707 (eval $ac_compile) 2>conftest.er1
76708 ac_status=$?
76709 grep -v '^ *+' conftest.er1 >conftest.err
76710 rm -f conftest.er1
76711 cat conftest.err >&5
76712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76713 (exit $ac_status); } &&
76714 { ac_try='test -z "$ac_cxx_werror_flag"
76715 || test ! -s conftest.err'
76716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76717 (eval $ac_try) 2>&5
76718 ac_status=$?
76719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76720 (exit $ac_status); }; } &&
76721 { ac_try='test -s conftest.$ac_objext'
76722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76723 (eval $ac_try) 2>&5
76724 ac_status=$?
76725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76726 (exit $ac_status); }; }; then
76727 glibcxx_cv_func_expl_use=yes
76728 else
76729 echo "$as_me: failed program was:" >&5
76730 sed 's/^/| /' conftest.$ac_ext >&5
76732 glibcxx_cv_func_expl_use=no
76734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76735 ac_ext=c
76736 ac_cpp='$CPP $CPPFLAGS'
76737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76745 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
76746 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
76748 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76750 for ac_func in expl
76752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76753 echo "$as_me:$LINENO: checking for $ac_func" >&5
76754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76755 if eval "test \"\${$as_ac_var+set}\" = set"; then
76756 echo $ECHO_N "(cached) $ECHO_C" >&6
76757 else
76758 if test x$gcc_no_link = xyes; then
76759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76761 { (exit 1); exit 1; }; }
76763 cat >conftest.$ac_ext <<_ACEOF
76764 /* confdefs.h. */
76765 _ACEOF
76766 cat confdefs.h >>conftest.$ac_ext
76767 cat >>conftest.$ac_ext <<_ACEOF
76768 /* end confdefs.h. */
76769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76771 #define $ac_func innocuous_$ac_func
76773 /* System header to define __stub macros and hopefully few prototypes,
76774 which can conflict with char $ac_func (); below.
76775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76776 <limits.h> exists even on freestanding compilers. */
76778 #ifdef __STDC__
76779 # include <limits.h>
76780 #else
76781 # include <assert.h>
76782 #endif
76784 #undef $ac_func
76786 /* Override any gcc2 internal prototype to avoid an error. */
76787 #ifdef __cplusplus
76788 extern "C"
76790 #endif
76791 /* We use char because int might match the return type of a gcc2
76792 builtin and then its argument prototype would still apply. */
76793 char $ac_func ();
76794 /* The GNU C library defines this for functions which it implements
76795 to always fail with ENOSYS. Some functions are actually named
76796 something starting with __ and the normal name is an alias. */
76797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76798 choke me
76799 #else
76800 char (*f) () = $ac_func;
76801 #endif
76802 #ifdef __cplusplus
76804 #endif
76807 main ()
76809 return f != $ac_func;
76811 return 0;
76813 _ACEOF
76814 rm -f conftest.$ac_objext conftest$ac_exeext
76815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76816 (eval $ac_link) 2>conftest.er1
76817 ac_status=$?
76818 grep -v '^ *+' conftest.er1 >conftest.err
76819 rm -f conftest.er1
76820 cat conftest.err >&5
76821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76822 (exit $ac_status); } &&
76823 { ac_try='test -z "$ac_c_werror_flag"
76824 || test ! -s conftest.err'
76825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76826 (eval $ac_try) 2>&5
76827 ac_status=$?
76828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76829 (exit $ac_status); }; } &&
76830 { ac_try='test -s conftest$ac_exeext'
76831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76832 (eval $ac_try) 2>&5
76833 ac_status=$?
76834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76835 (exit $ac_status); }; }; then
76836 eval "$as_ac_var=yes"
76837 else
76838 echo "$as_me: failed program was:" >&5
76839 sed 's/^/| /' conftest.$ac_ext >&5
76841 eval "$as_ac_var=no"
76843 rm -f conftest.err conftest.$ac_objext \
76844 conftest$ac_exeext conftest.$ac_ext
76846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76848 if test `eval echo '${'$as_ac_var'}'` = yes; then
76849 cat >>confdefs.h <<_ACEOF
76850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76851 _ACEOF
76854 done
76856 else
76858 echo "$as_me:$LINENO: checking for _expl declaration" >&5
76859 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
76860 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76861 if test "${glibcxx_cv_func__expl_use+set}" = set; then
76862 echo $ECHO_N "(cached) $ECHO_C" >&6
76863 else
76867 ac_ext=cc
76868 ac_cpp='$CXXCPP $CPPFLAGS'
76869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76873 cat >conftest.$ac_ext <<_ACEOF
76874 /* confdefs.h. */
76875 _ACEOF
76876 cat confdefs.h >>conftest.$ac_ext
76877 cat >>conftest.$ac_ext <<_ACEOF
76878 /* end confdefs.h. */
76879 #include <math.h>
76880 #ifdef HAVE_IEEEFP_H
76881 #include <ieeefp.h>
76882 #endif
76885 main ()
76887 _expl(0);
76889 return 0;
76891 _ACEOF
76892 rm -f conftest.$ac_objext
76893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76894 (eval $ac_compile) 2>conftest.er1
76895 ac_status=$?
76896 grep -v '^ *+' conftest.er1 >conftest.err
76897 rm -f conftest.er1
76898 cat conftest.err >&5
76899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76900 (exit $ac_status); } &&
76901 { ac_try='test -z "$ac_cxx_werror_flag"
76902 || test ! -s conftest.err'
76903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76904 (eval $ac_try) 2>&5
76905 ac_status=$?
76906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76907 (exit $ac_status); }; } &&
76908 { ac_try='test -s conftest.$ac_objext'
76909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76910 (eval $ac_try) 2>&5
76911 ac_status=$?
76912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76913 (exit $ac_status); }; }; then
76914 glibcxx_cv_func__expl_use=yes
76915 else
76916 echo "$as_me: failed program was:" >&5
76917 sed 's/^/| /' conftest.$ac_ext >&5
76919 glibcxx_cv_func__expl_use=no
76921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76922 ac_ext=c
76923 ac_cpp='$CPP $CPPFLAGS'
76924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76932 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
76933 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
76935 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76937 for ac_func in _expl
76939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76940 echo "$as_me:$LINENO: checking for $ac_func" >&5
76941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76942 if eval "test \"\${$as_ac_var+set}\" = set"; then
76943 echo $ECHO_N "(cached) $ECHO_C" >&6
76944 else
76945 if test x$gcc_no_link = xyes; then
76946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76948 { (exit 1); exit 1; }; }
76950 cat >conftest.$ac_ext <<_ACEOF
76951 /* confdefs.h. */
76952 _ACEOF
76953 cat confdefs.h >>conftest.$ac_ext
76954 cat >>conftest.$ac_ext <<_ACEOF
76955 /* end confdefs.h. */
76956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76958 #define $ac_func innocuous_$ac_func
76960 /* System header to define __stub macros and hopefully few prototypes,
76961 which can conflict with char $ac_func (); below.
76962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76963 <limits.h> exists even on freestanding compilers. */
76965 #ifdef __STDC__
76966 # include <limits.h>
76967 #else
76968 # include <assert.h>
76969 #endif
76971 #undef $ac_func
76973 /* Override any gcc2 internal prototype to avoid an error. */
76974 #ifdef __cplusplus
76975 extern "C"
76977 #endif
76978 /* We use char because int might match the return type of a gcc2
76979 builtin and then its argument prototype would still apply. */
76980 char $ac_func ();
76981 /* The GNU C library defines this for functions which it implements
76982 to always fail with ENOSYS. Some functions are actually named
76983 something starting with __ and the normal name is an alias. */
76984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76985 choke me
76986 #else
76987 char (*f) () = $ac_func;
76988 #endif
76989 #ifdef __cplusplus
76991 #endif
76994 main ()
76996 return f != $ac_func;
76998 return 0;
77000 _ACEOF
77001 rm -f conftest.$ac_objext conftest$ac_exeext
77002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77003 (eval $ac_link) 2>conftest.er1
77004 ac_status=$?
77005 grep -v '^ *+' conftest.er1 >conftest.err
77006 rm -f conftest.er1
77007 cat conftest.err >&5
77008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77009 (exit $ac_status); } &&
77010 { ac_try='test -z "$ac_c_werror_flag"
77011 || test ! -s conftest.err'
77012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77013 (eval $ac_try) 2>&5
77014 ac_status=$?
77015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77016 (exit $ac_status); }; } &&
77017 { ac_try='test -s conftest$ac_exeext'
77018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77019 (eval $ac_try) 2>&5
77020 ac_status=$?
77021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77022 (exit $ac_status); }; }; then
77023 eval "$as_ac_var=yes"
77024 else
77025 echo "$as_me: failed program was:" >&5
77026 sed 's/^/| /' conftest.$ac_ext >&5
77028 eval "$as_ac_var=no"
77030 rm -f conftest.err conftest.$ac_objext \
77031 conftest$ac_exeext conftest.$ac_ext
77033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77035 if test `eval echo '${'$as_ac_var'}'` = yes; then
77036 cat >>confdefs.h <<_ACEOF
77037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77038 _ACEOF
77041 done
77051 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
77052 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
77053 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
77054 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
77055 echo $ECHO_N "(cached) $ECHO_C" >&6
77056 else
77060 ac_ext=cc
77061 ac_cpp='$CXXCPP $CPPFLAGS'
77062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77066 cat >conftest.$ac_ext <<_ACEOF
77067 /* confdefs.h. */
77068 _ACEOF
77069 cat confdefs.h >>conftest.$ac_ext
77070 cat >>conftest.$ac_ext <<_ACEOF
77071 /* end confdefs.h. */
77072 #include <math.h>
77073 #ifdef HAVE_IEEEFP_H
77074 #include <ieeefp.h>
77075 #endif
77078 main ()
77080 fabsl(0);
77082 return 0;
77084 _ACEOF
77085 rm -f conftest.$ac_objext
77086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77087 (eval $ac_compile) 2>conftest.er1
77088 ac_status=$?
77089 grep -v '^ *+' conftest.er1 >conftest.err
77090 rm -f conftest.er1
77091 cat conftest.err >&5
77092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77093 (exit $ac_status); } &&
77094 { ac_try='test -z "$ac_cxx_werror_flag"
77095 || test ! -s conftest.err'
77096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77097 (eval $ac_try) 2>&5
77098 ac_status=$?
77099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77100 (exit $ac_status); }; } &&
77101 { ac_try='test -s conftest.$ac_objext'
77102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77103 (eval $ac_try) 2>&5
77104 ac_status=$?
77105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77106 (exit $ac_status); }; }; then
77107 glibcxx_cv_func_fabsl_use=yes
77108 else
77109 echo "$as_me: failed program was:" >&5
77110 sed 's/^/| /' conftest.$ac_ext >&5
77112 glibcxx_cv_func_fabsl_use=no
77114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77115 ac_ext=c
77116 ac_cpp='$CPP $CPPFLAGS'
77117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77125 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
77126 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
77128 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
77130 for ac_func in fabsl
77132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77133 echo "$as_me:$LINENO: checking for $ac_func" >&5
77134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77135 if eval "test \"\${$as_ac_var+set}\" = set"; then
77136 echo $ECHO_N "(cached) $ECHO_C" >&6
77137 else
77138 if test x$gcc_no_link = xyes; then
77139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77141 { (exit 1); exit 1; }; }
77143 cat >conftest.$ac_ext <<_ACEOF
77144 /* confdefs.h. */
77145 _ACEOF
77146 cat confdefs.h >>conftest.$ac_ext
77147 cat >>conftest.$ac_ext <<_ACEOF
77148 /* end confdefs.h. */
77149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77151 #define $ac_func innocuous_$ac_func
77153 /* System header to define __stub macros and hopefully few prototypes,
77154 which can conflict with char $ac_func (); below.
77155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77156 <limits.h> exists even on freestanding compilers. */
77158 #ifdef __STDC__
77159 # include <limits.h>
77160 #else
77161 # include <assert.h>
77162 #endif
77164 #undef $ac_func
77166 /* Override any gcc2 internal prototype to avoid an error. */
77167 #ifdef __cplusplus
77168 extern "C"
77170 #endif
77171 /* We use char because int might match the return type of a gcc2
77172 builtin and then its argument prototype would still apply. */
77173 char $ac_func ();
77174 /* The GNU C library defines this for functions which it implements
77175 to always fail with ENOSYS. Some functions are actually named
77176 something starting with __ and the normal name is an alias. */
77177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77178 choke me
77179 #else
77180 char (*f) () = $ac_func;
77181 #endif
77182 #ifdef __cplusplus
77184 #endif
77187 main ()
77189 return f != $ac_func;
77191 return 0;
77193 _ACEOF
77194 rm -f conftest.$ac_objext conftest$ac_exeext
77195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77196 (eval $ac_link) 2>conftest.er1
77197 ac_status=$?
77198 grep -v '^ *+' conftest.er1 >conftest.err
77199 rm -f conftest.er1
77200 cat conftest.err >&5
77201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77202 (exit $ac_status); } &&
77203 { ac_try='test -z "$ac_c_werror_flag"
77204 || test ! -s conftest.err'
77205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77206 (eval $ac_try) 2>&5
77207 ac_status=$?
77208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77209 (exit $ac_status); }; } &&
77210 { ac_try='test -s conftest$ac_exeext'
77211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77212 (eval $ac_try) 2>&5
77213 ac_status=$?
77214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77215 (exit $ac_status); }; }; then
77216 eval "$as_ac_var=yes"
77217 else
77218 echo "$as_me: failed program was:" >&5
77219 sed 's/^/| /' conftest.$ac_ext >&5
77221 eval "$as_ac_var=no"
77223 rm -f conftest.err conftest.$ac_objext \
77224 conftest$ac_exeext conftest.$ac_ext
77226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77228 if test `eval echo '${'$as_ac_var'}'` = yes; then
77229 cat >>confdefs.h <<_ACEOF
77230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77231 _ACEOF
77234 done
77236 else
77238 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
77239 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
77240 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
77241 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
77242 echo $ECHO_N "(cached) $ECHO_C" >&6
77243 else
77247 ac_ext=cc
77248 ac_cpp='$CXXCPP $CPPFLAGS'
77249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77253 cat >conftest.$ac_ext <<_ACEOF
77254 /* confdefs.h. */
77255 _ACEOF
77256 cat confdefs.h >>conftest.$ac_ext
77257 cat >>conftest.$ac_ext <<_ACEOF
77258 /* end confdefs.h. */
77259 #include <math.h>
77260 #ifdef HAVE_IEEEFP_H
77261 #include <ieeefp.h>
77262 #endif
77265 main ()
77267 _fabsl(0);
77269 return 0;
77271 _ACEOF
77272 rm -f conftest.$ac_objext
77273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77274 (eval $ac_compile) 2>conftest.er1
77275 ac_status=$?
77276 grep -v '^ *+' conftest.er1 >conftest.err
77277 rm -f conftest.er1
77278 cat conftest.err >&5
77279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77280 (exit $ac_status); } &&
77281 { ac_try='test -z "$ac_cxx_werror_flag"
77282 || test ! -s conftest.err'
77283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77284 (eval $ac_try) 2>&5
77285 ac_status=$?
77286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77287 (exit $ac_status); }; } &&
77288 { ac_try='test -s conftest.$ac_objext'
77289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77290 (eval $ac_try) 2>&5
77291 ac_status=$?
77292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77293 (exit $ac_status); }; }; then
77294 glibcxx_cv_func__fabsl_use=yes
77295 else
77296 echo "$as_me: failed program was:" >&5
77297 sed 's/^/| /' conftest.$ac_ext >&5
77299 glibcxx_cv_func__fabsl_use=no
77301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77302 ac_ext=c
77303 ac_cpp='$CPP $CPPFLAGS'
77304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77312 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
77313 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
77315 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
77317 for ac_func in _fabsl
77319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77320 echo "$as_me:$LINENO: checking for $ac_func" >&5
77321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77322 if eval "test \"\${$as_ac_var+set}\" = set"; then
77323 echo $ECHO_N "(cached) $ECHO_C" >&6
77324 else
77325 if test x$gcc_no_link = xyes; then
77326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77328 { (exit 1); exit 1; }; }
77330 cat >conftest.$ac_ext <<_ACEOF
77331 /* confdefs.h. */
77332 _ACEOF
77333 cat confdefs.h >>conftest.$ac_ext
77334 cat >>conftest.$ac_ext <<_ACEOF
77335 /* end confdefs.h. */
77336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77338 #define $ac_func innocuous_$ac_func
77340 /* System header to define __stub macros and hopefully few prototypes,
77341 which can conflict with char $ac_func (); below.
77342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77343 <limits.h> exists even on freestanding compilers. */
77345 #ifdef __STDC__
77346 # include <limits.h>
77347 #else
77348 # include <assert.h>
77349 #endif
77351 #undef $ac_func
77353 /* Override any gcc2 internal prototype to avoid an error. */
77354 #ifdef __cplusplus
77355 extern "C"
77357 #endif
77358 /* We use char because int might match the return type of a gcc2
77359 builtin and then its argument prototype would still apply. */
77360 char $ac_func ();
77361 /* The GNU C library defines this for functions which it implements
77362 to always fail with ENOSYS. Some functions are actually named
77363 something starting with __ and the normal name is an alias. */
77364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77365 choke me
77366 #else
77367 char (*f) () = $ac_func;
77368 #endif
77369 #ifdef __cplusplus
77371 #endif
77374 main ()
77376 return f != $ac_func;
77378 return 0;
77380 _ACEOF
77381 rm -f conftest.$ac_objext conftest$ac_exeext
77382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77383 (eval $ac_link) 2>conftest.er1
77384 ac_status=$?
77385 grep -v '^ *+' conftest.er1 >conftest.err
77386 rm -f conftest.er1
77387 cat conftest.err >&5
77388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77389 (exit $ac_status); } &&
77390 { ac_try='test -z "$ac_c_werror_flag"
77391 || test ! -s conftest.err'
77392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77393 (eval $ac_try) 2>&5
77394 ac_status=$?
77395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77396 (exit $ac_status); }; } &&
77397 { ac_try='test -s conftest$ac_exeext'
77398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77399 (eval $ac_try) 2>&5
77400 ac_status=$?
77401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77402 (exit $ac_status); }; }; then
77403 eval "$as_ac_var=yes"
77404 else
77405 echo "$as_me: failed program was:" >&5
77406 sed 's/^/| /' conftest.$ac_ext >&5
77408 eval "$as_ac_var=no"
77410 rm -f conftest.err conftest.$ac_objext \
77411 conftest$ac_exeext conftest.$ac_ext
77413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77415 if test `eval echo '${'$as_ac_var'}'` = yes; then
77416 cat >>confdefs.h <<_ACEOF
77417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77418 _ACEOF
77421 done
77431 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
77432 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
77433 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
77434 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
77435 echo $ECHO_N "(cached) $ECHO_C" >&6
77436 else
77440 ac_ext=cc
77441 ac_cpp='$CXXCPP $CPPFLAGS'
77442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77446 cat >conftest.$ac_ext <<_ACEOF
77447 /* confdefs.h. */
77448 _ACEOF
77449 cat confdefs.h >>conftest.$ac_ext
77450 cat >>conftest.$ac_ext <<_ACEOF
77451 /* end confdefs.h. */
77452 #include <math.h>
77454 main ()
77456 fmodl(0, 0);
77458 return 0;
77460 _ACEOF
77461 rm -f conftest.$ac_objext
77462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77463 (eval $ac_compile) 2>conftest.er1
77464 ac_status=$?
77465 grep -v '^ *+' conftest.er1 >conftest.err
77466 rm -f conftest.er1
77467 cat conftest.err >&5
77468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77469 (exit $ac_status); } &&
77470 { ac_try='test -z "$ac_cxx_werror_flag"
77471 || test ! -s conftest.err'
77472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77473 (eval $ac_try) 2>&5
77474 ac_status=$?
77475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77476 (exit $ac_status); }; } &&
77477 { ac_try='test -s conftest.$ac_objext'
77478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77479 (eval $ac_try) 2>&5
77480 ac_status=$?
77481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77482 (exit $ac_status); }; }; then
77483 glibcxx_cv_func_fmodl_use=yes
77484 else
77485 echo "$as_me: failed program was:" >&5
77486 sed 's/^/| /' conftest.$ac_ext >&5
77488 glibcxx_cv_func_fmodl_use=no
77490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77491 ac_ext=c
77492 ac_cpp='$CPP $CPPFLAGS'
77493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77501 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
77502 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
77504 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
77506 for ac_func in fmodl
77508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77509 echo "$as_me:$LINENO: checking for $ac_func" >&5
77510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77511 if eval "test \"\${$as_ac_var+set}\" = set"; then
77512 echo $ECHO_N "(cached) $ECHO_C" >&6
77513 else
77514 if test x$gcc_no_link = xyes; then
77515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77517 { (exit 1); exit 1; }; }
77519 cat >conftest.$ac_ext <<_ACEOF
77520 /* confdefs.h. */
77521 _ACEOF
77522 cat confdefs.h >>conftest.$ac_ext
77523 cat >>conftest.$ac_ext <<_ACEOF
77524 /* end confdefs.h. */
77525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77527 #define $ac_func innocuous_$ac_func
77529 /* System header to define __stub macros and hopefully few prototypes,
77530 which can conflict with char $ac_func (); below.
77531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77532 <limits.h> exists even on freestanding compilers. */
77534 #ifdef __STDC__
77535 # include <limits.h>
77536 #else
77537 # include <assert.h>
77538 #endif
77540 #undef $ac_func
77542 /* Override any gcc2 internal prototype to avoid an error. */
77543 #ifdef __cplusplus
77544 extern "C"
77546 #endif
77547 /* We use char because int might match the return type of a gcc2
77548 builtin and then its argument prototype would still apply. */
77549 char $ac_func ();
77550 /* The GNU C library defines this for functions which it implements
77551 to always fail with ENOSYS. Some functions are actually named
77552 something starting with __ and the normal name is an alias. */
77553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77554 choke me
77555 #else
77556 char (*f) () = $ac_func;
77557 #endif
77558 #ifdef __cplusplus
77560 #endif
77563 main ()
77565 return f != $ac_func;
77567 return 0;
77569 _ACEOF
77570 rm -f conftest.$ac_objext conftest$ac_exeext
77571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77572 (eval $ac_link) 2>conftest.er1
77573 ac_status=$?
77574 grep -v '^ *+' conftest.er1 >conftest.err
77575 rm -f conftest.er1
77576 cat conftest.err >&5
77577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77578 (exit $ac_status); } &&
77579 { ac_try='test -z "$ac_c_werror_flag"
77580 || test ! -s conftest.err'
77581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77582 (eval $ac_try) 2>&5
77583 ac_status=$?
77584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77585 (exit $ac_status); }; } &&
77586 { ac_try='test -s conftest$ac_exeext'
77587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77588 (eval $ac_try) 2>&5
77589 ac_status=$?
77590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77591 (exit $ac_status); }; }; then
77592 eval "$as_ac_var=yes"
77593 else
77594 echo "$as_me: failed program was:" >&5
77595 sed 's/^/| /' conftest.$ac_ext >&5
77597 eval "$as_ac_var=no"
77599 rm -f conftest.err conftest.$ac_objext \
77600 conftest$ac_exeext conftest.$ac_ext
77602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77604 if test `eval echo '${'$as_ac_var'}'` = yes; then
77605 cat >>confdefs.h <<_ACEOF
77606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77607 _ACEOF
77610 done
77612 else
77614 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
77615 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
77616 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
77617 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
77618 echo $ECHO_N "(cached) $ECHO_C" >&6
77619 else
77623 ac_ext=cc
77624 ac_cpp='$CXXCPP $CPPFLAGS'
77625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77629 cat >conftest.$ac_ext <<_ACEOF
77630 /* confdefs.h. */
77631 _ACEOF
77632 cat confdefs.h >>conftest.$ac_ext
77633 cat >>conftest.$ac_ext <<_ACEOF
77634 /* end confdefs.h. */
77635 #include <math.h>
77637 main ()
77639 _fmodl(0, 0);
77641 return 0;
77643 _ACEOF
77644 rm -f conftest.$ac_objext
77645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77646 (eval $ac_compile) 2>conftest.er1
77647 ac_status=$?
77648 grep -v '^ *+' conftest.er1 >conftest.err
77649 rm -f conftest.er1
77650 cat conftest.err >&5
77651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77652 (exit $ac_status); } &&
77653 { ac_try='test -z "$ac_cxx_werror_flag"
77654 || test ! -s conftest.err'
77655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77656 (eval $ac_try) 2>&5
77657 ac_status=$?
77658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77659 (exit $ac_status); }; } &&
77660 { ac_try='test -s conftest.$ac_objext'
77661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77662 (eval $ac_try) 2>&5
77663 ac_status=$?
77664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77665 (exit $ac_status); }; }; then
77666 glibcxx_cv_func__fmodl_use=yes
77667 else
77668 echo "$as_me: failed program was:" >&5
77669 sed 's/^/| /' conftest.$ac_ext >&5
77671 glibcxx_cv_func__fmodl_use=no
77673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77674 ac_ext=c
77675 ac_cpp='$CPP $CPPFLAGS'
77676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77684 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
77685 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
77687 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
77689 for ac_func in _fmodl
77691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77692 echo "$as_me:$LINENO: checking for $ac_func" >&5
77693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77694 if eval "test \"\${$as_ac_var+set}\" = set"; then
77695 echo $ECHO_N "(cached) $ECHO_C" >&6
77696 else
77697 if test x$gcc_no_link = xyes; then
77698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77700 { (exit 1); exit 1; }; }
77702 cat >conftest.$ac_ext <<_ACEOF
77703 /* confdefs.h. */
77704 _ACEOF
77705 cat confdefs.h >>conftest.$ac_ext
77706 cat >>conftest.$ac_ext <<_ACEOF
77707 /* end confdefs.h. */
77708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77710 #define $ac_func innocuous_$ac_func
77712 /* System header to define __stub macros and hopefully few prototypes,
77713 which can conflict with char $ac_func (); below.
77714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77715 <limits.h> exists even on freestanding compilers. */
77717 #ifdef __STDC__
77718 # include <limits.h>
77719 #else
77720 # include <assert.h>
77721 #endif
77723 #undef $ac_func
77725 /* Override any gcc2 internal prototype to avoid an error. */
77726 #ifdef __cplusplus
77727 extern "C"
77729 #endif
77730 /* We use char because int might match the return type of a gcc2
77731 builtin and then its argument prototype would still apply. */
77732 char $ac_func ();
77733 /* The GNU C library defines this for functions which it implements
77734 to always fail with ENOSYS. Some functions are actually named
77735 something starting with __ and the normal name is an alias. */
77736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77737 choke me
77738 #else
77739 char (*f) () = $ac_func;
77740 #endif
77741 #ifdef __cplusplus
77743 #endif
77746 main ()
77748 return f != $ac_func;
77750 return 0;
77752 _ACEOF
77753 rm -f conftest.$ac_objext conftest$ac_exeext
77754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77755 (eval $ac_link) 2>conftest.er1
77756 ac_status=$?
77757 grep -v '^ *+' conftest.er1 >conftest.err
77758 rm -f conftest.er1
77759 cat conftest.err >&5
77760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77761 (exit $ac_status); } &&
77762 { ac_try='test -z "$ac_c_werror_flag"
77763 || test ! -s conftest.err'
77764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77765 (eval $ac_try) 2>&5
77766 ac_status=$?
77767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77768 (exit $ac_status); }; } &&
77769 { ac_try='test -s conftest$ac_exeext'
77770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77771 (eval $ac_try) 2>&5
77772 ac_status=$?
77773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77774 (exit $ac_status); }; }; then
77775 eval "$as_ac_var=yes"
77776 else
77777 echo "$as_me: failed program was:" >&5
77778 sed 's/^/| /' conftest.$ac_ext >&5
77780 eval "$as_ac_var=no"
77782 rm -f conftest.err conftest.$ac_objext \
77783 conftest$ac_exeext conftest.$ac_ext
77785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77787 if test `eval echo '${'$as_ac_var'}'` = yes; then
77788 cat >>confdefs.h <<_ACEOF
77789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77790 _ACEOF
77793 done
77803 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
77804 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
77805 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
77806 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
77807 echo $ECHO_N "(cached) $ECHO_C" >&6
77808 else
77812 ac_ext=cc
77813 ac_cpp='$CXXCPP $CPPFLAGS'
77814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77818 cat >conftest.$ac_ext <<_ACEOF
77819 /* confdefs.h. */
77820 _ACEOF
77821 cat confdefs.h >>conftest.$ac_ext
77822 cat >>conftest.$ac_ext <<_ACEOF
77823 /* end confdefs.h. */
77824 #include <math.h>
77826 main ()
77828 frexpl(0, 0);
77830 return 0;
77832 _ACEOF
77833 rm -f conftest.$ac_objext
77834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77835 (eval $ac_compile) 2>conftest.er1
77836 ac_status=$?
77837 grep -v '^ *+' conftest.er1 >conftest.err
77838 rm -f conftest.er1
77839 cat conftest.err >&5
77840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77841 (exit $ac_status); } &&
77842 { ac_try='test -z "$ac_cxx_werror_flag"
77843 || test ! -s conftest.err'
77844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77845 (eval $ac_try) 2>&5
77846 ac_status=$?
77847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77848 (exit $ac_status); }; } &&
77849 { ac_try='test -s conftest.$ac_objext'
77850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77851 (eval $ac_try) 2>&5
77852 ac_status=$?
77853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77854 (exit $ac_status); }; }; then
77855 glibcxx_cv_func_frexpl_use=yes
77856 else
77857 echo "$as_me: failed program was:" >&5
77858 sed 's/^/| /' conftest.$ac_ext >&5
77860 glibcxx_cv_func_frexpl_use=no
77862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77863 ac_ext=c
77864 ac_cpp='$CPP $CPPFLAGS'
77865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77873 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
77874 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
77876 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
77878 for ac_func in frexpl
77880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77881 echo "$as_me:$LINENO: checking for $ac_func" >&5
77882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77883 if eval "test \"\${$as_ac_var+set}\" = set"; then
77884 echo $ECHO_N "(cached) $ECHO_C" >&6
77885 else
77886 if test x$gcc_no_link = xyes; then
77887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77889 { (exit 1); exit 1; }; }
77891 cat >conftest.$ac_ext <<_ACEOF
77892 /* confdefs.h. */
77893 _ACEOF
77894 cat confdefs.h >>conftest.$ac_ext
77895 cat >>conftest.$ac_ext <<_ACEOF
77896 /* end confdefs.h. */
77897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77899 #define $ac_func innocuous_$ac_func
77901 /* System header to define __stub macros and hopefully few prototypes,
77902 which can conflict with char $ac_func (); below.
77903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77904 <limits.h> exists even on freestanding compilers. */
77906 #ifdef __STDC__
77907 # include <limits.h>
77908 #else
77909 # include <assert.h>
77910 #endif
77912 #undef $ac_func
77914 /* Override any gcc2 internal prototype to avoid an error. */
77915 #ifdef __cplusplus
77916 extern "C"
77918 #endif
77919 /* We use char because int might match the return type of a gcc2
77920 builtin and then its argument prototype would still apply. */
77921 char $ac_func ();
77922 /* The GNU C library defines this for functions which it implements
77923 to always fail with ENOSYS. Some functions are actually named
77924 something starting with __ and the normal name is an alias. */
77925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77926 choke me
77927 #else
77928 char (*f) () = $ac_func;
77929 #endif
77930 #ifdef __cplusplus
77932 #endif
77935 main ()
77937 return f != $ac_func;
77939 return 0;
77941 _ACEOF
77942 rm -f conftest.$ac_objext conftest$ac_exeext
77943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77944 (eval $ac_link) 2>conftest.er1
77945 ac_status=$?
77946 grep -v '^ *+' conftest.er1 >conftest.err
77947 rm -f conftest.er1
77948 cat conftest.err >&5
77949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77950 (exit $ac_status); } &&
77951 { ac_try='test -z "$ac_c_werror_flag"
77952 || test ! -s conftest.err'
77953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77954 (eval $ac_try) 2>&5
77955 ac_status=$?
77956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77957 (exit $ac_status); }; } &&
77958 { ac_try='test -s conftest$ac_exeext'
77959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77960 (eval $ac_try) 2>&5
77961 ac_status=$?
77962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77963 (exit $ac_status); }; }; then
77964 eval "$as_ac_var=yes"
77965 else
77966 echo "$as_me: failed program was:" >&5
77967 sed 's/^/| /' conftest.$ac_ext >&5
77969 eval "$as_ac_var=no"
77971 rm -f conftest.err conftest.$ac_objext \
77972 conftest$ac_exeext conftest.$ac_ext
77974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77976 if test `eval echo '${'$as_ac_var'}'` = yes; then
77977 cat >>confdefs.h <<_ACEOF
77978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77979 _ACEOF
77982 done
77984 else
77986 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
77987 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
77988 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
77989 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
77990 echo $ECHO_N "(cached) $ECHO_C" >&6
77991 else
77995 ac_ext=cc
77996 ac_cpp='$CXXCPP $CPPFLAGS'
77997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78001 cat >conftest.$ac_ext <<_ACEOF
78002 /* confdefs.h. */
78003 _ACEOF
78004 cat confdefs.h >>conftest.$ac_ext
78005 cat >>conftest.$ac_ext <<_ACEOF
78006 /* end confdefs.h. */
78007 #include <math.h>
78009 main ()
78011 _frexpl(0, 0);
78013 return 0;
78015 _ACEOF
78016 rm -f conftest.$ac_objext
78017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78018 (eval $ac_compile) 2>conftest.er1
78019 ac_status=$?
78020 grep -v '^ *+' conftest.er1 >conftest.err
78021 rm -f conftest.er1
78022 cat conftest.err >&5
78023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78024 (exit $ac_status); } &&
78025 { ac_try='test -z "$ac_cxx_werror_flag"
78026 || test ! -s conftest.err'
78027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78028 (eval $ac_try) 2>&5
78029 ac_status=$?
78030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78031 (exit $ac_status); }; } &&
78032 { ac_try='test -s conftest.$ac_objext'
78033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78034 (eval $ac_try) 2>&5
78035 ac_status=$?
78036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78037 (exit $ac_status); }; }; then
78038 glibcxx_cv_func__frexpl_use=yes
78039 else
78040 echo "$as_me: failed program was:" >&5
78041 sed 's/^/| /' conftest.$ac_ext >&5
78043 glibcxx_cv_func__frexpl_use=no
78045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78046 ac_ext=c
78047 ac_cpp='$CPP $CPPFLAGS'
78048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78056 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
78057 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
78059 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
78061 for ac_func in _frexpl
78063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78064 echo "$as_me:$LINENO: checking for $ac_func" >&5
78065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78066 if eval "test \"\${$as_ac_var+set}\" = set"; then
78067 echo $ECHO_N "(cached) $ECHO_C" >&6
78068 else
78069 if test x$gcc_no_link = xyes; then
78070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78072 { (exit 1); exit 1; }; }
78074 cat >conftest.$ac_ext <<_ACEOF
78075 /* confdefs.h. */
78076 _ACEOF
78077 cat confdefs.h >>conftest.$ac_ext
78078 cat >>conftest.$ac_ext <<_ACEOF
78079 /* end confdefs.h. */
78080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78082 #define $ac_func innocuous_$ac_func
78084 /* System header to define __stub macros and hopefully few prototypes,
78085 which can conflict with char $ac_func (); below.
78086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78087 <limits.h> exists even on freestanding compilers. */
78089 #ifdef __STDC__
78090 # include <limits.h>
78091 #else
78092 # include <assert.h>
78093 #endif
78095 #undef $ac_func
78097 /* Override any gcc2 internal prototype to avoid an error. */
78098 #ifdef __cplusplus
78099 extern "C"
78101 #endif
78102 /* We use char because int might match the return type of a gcc2
78103 builtin and then its argument prototype would still apply. */
78104 char $ac_func ();
78105 /* The GNU C library defines this for functions which it implements
78106 to always fail with ENOSYS. Some functions are actually named
78107 something starting with __ and the normal name is an alias. */
78108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78109 choke me
78110 #else
78111 char (*f) () = $ac_func;
78112 #endif
78113 #ifdef __cplusplus
78115 #endif
78118 main ()
78120 return f != $ac_func;
78122 return 0;
78124 _ACEOF
78125 rm -f conftest.$ac_objext conftest$ac_exeext
78126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78127 (eval $ac_link) 2>conftest.er1
78128 ac_status=$?
78129 grep -v '^ *+' conftest.er1 >conftest.err
78130 rm -f conftest.er1
78131 cat conftest.err >&5
78132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78133 (exit $ac_status); } &&
78134 { ac_try='test -z "$ac_c_werror_flag"
78135 || test ! -s conftest.err'
78136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78137 (eval $ac_try) 2>&5
78138 ac_status=$?
78139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78140 (exit $ac_status); }; } &&
78141 { ac_try='test -s conftest$ac_exeext'
78142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78143 (eval $ac_try) 2>&5
78144 ac_status=$?
78145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78146 (exit $ac_status); }; }; then
78147 eval "$as_ac_var=yes"
78148 else
78149 echo "$as_me: failed program was:" >&5
78150 sed 's/^/| /' conftest.$ac_ext >&5
78152 eval "$as_ac_var=no"
78154 rm -f conftest.err conftest.$ac_objext \
78155 conftest$ac_exeext conftest.$ac_ext
78157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78159 if test `eval echo '${'$as_ac_var'}'` = yes; then
78160 cat >>confdefs.h <<_ACEOF
78161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78162 _ACEOF
78165 done
78175 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
78176 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
78177 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
78178 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
78179 echo $ECHO_N "(cached) $ECHO_C" >&6
78180 else
78184 ac_ext=cc
78185 ac_cpp='$CXXCPP $CPPFLAGS'
78186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78190 cat >conftest.$ac_ext <<_ACEOF
78191 /* confdefs.h. */
78192 _ACEOF
78193 cat confdefs.h >>conftest.$ac_ext
78194 cat >>conftest.$ac_ext <<_ACEOF
78195 /* end confdefs.h. */
78196 #include <math.h>
78198 main ()
78200 hypotl(0, 0);
78202 return 0;
78204 _ACEOF
78205 rm -f conftest.$ac_objext
78206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78207 (eval $ac_compile) 2>conftest.er1
78208 ac_status=$?
78209 grep -v '^ *+' conftest.er1 >conftest.err
78210 rm -f conftest.er1
78211 cat conftest.err >&5
78212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78213 (exit $ac_status); } &&
78214 { ac_try='test -z "$ac_cxx_werror_flag"
78215 || test ! -s conftest.err'
78216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78217 (eval $ac_try) 2>&5
78218 ac_status=$?
78219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78220 (exit $ac_status); }; } &&
78221 { ac_try='test -s conftest.$ac_objext'
78222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78223 (eval $ac_try) 2>&5
78224 ac_status=$?
78225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78226 (exit $ac_status); }; }; then
78227 glibcxx_cv_func_hypotl_use=yes
78228 else
78229 echo "$as_me: failed program was:" >&5
78230 sed 's/^/| /' conftest.$ac_ext >&5
78232 glibcxx_cv_func_hypotl_use=no
78234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78235 ac_ext=c
78236 ac_cpp='$CPP $CPPFLAGS'
78237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78245 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
78246 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
78248 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
78250 for ac_func in hypotl
78252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78253 echo "$as_me:$LINENO: checking for $ac_func" >&5
78254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78255 if eval "test \"\${$as_ac_var+set}\" = set"; then
78256 echo $ECHO_N "(cached) $ECHO_C" >&6
78257 else
78258 if test x$gcc_no_link = xyes; then
78259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78261 { (exit 1); exit 1; }; }
78263 cat >conftest.$ac_ext <<_ACEOF
78264 /* confdefs.h. */
78265 _ACEOF
78266 cat confdefs.h >>conftest.$ac_ext
78267 cat >>conftest.$ac_ext <<_ACEOF
78268 /* end confdefs.h. */
78269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78271 #define $ac_func innocuous_$ac_func
78273 /* System header to define __stub macros and hopefully few prototypes,
78274 which can conflict with char $ac_func (); below.
78275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78276 <limits.h> exists even on freestanding compilers. */
78278 #ifdef __STDC__
78279 # include <limits.h>
78280 #else
78281 # include <assert.h>
78282 #endif
78284 #undef $ac_func
78286 /* Override any gcc2 internal prototype to avoid an error. */
78287 #ifdef __cplusplus
78288 extern "C"
78290 #endif
78291 /* We use char because int might match the return type of a gcc2
78292 builtin and then its argument prototype would still apply. */
78293 char $ac_func ();
78294 /* The GNU C library defines this for functions which it implements
78295 to always fail with ENOSYS. Some functions are actually named
78296 something starting with __ and the normal name is an alias. */
78297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78298 choke me
78299 #else
78300 char (*f) () = $ac_func;
78301 #endif
78302 #ifdef __cplusplus
78304 #endif
78307 main ()
78309 return f != $ac_func;
78311 return 0;
78313 _ACEOF
78314 rm -f conftest.$ac_objext conftest$ac_exeext
78315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78316 (eval $ac_link) 2>conftest.er1
78317 ac_status=$?
78318 grep -v '^ *+' conftest.er1 >conftest.err
78319 rm -f conftest.er1
78320 cat conftest.err >&5
78321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78322 (exit $ac_status); } &&
78323 { ac_try='test -z "$ac_c_werror_flag"
78324 || test ! -s conftest.err'
78325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78326 (eval $ac_try) 2>&5
78327 ac_status=$?
78328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78329 (exit $ac_status); }; } &&
78330 { ac_try='test -s conftest$ac_exeext'
78331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78332 (eval $ac_try) 2>&5
78333 ac_status=$?
78334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78335 (exit $ac_status); }; }; then
78336 eval "$as_ac_var=yes"
78337 else
78338 echo "$as_me: failed program was:" >&5
78339 sed 's/^/| /' conftest.$ac_ext >&5
78341 eval "$as_ac_var=no"
78343 rm -f conftest.err conftest.$ac_objext \
78344 conftest$ac_exeext conftest.$ac_ext
78346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78348 if test `eval echo '${'$as_ac_var'}'` = yes; then
78349 cat >>confdefs.h <<_ACEOF
78350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78351 _ACEOF
78354 done
78356 else
78358 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
78359 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
78360 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
78361 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
78362 echo $ECHO_N "(cached) $ECHO_C" >&6
78363 else
78367 ac_ext=cc
78368 ac_cpp='$CXXCPP $CPPFLAGS'
78369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78373 cat >conftest.$ac_ext <<_ACEOF
78374 /* confdefs.h. */
78375 _ACEOF
78376 cat confdefs.h >>conftest.$ac_ext
78377 cat >>conftest.$ac_ext <<_ACEOF
78378 /* end confdefs.h. */
78379 #include <math.h>
78381 main ()
78383 _hypotl(0, 0);
78385 return 0;
78387 _ACEOF
78388 rm -f conftest.$ac_objext
78389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78390 (eval $ac_compile) 2>conftest.er1
78391 ac_status=$?
78392 grep -v '^ *+' conftest.er1 >conftest.err
78393 rm -f conftest.er1
78394 cat conftest.err >&5
78395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78396 (exit $ac_status); } &&
78397 { ac_try='test -z "$ac_cxx_werror_flag"
78398 || test ! -s conftest.err'
78399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78400 (eval $ac_try) 2>&5
78401 ac_status=$?
78402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78403 (exit $ac_status); }; } &&
78404 { ac_try='test -s conftest.$ac_objext'
78405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78406 (eval $ac_try) 2>&5
78407 ac_status=$?
78408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78409 (exit $ac_status); }; }; then
78410 glibcxx_cv_func__hypotl_use=yes
78411 else
78412 echo "$as_me: failed program was:" >&5
78413 sed 's/^/| /' conftest.$ac_ext >&5
78415 glibcxx_cv_func__hypotl_use=no
78417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78418 ac_ext=c
78419 ac_cpp='$CPP $CPPFLAGS'
78420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78428 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
78429 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
78431 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
78433 for ac_func in _hypotl
78435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78436 echo "$as_me:$LINENO: checking for $ac_func" >&5
78437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78438 if eval "test \"\${$as_ac_var+set}\" = set"; then
78439 echo $ECHO_N "(cached) $ECHO_C" >&6
78440 else
78441 if test x$gcc_no_link = xyes; then
78442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78444 { (exit 1); exit 1; }; }
78446 cat >conftest.$ac_ext <<_ACEOF
78447 /* confdefs.h. */
78448 _ACEOF
78449 cat confdefs.h >>conftest.$ac_ext
78450 cat >>conftest.$ac_ext <<_ACEOF
78451 /* end confdefs.h. */
78452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78454 #define $ac_func innocuous_$ac_func
78456 /* System header to define __stub macros and hopefully few prototypes,
78457 which can conflict with char $ac_func (); below.
78458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78459 <limits.h> exists even on freestanding compilers. */
78461 #ifdef __STDC__
78462 # include <limits.h>
78463 #else
78464 # include <assert.h>
78465 #endif
78467 #undef $ac_func
78469 /* Override any gcc2 internal prototype to avoid an error. */
78470 #ifdef __cplusplus
78471 extern "C"
78473 #endif
78474 /* We use char because int might match the return type of a gcc2
78475 builtin and then its argument prototype would still apply. */
78476 char $ac_func ();
78477 /* The GNU C library defines this for functions which it implements
78478 to always fail with ENOSYS. Some functions are actually named
78479 something starting with __ and the normal name is an alias. */
78480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78481 choke me
78482 #else
78483 char (*f) () = $ac_func;
78484 #endif
78485 #ifdef __cplusplus
78487 #endif
78490 main ()
78492 return f != $ac_func;
78494 return 0;
78496 _ACEOF
78497 rm -f conftest.$ac_objext conftest$ac_exeext
78498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78499 (eval $ac_link) 2>conftest.er1
78500 ac_status=$?
78501 grep -v '^ *+' conftest.er1 >conftest.err
78502 rm -f conftest.er1
78503 cat conftest.err >&5
78504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78505 (exit $ac_status); } &&
78506 { ac_try='test -z "$ac_c_werror_flag"
78507 || test ! -s conftest.err'
78508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78509 (eval $ac_try) 2>&5
78510 ac_status=$?
78511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78512 (exit $ac_status); }; } &&
78513 { ac_try='test -s conftest$ac_exeext'
78514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78515 (eval $ac_try) 2>&5
78516 ac_status=$?
78517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78518 (exit $ac_status); }; }; then
78519 eval "$as_ac_var=yes"
78520 else
78521 echo "$as_me: failed program was:" >&5
78522 sed 's/^/| /' conftest.$ac_ext >&5
78524 eval "$as_ac_var=no"
78526 rm -f conftest.err conftest.$ac_objext \
78527 conftest$ac_exeext conftest.$ac_ext
78529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78531 if test `eval echo '${'$as_ac_var'}'` = yes; then
78532 cat >>confdefs.h <<_ACEOF
78533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78534 _ACEOF
78537 done
78547 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
78548 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
78549 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
78550 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
78551 echo $ECHO_N "(cached) $ECHO_C" >&6
78552 else
78556 ac_ext=cc
78557 ac_cpp='$CXXCPP $CPPFLAGS'
78558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78562 cat >conftest.$ac_ext <<_ACEOF
78563 /* confdefs.h. */
78564 _ACEOF
78565 cat confdefs.h >>conftest.$ac_ext
78566 cat >>conftest.$ac_ext <<_ACEOF
78567 /* end confdefs.h. */
78568 #include <math.h>
78570 main ()
78572 ldexpl(0, 0);
78574 return 0;
78576 _ACEOF
78577 rm -f conftest.$ac_objext
78578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78579 (eval $ac_compile) 2>conftest.er1
78580 ac_status=$?
78581 grep -v '^ *+' conftest.er1 >conftest.err
78582 rm -f conftest.er1
78583 cat conftest.err >&5
78584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78585 (exit $ac_status); } &&
78586 { ac_try='test -z "$ac_cxx_werror_flag"
78587 || test ! -s conftest.err'
78588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78589 (eval $ac_try) 2>&5
78590 ac_status=$?
78591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78592 (exit $ac_status); }; } &&
78593 { ac_try='test -s conftest.$ac_objext'
78594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78595 (eval $ac_try) 2>&5
78596 ac_status=$?
78597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78598 (exit $ac_status); }; }; then
78599 glibcxx_cv_func_ldexpl_use=yes
78600 else
78601 echo "$as_me: failed program was:" >&5
78602 sed 's/^/| /' conftest.$ac_ext >&5
78604 glibcxx_cv_func_ldexpl_use=no
78606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78607 ac_ext=c
78608 ac_cpp='$CPP $CPPFLAGS'
78609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78617 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
78618 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
78620 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
78622 for ac_func in ldexpl
78624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78625 echo "$as_me:$LINENO: checking for $ac_func" >&5
78626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78627 if eval "test \"\${$as_ac_var+set}\" = set"; then
78628 echo $ECHO_N "(cached) $ECHO_C" >&6
78629 else
78630 if test x$gcc_no_link = xyes; then
78631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78633 { (exit 1); exit 1; }; }
78635 cat >conftest.$ac_ext <<_ACEOF
78636 /* confdefs.h. */
78637 _ACEOF
78638 cat confdefs.h >>conftest.$ac_ext
78639 cat >>conftest.$ac_ext <<_ACEOF
78640 /* end confdefs.h. */
78641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78643 #define $ac_func innocuous_$ac_func
78645 /* System header to define __stub macros and hopefully few prototypes,
78646 which can conflict with char $ac_func (); below.
78647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78648 <limits.h> exists even on freestanding compilers. */
78650 #ifdef __STDC__
78651 # include <limits.h>
78652 #else
78653 # include <assert.h>
78654 #endif
78656 #undef $ac_func
78658 /* Override any gcc2 internal prototype to avoid an error. */
78659 #ifdef __cplusplus
78660 extern "C"
78662 #endif
78663 /* We use char because int might match the return type of a gcc2
78664 builtin and then its argument prototype would still apply. */
78665 char $ac_func ();
78666 /* The GNU C library defines this for functions which it implements
78667 to always fail with ENOSYS. Some functions are actually named
78668 something starting with __ and the normal name is an alias. */
78669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78670 choke me
78671 #else
78672 char (*f) () = $ac_func;
78673 #endif
78674 #ifdef __cplusplus
78676 #endif
78679 main ()
78681 return f != $ac_func;
78683 return 0;
78685 _ACEOF
78686 rm -f conftest.$ac_objext conftest$ac_exeext
78687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78688 (eval $ac_link) 2>conftest.er1
78689 ac_status=$?
78690 grep -v '^ *+' conftest.er1 >conftest.err
78691 rm -f conftest.er1
78692 cat conftest.err >&5
78693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78694 (exit $ac_status); } &&
78695 { ac_try='test -z "$ac_c_werror_flag"
78696 || test ! -s conftest.err'
78697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78698 (eval $ac_try) 2>&5
78699 ac_status=$?
78700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78701 (exit $ac_status); }; } &&
78702 { ac_try='test -s conftest$ac_exeext'
78703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78704 (eval $ac_try) 2>&5
78705 ac_status=$?
78706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78707 (exit $ac_status); }; }; then
78708 eval "$as_ac_var=yes"
78709 else
78710 echo "$as_me: failed program was:" >&5
78711 sed 's/^/| /' conftest.$ac_ext >&5
78713 eval "$as_ac_var=no"
78715 rm -f conftest.err conftest.$ac_objext \
78716 conftest$ac_exeext conftest.$ac_ext
78718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78720 if test `eval echo '${'$as_ac_var'}'` = yes; then
78721 cat >>confdefs.h <<_ACEOF
78722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78723 _ACEOF
78726 done
78728 else
78730 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
78731 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
78732 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
78733 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
78734 echo $ECHO_N "(cached) $ECHO_C" >&6
78735 else
78739 ac_ext=cc
78740 ac_cpp='$CXXCPP $CPPFLAGS'
78741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78745 cat >conftest.$ac_ext <<_ACEOF
78746 /* confdefs.h. */
78747 _ACEOF
78748 cat confdefs.h >>conftest.$ac_ext
78749 cat >>conftest.$ac_ext <<_ACEOF
78750 /* end confdefs.h. */
78751 #include <math.h>
78753 main ()
78755 _ldexpl(0, 0);
78757 return 0;
78759 _ACEOF
78760 rm -f conftest.$ac_objext
78761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78762 (eval $ac_compile) 2>conftest.er1
78763 ac_status=$?
78764 grep -v '^ *+' conftest.er1 >conftest.err
78765 rm -f conftest.er1
78766 cat conftest.err >&5
78767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78768 (exit $ac_status); } &&
78769 { ac_try='test -z "$ac_cxx_werror_flag"
78770 || test ! -s conftest.err'
78771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78772 (eval $ac_try) 2>&5
78773 ac_status=$?
78774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78775 (exit $ac_status); }; } &&
78776 { ac_try='test -s conftest.$ac_objext'
78777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78778 (eval $ac_try) 2>&5
78779 ac_status=$?
78780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78781 (exit $ac_status); }; }; then
78782 glibcxx_cv_func__ldexpl_use=yes
78783 else
78784 echo "$as_me: failed program was:" >&5
78785 sed 's/^/| /' conftest.$ac_ext >&5
78787 glibcxx_cv_func__ldexpl_use=no
78789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78790 ac_ext=c
78791 ac_cpp='$CPP $CPPFLAGS'
78792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78800 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
78801 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
78803 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
78805 for ac_func in _ldexpl
78807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78808 echo "$as_me:$LINENO: checking for $ac_func" >&5
78809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78810 if eval "test \"\${$as_ac_var+set}\" = set"; then
78811 echo $ECHO_N "(cached) $ECHO_C" >&6
78812 else
78813 if test x$gcc_no_link = xyes; then
78814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78816 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78826 #define $ac_func innocuous_$ac_func
78828 /* System header to define __stub macros and hopefully few prototypes,
78829 which can conflict with char $ac_func (); below.
78830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78831 <limits.h> exists even on freestanding compilers. */
78833 #ifdef __STDC__
78834 # include <limits.h>
78835 #else
78836 # include <assert.h>
78837 #endif
78839 #undef $ac_func
78841 /* Override any gcc2 internal prototype to avoid an error. */
78842 #ifdef __cplusplus
78843 extern "C"
78845 #endif
78846 /* We use char because int might match the return type of a gcc2
78847 builtin and then its argument prototype would still apply. */
78848 char $ac_func ();
78849 /* The GNU C library defines this for functions which it implements
78850 to always fail with ENOSYS. Some functions are actually named
78851 something starting with __ and the normal name is an alias. */
78852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78853 choke me
78854 #else
78855 char (*f) () = $ac_func;
78856 #endif
78857 #ifdef __cplusplus
78859 #endif
78862 main ()
78864 return f != $ac_func;
78866 return 0;
78868 _ACEOF
78869 rm -f conftest.$ac_objext conftest$ac_exeext
78870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78871 (eval $ac_link) 2>conftest.er1
78872 ac_status=$?
78873 grep -v '^ *+' conftest.er1 >conftest.err
78874 rm -f conftest.er1
78875 cat conftest.err >&5
78876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78877 (exit $ac_status); } &&
78878 { ac_try='test -z "$ac_c_werror_flag"
78879 || test ! -s conftest.err'
78880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78881 (eval $ac_try) 2>&5
78882 ac_status=$?
78883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78884 (exit $ac_status); }; } &&
78885 { ac_try='test -s conftest$ac_exeext'
78886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78887 (eval $ac_try) 2>&5
78888 ac_status=$?
78889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78890 (exit $ac_status); }; }; then
78891 eval "$as_ac_var=yes"
78892 else
78893 echo "$as_me: failed program was:" >&5
78894 sed 's/^/| /' conftest.$ac_ext >&5
78896 eval "$as_ac_var=no"
78898 rm -f conftest.err conftest.$ac_objext \
78899 conftest$ac_exeext conftest.$ac_ext
78901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78903 if test `eval echo '${'$as_ac_var'}'` = yes; then
78904 cat >>confdefs.h <<_ACEOF
78905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78906 _ACEOF
78909 done
78919 echo "$as_me:$LINENO: checking for logl declaration" >&5
78920 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
78921 if test x${glibcxx_cv_func_logl_use+set} != xset; then
78922 if test "${glibcxx_cv_func_logl_use+set}" = set; then
78923 echo $ECHO_N "(cached) $ECHO_C" >&6
78924 else
78928 ac_ext=cc
78929 ac_cpp='$CXXCPP $CPPFLAGS'
78930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78934 cat >conftest.$ac_ext <<_ACEOF
78935 /* confdefs.h. */
78936 _ACEOF
78937 cat confdefs.h >>conftest.$ac_ext
78938 cat >>conftest.$ac_ext <<_ACEOF
78939 /* end confdefs.h. */
78940 #include <math.h>
78941 #ifdef HAVE_IEEEFP_H
78942 #include <ieeefp.h>
78943 #endif
78946 main ()
78948 logl(0);
78950 return 0;
78952 _ACEOF
78953 rm -f conftest.$ac_objext
78954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78955 (eval $ac_compile) 2>conftest.er1
78956 ac_status=$?
78957 grep -v '^ *+' conftest.er1 >conftest.err
78958 rm -f conftest.er1
78959 cat conftest.err >&5
78960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78961 (exit $ac_status); } &&
78962 { ac_try='test -z "$ac_cxx_werror_flag"
78963 || test ! -s conftest.err'
78964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78965 (eval $ac_try) 2>&5
78966 ac_status=$?
78967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78968 (exit $ac_status); }; } &&
78969 { ac_try='test -s conftest.$ac_objext'
78970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78971 (eval $ac_try) 2>&5
78972 ac_status=$?
78973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78974 (exit $ac_status); }; }; then
78975 glibcxx_cv_func_logl_use=yes
78976 else
78977 echo "$as_me: failed program was:" >&5
78978 sed 's/^/| /' conftest.$ac_ext >&5
78980 glibcxx_cv_func_logl_use=no
78982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78983 ac_ext=c
78984 ac_cpp='$CPP $CPPFLAGS'
78985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78993 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
78994 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
78996 if test x$glibcxx_cv_func_logl_use = x"yes"; then
78998 for ac_func in logl
79000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79001 echo "$as_me:$LINENO: checking for $ac_func" >&5
79002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79003 if eval "test \"\${$as_ac_var+set}\" = set"; then
79004 echo $ECHO_N "(cached) $ECHO_C" >&6
79005 else
79006 if test x$gcc_no_link = xyes; then
79007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79009 { (exit 1); exit 1; }; }
79011 cat >conftest.$ac_ext <<_ACEOF
79012 /* confdefs.h. */
79013 _ACEOF
79014 cat confdefs.h >>conftest.$ac_ext
79015 cat >>conftest.$ac_ext <<_ACEOF
79016 /* end confdefs.h. */
79017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79019 #define $ac_func innocuous_$ac_func
79021 /* System header to define __stub macros and hopefully few prototypes,
79022 which can conflict with char $ac_func (); below.
79023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79024 <limits.h> exists even on freestanding compilers. */
79026 #ifdef __STDC__
79027 # include <limits.h>
79028 #else
79029 # include <assert.h>
79030 #endif
79032 #undef $ac_func
79034 /* Override any gcc2 internal prototype to avoid an error. */
79035 #ifdef __cplusplus
79036 extern "C"
79038 #endif
79039 /* We use char because int might match the return type of a gcc2
79040 builtin and then its argument prototype would still apply. */
79041 char $ac_func ();
79042 /* The GNU C library defines this for functions which it implements
79043 to always fail with ENOSYS. Some functions are actually named
79044 something starting with __ and the normal name is an alias. */
79045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79046 choke me
79047 #else
79048 char (*f) () = $ac_func;
79049 #endif
79050 #ifdef __cplusplus
79052 #endif
79055 main ()
79057 return f != $ac_func;
79059 return 0;
79061 _ACEOF
79062 rm -f conftest.$ac_objext conftest$ac_exeext
79063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79064 (eval $ac_link) 2>conftest.er1
79065 ac_status=$?
79066 grep -v '^ *+' conftest.er1 >conftest.err
79067 rm -f conftest.er1
79068 cat conftest.err >&5
79069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79070 (exit $ac_status); } &&
79071 { ac_try='test -z "$ac_c_werror_flag"
79072 || test ! -s conftest.err'
79073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79074 (eval $ac_try) 2>&5
79075 ac_status=$?
79076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79077 (exit $ac_status); }; } &&
79078 { ac_try='test -s conftest$ac_exeext'
79079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79080 (eval $ac_try) 2>&5
79081 ac_status=$?
79082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79083 (exit $ac_status); }; }; then
79084 eval "$as_ac_var=yes"
79085 else
79086 echo "$as_me: failed program was:" >&5
79087 sed 's/^/| /' conftest.$ac_ext >&5
79089 eval "$as_ac_var=no"
79091 rm -f conftest.err conftest.$ac_objext \
79092 conftest$ac_exeext conftest.$ac_ext
79094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79096 if test `eval echo '${'$as_ac_var'}'` = yes; then
79097 cat >>confdefs.h <<_ACEOF
79098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79099 _ACEOF
79102 done
79104 else
79106 echo "$as_me:$LINENO: checking for _logl declaration" >&5
79107 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
79108 if test x${glibcxx_cv_func__logl_use+set} != xset; then
79109 if test "${glibcxx_cv_func__logl_use+set}" = set; then
79110 echo $ECHO_N "(cached) $ECHO_C" >&6
79111 else
79115 ac_ext=cc
79116 ac_cpp='$CXXCPP $CPPFLAGS'
79117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79121 cat >conftest.$ac_ext <<_ACEOF
79122 /* confdefs.h. */
79123 _ACEOF
79124 cat confdefs.h >>conftest.$ac_ext
79125 cat >>conftest.$ac_ext <<_ACEOF
79126 /* end confdefs.h. */
79127 #include <math.h>
79128 #ifdef HAVE_IEEEFP_H
79129 #include <ieeefp.h>
79130 #endif
79133 main ()
79135 _logl(0);
79137 return 0;
79139 _ACEOF
79140 rm -f conftest.$ac_objext
79141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79142 (eval $ac_compile) 2>conftest.er1
79143 ac_status=$?
79144 grep -v '^ *+' conftest.er1 >conftest.err
79145 rm -f conftest.er1
79146 cat conftest.err >&5
79147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79148 (exit $ac_status); } &&
79149 { ac_try='test -z "$ac_cxx_werror_flag"
79150 || test ! -s conftest.err'
79151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79152 (eval $ac_try) 2>&5
79153 ac_status=$?
79154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79155 (exit $ac_status); }; } &&
79156 { ac_try='test -s conftest.$ac_objext'
79157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79158 (eval $ac_try) 2>&5
79159 ac_status=$?
79160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79161 (exit $ac_status); }; }; then
79162 glibcxx_cv_func__logl_use=yes
79163 else
79164 echo "$as_me: failed program was:" >&5
79165 sed 's/^/| /' conftest.$ac_ext >&5
79167 glibcxx_cv_func__logl_use=no
79169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79170 ac_ext=c
79171 ac_cpp='$CPP $CPPFLAGS'
79172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79180 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
79181 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
79183 if test x$glibcxx_cv_func__logl_use = x"yes"; then
79185 for ac_func in _logl
79187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79188 echo "$as_me:$LINENO: checking for $ac_func" >&5
79189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79190 if eval "test \"\${$as_ac_var+set}\" = set"; then
79191 echo $ECHO_N "(cached) $ECHO_C" >&6
79192 else
79193 if test x$gcc_no_link = xyes; then
79194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79196 { (exit 1); exit 1; }; }
79198 cat >conftest.$ac_ext <<_ACEOF
79199 /* confdefs.h. */
79200 _ACEOF
79201 cat confdefs.h >>conftest.$ac_ext
79202 cat >>conftest.$ac_ext <<_ACEOF
79203 /* end confdefs.h. */
79204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79206 #define $ac_func innocuous_$ac_func
79208 /* System header to define __stub macros and hopefully few prototypes,
79209 which can conflict with char $ac_func (); below.
79210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79211 <limits.h> exists even on freestanding compilers. */
79213 #ifdef __STDC__
79214 # include <limits.h>
79215 #else
79216 # include <assert.h>
79217 #endif
79219 #undef $ac_func
79221 /* Override any gcc2 internal prototype to avoid an error. */
79222 #ifdef __cplusplus
79223 extern "C"
79225 #endif
79226 /* We use char because int might match the return type of a gcc2
79227 builtin and then its argument prototype would still apply. */
79228 char $ac_func ();
79229 /* The GNU C library defines this for functions which it implements
79230 to always fail with ENOSYS. Some functions are actually named
79231 something starting with __ and the normal name is an alias. */
79232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79233 choke me
79234 #else
79235 char (*f) () = $ac_func;
79236 #endif
79237 #ifdef __cplusplus
79239 #endif
79242 main ()
79244 return f != $ac_func;
79246 return 0;
79248 _ACEOF
79249 rm -f conftest.$ac_objext conftest$ac_exeext
79250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79251 (eval $ac_link) 2>conftest.er1
79252 ac_status=$?
79253 grep -v '^ *+' conftest.er1 >conftest.err
79254 rm -f conftest.er1
79255 cat conftest.err >&5
79256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79257 (exit $ac_status); } &&
79258 { ac_try='test -z "$ac_c_werror_flag"
79259 || test ! -s conftest.err'
79260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79261 (eval $ac_try) 2>&5
79262 ac_status=$?
79263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79264 (exit $ac_status); }; } &&
79265 { ac_try='test -s conftest$ac_exeext'
79266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79267 (eval $ac_try) 2>&5
79268 ac_status=$?
79269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79270 (exit $ac_status); }; }; then
79271 eval "$as_ac_var=yes"
79272 else
79273 echo "$as_me: failed program was:" >&5
79274 sed 's/^/| /' conftest.$ac_ext >&5
79276 eval "$as_ac_var=no"
79278 rm -f conftest.err conftest.$ac_objext \
79279 conftest$ac_exeext conftest.$ac_ext
79281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79283 if test `eval echo '${'$as_ac_var'}'` = yes; then
79284 cat >>confdefs.h <<_ACEOF
79285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79286 _ACEOF
79289 done
79299 echo "$as_me:$LINENO: checking for log10l declaration" >&5
79300 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
79301 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
79302 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
79303 echo $ECHO_N "(cached) $ECHO_C" >&6
79304 else
79308 ac_ext=cc
79309 ac_cpp='$CXXCPP $CPPFLAGS'
79310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79314 cat >conftest.$ac_ext <<_ACEOF
79315 /* confdefs.h. */
79316 _ACEOF
79317 cat confdefs.h >>conftest.$ac_ext
79318 cat >>conftest.$ac_ext <<_ACEOF
79319 /* end confdefs.h. */
79320 #include <math.h>
79321 #ifdef HAVE_IEEEFP_H
79322 #include <ieeefp.h>
79323 #endif
79326 main ()
79328 log10l(0);
79330 return 0;
79332 _ACEOF
79333 rm -f conftest.$ac_objext
79334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79335 (eval $ac_compile) 2>conftest.er1
79336 ac_status=$?
79337 grep -v '^ *+' conftest.er1 >conftest.err
79338 rm -f conftest.er1
79339 cat conftest.err >&5
79340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79341 (exit $ac_status); } &&
79342 { ac_try='test -z "$ac_cxx_werror_flag"
79343 || test ! -s conftest.err'
79344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79345 (eval $ac_try) 2>&5
79346 ac_status=$?
79347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79348 (exit $ac_status); }; } &&
79349 { ac_try='test -s conftest.$ac_objext'
79350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79351 (eval $ac_try) 2>&5
79352 ac_status=$?
79353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79354 (exit $ac_status); }; }; then
79355 glibcxx_cv_func_log10l_use=yes
79356 else
79357 echo "$as_me: failed program was:" >&5
79358 sed 's/^/| /' conftest.$ac_ext >&5
79360 glibcxx_cv_func_log10l_use=no
79362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79363 ac_ext=c
79364 ac_cpp='$CPP $CPPFLAGS'
79365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79373 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
79374 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
79376 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
79378 for ac_func in log10l
79380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79381 echo "$as_me:$LINENO: checking for $ac_func" >&5
79382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79383 if eval "test \"\${$as_ac_var+set}\" = set"; then
79384 echo $ECHO_N "(cached) $ECHO_C" >&6
79385 else
79386 if test x$gcc_no_link = xyes; then
79387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79389 { (exit 1); exit 1; }; }
79391 cat >conftest.$ac_ext <<_ACEOF
79392 /* confdefs.h. */
79393 _ACEOF
79394 cat confdefs.h >>conftest.$ac_ext
79395 cat >>conftest.$ac_ext <<_ACEOF
79396 /* end confdefs.h. */
79397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79399 #define $ac_func innocuous_$ac_func
79401 /* System header to define __stub macros and hopefully few prototypes,
79402 which can conflict with char $ac_func (); below.
79403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79404 <limits.h> exists even on freestanding compilers. */
79406 #ifdef __STDC__
79407 # include <limits.h>
79408 #else
79409 # include <assert.h>
79410 #endif
79412 #undef $ac_func
79414 /* Override any gcc2 internal prototype to avoid an error. */
79415 #ifdef __cplusplus
79416 extern "C"
79418 #endif
79419 /* We use char because int might match the return type of a gcc2
79420 builtin and then its argument prototype would still apply. */
79421 char $ac_func ();
79422 /* The GNU C library defines this for functions which it implements
79423 to always fail with ENOSYS. Some functions are actually named
79424 something starting with __ and the normal name is an alias. */
79425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79426 choke me
79427 #else
79428 char (*f) () = $ac_func;
79429 #endif
79430 #ifdef __cplusplus
79432 #endif
79435 main ()
79437 return f != $ac_func;
79439 return 0;
79441 _ACEOF
79442 rm -f conftest.$ac_objext conftest$ac_exeext
79443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79444 (eval $ac_link) 2>conftest.er1
79445 ac_status=$?
79446 grep -v '^ *+' conftest.er1 >conftest.err
79447 rm -f conftest.er1
79448 cat conftest.err >&5
79449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79450 (exit $ac_status); } &&
79451 { ac_try='test -z "$ac_c_werror_flag"
79452 || test ! -s conftest.err'
79453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79454 (eval $ac_try) 2>&5
79455 ac_status=$?
79456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79457 (exit $ac_status); }; } &&
79458 { ac_try='test -s conftest$ac_exeext'
79459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79460 (eval $ac_try) 2>&5
79461 ac_status=$?
79462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79463 (exit $ac_status); }; }; then
79464 eval "$as_ac_var=yes"
79465 else
79466 echo "$as_me: failed program was:" >&5
79467 sed 's/^/| /' conftest.$ac_ext >&5
79469 eval "$as_ac_var=no"
79471 rm -f conftest.err conftest.$ac_objext \
79472 conftest$ac_exeext conftest.$ac_ext
79474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79476 if test `eval echo '${'$as_ac_var'}'` = yes; then
79477 cat >>confdefs.h <<_ACEOF
79478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79479 _ACEOF
79482 done
79484 else
79486 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
79487 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
79488 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
79489 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
79490 echo $ECHO_N "(cached) $ECHO_C" >&6
79491 else
79495 ac_ext=cc
79496 ac_cpp='$CXXCPP $CPPFLAGS'
79497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79501 cat >conftest.$ac_ext <<_ACEOF
79502 /* confdefs.h. */
79503 _ACEOF
79504 cat confdefs.h >>conftest.$ac_ext
79505 cat >>conftest.$ac_ext <<_ACEOF
79506 /* end confdefs.h. */
79507 #include <math.h>
79508 #ifdef HAVE_IEEEFP_H
79509 #include <ieeefp.h>
79510 #endif
79513 main ()
79515 _log10l(0);
79517 return 0;
79519 _ACEOF
79520 rm -f conftest.$ac_objext
79521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79522 (eval $ac_compile) 2>conftest.er1
79523 ac_status=$?
79524 grep -v '^ *+' conftest.er1 >conftest.err
79525 rm -f conftest.er1
79526 cat conftest.err >&5
79527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79528 (exit $ac_status); } &&
79529 { ac_try='test -z "$ac_cxx_werror_flag"
79530 || test ! -s conftest.err'
79531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79532 (eval $ac_try) 2>&5
79533 ac_status=$?
79534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79535 (exit $ac_status); }; } &&
79536 { ac_try='test -s conftest.$ac_objext'
79537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79538 (eval $ac_try) 2>&5
79539 ac_status=$?
79540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79541 (exit $ac_status); }; }; then
79542 glibcxx_cv_func__log10l_use=yes
79543 else
79544 echo "$as_me: failed program was:" >&5
79545 sed 's/^/| /' conftest.$ac_ext >&5
79547 glibcxx_cv_func__log10l_use=no
79549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79550 ac_ext=c
79551 ac_cpp='$CPP $CPPFLAGS'
79552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79560 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
79561 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
79563 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
79565 for ac_func in _log10l
79567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79568 echo "$as_me:$LINENO: checking for $ac_func" >&5
79569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79570 if eval "test \"\${$as_ac_var+set}\" = set"; then
79571 echo $ECHO_N "(cached) $ECHO_C" >&6
79572 else
79573 if test x$gcc_no_link = xyes; then
79574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79576 { (exit 1); exit 1; }; }
79578 cat >conftest.$ac_ext <<_ACEOF
79579 /* confdefs.h. */
79580 _ACEOF
79581 cat confdefs.h >>conftest.$ac_ext
79582 cat >>conftest.$ac_ext <<_ACEOF
79583 /* end confdefs.h. */
79584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79586 #define $ac_func innocuous_$ac_func
79588 /* System header to define __stub macros and hopefully few prototypes,
79589 which can conflict with char $ac_func (); below.
79590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79591 <limits.h> exists even on freestanding compilers. */
79593 #ifdef __STDC__
79594 # include <limits.h>
79595 #else
79596 # include <assert.h>
79597 #endif
79599 #undef $ac_func
79601 /* Override any gcc2 internal prototype to avoid an error. */
79602 #ifdef __cplusplus
79603 extern "C"
79605 #endif
79606 /* We use char because int might match the return type of a gcc2
79607 builtin and then its argument prototype would still apply. */
79608 char $ac_func ();
79609 /* The GNU C library defines this for functions which it implements
79610 to always fail with ENOSYS. Some functions are actually named
79611 something starting with __ and the normal name is an alias. */
79612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79613 choke me
79614 #else
79615 char (*f) () = $ac_func;
79616 #endif
79617 #ifdef __cplusplus
79619 #endif
79622 main ()
79624 return f != $ac_func;
79626 return 0;
79628 _ACEOF
79629 rm -f conftest.$ac_objext conftest$ac_exeext
79630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79631 (eval $ac_link) 2>conftest.er1
79632 ac_status=$?
79633 grep -v '^ *+' conftest.er1 >conftest.err
79634 rm -f conftest.er1
79635 cat conftest.err >&5
79636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79637 (exit $ac_status); } &&
79638 { ac_try='test -z "$ac_c_werror_flag"
79639 || test ! -s conftest.err'
79640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79641 (eval $ac_try) 2>&5
79642 ac_status=$?
79643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79644 (exit $ac_status); }; } &&
79645 { ac_try='test -s conftest$ac_exeext'
79646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79647 (eval $ac_try) 2>&5
79648 ac_status=$?
79649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79650 (exit $ac_status); }; }; then
79651 eval "$as_ac_var=yes"
79652 else
79653 echo "$as_me: failed program was:" >&5
79654 sed 's/^/| /' conftest.$ac_ext >&5
79656 eval "$as_ac_var=no"
79658 rm -f conftest.err conftest.$ac_objext \
79659 conftest$ac_exeext conftest.$ac_ext
79661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79663 if test `eval echo '${'$as_ac_var'}'` = yes; then
79664 cat >>confdefs.h <<_ACEOF
79665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79666 _ACEOF
79669 done
79679 echo "$as_me:$LINENO: checking for modfl declaration" >&5
79680 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
79681 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
79682 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
79683 echo $ECHO_N "(cached) $ECHO_C" >&6
79684 else
79688 ac_ext=cc
79689 ac_cpp='$CXXCPP $CPPFLAGS'
79690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79694 cat >conftest.$ac_ext <<_ACEOF
79695 /* confdefs.h. */
79696 _ACEOF
79697 cat confdefs.h >>conftest.$ac_ext
79698 cat >>conftest.$ac_ext <<_ACEOF
79699 /* end confdefs.h. */
79700 #include <math.h>
79702 main ()
79704 modfl(0, 0);
79706 return 0;
79708 _ACEOF
79709 rm -f conftest.$ac_objext
79710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79711 (eval $ac_compile) 2>conftest.er1
79712 ac_status=$?
79713 grep -v '^ *+' conftest.er1 >conftest.err
79714 rm -f conftest.er1
79715 cat conftest.err >&5
79716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79717 (exit $ac_status); } &&
79718 { ac_try='test -z "$ac_cxx_werror_flag"
79719 || test ! -s conftest.err'
79720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79721 (eval $ac_try) 2>&5
79722 ac_status=$?
79723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79724 (exit $ac_status); }; } &&
79725 { ac_try='test -s conftest.$ac_objext'
79726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79727 (eval $ac_try) 2>&5
79728 ac_status=$?
79729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79730 (exit $ac_status); }; }; then
79731 glibcxx_cv_func_modfl_use=yes
79732 else
79733 echo "$as_me: failed program was:" >&5
79734 sed 's/^/| /' conftest.$ac_ext >&5
79736 glibcxx_cv_func_modfl_use=no
79738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79739 ac_ext=c
79740 ac_cpp='$CPP $CPPFLAGS'
79741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79749 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
79750 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
79752 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
79754 for ac_func in modfl
79756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79757 echo "$as_me:$LINENO: checking for $ac_func" >&5
79758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79759 if eval "test \"\${$as_ac_var+set}\" = set"; then
79760 echo $ECHO_N "(cached) $ECHO_C" >&6
79761 else
79762 if test x$gcc_no_link = xyes; then
79763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79765 { (exit 1); exit 1; }; }
79767 cat >conftest.$ac_ext <<_ACEOF
79768 /* confdefs.h. */
79769 _ACEOF
79770 cat confdefs.h >>conftest.$ac_ext
79771 cat >>conftest.$ac_ext <<_ACEOF
79772 /* end confdefs.h. */
79773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79775 #define $ac_func innocuous_$ac_func
79777 /* System header to define __stub macros and hopefully few prototypes,
79778 which can conflict with char $ac_func (); below.
79779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79780 <limits.h> exists even on freestanding compilers. */
79782 #ifdef __STDC__
79783 # include <limits.h>
79784 #else
79785 # include <assert.h>
79786 #endif
79788 #undef $ac_func
79790 /* Override any gcc2 internal prototype to avoid an error. */
79791 #ifdef __cplusplus
79792 extern "C"
79794 #endif
79795 /* We use char because int might match the return type of a gcc2
79796 builtin and then its argument prototype would still apply. */
79797 char $ac_func ();
79798 /* The GNU C library defines this for functions which it implements
79799 to always fail with ENOSYS. Some functions are actually named
79800 something starting with __ and the normal name is an alias. */
79801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79802 choke me
79803 #else
79804 char (*f) () = $ac_func;
79805 #endif
79806 #ifdef __cplusplus
79808 #endif
79811 main ()
79813 return f != $ac_func;
79815 return 0;
79817 _ACEOF
79818 rm -f conftest.$ac_objext conftest$ac_exeext
79819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79820 (eval $ac_link) 2>conftest.er1
79821 ac_status=$?
79822 grep -v '^ *+' conftest.er1 >conftest.err
79823 rm -f conftest.er1
79824 cat conftest.err >&5
79825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79826 (exit $ac_status); } &&
79827 { ac_try='test -z "$ac_c_werror_flag"
79828 || test ! -s conftest.err'
79829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79830 (eval $ac_try) 2>&5
79831 ac_status=$?
79832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79833 (exit $ac_status); }; } &&
79834 { ac_try='test -s conftest$ac_exeext'
79835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79836 (eval $ac_try) 2>&5
79837 ac_status=$?
79838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79839 (exit $ac_status); }; }; then
79840 eval "$as_ac_var=yes"
79841 else
79842 echo "$as_me: failed program was:" >&5
79843 sed 's/^/| /' conftest.$ac_ext >&5
79845 eval "$as_ac_var=no"
79847 rm -f conftest.err conftest.$ac_objext \
79848 conftest$ac_exeext conftest.$ac_ext
79850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79852 if test `eval echo '${'$as_ac_var'}'` = yes; then
79853 cat >>confdefs.h <<_ACEOF
79854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79855 _ACEOF
79858 done
79860 else
79862 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
79863 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
79864 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
79865 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
79866 echo $ECHO_N "(cached) $ECHO_C" >&6
79867 else
79871 ac_ext=cc
79872 ac_cpp='$CXXCPP $CPPFLAGS'
79873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79877 cat >conftest.$ac_ext <<_ACEOF
79878 /* confdefs.h. */
79879 _ACEOF
79880 cat confdefs.h >>conftest.$ac_ext
79881 cat >>conftest.$ac_ext <<_ACEOF
79882 /* end confdefs.h. */
79883 #include <math.h>
79885 main ()
79887 _modfl(0, 0);
79889 return 0;
79891 _ACEOF
79892 rm -f conftest.$ac_objext
79893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79894 (eval $ac_compile) 2>conftest.er1
79895 ac_status=$?
79896 grep -v '^ *+' conftest.er1 >conftest.err
79897 rm -f conftest.er1
79898 cat conftest.err >&5
79899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79900 (exit $ac_status); } &&
79901 { ac_try='test -z "$ac_cxx_werror_flag"
79902 || test ! -s conftest.err'
79903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79904 (eval $ac_try) 2>&5
79905 ac_status=$?
79906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79907 (exit $ac_status); }; } &&
79908 { ac_try='test -s conftest.$ac_objext'
79909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79910 (eval $ac_try) 2>&5
79911 ac_status=$?
79912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79913 (exit $ac_status); }; }; then
79914 glibcxx_cv_func__modfl_use=yes
79915 else
79916 echo "$as_me: failed program was:" >&5
79917 sed 's/^/| /' conftest.$ac_ext >&5
79919 glibcxx_cv_func__modfl_use=no
79921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79922 ac_ext=c
79923 ac_cpp='$CPP $CPPFLAGS'
79924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79932 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
79933 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
79935 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
79937 for ac_func in _modfl
79939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79940 echo "$as_me:$LINENO: checking for $ac_func" >&5
79941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79942 if eval "test \"\${$as_ac_var+set}\" = set"; then
79943 echo $ECHO_N "(cached) $ECHO_C" >&6
79944 else
79945 if test x$gcc_no_link = xyes; then
79946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79948 { (exit 1); exit 1; }; }
79950 cat >conftest.$ac_ext <<_ACEOF
79951 /* confdefs.h. */
79952 _ACEOF
79953 cat confdefs.h >>conftest.$ac_ext
79954 cat >>conftest.$ac_ext <<_ACEOF
79955 /* end confdefs.h. */
79956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79958 #define $ac_func innocuous_$ac_func
79960 /* System header to define __stub macros and hopefully few prototypes,
79961 which can conflict with char $ac_func (); below.
79962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79963 <limits.h> exists even on freestanding compilers. */
79965 #ifdef __STDC__
79966 # include <limits.h>
79967 #else
79968 # include <assert.h>
79969 #endif
79971 #undef $ac_func
79973 /* Override any gcc2 internal prototype to avoid an error. */
79974 #ifdef __cplusplus
79975 extern "C"
79977 #endif
79978 /* We use char because int might match the return type of a gcc2
79979 builtin and then its argument prototype would still apply. */
79980 char $ac_func ();
79981 /* The GNU C library defines this for functions which it implements
79982 to always fail with ENOSYS. Some functions are actually named
79983 something starting with __ and the normal name is an alias. */
79984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79985 choke me
79986 #else
79987 char (*f) () = $ac_func;
79988 #endif
79989 #ifdef __cplusplus
79991 #endif
79994 main ()
79996 return f != $ac_func;
79998 return 0;
80000 _ACEOF
80001 rm -f conftest.$ac_objext conftest$ac_exeext
80002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80003 (eval $ac_link) 2>conftest.er1
80004 ac_status=$?
80005 grep -v '^ *+' conftest.er1 >conftest.err
80006 rm -f conftest.er1
80007 cat conftest.err >&5
80008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80009 (exit $ac_status); } &&
80010 { ac_try='test -z "$ac_c_werror_flag"
80011 || test ! -s conftest.err'
80012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80013 (eval $ac_try) 2>&5
80014 ac_status=$?
80015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80016 (exit $ac_status); }; } &&
80017 { ac_try='test -s conftest$ac_exeext'
80018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80019 (eval $ac_try) 2>&5
80020 ac_status=$?
80021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80022 (exit $ac_status); }; }; then
80023 eval "$as_ac_var=yes"
80024 else
80025 echo "$as_me: failed program was:" >&5
80026 sed 's/^/| /' conftest.$ac_ext >&5
80028 eval "$as_ac_var=no"
80030 rm -f conftest.err conftest.$ac_objext \
80031 conftest$ac_exeext conftest.$ac_ext
80033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80035 if test `eval echo '${'$as_ac_var'}'` = yes; then
80036 cat >>confdefs.h <<_ACEOF
80037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80038 _ACEOF
80041 done
80051 echo "$as_me:$LINENO: checking for powl declaration" >&5
80052 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
80053 if test x${glibcxx_cv_func_powl_use+set} != xset; then
80054 if test "${glibcxx_cv_func_powl_use+set}" = set; then
80055 echo $ECHO_N "(cached) $ECHO_C" >&6
80056 else
80060 ac_ext=cc
80061 ac_cpp='$CXXCPP $CPPFLAGS'
80062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80066 cat >conftest.$ac_ext <<_ACEOF
80067 /* confdefs.h. */
80068 _ACEOF
80069 cat confdefs.h >>conftest.$ac_ext
80070 cat >>conftest.$ac_ext <<_ACEOF
80071 /* end confdefs.h. */
80072 #include <math.h>
80074 main ()
80076 powl(0, 0);
80078 return 0;
80080 _ACEOF
80081 rm -f conftest.$ac_objext
80082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80083 (eval $ac_compile) 2>conftest.er1
80084 ac_status=$?
80085 grep -v '^ *+' conftest.er1 >conftest.err
80086 rm -f conftest.er1
80087 cat conftest.err >&5
80088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80089 (exit $ac_status); } &&
80090 { ac_try='test -z "$ac_cxx_werror_flag"
80091 || test ! -s conftest.err'
80092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80093 (eval $ac_try) 2>&5
80094 ac_status=$?
80095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80096 (exit $ac_status); }; } &&
80097 { ac_try='test -s conftest.$ac_objext'
80098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80099 (eval $ac_try) 2>&5
80100 ac_status=$?
80101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80102 (exit $ac_status); }; }; then
80103 glibcxx_cv_func_powl_use=yes
80104 else
80105 echo "$as_me: failed program was:" >&5
80106 sed 's/^/| /' conftest.$ac_ext >&5
80108 glibcxx_cv_func_powl_use=no
80110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80111 ac_ext=c
80112 ac_cpp='$CPP $CPPFLAGS'
80113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80121 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
80122 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
80124 if test x$glibcxx_cv_func_powl_use = x"yes"; then
80126 for ac_func in powl
80128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80129 echo "$as_me:$LINENO: checking for $ac_func" >&5
80130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80131 if eval "test \"\${$as_ac_var+set}\" = set"; then
80132 echo $ECHO_N "(cached) $ECHO_C" >&6
80133 else
80134 if test x$gcc_no_link = xyes; then
80135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80137 { (exit 1); exit 1; }; }
80139 cat >conftest.$ac_ext <<_ACEOF
80140 /* confdefs.h. */
80141 _ACEOF
80142 cat confdefs.h >>conftest.$ac_ext
80143 cat >>conftest.$ac_ext <<_ACEOF
80144 /* end confdefs.h. */
80145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80147 #define $ac_func innocuous_$ac_func
80149 /* System header to define __stub macros and hopefully few prototypes,
80150 which can conflict with char $ac_func (); below.
80151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80152 <limits.h> exists even on freestanding compilers. */
80154 #ifdef __STDC__
80155 # include <limits.h>
80156 #else
80157 # include <assert.h>
80158 #endif
80160 #undef $ac_func
80162 /* Override any gcc2 internal prototype to avoid an error. */
80163 #ifdef __cplusplus
80164 extern "C"
80166 #endif
80167 /* We use char because int might match the return type of a gcc2
80168 builtin and then its argument prototype would still apply. */
80169 char $ac_func ();
80170 /* The GNU C library defines this for functions which it implements
80171 to always fail with ENOSYS. Some functions are actually named
80172 something starting with __ and the normal name is an alias. */
80173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80174 choke me
80175 #else
80176 char (*f) () = $ac_func;
80177 #endif
80178 #ifdef __cplusplus
80180 #endif
80183 main ()
80185 return f != $ac_func;
80187 return 0;
80189 _ACEOF
80190 rm -f conftest.$ac_objext conftest$ac_exeext
80191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80192 (eval $ac_link) 2>conftest.er1
80193 ac_status=$?
80194 grep -v '^ *+' conftest.er1 >conftest.err
80195 rm -f conftest.er1
80196 cat conftest.err >&5
80197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80198 (exit $ac_status); } &&
80199 { ac_try='test -z "$ac_c_werror_flag"
80200 || test ! -s conftest.err'
80201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80202 (eval $ac_try) 2>&5
80203 ac_status=$?
80204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80205 (exit $ac_status); }; } &&
80206 { ac_try='test -s conftest$ac_exeext'
80207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80208 (eval $ac_try) 2>&5
80209 ac_status=$?
80210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80211 (exit $ac_status); }; }; then
80212 eval "$as_ac_var=yes"
80213 else
80214 echo "$as_me: failed program was:" >&5
80215 sed 's/^/| /' conftest.$ac_ext >&5
80217 eval "$as_ac_var=no"
80219 rm -f conftest.err conftest.$ac_objext \
80220 conftest$ac_exeext conftest.$ac_ext
80222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80224 if test `eval echo '${'$as_ac_var'}'` = yes; then
80225 cat >>confdefs.h <<_ACEOF
80226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80227 _ACEOF
80230 done
80232 else
80234 echo "$as_me:$LINENO: checking for _powl declaration" >&5
80235 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
80236 if test x${glibcxx_cv_func__powl_use+set} != xset; then
80237 if test "${glibcxx_cv_func__powl_use+set}" = set; then
80238 echo $ECHO_N "(cached) $ECHO_C" >&6
80239 else
80243 ac_ext=cc
80244 ac_cpp='$CXXCPP $CPPFLAGS'
80245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80249 cat >conftest.$ac_ext <<_ACEOF
80250 /* confdefs.h. */
80251 _ACEOF
80252 cat confdefs.h >>conftest.$ac_ext
80253 cat >>conftest.$ac_ext <<_ACEOF
80254 /* end confdefs.h. */
80255 #include <math.h>
80257 main ()
80259 _powl(0, 0);
80261 return 0;
80263 _ACEOF
80264 rm -f conftest.$ac_objext
80265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80266 (eval $ac_compile) 2>conftest.er1
80267 ac_status=$?
80268 grep -v '^ *+' conftest.er1 >conftest.err
80269 rm -f conftest.er1
80270 cat conftest.err >&5
80271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80272 (exit $ac_status); } &&
80273 { ac_try='test -z "$ac_cxx_werror_flag"
80274 || test ! -s conftest.err'
80275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80276 (eval $ac_try) 2>&5
80277 ac_status=$?
80278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80279 (exit $ac_status); }; } &&
80280 { ac_try='test -s conftest.$ac_objext'
80281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80282 (eval $ac_try) 2>&5
80283 ac_status=$?
80284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80285 (exit $ac_status); }; }; then
80286 glibcxx_cv_func__powl_use=yes
80287 else
80288 echo "$as_me: failed program was:" >&5
80289 sed 's/^/| /' conftest.$ac_ext >&5
80291 glibcxx_cv_func__powl_use=no
80293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80294 ac_ext=c
80295 ac_cpp='$CPP $CPPFLAGS'
80296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80304 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
80305 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
80307 if test x$glibcxx_cv_func__powl_use = x"yes"; then
80309 for ac_func in _powl
80311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80312 echo "$as_me:$LINENO: checking for $ac_func" >&5
80313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80314 if eval "test \"\${$as_ac_var+set}\" = set"; then
80315 echo $ECHO_N "(cached) $ECHO_C" >&6
80316 else
80317 if test x$gcc_no_link = xyes; then
80318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80320 { (exit 1); exit 1; }; }
80322 cat >conftest.$ac_ext <<_ACEOF
80323 /* confdefs.h. */
80324 _ACEOF
80325 cat confdefs.h >>conftest.$ac_ext
80326 cat >>conftest.$ac_ext <<_ACEOF
80327 /* end confdefs.h. */
80328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80330 #define $ac_func innocuous_$ac_func
80332 /* System header to define __stub macros and hopefully few prototypes,
80333 which can conflict with char $ac_func (); below.
80334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80335 <limits.h> exists even on freestanding compilers. */
80337 #ifdef __STDC__
80338 # include <limits.h>
80339 #else
80340 # include <assert.h>
80341 #endif
80343 #undef $ac_func
80345 /* Override any gcc2 internal prototype to avoid an error. */
80346 #ifdef __cplusplus
80347 extern "C"
80349 #endif
80350 /* We use char because int might match the return type of a gcc2
80351 builtin and then its argument prototype would still apply. */
80352 char $ac_func ();
80353 /* The GNU C library defines this for functions which it implements
80354 to always fail with ENOSYS. Some functions are actually named
80355 something starting with __ and the normal name is an alias. */
80356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80357 choke me
80358 #else
80359 char (*f) () = $ac_func;
80360 #endif
80361 #ifdef __cplusplus
80363 #endif
80366 main ()
80368 return f != $ac_func;
80370 return 0;
80372 _ACEOF
80373 rm -f conftest.$ac_objext conftest$ac_exeext
80374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80375 (eval $ac_link) 2>conftest.er1
80376 ac_status=$?
80377 grep -v '^ *+' conftest.er1 >conftest.err
80378 rm -f conftest.er1
80379 cat conftest.err >&5
80380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80381 (exit $ac_status); } &&
80382 { ac_try='test -z "$ac_c_werror_flag"
80383 || test ! -s conftest.err'
80384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80385 (eval $ac_try) 2>&5
80386 ac_status=$?
80387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80388 (exit $ac_status); }; } &&
80389 { ac_try='test -s conftest$ac_exeext'
80390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80391 (eval $ac_try) 2>&5
80392 ac_status=$?
80393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80394 (exit $ac_status); }; }; then
80395 eval "$as_ac_var=yes"
80396 else
80397 echo "$as_me: failed program was:" >&5
80398 sed 's/^/| /' conftest.$ac_ext >&5
80400 eval "$as_ac_var=no"
80402 rm -f conftest.err conftest.$ac_objext \
80403 conftest$ac_exeext conftest.$ac_ext
80405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80407 if test `eval echo '${'$as_ac_var'}'` = yes; then
80408 cat >>confdefs.h <<_ACEOF
80409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80410 _ACEOF
80413 done
80423 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
80424 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
80425 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
80426 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
80427 echo $ECHO_N "(cached) $ECHO_C" >&6
80428 else
80432 ac_ext=cc
80433 ac_cpp='$CXXCPP $CPPFLAGS'
80434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80438 cat >conftest.$ac_ext <<_ACEOF
80439 /* confdefs.h. */
80440 _ACEOF
80441 cat confdefs.h >>conftest.$ac_ext
80442 cat >>conftest.$ac_ext <<_ACEOF
80443 /* end confdefs.h. */
80444 #include <math.h>
80445 #ifdef HAVE_IEEEFP_H
80446 #include <ieeefp.h>
80447 #endif
80450 main ()
80452 sqrtl(0);
80454 return 0;
80456 _ACEOF
80457 rm -f conftest.$ac_objext
80458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80459 (eval $ac_compile) 2>conftest.er1
80460 ac_status=$?
80461 grep -v '^ *+' conftest.er1 >conftest.err
80462 rm -f conftest.er1
80463 cat conftest.err >&5
80464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80465 (exit $ac_status); } &&
80466 { ac_try='test -z "$ac_cxx_werror_flag"
80467 || test ! -s conftest.err'
80468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80469 (eval $ac_try) 2>&5
80470 ac_status=$?
80471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80472 (exit $ac_status); }; } &&
80473 { ac_try='test -s conftest.$ac_objext'
80474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80475 (eval $ac_try) 2>&5
80476 ac_status=$?
80477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80478 (exit $ac_status); }; }; then
80479 glibcxx_cv_func_sqrtl_use=yes
80480 else
80481 echo "$as_me: failed program was:" >&5
80482 sed 's/^/| /' conftest.$ac_ext >&5
80484 glibcxx_cv_func_sqrtl_use=no
80486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80487 ac_ext=c
80488 ac_cpp='$CPP $CPPFLAGS'
80489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80497 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
80498 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
80500 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
80502 for ac_func in sqrtl
80504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80505 echo "$as_me:$LINENO: checking for $ac_func" >&5
80506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80507 if eval "test \"\${$as_ac_var+set}\" = set"; then
80508 echo $ECHO_N "(cached) $ECHO_C" >&6
80509 else
80510 if test x$gcc_no_link = xyes; then
80511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80513 { (exit 1); exit 1; }; }
80515 cat >conftest.$ac_ext <<_ACEOF
80516 /* confdefs.h. */
80517 _ACEOF
80518 cat confdefs.h >>conftest.$ac_ext
80519 cat >>conftest.$ac_ext <<_ACEOF
80520 /* end confdefs.h. */
80521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80523 #define $ac_func innocuous_$ac_func
80525 /* System header to define __stub macros and hopefully few prototypes,
80526 which can conflict with char $ac_func (); below.
80527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80528 <limits.h> exists even on freestanding compilers. */
80530 #ifdef __STDC__
80531 # include <limits.h>
80532 #else
80533 # include <assert.h>
80534 #endif
80536 #undef $ac_func
80538 /* Override any gcc2 internal prototype to avoid an error. */
80539 #ifdef __cplusplus
80540 extern "C"
80542 #endif
80543 /* We use char because int might match the return type of a gcc2
80544 builtin and then its argument prototype would still apply. */
80545 char $ac_func ();
80546 /* The GNU C library defines this for functions which it implements
80547 to always fail with ENOSYS. Some functions are actually named
80548 something starting with __ and the normal name is an alias. */
80549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80550 choke me
80551 #else
80552 char (*f) () = $ac_func;
80553 #endif
80554 #ifdef __cplusplus
80556 #endif
80559 main ()
80561 return f != $ac_func;
80563 return 0;
80565 _ACEOF
80566 rm -f conftest.$ac_objext conftest$ac_exeext
80567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80568 (eval $ac_link) 2>conftest.er1
80569 ac_status=$?
80570 grep -v '^ *+' conftest.er1 >conftest.err
80571 rm -f conftest.er1
80572 cat conftest.err >&5
80573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80574 (exit $ac_status); } &&
80575 { ac_try='test -z "$ac_c_werror_flag"
80576 || test ! -s conftest.err'
80577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80578 (eval $ac_try) 2>&5
80579 ac_status=$?
80580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80581 (exit $ac_status); }; } &&
80582 { ac_try='test -s conftest$ac_exeext'
80583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80584 (eval $ac_try) 2>&5
80585 ac_status=$?
80586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80587 (exit $ac_status); }; }; then
80588 eval "$as_ac_var=yes"
80589 else
80590 echo "$as_me: failed program was:" >&5
80591 sed 's/^/| /' conftest.$ac_ext >&5
80593 eval "$as_ac_var=no"
80595 rm -f conftest.err conftest.$ac_objext \
80596 conftest$ac_exeext conftest.$ac_ext
80598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80600 if test `eval echo '${'$as_ac_var'}'` = yes; then
80601 cat >>confdefs.h <<_ACEOF
80602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80603 _ACEOF
80606 done
80608 else
80610 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
80611 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
80612 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
80613 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
80614 echo $ECHO_N "(cached) $ECHO_C" >&6
80615 else
80619 ac_ext=cc
80620 ac_cpp='$CXXCPP $CPPFLAGS'
80621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80625 cat >conftest.$ac_ext <<_ACEOF
80626 /* confdefs.h. */
80627 _ACEOF
80628 cat confdefs.h >>conftest.$ac_ext
80629 cat >>conftest.$ac_ext <<_ACEOF
80630 /* end confdefs.h. */
80631 #include <math.h>
80632 #ifdef HAVE_IEEEFP_H
80633 #include <ieeefp.h>
80634 #endif
80637 main ()
80639 _sqrtl(0);
80641 return 0;
80643 _ACEOF
80644 rm -f conftest.$ac_objext
80645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80646 (eval $ac_compile) 2>conftest.er1
80647 ac_status=$?
80648 grep -v '^ *+' conftest.er1 >conftest.err
80649 rm -f conftest.er1
80650 cat conftest.err >&5
80651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80652 (exit $ac_status); } &&
80653 { ac_try='test -z "$ac_cxx_werror_flag"
80654 || test ! -s conftest.err'
80655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80656 (eval $ac_try) 2>&5
80657 ac_status=$?
80658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80659 (exit $ac_status); }; } &&
80660 { ac_try='test -s conftest.$ac_objext'
80661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80662 (eval $ac_try) 2>&5
80663 ac_status=$?
80664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80665 (exit $ac_status); }; }; then
80666 glibcxx_cv_func__sqrtl_use=yes
80667 else
80668 echo "$as_me: failed program was:" >&5
80669 sed 's/^/| /' conftest.$ac_ext >&5
80671 glibcxx_cv_func__sqrtl_use=no
80673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80674 ac_ext=c
80675 ac_cpp='$CPP $CPPFLAGS'
80676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80684 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
80685 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
80687 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
80689 for ac_func in _sqrtl
80691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80692 echo "$as_me:$LINENO: checking for $ac_func" >&5
80693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80694 if eval "test \"\${$as_ac_var+set}\" = set"; then
80695 echo $ECHO_N "(cached) $ECHO_C" >&6
80696 else
80697 if test x$gcc_no_link = xyes; then
80698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80700 { (exit 1); exit 1; }; }
80702 cat >conftest.$ac_ext <<_ACEOF
80703 /* confdefs.h. */
80704 _ACEOF
80705 cat confdefs.h >>conftest.$ac_ext
80706 cat >>conftest.$ac_ext <<_ACEOF
80707 /* end confdefs.h. */
80708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80710 #define $ac_func innocuous_$ac_func
80712 /* System header to define __stub macros and hopefully few prototypes,
80713 which can conflict with char $ac_func (); below.
80714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80715 <limits.h> exists even on freestanding compilers. */
80717 #ifdef __STDC__
80718 # include <limits.h>
80719 #else
80720 # include <assert.h>
80721 #endif
80723 #undef $ac_func
80725 /* Override any gcc2 internal prototype to avoid an error. */
80726 #ifdef __cplusplus
80727 extern "C"
80729 #endif
80730 /* We use char because int might match the return type of a gcc2
80731 builtin and then its argument prototype would still apply. */
80732 char $ac_func ();
80733 /* The GNU C library defines this for functions which it implements
80734 to always fail with ENOSYS. Some functions are actually named
80735 something starting with __ and the normal name is an alias. */
80736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80737 choke me
80738 #else
80739 char (*f) () = $ac_func;
80740 #endif
80741 #ifdef __cplusplus
80743 #endif
80746 main ()
80748 return f != $ac_func;
80750 return 0;
80752 _ACEOF
80753 rm -f conftest.$ac_objext conftest$ac_exeext
80754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80755 (eval $ac_link) 2>conftest.er1
80756 ac_status=$?
80757 grep -v '^ *+' conftest.er1 >conftest.err
80758 rm -f conftest.er1
80759 cat conftest.err >&5
80760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80761 (exit $ac_status); } &&
80762 { ac_try='test -z "$ac_c_werror_flag"
80763 || test ! -s conftest.err'
80764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80765 (eval $ac_try) 2>&5
80766 ac_status=$?
80767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80768 (exit $ac_status); }; } &&
80769 { ac_try='test -s conftest$ac_exeext'
80770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80771 (eval $ac_try) 2>&5
80772 ac_status=$?
80773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80774 (exit $ac_status); }; }; then
80775 eval "$as_ac_var=yes"
80776 else
80777 echo "$as_me: failed program was:" >&5
80778 sed 's/^/| /' conftest.$ac_ext >&5
80780 eval "$as_ac_var=no"
80782 rm -f conftest.err conftest.$ac_objext \
80783 conftest$ac_exeext conftest.$ac_ext
80785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80787 if test `eval echo '${'$as_ac_var'}'` = yes; then
80788 cat >>confdefs.h <<_ACEOF
80789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80790 _ACEOF
80793 done
80803 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
80804 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
80805 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
80806 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
80807 echo $ECHO_N "(cached) $ECHO_C" >&6
80808 else
80812 ac_ext=cc
80813 ac_cpp='$CXXCPP $CPPFLAGS'
80814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80818 cat >conftest.$ac_ext <<_ACEOF
80819 /* confdefs.h. */
80820 _ACEOF
80821 cat confdefs.h >>conftest.$ac_ext
80822 cat >>conftest.$ac_ext <<_ACEOF
80823 /* end confdefs.h. */
80824 #include <math.h>
80826 main ()
80828 sincosl(0, 0, 0);
80830 return 0;
80832 _ACEOF
80833 rm -f conftest.$ac_objext
80834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80835 (eval $ac_compile) 2>conftest.er1
80836 ac_status=$?
80837 grep -v '^ *+' conftest.er1 >conftest.err
80838 rm -f conftest.er1
80839 cat conftest.err >&5
80840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80841 (exit $ac_status); } &&
80842 { ac_try='test -z "$ac_cxx_werror_flag"
80843 || test ! -s conftest.err'
80844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80845 (eval $ac_try) 2>&5
80846 ac_status=$?
80847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80848 (exit $ac_status); }; } &&
80849 { ac_try='test -s conftest.$ac_objext'
80850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80851 (eval $ac_try) 2>&5
80852 ac_status=$?
80853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80854 (exit $ac_status); }; }; then
80855 glibcxx_cv_func_sincosl_use=yes
80856 else
80857 echo "$as_me: failed program was:" >&5
80858 sed 's/^/| /' conftest.$ac_ext >&5
80860 glibcxx_cv_func_sincosl_use=no
80862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80863 ac_ext=c
80864 ac_cpp='$CPP $CPPFLAGS'
80865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80873 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
80874 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
80876 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
80878 for ac_func in sincosl
80880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80881 echo "$as_me:$LINENO: checking for $ac_func" >&5
80882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80883 if eval "test \"\${$as_ac_var+set}\" = set"; then
80884 echo $ECHO_N "(cached) $ECHO_C" >&6
80885 else
80886 if test x$gcc_no_link = xyes; then
80887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80889 { (exit 1); exit 1; }; }
80891 cat >conftest.$ac_ext <<_ACEOF
80892 /* confdefs.h. */
80893 _ACEOF
80894 cat confdefs.h >>conftest.$ac_ext
80895 cat >>conftest.$ac_ext <<_ACEOF
80896 /* end confdefs.h. */
80897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80899 #define $ac_func innocuous_$ac_func
80901 /* System header to define __stub macros and hopefully few prototypes,
80902 which can conflict with char $ac_func (); below.
80903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80904 <limits.h> exists even on freestanding compilers. */
80906 #ifdef __STDC__
80907 # include <limits.h>
80908 #else
80909 # include <assert.h>
80910 #endif
80912 #undef $ac_func
80914 /* Override any gcc2 internal prototype to avoid an error. */
80915 #ifdef __cplusplus
80916 extern "C"
80918 #endif
80919 /* We use char because int might match the return type of a gcc2
80920 builtin and then its argument prototype would still apply. */
80921 char $ac_func ();
80922 /* The GNU C library defines this for functions which it implements
80923 to always fail with ENOSYS. Some functions are actually named
80924 something starting with __ and the normal name is an alias. */
80925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80926 choke me
80927 #else
80928 char (*f) () = $ac_func;
80929 #endif
80930 #ifdef __cplusplus
80932 #endif
80935 main ()
80937 return f != $ac_func;
80939 return 0;
80941 _ACEOF
80942 rm -f conftest.$ac_objext conftest$ac_exeext
80943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80944 (eval $ac_link) 2>conftest.er1
80945 ac_status=$?
80946 grep -v '^ *+' conftest.er1 >conftest.err
80947 rm -f conftest.er1
80948 cat conftest.err >&5
80949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80950 (exit $ac_status); } &&
80951 { ac_try='test -z "$ac_c_werror_flag"
80952 || test ! -s conftest.err'
80953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80954 (eval $ac_try) 2>&5
80955 ac_status=$?
80956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80957 (exit $ac_status); }; } &&
80958 { ac_try='test -s conftest$ac_exeext'
80959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80960 (eval $ac_try) 2>&5
80961 ac_status=$?
80962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80963 (exit $ac_status); }; }; then
80964 eval "$as_ac_var=yes"
80965 else
80966 echo "$as_me: failed program was:" >&5
80967 sed 's/^/| /' conftest.$ac_ext >&5
80969 eval "$as_ac_var=no"
80971 rm -f conftest.err conftest.$ac_objext \
80972 conftest$ac_exeext conftest.$ac_ext
80974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80976 if test `eval echo '${'$as_ac_var'}'` = yes; then
80977 cat >>confdefs.h <<_ACEOF
80978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80979 _ACEOF
80982 done
80984 else
80986 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
80987 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
80988 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
80989 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
80990 echo $ECHO_N "(cached) $ECHO_C" >&6
80991 else
80995 ac_ext=cc
80996 ac_cpp='$CXXCPP $CPPFLAGS'
80997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81001 cat >conftest.$ac_ext <<_ACEOF
81002 /* confdefs.h. */
81003 _ACEOF
81004 cat confdefs.h >>conftest.$ac_ext
81005 cat >>conftest.$ac_ext <<_ACEOF
81006 /* end confdefs.h. */
81007 #include <math.h>
81009 main ()
81011 _sincosl(0, 0, 0);
81013 return 0;
81015 _ACEOF
81016 rm -f conftest.$ac_objext
81017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81018 (eval $ac_compile) 2>conftest.er1
81019 ac_status=$?
81020 grep -v '^ *+' conftest.er1 >conftest.err
81021 rm -f conftest.er1
81022 cat conftest.err >&5
81023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81024 (exit $ac_status); } &&
81025 { ac_try='test -z "$ac_cxx_werror_flag"
81026 || test ! -s conftest.err'
81027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81028 (eval $ac_try) 2>&5
81029 ac_status=$?
81030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81031 (exit $ac_status); }; } &&
81032 { ac_try='test -s conftest.$ac_objext'
81033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81034 (eval $ac_try) 2>&5
81035 ac_status=$?
81036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81037 (exit $ac_status); }; }; then
81038 glibcxx_cv_func__sincosl_use=yes
81039 else
81040 echo "$as_me: failed program was:" >&5
81041 sed 's/^/| /' conftest.$ac_ext >&5
81043 glibcxx_cv_func__sincosl_use=no
81045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81046 ac_ext=c
81047 ac_cpp='$CPP $CPPFLAGS'
81048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81056 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
81057 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
81059 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
81061 for ac_func in _sincosl
81063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81064 echo "$as_me:$LINENO: checking for $ac_func" >&5
81065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81066 if eval "test \"\${$as_ac_var+set}\" = set"; then
81067 echo $ECHO_N "(cached) $ECHO_C" >&6
81068 else
81069 if test x$gcc_no_link = xyes; then
81070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81072 { (exit 1); exit 1; }; }
81074 cat >conftest.$ac_ext <<_ACEOF
81075 /* confdefs.h. */
81076 _ACEOF
81077 cat confdefs.h >>conftest.$ac_ext
81078 cat >>conftest.$ac_ext <<_ACEOF
81079 /* end confdefs.h. */
81080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81082 #define $ac_func innocuous_$ac_func
81084 /* System header to define __stub macros and hopefully few prototypes,
81085 which can conflict with char $ac_func (); below.
81086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81087 <limits.h> exists even on freestanding compilers. */
81089 #ifdef __STDC__
81090 # include <limits.h>
81091 #else
81092 # include <assert.h>
81093 #endif
81095 #undef $ac_func
81097 /* Override any gcc2 internal prototype to avoid an error. */
81098 #ifdef __cplusplus
81099 extern "C"
81101 #endif
81102 /* We use char because int might match the return type of a gcc2
81103 builtin and then its argument prototype would still apply. */
81104 char $ac_func ();
81105 /* The GNU C library defines this for functions which it implements
81106 to always fail with ENOSYS. Some functions are actually named
81107 something starting with __ and the normal name is an alias. */
81108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81109 choke me
81110 #else
81111 char (*f) () = $ac_func;
81112 #endif
81113 #ifdef __cplusplus
81115 #endif
81118 main ()
81120 return f != $ac_func;
81122 return 0;
81124 _ACEOF
81125 rm -f conftest.$ac_objext conftest$ac_exeext
81126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81127 (eval $ac_link) 2>conftest.er1
81128 ac_status=$?
81129 grep -v '^ *+' conftest.er1 >conftest.err
81130 rm -f conftest.er1
81131 cat conftest.err >&5
81132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81133 (exit $ac_status); } &&
81134 { ac_try='test -z "$ac_c_werror_flag"
81135 || test ! -s conftest.err'
81136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81137 (eval $ac_try) 2>&5
81138 ac_status=$?
81139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81140 (exit $ac_status); }; } &&
81141 { ac_try='test -s conftest$ac_exeext'
81142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81143 (eval $ac_try) 2>&5
81144 ac_status=$?
81145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81146 (exit $ac_status); }; }; then
81147 eval "$as_ac_var=yes"
81148 else
81149 echo "$as_me: failed program was:" >&5
81150 sed 's/^/| /' conftest.$ac_ext >&5
81152 eval "$as_ac_var=no"
81154 rm -f conftest.err conftest.$ac_objext \
81155 conftest$ac_exeext conftest.$ac_ext
81157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81159 if test `eval echo '${'$as_ac_var'}'` = yes; then
81160 cat >>confdefs.h <<_ACEOF
81161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81162 _ACEOF
81165 done
81175 echo "$as_me:$LINENO: checking for finitel declaration" >&5
81176 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
81177 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
81178 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
81179 echo $ECHO_N "(cached) $ECHO_C" >&6
81180 else
81184 ac_ext=cc
81185 ac_cpp='$CXXCPP $CPPFLAGS'
81186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81190 cat >conftest.$ac_ext <<_ACEOF
81191 /* confdefs.h. */
81192 _ACEOF
81193 cat confdefs.h >>conftest.$ac_ext
81194 cat >>conftest.$ac_ext <<_ACEOF
81195 /* end confdefs.h. */
81196 #include <math.h>
81197 #ifdef HAVE_IEEEFP_H
81198 #include <ieeefp.h>
81199 #endif
81202 main ()
81204 finitel(0);
81206 return 0;
81208 _ACEOF
81209 rm -f conftest.$ac_objext
81210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81211 (eval $ac_compile) 2>conftest.er1
81212 ac_status=$?
81213 grep -v '^ *+' conftest.er1 >conftest.err
81214 rm -f conftest.er1
81215 cat conftest.err >&5
81216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81217 (exit $ac_status); } &&
81218 { ac_try='test -z "$ac_cxx_werror_flag"
81219 || test ! -s conftest.err'
81220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81221 (eval $ac_try) 2>&5
81222 ac_status=$?
81223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81224 (exit $ac_status); }; } &&
81225 { ac_try='test -s conftest.$ac_objext'
81226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81227 (eval $ac_try) 2>&5
81228 ac_status=$?
81229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81230 (exit $ac_status); }; }; then
81231 glibcxx_cv_func_finitel_use=yes
81232 else
81233 echo "$as_me: failed program was:" >&5
81234 sed 's/^/| /' conftest.$ac_ext >&5
81236 glibcxx_cv_func_finitel_use=no
81238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81239 ac_ext=c
81240 ac_cpp='$CPP $CPPFLAGS'
81241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81249 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
81250 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
81252 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
81254 for ac_func in finitel
81256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81257 echo "$as_me:$LINENO: checking for $ac_func" >&5
81258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81259 if eval "test \"\${$as_ac_var+set}\" = set"; then
81260 echo $ECHO_N "(cached) $ECHO_C" >&6
81261 else
81262 if test x$gcc_no_link = xyes; then
81263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81265 { (exit 1); exit 1; }; }
81267 cat >conftest.$ac_ext <<_ACEOF
81268 /* confdefs.h. */
81269 _ACEOF
81270 cat confdefs.h >>conftest.$ac_ext
81271 cat >>conftest.$ac_ext <<_ACEOF
81272 /* end confdefs.h. */
81273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81275 #define $ac_func innocuous_$ac_func
81277 /* System header to define __stub macros and hopefully few prototypes,
81278 which can conflict with char $ac_func (); below.
81279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81280 <limits.h> exists even on freestanding compilers. */
81282 #ifdef __STDC__
81283 # include <limits.h>
81284 #else
81285 # include <assert.h>
81286 #endif
81288 #undef $ac_func
81290 /* Override any gcc2 internal prototype to avoid an error. */
81291 #ifdef __cplusplus
81292 extern "C"
81294 #endif
81295 /* We use char because int might match the return type of a gcc2
81296 builtin and then its argument prototype would still apply. */
81297 char $ac_func ();
81298 /* The GNU C library defines this for functions which it implements
81299 to always fail with ENOSYS. Some functions are actually named
81300 something starting with __ and the normal name is an alias. */
81301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81302 choke me
81303 #else
81304 char (*f) () = $ac_func;
81305 #endif
81306 #ifdef __cplusplus
81308 #endif
81311 main ()
81313 return f != $ac_func;
81315 return 0;
81317 _ACEOF
81318 rm -f conftest.$ac_objext conftest$ac_exeext
81319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81320 (eval $ac_link) 2>conftest.er1
81321 ac_status=$?
81322 grep -v '^ *+' conftest.er1 >conftest.err
81323 rm -f conftest.er1
81324 cat conftest.err >&5
81325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81326 (exit $ac_status); } &&
81327 { ac_try='test -z "$ac_c_werror_flag"
81328 || test ! -s conftest.err'
81329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81330 (eval $ac_try) 2>&5
81331 ac_status=$?
81332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81333 (exit $ac_status); }; } &&
81334 { ac_try='test -s conftest$ac_exeext'
81335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81336 (eval $ac_try) 2>&5
81337 ac_status=$?
81338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81339 (exit $ac_status); }; }; then
81340 eval "$as_ac_var=yes"
81341 else
81342 echo "$as_me: failed program was:" >&5
81343 sed 's/^/| /' conftest.$ac_ext >&5
81345 eval "$as_ac_var=no"
81347 rm -f conftest.err conftest.$ac_objext \
81348 conftest$ac_exeext conftest.$ac_ext
81350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81352 if test `eval echo '${'$as_ac_var'}'` = yes; then
81353 cat >>confdefs.h <<_ACEOF
81354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81355 _ACEOF
81358 done
81360 else
81362 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
81363 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
81364 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
81365 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
81366 echo $ECHO_N "(cached) $ECHO_C" >&6
81367 else
81371 ac_ext=cc
81372 ac_cpp='$CXXCPP $CPPFLAGS'
81373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81377 cat >conftest.$ac_ext <<_ACEOF
81378 /* confdefs.h. */
81379 _ACEOF
81380 cat confdefs.h >>conftest.$ac_ext
81381 cat >>conftest.$ac_ext <<_ACEOF
81382 /* end confdefs.h. */
81383 #include <math.h>
81384 #ifdef HAVE_IEEEFP_H
81385 #include <ieeefp.h>
81386 #endif
81389 main ()
81391 _finitel(0);
81393 return 0;
81395 _ACEOF
81396 rm -f conftest.$ac_objext
81397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81398 (eval $ac_compile) 2>conftest.er1
81399 ac_status=$?
81400 grep -v '^ *+' conftest.er1 >conftest.err
81401 rm -f conftest.er1
81402 cat conftest.err >&5
81403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81404 (exit $ac_status); } &&
81405 { ac_try='test -z "$ac_cxx_werror_flag"
81406 || test ! -s conftest.err'
81407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81408 (eval $ac_try) 2>&5
81409 ac_status=$?
81410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81411 (exit $ac_status); }; } &&
81412 { ac_try='test -s conftest.$ac_objext'
81413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81414 (eval $ac_try) 2>&5
81415 ac_status=$?
81416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81417 (exit $ac_status); }; }; then
81418 glibcxx_cv_func__finitel_use=yes
81419 else
81420 echo "$as_me: failed program was:" >&5
81421 sed 's/^/| /' conftest.$ac_ext >&5
81423 glibcxx_cv_func__finitel_use=no
81425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81426 ac_ext=c
81427 ac_cpp='$CPP $CPPFLAGS'
81428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81436 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
81437 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
81439 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
81441 for ac_func in _finitel
81443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81444 echo "$as_me:$LINENO: checking for $ac_func" >&5
81445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81446 if eval "test \"\${$as_ac_var+set}\" = set"; then
81447 echo $ECHO_N "(cached) $ECHO_C" >&6
81448 else
81449 if test x$gcc_no_link = xyes; then
81450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81452 { (exit 1); exit 1; }; }
81454 cat >conftest.$ac_ext <<_ACEOF
81455 /* confdefs.h. */
81456 _ACEOF
81457 cat confdefs.h >>conftest.$ac_ext
81458 cat >>conftest.$ac_ext <<_ACEOF
81459 /* end confdefs.h. */
81460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81462 #define $ac_func innocuous_$ac_func
81464 /* System header to define __stub macros and hopefully few prototypes,
81465 which can conflict with char $ac_func (); below.
81466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81467 <limits.h> exists even on freestanding compilers. */
81469 #ifdef __STDC__
81470 # include <limits.h>
81471 #else
81472 # include <assert.h>
81473 #endif
81475 #undef $ac_func
81477 /* Override any gcc2 internal prototype to avoid an error. */
81478 #ifdef __cplusplus
81479 extern "C"
81481 #endif
81482 /* We use char because int might match the return type of a gcc2
81483 builtin and then its argument prototype would still apply. */
81484 char $ac_func ();
81485 /* The GNU C library defines this for functions which it implements
81486 to always fail with ENOSYS. Some functions are actually named
81487 something starting with __ and the normal name is an alias. */
81488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81489 choke me
81490 #else
81491 char (*f) () = $ac_func;
81492 #endif
81493 #ifdef __cplusplus
81495 #endif
81498 main ()
81500 return f != $ac_func;
81502 return 0;
81504 _ACEOF
81505 rm -f conftest.$ac_objext conftest$ac_exeext
81506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81507 (eval $ac_link) 2>conftest.er1
81508 ac_status=$?
81509 grep -v '^ *+' conftest.er1 >conftest.err
81510 rm -f conftest.er1
81511 cat conftest.err >&5
81512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81513 (exit $ac_status); } &&
81514 { ac_try='test -z "$ac_c_werror_flag"
81515 || test ! -s conftest.err'
81516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81517 (eval $ac_try) 2>&5
81518 ac_status=$?
81519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81520 (exit $ac_status); }; } &&
81521 { ac_try='test -s conftest$ac_exeext'
81522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81523 (eval $ac_try) 2>&5
81524 ac_status=$?
81525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81526 (exit $ac_status); }; }; then
81527 eval "$as_ac_var=yes"
81528 else
81529 echo "$as_me: failed program was:" >&5
81530 sed 's/^/| /' conftest.$ac_ext >&5
81532 eval "$as_ac_var=no"
81534 rm -f conftest.err conftest.$ac_objext \
81535 conftest$ac_exeext conftest.$ac_ext
81537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81539 if test `eval echo '${'$as_ac_var'}'` = yes; then
81540 cat >>confdefs.h <<_ACEOF
81541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81542 _ACEOF
81545 done
81554 LIBS="$ac_save_LIBS"
81555 CXXFLAGS="$ac_save_CXXFLAGS"
81559 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
81560 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
81561 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
81562 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
81563 echo $ECHO_N "(cached) $ECHO_C" >&6
81564 else
81568 ac_ext=cc
81569 ac_cpp='$CXXCPP $CPPFLAGS'
81570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81574 cat >conftest.$ac_ext <<_ACEOF
81575 /* confdefs.h. */
81576 _ACEOF
81577 cat confdefs.h >>conftest.$ac_ext
81578 cat >>conftest.$ac_ext <<_ACEOF
81579 /* end confdefs.h. */
81580 #include <math.h>
81582 main ()
81584 __builtin_abs(0);
81586 return 0;
81588 _ACEOF
81589 rm -f conftest.$ac_objext
81590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81591 (eval $ac_compile) 2>conftest.er1
81592 ac_status=$?
81593 grep -v '^ *+' conftest.er1 >conftest.err
81594 rm -f conftest.er1
81595 cat conftest.err >&5
81596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81597 (exit $ac_status); } &&
81598 { ac_try='test -z "$ac_cxx_werror_flag"
81599 || test ! -s conftest.err'
81600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81601 (eval $ac_try) 2>&5
81602 ac_status=$?
81603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81604 (exit $ac_status); }; } &&
81605 { ac_try='test -s conftest.$ac_objext'
81606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81607 (eval $ac_try) 2>&5
81608 ac_status=$?
81609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81610 (exit $ac_status); }; }; then
81611 glibcxx_cv_func___builtin_abs_use=yes
81612 else
81613 echo "$as_me: failed program was:" >&5
81614 sed 's/^/| /' conftest.$ac_ext >&5
81616 glibcxx_cv_func___builtin_abs_use=no
81618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81619 ac_ext=c
81620 ac_cpp='$CPP $CPPFLAGS'
81621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81629 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
81630 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
81631 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
81632 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
81633 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
81634 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
81635 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
81636 echo $ECHO_N "(cached) $ECHO_C" >&6
81637 else
81639 if test x$gcc_no_link = xyes; then
81640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81642 { (exit 1); exit 1; }; }
81644 cat >conftest.$ac_ext <<_ACEOF
81645 /* confdefs.h. */
81646 _ACEOF
81647 cat confdefs.h >>conftest.$ac_ext
81648 cat >>conftest.$ac_ext <<_ACEOF
81649 /* end confdefs.h. */
81650 #include <math.h>
81652 main ()
81654 __builtin_abs(0);
81656 return 0;
81658 _ACEOF
81659 rm -f conftest.$ac_objext conftest$ac_exeext
81660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81661 (eval $ac_link) 2>conftest.er1
81662 ac_status=$?
81663 grep -v '^ *+' conftest.er1 >conftest.err
81664 rm -f conftest.er1
81665 cat conftest.err >&5
81666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81667 (exit $ac_status); } &&
81668 { ac_try='test -z "$ac_c_werror_flag"
81669 || test ! -s conftest.err'
81670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81671 (eval $ac_try) 2>&5
81672 ac_status=$?
81673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81674 (exit $ac_status); }; } &&
81675 { ac_try='test -s conftest$ac_exeext'
81676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81677 (eval $ac_try) 2>&5
81678 ac_status=$?
81679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81680 (exit $ac_status); }; }; then
81681 glibcxx_cv_func___builtin_abs_link=yes
81682 else
81683 echo "$as_me: failed program was:" >&5
81684 sed 's/^/| /' conftest.$ac_ext >&5
81686 glibcxx_cv_func___builtin_abs_link=no
81688 rm -f conftest.err conftest.$ac_objext \
81689 conftest$ac_exeext conftest.$ac_ext
81694 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
81695 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
81697 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
81699 cat >>confdefs.h <<\_ACEOF
81700 #define HAVE___BUILTIN_ABS 1
81701 _ACEOF
81708 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
81709 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
81710 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
81711 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
81712 echo $ECHO_N "(cached) $ECHO_C" >&6
81713 else
81717 ac_ext=cc
81718 ac_cpp='$CXXCPP $CPPFLAGS'
81719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81723 cat >conftest.$ac_ext <<_ACEOF
81724 /* confdefs.h. */
81725 _ACEOF
81726 cat confdefs.h >>conftest.$ac_ext
81727 cat >>conftest.$ac_ext <<_ACEOF
81728 /* end confdefs.h. */
81729 #include <math.h>
81731 main ()
81733 __builtin_fabsf(0);
81735 return 0;
81737 _ACEOF
81738 rm -f conftest.$ac_objext
81739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81740 (eval $ac_compile) 2>conftest.er1
81741 ac_status=$?
81742 grep -v '^ *+' conftest.er1 >conftest.err
81743 rm -f conftest.er1
81744 cat conftest.err >&5
81745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81746 (exit $ac_status); } &&
81747 { ac_try='test -z "$ac_cxx_werror_flag"
81748 || test ! -s conftest.err'
81749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81750 (eval $ac_try) 2>&5
81751 ac_status=$?
81752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81753 (exit $ac_status); }; } &&
81754 { ac_try='test -s conftest.$ac_objext'
81755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81756 (eval $ac_try) 2>&5
81757 ac_status=$?
81758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81759 (exit $ac_status); }; }; then
81760 glibcxx_cv_func___builtin_fabsf_use=yes
81761 else
81762 echo "$as_me: failed program was:" >&5
81763 sed 's/^/| /' conftest.$ac_ext >&5
81765 glibcxx_cv_func___builtin_fabsf_use=no
81767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81768 ac_ext=c
81769 ac_cpp='$CPP $CPPFLAGS'
81770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81778 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
81779 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
81780 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
81781 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
81782 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
81783 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
81784 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
81785 echo $ECHO_N "(cached) $ECHO_C" >&6
81786 else
81788 if test x$gcc_no_link = xyes; then
81789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81791 { (exit 1); exit 1; }; }
81793 cat >conftest.$ac_ext <<_ACEOF
81794 /* confdefs.h. */
81795 _ACEOF
81796 cat confdefs.h >>conftest.$ac_ext
81797 cat >>conftest.$ac_ext <<_ACEOF
81798 /* end confdefs.h. */
81799 #include <math.h>
81801 main ()
81803 __builtin_fabsf(0);
81805 return 0;
81807 _ACEOF
81808 rm -f conftest.$ac_objext conftest$ac_exeext
81809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81810 (eval $ac_link) 2>conftest.er1
81811 ac_status=$?
81812 grep -v '^ *+' conftest.er1 >conftest.err
81813 rm -f conftest.er1
81814 cat conftest.err >&5
81815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81816 (exit $ac_status); } &&
81817 { ac_try='test -z "$ac_c_werror_flag"
81818 || test ! -s conftest.err'
81819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81820 (eval $ac_try) 2>&5
81821 ac_status=$?
81822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81823 (exit $ac_status); }; } &&
81824 { ac_try='test -s conftest$ac_exeext'
81825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81826 (eval $ac_try) 2>&5
81827 ac_status=$?
81828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81829 (exit $ac_status); }; }; then
81830 glibcxx_cv_func___builtin_fabsf_link=yes
81831 else
81832 echo "$as_me: failed program was:" >&5
81833 sed 's/^/| /' conftest.$ac_ext >&5
81835 glibcxx_cv_func___builtin_fabsf_link=no
81837 rm -f conftest.err conftest.$ac_objext \
81838 conftest$ac_exeext conftest.$ac_ext
81843 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
81844 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
81846 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
81848 cat >>confdefs.h <<\_ACEOF
81849 #define HAVE___BUILTIN_FABSF 1
81850 _ACEOF
81857 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
81858 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
81859 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
81860 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
81861 echo $ECHO_N "(cached) $ECHO_C" >&6
81862 else
81866 ac_ext=cc
81867 ac_cpp='$CXXCPP $CPPFLAGS'
81868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81872 cat >conftest.$ac_ext <<_ACEOF
81873 /* confdefs.h. */
81874 _ACEOF
81875 cat confdefs.h >>conftest.$ac_ext
81876 cat >>conftest.$ac_ext <<_ACEOF
81877 /* end confdefs.h. */
81878 #include <math.h>
81880 main ()
81882 __builtin_fabs(0);
81884 return 0;
81886 _ACEOF
81887 rm -f conftest.$ac_objext
81888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81889 (eval $ac_compile) 2>conftest.er1
81890 ac_status=$?
81891 grep -v '^ *+' conftest.er1 >conftest.err
81892 rm -f conftest.er1
81893 cat conftest.err >&5
81894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81895 (exit $ac_status); } &&
81896 { ac_try='test -z "$ac_cxx_werror_flag"
81897 || test ! -s conftest.err'
81898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81899 (eval $ac_try) 2>&5
81900 ac_status=$?
81901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81902 (exit $ac_status); }; } &&
81903 { ac_try='test -s conftest.$ac_objext'
81904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81905 (eval $ac_try) 2>&5
81906 ac_status=$?
81907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81908 (exit $ac_status); }; }; then
81909 glibcxx_cv_func___builtin_fabs_use=yes
81910 else
81911 echo "$as_me: failed program was:" >&5
81912 sed 's/^/| /' conftest.$ac_ext >&5
81914 glibcxx_cv_func___builtin_fabs_use=no
81916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81917 ac_ext=c
81918 ac_cpp='$CPP $CPPFLAGS'
81919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81927 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
81928 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
81929 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
81930 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
81931 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
81932 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
81933 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
81934 echo $ECHO_N "(cached) $ECHO_C" >&6
81935 else
81937 if test x$gcc_no_link = xyes; then
81938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81940 { (exit 1); exit 1; }; }
81942 cat >conftest.$ac_ext <<_ACEOF
81943 /* confdefs.h. */
81944 _ACEOF
81945 cat confdefs.h >>conftest.$ac_ext
81946 cat >>conftest.$ac_ext <<_ACEOF
81947 /* end confdefs.h. */
81948 #include <math.h>
81950 main ()
81952 __builtin_fabs(0);
81954 return 0;
81956 _ACEOF
81957 rm -f conftest.$ac_objext conftest$ac_exeext
81958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81959 (eval $ac_link) 2>conftest.er1
81960 ac_status=$?
81961 grep -v '^ *+' conftest.er1 >conftest.err
81962 rm -f conftest.er1
81963 cat conftest.err >&5
81964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81965 (exit $ac_status); } &&
81966 { ac_try='test -z "$ac_c_werror_flag"
81967 || test ! -s conftest.err'
81968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81969 (eval $ac_try) 2>&5
81970 ac_status=$?
81971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81972 (exit $ac_status); }; } &&
81973 { ac_try='test -s conftest$ac_exeext'
81974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81975 (eval $ac_try) 2>&5
81976 ac_status=$?
81977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81978 (exit $ac_status); }; }; then
81979 glibcxx_cv_func___builtin_fabs_link=yes
81980 else
81981 echo "$as_me: failed program was:" >&5
81982 sed 's/^/| /' conftest.$ac_ext >&5
81984 glibcxx_cv_func___builtin_fabs_link=no
81986 rm -f conftest.err conftest.$ac_objext \
81987 conftest$ac_exeext conftest.$ac_ext
81992 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
81993 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
81995 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
81997 cat >>confdefs.h <<\_ACEOF
81998 #define HAVE___BUILTIN_FABS 1
81999 _ACEOF
82006 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
82007 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
82008 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
82009 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
82010 echo $ECHO_N "(cached) $ECHO_C" >&6
82011 else
82015 ac_ext=cc
82016 ac_cpp='$CXXCPP $CPPFLAGS'
82017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82021 cat >conftest.$ac_ext <<_ACEOF
82022 /* confdefs.h. */
82023 _ACEOF
82024 cat confdefs.h >>conftest.$ac_ext
82025 cat >>conftest.$ac_ext <<_ACEOF
82026 /* end confdefs.h. */
82027 #include <math.h>
82029 main ()
82031 __builtin_fabsl(0);
82033 return 0;
82035 _ACEOF
82036 rm -f conftest.$ac_objext
82037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82038 (eval $ac_compile) 2>conftest.er1
82039 ac_status=$?
82040 grep -v '^ *+' conftest.er1 >conftest.err
82041 rm -f conftest.er1
82042 cat conftest.err >&5
82043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82044 (exit $ac_status); } &&
82045 { ac_try='test -z "$ac_cxx_werror_flag"
82046 || test ! -s conftest.err'
82047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82048 (eval $ac_try) 2>&5
82049 ac_status=$?
82050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82051 (exit $ac_status); }; } &&
82052 { ac_try='test -s conftest.$ac_objext'
82053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82054 (eval $ac_try) 2>&5
82055 ac_status=$?
82056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82057 (exit $ac_status); }; }; then
82058 glibcxx_cv_func___builtin_fabsl_use=yes
82059 else
82060 echo "$as_me: failed program was:" >&5
82061 sed 's/^/| /' conftest.$ac_ext >&5
82063 glibcxx_cv_func___builtin_fabsl_use=no
82065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82066 ac_ext=c
82067 ac_cpp='$CPP $CPPFLAGS'
82068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82076 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
82077 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
82078 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
82079 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
82080 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
82081 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
82082 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
82083 echo $ECHO_N "(cached) $ECHO_C" >&6
82084 else
82086 if test x$gcc_no_link = xyes; then
82087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82089 { (exit 1); exit 1; }; }
82091 cat >conftest.$ac_ext <<_ACEOF
82092 /* confdefs.h. */
82093 _ACEOF
82094 cat confdefs.h >>conftest.$ac_ext
82095 cat >>conftest.$ac_ext <<_ACEOF
82096 /* end confdefs.h. */
82097 #include <math.h>
82099 main ()
82101 __builtin_fabsl(0);
82103 return 0;
82105 _ACEOF
82106 rm -f conftest.$ac_objext conftest$ac_exeext
82107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82108 (eval $ac_link) 2>conftest.er1
82109 ac_status=$?
82110 grep -v '^ *+' conftest.er1 >conftest.err
82111 rm -f conftest.er1
82112 cat conftest.err >&5
82113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82114 (exit $ac_status); } &&
82115 { ac_try='test -z "$ac_c_werror_flag"
82116 || test ! -s conftest.err'
82117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82118 (eval $ac_try) 2>&5
82119 ac_status=$?
82120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82121 (exit $ac_status); }; } &&
82122 { ac_try='test -s conftest$ac_exeext'
82123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82124 (eval $ac_try) 2>&5
82125 ac_status=$?
82126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82127 (exit $ac_status); }; }; then
82128 glibcxx_cv_func___builtin_fabsl_link=yes
82129 else
82130 echo "$as_me: failed program was:" >&5
82131 sed 's/^/| /' conftest.$ac_ext >&5
82133 glibcxx_cv_func___builtin_fabsl_link=no
82135 rm -f conftest.err conftest.$ac_objext \
82136 conftest$ac_exeext conftest.$ac_ext
82141 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
82142 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
82144 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
82146 cat >>confdefs.h <<\_ACEOF
82147 #define HAVE___BUILTIN_FABSL 1
82148 _ACEOF
82155 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
82156 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
82157 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
82158 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
82159 echo $ECHO_N "(cached) $ECHO_C" >&6
82160 else
82164 ac_ext=cc
82165 ac_cpp='$CXXCPP $CPPFLAGS'
82166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82170 cat >conftest.$ac_ext <<_ACEOF
82171 /* confdefs.h. */
82172 _ACEOF
82173 cat confdefs.h >>conftest.$ac_ext
82174 cat >>conftest.$ac_ext <<_ACEOF
82175 /* end confdefs.h. */
82176 #include <math.h>
82178 main ()
82180 __builtin_labs(0);
82182 return 0;
82184 _ACEOF
82185 rm -f conftest.$ac_objext
82186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82187 (eval $ac_compile) 2>conftest.er1
82188 ac_status=$?
82189 grep -v '^ *+' conftest.er1 >conftest.err
82190 rm -f conftest.er1
82191 cat conftest.err >&5
82192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82193 (exit $ac_status); } &&
82194 { ac_try='test -z "$ac_cxx_werror_flag"
82195 || test ! -s conftest.err'
82196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82197 (eval $ac_try) 2>&5
82198 ac_status=$?
82199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82200 (exit $ac_status); }; } &&
82201 { ac_try='test -s conftest.$ac_objext'
82202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82203 (eval $ac_try) 2>&5
82204 ac_status=$?
82205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82206 (exit $ac_status); }; }; then
82207 glibcxx_cv_func___builtin_labs_use=yes
82208 else
82209 echo "$as_me: failed program was:" >&5
82210 sed 's/^/| /' conftest.$ac_ext >&5
82212 glibcxx_cv_func___builtin_labs_use=no
82214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82215 ac_ext=c
82216 ac_cpp='$CPP $CPPFLAGS'
82217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82225 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
82226 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
82227 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
82228 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
82229 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
82230 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
82231 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
82232 echo $ECHO_N "(cached) $ECHO_C" >&6
82233 else
82235 if test x$gcc_no_link = xyes; then
82236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82238 { (exit 1); exit 1; }; }
82240 cat >conftest.$ac_ext <<_ACEOF
82241 /* confdefs.h. */
82242 _ACEOF
82243 cat confdefs.h >>conftest.$ac_ext
82244 cat >>conftest.$ac_ext <<_ACEOF
82245 /* end confdefs.h. */
82246 #include <math.h>
82248 main ()
82250 __builtin_labs(0);
82252 return 0;
82254 _ACEOF
82255 rm -f conftest.$ac_objext conftest$ac_exeext
82256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82257 (eval $ac_link) 2>conftest.er1
82258 ac_status=$?
82259 grep -v '^ *+' conftest.er1 >conftest.err
82260 rm -f conftest.er1
82261 cat conftest.err >&5
82262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82263 (exit $ac_status); } &&
82264 { ac_try='test -z "$ac_c_werror_flag"
82265 || test ! -s conftest.err'
82266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82267 (eval $ac_try) 2>&5
82268 ac_status=$?
82269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82270 (exit $ac_status); }; } &&
82271 { ac_try='test -s conftest$ac_exeext'
82272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82273 (eval $ac_try) 2>&5
82274 ac_status=$?
82275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82276 (exit $ac_status); }; }; then
82277 glibcxx_cv_func___builtin_labs_link=yes
82278 else
82279 echo "$as_me: failed program was:" >&5
82280 sed 's/^/| /' conftest.$ac_ext >&5
82282 glibcxx_cv_func___builtin_labs_link=no
82284 rm -f conftest.err conftest.$ac_objext \
82285 conftest$ac_exeext conftest.$ac_ext
82290 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
82291 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
82293 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
82295 cat >>confdefs.h <<\_ACEOF
82296 #define HAVE___BUILTIN_LABS 1
82297 _ACEOF
82305 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
82306 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
82307 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
82308 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
82309 echo $ECHO_N "(cached) $ECHO_C" >&6
82310 else
82314 ac_ext=cc
82315 ac_cpp='$CXXCPP $CPPFLAGS'
82316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82320 cat >conftest.$ac_ext <<_ACEOF
82321 /* confdefs.h. */
82322 _ACEOF
82323 cat confdefs.h >>conftest.$ac_ext
82324 cat >>conftest.$ac_ext <<_ACEOF
82325 /* end confdefs.h. */
82326 #include <math.h>
82328 main ()
82330 __builtin_sqrtf(0);
82332 return 0;
82334 _ACEOF
82335 rm -f conftest.$ac_objext
82336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82337 (eval $ac_compile) 2>conftest.er1
82338 ac_status=$?
82339 grep -v '^ *+' conftest.er1 >conftest.err
82340 rm -f conftest.er1
82341 cat conftest.err >&5
82342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82343 (exit $ac_status); } &&
82344 { ac_try='test -z "$ac_cxx_werror_flag"
82345 || test ! -s conftest.err'
82346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82347 (eval $ac_try) 2>&5
82348 ac_status=$?
82349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82350 (exit $ac_status); }; } &&
82351 { ac_try='test -s conftest.$ac_objext'
82352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82353 (eval $ac_try) 2>&5
82354 ac_status=$?
82355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82356 (exit $ac_status); }; }; then
82357 glibcxx_cv_func___builtin_sqrtf_use=yes
82358 else
82359 echo "$as_me: failed program was:" >&5
82360 sed 's/^/| /' conftest.$ac_ext >&5
82362 glibcxx_cv_func___builtin_sqrtf_use=no
82364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82365 ac_ext=c
82366 ac_cpp='$CPP $CPPFLAGS'
82367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82375 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
82376 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
82377 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
82378 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
82379 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
82380 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
82381 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
82382 echo $ECHO_N "(cached) $ECHO_C" >&6
82383 else
82385 if test x$gcc_no_link = xyes; then
82386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82388 { (exit 1); exit 1; }; }
82390 cat >conftest.$ac_ext <<_ACEOF
82391 /* confdefs.h. */
82392 _ACEOF
82393 cat confdefs.h >>conftest.$ac_ext
82394 cat >>conftest.$ac_ext <<_ACEOF
82395 /* end confdefs.h. */
82396 #include <math.h>
82398 main ()
82400 __builtin_sqrtf(0);
82402 return 0;
82404 _ACEOF
82405 rm -f conftest.$ac_objext conftest$ac_exeext
82406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82407 (eval $ac_link) 2>conftest.er1
82408 ac_status=$?
82409 grep -v '^ *+' conftest.er1 >conftest.err
82410 rm -f conftest.er1
82411 cat conftest.err >&5
82412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82413 (exit $ac_status); } &&
82414 { ac_try='test -z "$ac_c_werror_flag"
82415 || test ! -s conftest.err'
82416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82417 (eval $ac_try) 2>&5
82418 ac_status=$?
82419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82420 (exit $ac_status); }; } &&
82421 { ac_try='test -s conftest$ac_exeext'
82422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82423 (eval $ac_try) 2>&5
82424 ac_status=$?
82425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82426 (exit $ac_status); }; }; then
82427 glibcxx_cv_func___builtin_sqrtf_link=yes
82428 else
82429 echo "$as_me: failed program was:" >&5
82430 sed 's/^/| /' conftest.$ac_ext >&5
82432 glibcxx_cv_func___builtin_sqrtf_link=no
82434 rm -f conftest.err conftest.$ac_objext \
82435 conftest$ac_exeext conftest.$ac_ext
82440 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
82441 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
82443 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
82445 cat >>confdefs.h <<\_ACEOF
82446 #define HAVE___BUILTIN_SQRTF 1
82447 _ACEOF
82454 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
82455 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
82456 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
82457 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
82458 echo $ECHO_N "(cached) $ECHO_C" >&6
82459 else
82463 ac_ext=cc
82464 ac_cpp='$CXXCPP $CPPFLAGS'
82465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82469 cat >conftest.$ac_ext <<_ACEOF
82470 /* confdefs.h. */
82471 _ACEOF
82472 cat confdefs.h >>conftest.$ac_ext
82473 cat >>conftest.$ac_ext <<_ACEOF
82474 /* end confdefs.h. */
82475 #include <math.h>
82477 main ()
82479 __builtin_sqrt(0);
82481 return 0;
82483 _ACEOF
82484 rm -f conftest.$ac_objext
82485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82486 (eval $ac_compile) 2>conftest.er1
82487 ac_status=$?
82488 grep -v '^ *+' conftest.er1 >conftest.err
82489 rm -f conftest.er1
82490 cat conftest.err >&5
82491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82492 (exit $ac_status); } &&
82493 { ac_try='test -z "$ac_cxx_werror_flag"
82494 || test ! -s conftest.err'
82495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82496 (eval $ac_try) 2>&5
82497 ac_status=$?
82498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82499 (exit $ac_status); }; } &&
82500 { ac_try='test -s conftest.$ac_objext'
82501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82502 (eval $ac_try) 2>&5
82503 ac_status=$?
82504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82505 (exit $ac_status); }; }; then
82506 glibcxx_cv_func___builtin_sqrt_use=yes
82507 else
82508 echo "$as_me: failed program was:" >&5
82509 sed 's/^/| /' conftest.$ac_ext >&5
82511 glibcxx_cv_func___builtin_sqrt_use=no
82513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82514 ac_ext=c
82515 ac_cpp='$CPP $CPPFLAGS'
82516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82524 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
82525 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
82526 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
82527 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
82528 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
82529 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
82530 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
82531 echo $ECHO_N "(cached) $ECHO_C" >&6
82532 else
82534 if test x$gcc_no_link = xyes; then
82535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82537 { (exit 1); exit 1; }; }
82539 cat >conftest.$ac_ext <<_ACEOF
82540 /* confdefs.h. */
82541 _ACEOF
82542 cat confdefs.h >>conftest.$ac_ext
82543 cat >>conftest.$ac_ext <<_ACEOF
82544 /* end confdefs.h. */
82545 #include <math.h>
82547 main ()
82549 __builtin_sqrt(0);
82551 return 0;
82553 _ACEOF
82554 rm -f conftest.$ac_objext conftest$ac_exeext
82555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82556 (eval $ac_link) 2>conftest.er1
82557 ac_status=$?
82558 grep -v '^ *+' conftest.er1 >conftest.err
82559 rm -f conftest.er1
82560 cat conftest.err >&5
82561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82562 (exit $ac_status); } &&
82563 { ac_try='test -z "$ac_c_werror_flag"
82564 || test ! -s conftest.err'
82565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82566 (eval $ac_try) 2>&5
82567 ac_status=$?
82568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82569 (exit $ac_status); }; } &&
82570 { ac_try='test -s conftest$ac_exeext'
82571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82572 (eval $ac_try) 2>&5
82573 ac_status=$?
82574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82575 (exit $ac_status); }; }; then
82576 glibcxx_cv_func___builtin_sqrt_link=yes
82577 else
82578 echo "$as_me: failed program was:" >&5
82579 sed 's/^/| /' conftest.$ac_ext >&5
82581 glibcxx_cv_func___builtin_sqrt_link=no
82583 rm -f conftest.err conftest.$ac_objext \
82584 conftest$ac_exeext conftest.$ac_ext
82589 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
82590 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
82592 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
82594 cat >>confdefs.h <<\_ACEOF
82595 #define HAVE___BUILTIN_SQRT 1
82596 _ACEOF
82603 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
82604 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
82605 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
82606 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
82607 echo $ECHO_N "(cached) $ECHO_C" >&6
82608 else
82612 ac_ext=cc
82613 ac_cpp='$CXXCPP $CPPFLAGS'
82614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82618 cat >conftest.$ac_ext <<_ACEOF
82619 /* confdefs.h. */
82620 _ACEOF
82621 cat confdefs.h >>conftest.$ac_ext
82622 cat >>conftest.$ac_ext <<_ACEOF
82623 /* end confdefs.h. */
82624 #include <math.h>
82626 main ()
82628 __builtin_sqrtl(0);
82630 return 0;
82632 _ACEOF
82633 rm -f conftest.$ac_objext
82634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82635 (eval $ac_compile) 2>conftest.er1
82636 ac_status=$?
82637 grep -v '^ *+' conftest.er1 >conftest.err
82638 rm -f conftest.er1
82639 cat conftest.err >&5
82640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82641 (exit $ac_status); } &&
82642 { ac_try='test -z "$ac_cxx_werror_flag"
82643 || test ! -s conftest.err'
82644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82645 (eval $ac_try) 2>&5
82646 ac_status=$?
82647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82648 (exit $ac_status); }; } &&
82649 { ac_try='test -s conftest.$ac_objext'
82650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82651 (eval $ac_try) 2>&5
82652 ac_status=$?
82653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82654 (exit $ac_status); }; }; then
82655 glibcxx_cv_func___builtin_sqrtl_use=yes
82656 else
82657 echo "$as_me: failed program was:" >&5
82658 sed 's/^/| /' conftest.$ac_ext >&5
82660 glibcxx_cv_func___builtin_sqrtl_use=no
82662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82663 ac_ext=c
82664 ac_cpp='$CPP $CPPFLAGS'
82665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82673 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
82674 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
82675 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
82676 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
82677 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
82678 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
82679 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
82680 echo $ECHO_N "(cached) $ECHO_C" >&6
82681 else
82683 if test x$gcc_no_link = xyes; then
82684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82686 { (exit 1); exit 1; }; }
82688 cat >conftest.$ac_ext <<_ACEOF
82689 /* confdefs.h. */
82690 _ACEOF
82691 cat confdefs.h >>conftest.$ac_ext
82692 cat >>conftest.$ac_ext <<_ACEOF
82693 /* end confdefs.h. */
82694 #include <math.h>
82696 main ()
82698 __builtin_sqrtl(0);
82700 return 0;
82702 _ACEOF
82703 rm -f conftest.$ac_objext conftest$ac_exeext
82704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82705 (eval $ac_link) 2>conftest.er1
82706 ac_status=$?
82707 grep -v '^ *+' conftest.er1 >conftest.err
82708 rm -f conftest.er1
82709 cat conftest.err >&5
82710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82711 (exit $ac_status); } &&
82712 { ac_try='test -z "$ac_c_werror_flag"
82713 || test ! -s conftest.err'
82714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82715 (eval $ac_try) 2>&5
82716 ac_status=$?
82717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82718 (exit $ac_status); }; } &&
82719 { ac_try='test -s conftest$ac_exeext'
82720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82721 (eval $ac_try) 2>&5
82722 ac_status=$?
82723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82724 (exit $ac_status); }; }; then
82725 glibcxx_cv_func___builtin_sqrtl_link=yes
82726 else
82727 echo "$as_me: failed program was:" >&5
82728 sed 's/^/| /' conftest.$ac_ext >&5
82730 glibcxx_cv_func___builtin_sqrtl_link=no
82732 rm -f conftest.err conftest.$ac_objext \
82733 conftest$ac_exeext conftest.$ac_ext
82738 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
82739 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
82741 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
82743 cat >>confdefs.h <<\_ACEOF
82744 #define HAVE___BUILTIN_SQRTL 1
82745 _ACEOF
82753 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
82754 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
82755 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
82756 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
82757 echo $ECHO_N "(cached) $ECHO_C" >&6
82758 else
82762 ac_ext=cc
82763 ac_cpp='$CXXCPP $CPPFLAGS'
82764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82768 cat >conftest.$ac_ext <<_ACEOF
82769 /* confdefs.h. */
82770 _ACEOF
82771 cat confdefs.h >>conftest.$ac_ext
82772 cat >>conftest.$ac_ext <<_ACEOF
82773 /* end confdefs.h. */
82774 #include <math.h>
82776 main ()
82778 __builtin_sinf(0);
82780 return 0;
82782 _ACEOF
82783 rm -f conftest.$ac_objext
82784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82785 (eval $ac_compile) 2>conftest.er1
82786 ac_status=$?
82787 grep -v '^ *+' conftest.er1 >conftest.err
82788 rm -f conftest.er1
82789 cat conftest.err >&5
82790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82791 (exit $ac_status); } &&
82792 { ac_try='test -z "$ac_cxx_werror_flag"
82793 || test ! -s conftest.err'
82794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82795 (eval $ac_try) 2>&5
82796 ac_status=$?
82797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82798 (exit $ac_status); }; } &&
82799 { ac_try='test -s conftest.$ac_objext'
82800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82801 (eval $ac_try) 2>&5
82802 ac_status=$?
82803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82804 (exit $ac_status); }; }; then
82805 glibcxx_cv_func___builtin_sinf_use=yes
82806 else
82807 echo "$as_me: failed program was:" >&5
82808 sed 's/^/| /' conftest.$ac_ext >&5
82810 glibcxx_cv_func___builtin_sinf_use=no
82812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82813 ac_ext=c
82814 ac_cpp='$CPP $CPPFLAGS'
82815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82823 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
82824 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
82825 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
82826 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
82827 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
82828 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
82829 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
82830 echo $ECHO_N "(cached) $ECHO_C" >&6
82831 else
82833 if test x$gcc_no_link = xyes; then
82834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82836 { (exit 1); exit 1; }; }
82838 cat >conftest.$ac_ext <<_ACEOF
82839 /* confdefs.h. */
82840 _ACEOF
82841 cat confdefs.h >>conftest.$ac_ext
82842 cat >>conftest.$ac_ext <<_ACEOF
82843 /* end confdefs.h. */
82844 #include <math.h>
82846 main ()
82848 __builtin_sinf(0);
82850 return 0;
82852 _ACEOF
82853 rm -f conftest.$ac_objext conftest$ac_exeext
82854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82855 (eval $ac_link) 2>conftest.er1
82856 ac_status=$?
82857 grep -v '^ *+' conftest.er1 >conftest.err
82858 rm -f conftest.er1
82859 cat conftest.err >&5
82860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82861 (exit $ac_status); } &&
82862 { ac_try='test -z "$ac_c_werror_flag"
82863 || test ! -s conftest.err'
82864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82865 (eval $ac_try) 2>&5
82866 ac_status=$?
82867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82868 (exit $ac_status); }; } &&
82869 { ac_try='test -s conftest$ac_exeext'
82870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82871 (eval $ac_try) 2>&5
82872 ac_status=$?
82873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82874 (exit $ac_status); }; }; then
82875 glibcxx_cv_func___builtin_sinf_link=yes
82876 else
82877 echo "$as_me: failed program was:" >&5
82878 sed 's/^/| /' conftest.$ac_ext >&5
82880 glibcxx_cv_func___builtin_sinf_link=no
82882 rm -f conftest.err conftest.$ac_objext \
82883 conftest$ac_exeext conftest.$ac_ext
82888 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
82889 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
82891 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
82893 cat >>confdefs.h <<\_ACEOF
82894 #define HAVE___BUILTIN_SINF 1
82895 _ACEOF
82902 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
82903 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
82904 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
82905 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
82906 echo $ECHO_N "(cached) $ECHO_C" >&6
82907 else
82911 ac_ext=cc
82912 ac_cpp='$CXXCPP $CPPFLAGS'
82913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82917 cat >conftest.$ac_ext <<_ACEOF
82918 /* confdefs.h. */
82919 _ACEOF
82920 cat confdefs.h >>conftest.$ac_ext
82921 cat >>conftest.$ac_ext <<_ACEOF
82922 /* end confdefs.h. */
82923 #include <math.h>
82925 main ()
82927 __builtin_sin(0);
82929 return 0;
82931 _ACEOF
82932 rm -f conftest.$ac_objext
82933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82934 (eval $ac_compile) 2>conftest.er1
82935 ac_status=$?
82936 grep -v '^ *+' conftest.er1 >conftest.err
82937 rm -f conftest.er1
82938 cat conftest.err >&5
82939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82940 (exit $ac_status); } &&
82941 { ac_try='test -z "$ac_cxx_werror_flag"
82942 || test ! -s conftest.err'
82943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82944 (eval $ac_try) 2>&5
82945 ac_status=$?
82946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82947 (exit $ac_status); }; } &&
82948 { ac_try='test -s conftest.$ac_objext'
82949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82950 (eval $ac_try) 2>&5
82951 ac_status=$?
82952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82953 (exit $ac_status); }; }; then
82954 glibcxx_cv_func___builtin_sin_use=yes
82955 else
82956 echo "$as_me: failed program was:" >&5
82957 sed 's/^/| /' conftest.$ac_ext >&5
82959 glibcxx_cv_func___builtin_sin_use=no
82961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82962 ac_ext=c
82963 ac_cpp='$CPP $CPPFLAGS'
82964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82972 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
82973 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
82974 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
82975 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
82976 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
82977 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
82978 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
82979 echo $ECHO_N "(cached) $ECHO_C" >&6
82980 else
82982 if test x$gcc_no_link = xyes; then
82983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82985 { (exit 1); exit 1; }; }
82987 cat >conftest.$ac_ext <<_ACEOF
82988 /* confdefs.h. */
82989 _ACEOF
82990 cat confdefs.h >>conftest.$ac_ext
82991 cat >>conftest.$ac_ext <<_ACEOF
82992 /* end confdefs.h. */
82993 #include <math.h>
82995 main ()
82997 __builtin_sin(0);
82999 return 0;
83001 _ACEOF
83002 rm -f conftest.$ac_objext conftest$ac_exeext
83003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83004 (eval $ac_link) 2>conftest.er1
83005 ac_status=$?
83006 grep -v '^ *+' conftest.er1 >conftest.err
83007 rm -f conftest.er1
83008 cat conftest.err >&5
83009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83010 (exit $ac_status); } &&
83011 { ac_try='test -z "$ac_c_werror_flag"
83012 || test ! -s conftest.err'
83013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83014 (eval $ac_try) 2>&5
83015 ac_status=$?
83016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83017 (exit $ac_status); }; } &&
83018 { ac_try='test -s conftest$ac_exeext'
83019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83020 (eval $ac_try) 2>&5
83021 ac_status=$?
83022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83023 (exit $ac_status); }; }; then
83024 glibcxx_cv_func___builtin_sin_link=yes
83025 else
83026 echo "$as_me: failed program was:" >&5
83027 sed 's/^/| /' conftest.$ac_ext >&5
83029 glibcxx_cv_func___builtin_sin_link=no
83031 rm -f conftest.err conftest.$ac_objext \
83032 conftest$ac_exeext conftest.$ac_ext
83037 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
83038 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
83040 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
83042 cat >>confdefs.h <<\_ACEOF
83043 #define HAVE___BUILTIN_SIN 1
83044 _ACEOF
83051 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
83052 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
83053 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
83054 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
83055 echo $ECHO_N "(cached) $ECHO_C" >&6
83056 else
83060 ac_ext=cc
83061 ac_cpp='$CXXCPP $CPPFLAGS'
83062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83066 cat >conftest.$ac_ext <<_ACEOF
83067 /* confdefs.h. */
83068 _ACEOF
83069 cat confdefs.h >>conftest.$ac_ext
83070 cat >>conftest.$ac_ext <<_ACEOF
83071 /* end confdefs.h. */
83072 #include <math.h>
83074 main ()
83076 __builtin_sinl(0);
83078 return 0;
83080 _ACEOF
83081 rm -f conftest.$ac_objext
83082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83083 (eval $ac_compile) 2>conftest.er1
83084 ac_status=$?
83085 grep -v '^ *+' conftest.er1 >conftest.err
83086 rm -f conftest.er1
83087 cat conftest.err >&5
83088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83089 (exit $ac_status); } &&
83090 { ac_try='test -z "$ac_cxx_werror_flag"
83091 || test ! -s conftest.err'
83092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83093 (eval $ac_try) 2>&5
83094 ac_status=$?
83095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83096 (exit $ac_status); }; } &&
83097 { ac_try='test -s conftest.$ac_objext'
83098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83099 (eval $ac_try) 2>&5
83100 ac_status=$?
83101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83102 (exit $ac_status); }; }; then
83103 glibcxx_cv_func___builtin_sinl_use=yes
83104 else
83105 echo "$as_me: failed program was:" >&5
83106 sed 's/^/| /' conftest.$ac_ext >&5
83108 glibcxx_cv_func___builtin_sinl_use=no
83110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83111 ac_ext=c
83112 ac_cpp='$CPP $CPPFLAGS'
83113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83121 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
83122 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
83123 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
83124 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
83125 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
83126 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
83127 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
83128 echo $ECHO_N "(cached) $ECHO_C" >&6
83129 else
83131 if test x$gcc_no_link = xyes; then
83132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83134 { (exit 1); exit 1; }; }
83136 cat >conftest.$ac_ext <<_ACEOF
83137 /* confdefs.h. */
83138 _ACEOF
83139 cat confdefs.h >>conftest.$ac_ext
83140 cat >>conftest.$ac_ext <<_ACEOF
83141 /* end confdefs.h. */
83142 #include <math.h>
83144 main ()
83146 __builtin_sinl(0);
83148 return 0;
83150 _ACEOF
83151 rm -f conftest.$ac_objext conftest$ac_exeext
83152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83153 (eval $ac_link) 2>conftest.er1
83154 ac_status=$?
83155 grep -v '^ *+' conftest.er1 >conftest.err
83156 rm -f conftest.er1
83157 cat conftest.err >&5
83158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83159 (exit $ac_status); } &&
83160 { ac_try='test -z "$ac_c_werror_flag"
83161 || test ! -s conftest.err'
83162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83163 (eval $ac_try) 2>&5
83164 ac_status=$?
83165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83166 (exit $ac_status); }; } &&
83167 { ac_try='test -s conftest$ac_exeext'
83168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83169 (eval $ac_try) 2>&5
83170 ac_status=$?
83171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83172 (exit $ac_status); }; }; then
83173 glibcxx_cv_func___builtin_sinl_link=yes
83174 else
83175 echo "$as_me: failed program was:" >&5
83176 sed 's/^/| /' conftest.$ac_ext >&5
83178 glibcxx_cv_func___builtin_sinl_link=no
83180 rm -f conftest.err conftest.$ac_objext \
83181 conftest$ac_exeext conftest.$ac_ext
83186 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
83187 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
83189 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
83191 cat >>confdefs.h <<\_ACEOF
83192 #define HAVE___BUILTIN_SINL 1
83193 _ACEOF
83201 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
83202 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
83203 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
83204 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
83205 echo $ECHO_N "(cached) $ECHO_C" >&6
83206 else
83210 ac_ext=cc
83211 ac_cpp='$CXXCPP $CPPFLAGS'
83212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83216 cat >conftest.$ac_ext <<_ACEOF
83217 /* confdefs.h. */
83218 _ACEOF
83219 cat confdefs.h >>conftest.$ac_ext
83220 cat >>conftest.$ac_ext <<_ACEOF
83221 /* end confdefs.h. */
83222 #include <math.h>
83224 main ()
83226 __builtin_cosf(0);
83228 return 0;
83230 _ACEOF
83231 rm -f conftest.$ac_objext
83232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83233 (eval $ac_compile) 2>conftest.er1
83234 ac_status=$?
83235 grep -v '^ *+' conftest.er1 >conftest.err
83236 rm -f conftest.er1
83237 cat conftest.err >&5
83238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83239 (exit $ac_status); } &&
83240 { ac_try='test -z "$ac_cxx_werror_flag"
83241 || test ! -s conftest.err'
83242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83243 (eval $ac_try) 2>&5
83244 ac_status=$?
83245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83246 (exit $ac_status); }; } &&
83247 { ac_try='test -s conftest.$ac_objext'
83248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83249 (eval $ac_try) 2>&5
83250 ac_status=$?
83251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83252 (exit $ac_status); }; }; then
83253 glibcxx_cv_func___builtin_cosf_use=yes
83254 else
83255 echo "$as_me: failed program was:" >&5
83256 sed 's/^/| /' conftest.$ac_ext >&5
83258 glibcxx_cv_func___builtin_cosf_use=no
83260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83261 ac_ext=c
83262 ac_cpp='$CPP $CPPFLAGS'
83263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83271 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
83272 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
83273 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
83274 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
83275 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
83276 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
83277 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
83278 echo $ECHO_N "(cached) $ECHO_C" >&6
83279 else
83281 if test x$gcc_no_link = xyes; then
83282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83284 { (exit 1); exit 1; }; }
83286 cat >conftest.$ac_ext <<_ACEOF
83287 /* confdefs.h. */
83288 _ACEOF
83289 cat confdefs.h >>conftest.$ac_ext
83290 cat >>conftest.$ac_ext <<_ACEOF
83291 /* end confdefs.h. */
83292 #include <math.h>
83294 main ()
83296 __builtin_cosf(0);
83298 return 0;
83300 _ACEOF
83301 rm -f conftest.$ac_objext conftest$ac_exeext
83302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83303 (eval $ac_link) 2>conftest.er1
83304 ac_status=$?
83305 grep -v '^ *+' conftest.er1 >conftest.err
83306 rm -f conftest.er1
83307 cat conftest.err >&5
83308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83309 (exit $ac_status); } &&
83310 { ac_try='test -z "$ac_c_werror_flag"
83311 || test ! -s conftest.err'
83312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83313 (eval $ac_try) 2>&5
83314 ac_status=$?
83315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83316 (exit $ac_status); }; } &&
83317 { ac_try='test -s conftest$ac_exeext'
83318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83319 (eval $ac_try) 2>&5
83320 ac_status=$?
83321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83322 (exit $ac_status); }; }; then
83323 glibcxx_cv_func___builtin_cosf_link=yes
83324 else
83325 echo "$as_me: failed program was:" >&5
83326 sed 's/^/| /' conftest.$ac_ext >&5
83328 glibcxx_cv_func___builtin_cosf_link=no
83330 rm -f conftest.err conftest.$ac_objext \
83331 conftest$ac_exeext conftest.$ac_ext
83336 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
83337 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
83339 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
83341 cat >>confdefs.h <<\_ACEOF
83342 #define HAVE___BUILTIN_COSF 1
83343 _ACEOF
83350 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
83351 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
83352 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
83353 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
83354 echo $ECHO_N "(cached) $ECHO_C" >&6
83355 else
83359 ac_ext=cc
83360 ac_cpp='$CXXCPP $CPPFLAGS'
83361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83365 cat >conftest.$ac_ext <<_ACEOF
83366 /* confdefs.h. */
83367 _ACEOF
83368 cat confdefs.h >>conftest.$ac_ext
83369 cat >>conftest.$ac_ext <<_ACEOF
83370 /* end confdefs.h. */
83371 #include <math.h>
83373 main ()
83375 __builtin_cos(0);
83377 return 0;
83379 _ACEOF
83380 rm -f conftest.$ac_objext
83381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83382 (eval $ac_compile) 2>conftest.er1
83383 ac_status=$?
83384 grep -v '^ *+' conftest.er1 >conftest.err
83385 rm -f conftest.er1
83386 cat conftest.err >&5
83387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83388 (exit $ac_status); } &&
83389 { ac_try='test -z "$ac_cxx_werror_flag"
83390 || test ! -s conftest.err'
83391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83392 (eval $ac_try) 2>&5
83393 ac_status=$?
83394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83395 (exit $ac_status); }; } &&
83396 { ac_try='test -s conftest.$ac_objext'
83397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83398 (eval $ac_try) 2>&5
83399 ac_status=$?
83400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83401 (exit $ac_status); }; }; then
83402 glibcxx_cv_func___builtin_cos_use=yes
83403 else
83404 echo "$as_me: failed program was:" >&5
83405 sed 's/^/| /' conftest.$ac_ext >&5
83407 glibcxx_cv_func___builtin_cos_use=no
83409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83410 ac_ext=c
83411 ac_cpp='$CPP $CPPFLAGS'
83412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83420 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
83421 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
83422 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
83423 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
83424 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
83425 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
83426 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
83427 echo $ECHO_N "(cached) $ECHO_C" >&6
83428 else
83430 if test x$gcc_no_link = xyes; then
83431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83433 { (exit 1); exit 1; }; }
83435 cat >conftest.$ac_ext <<_ACEOF
83436 /* confdefs.h. */
83437 _ACEOF
83438 cat confdefs.h >>conftest.$ac_ext
83439 cat >>conftest.$ac_ext <<_ACEOF
83440 /* end confdefs.h. */
83441 #include <math.h>
83443 main ()
83445 __builtin_cos(0);
83447 return 0;
83449 _ACEOF
83450 rm -f conftest.$ac_objext conftest$ac_exeext
83451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83452 (eval $ac_link) 2>conftest.er1
83453 ac_status=$?
83454 grep -v '^ *+' conftest.er1 >conftest.err
83455 rm -f conftest.er1
83456 cat conftest.err >&5
83457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83458 (exit $ac_status); } &&
83459 { ac_try='test -z "$ac_c_werror_flag"
83460 || test ! -s conftest.err'
83461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83462 (eval $ac_try) 2>&5
83463 ac_status=$?
83464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83465 (exit $ac_status); }; } &&
83466 { ac_try='test -s conftest$ac_exeext'
83467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83468 (eval $ac_try) 2>&5
83469 ac_status=$?
83470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83471 (exit $ac_status); }; }; then
83472 glibcxx_cv_func___builtin_cos_link=yes
83473 else
83474 echo "$as_me: failed program was:" >&5
83475 sed 's/^/| /' conftest.$ac_ext >&5
83477 glibcxx_cv_func___builtin_cos_link=no
83479 rm -f conftest.err conftest.$ac_objext \
83480 conftest$ac_exeext conftest.$ac_ext
83485 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
83486 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
83488 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
83490 cat >>confdefs.h <<\_ACEOF
83491 #define HAVE___BUILTIN_COS 1
83492 _ACEOF
83499 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
83500 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
83501 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
83502 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
83503 echo $ECHO_N "(cached) $ECHO_C" >&6
83504 else
83508 ac_ext=cc
83509 ac_cpp='$CXXCPP $CPPFLAGS'
83510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83514 cat >conftest.$ac_ext <<_ACEOF
83515 /* confdefs.h. */
83516 _ACEOF
83517 cat confdefs.h >>conftest.$ac_ext
83518 cat >>conftest.$ac_ext <<_ACEOF
83519 /* end confdefs.h. */
83520 #include <math.h>
83522 main ()
83524 __builtin_cosl(0);
83526 return 0;
83528 _ACEOF
83529 rm -f conftest.$ac_objext
83530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83531 (eval $ac_compile) 2>conftest.er1
83532 ac_status=$?
83533 grep -v '^ *+' conftest.er1 >conftest.err
83534 rm -f conftest.er1
83535 cat conftest.err >&5
83536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83537 (exit $ac_status); } &&
83538 { ac_try='test -z "$ac_cxx_werror_flag"
83539 || test ! -s conftest.err'
83540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83541 (eval $ac_try) 2>&5
83542 ac_status=$?
83543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83544 (exit $ac_status); }; } &&
83545 { ac_try='test -s conftest.$ac_objext'
83546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83547 (eval $ac_try) 2>&5
83548 ac_status=$?
83549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83550 (exit $ac_status); }; }; then
83551 glibcxx_cv_func___builtin_cosl_use=yes
83552 else
83553 echo "$as_me: failed program was:" >&5
83554 sed 's/^/| /' conftest.$ac_ext >&5
83556 glibcxx_cv_func___builtin_cosl_use=no
83558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83559 ac_ext=c
83560 ac_cpp='$CPP $CPPFLAGS'
83561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83569 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
83570 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
83571 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
83572 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
83573 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
83574 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
83575 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
83576 echo $ECHO_N "(cached) $ECHO_C" >&6
83577 else
83579 if test x$gcc_no_link = xyes; then
83580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83582 { (exit 1); exit 1; }; }
83584 cat >conftest.$ac_ext <<_ACEOF
83585 /* confdefs.h. */
83586 _ACEOF
83587 cat confdefs.h >>conftest.$ac_ext
83588 cat >>conftest.$ac_ext <<_ACEOF
83589 /* end confdefs.h. */
83590 #include <math.h>
83592 main ()
83594 __builtin_cosl(0);
83596 return 0;
83598 _ACEOF
83599 rm -f conftest.$ac_objext conftest$ac_exeext
83600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83601 (eval $ac_link) 2>conftest.er1
83602 ac_status=$?
83603 grep -v '^ *+' conftest.er1 >conftest.err
83604 rm -f conftest.er1
83605 cat conftest.err >&5
83606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83607 (exit $ac_status); } &&
83608 { ac_try='test -z "$ac_c_werror_flag"
83609 || test ! -s conftest.err'
83610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83611 (eval $ac_try) 2>&5
83612 ac_status=$?
83613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83614 (exit $ac_status); }; } &&
83615 { ac_try='test -s conftest$ac_exeext'
83616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83617 (eval $ac_try) 2>&5
83618 ac_status=$?
83619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83620 (exit $ac_status); }; }; then
83621 glibcxx_cv_func___builtin_cosl_link=yes
83622 else
83623 echo "$as_me: failed program was:" >&5
83624 sed 's/^/| /' conftest.$ac_ext >&5
83626 glibcxx_cv_func___builtin_cosl_link=no
83628 rm -f conftest.err conftest.$ac_objext \
83629 conftest$ac_exeext conftest.$ac_ext
83634 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
83635 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
83637 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
83639 cat >>confdefs.h <<\_ACEOF
83640 #define HAVE___BUILTIN_COSL 1
83641 _ACEOF
83650 echo "$as_me:$LINENO: checking for main in -lm" >&5
83651 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83652 if test "${ac_cv_lib_m_main+set}" = set; then
83653 echo $ECHO_N "(cached) $ECHO_C" >&6
83654 else
83655 ac_check_lib_save_LIBS=$LIBS
83656 LIBS="-lm $LIBS"
83657 if test x$gcc_no_link = xyes; then
83658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83660 { (exit 1); exit 1; }; }
83662 cat >conftest.$ac_ext <<_ACEOF
83663 /* confdefs.h. */
83664 _ACEOF
83665 cat confdefs.h >>conftest.$ac_ext
83666 cat >>conftest.$ac_ext <<_ACEOF
83667 /* end confdefs.h. */
83671 main ()
83673 main ();
83675 return 0;
83677 _ACEOF
83678 rm -f conftest.$ac_objext conftest$ac_exeext
83679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83680 (eval $ac_link) 2>conftest.er1
83681 ac_status=$?
83682 grep -v '^ *+' conftest.er1 >conftest.err
83683 rm -f conftest.er1
83684 cat conftest.err >&5
83685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83686 (exit $ac_status); } &&
83687 { ac_try='test -z "$ac_c_werror_flag"
83688 || test ! -s conftest.err'
83689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83690 (eval $ac_try) 2>&5
83691 ac_status=$?
83692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83693 (exit $ac_status); }; } &&
83694 { ac_try='test -s conftest$ac_exeext'
83695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83696 (eval $ac_try) 2>&5
83697 ac_status=$?
83698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83699 (exit $ac_status); }; }; then
83700 ac_cv_lib_m_main=yes
83701 else
83702 echo "$as_me: failed program was:" >&5
83703 sed 's/^/| /' conftest.$ac_ext >&5
83705 ac_cv_lib_m_main=no
83707 rm -f conftest.err conftest.$ac_objext \
83708 conftest$ac_exeext conftest.$ac_ext
83709 LIBS=$ac_check_lib_save_LIBS
83711 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83712 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83713 if test $ac_cv_lib_m_main = yes; then
83714 cat >>confdefs.h <<_ACEOF
83715 #define HAVE_LIBM 1
83716 _ACEOF
83718 LIBS="-lm $LIBS"
83723 for ac_func in copysignf
83725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83726 echo "$as_me:$LINENO: checking for $ac_func" >&5
83727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83728 if eval "test \"\${$as_ac_var+set}\" = set"; then
83729 echo $ECHO_N "(cached) $ECHO_C" >&6
83730 else
83731 if test x$gcc_no_link = xyes; then
83732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83734 { (exit 1); exit 1; }; }
83736 cat >conftest.$ac_ext <<_ACEOF
83737 /* confdefs.h. */
83738 _ACEOF
83739 cat confdefs.h >>conftest.$ac_ext
83740 cat >>conftest.$ac_ext <<_ACEOF
83741 /* end confdefs.h. */
83742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83744 #define $ac_func innocuous_$ac_func
83746 /* System header to define __stub macros and hopefully few prototypes,
83747 which can conflict with char $ac_func (); below.
83748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83749 <limits.h> exists even on freestanding compilers. */
83751 #ifdef __STDC__
83752 # include <limits.h>
83753 #else
83754 # include <assert.h>
83755 #endif
83757 #undef $ac_func
83759 /* Override any gcc2 internal prototype to avoid an error. */
83760 #ifdef __cplusplus
83761 extern "C"
83763 #endif
83764 /* We use char because int might match the return type of a gcc2
83765 builtin and then its argument prototype would still apply. */
83766 char $ac_func ();
83767 /* The GNU C library defines this for functions which it implements
83768 to always fail with ENOSYS. Some functions are actually named
83769 something starting with __ and the normal name is an alias. */
83770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83771 choke me
83772 #else
83773 char (*f) () = $ac_func;
83774 #endif
83775 #ifdef __cplusplus
83777 #endif
83780 main ()
83782 return f != $ac_func;
83784 return 0;
83786 _ACEOF
83787 rm -f conftest.$ac_objext conftest$ac_exeext
83788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83789 (eval $ac_link) 2>conftest.er1
83790 ac_status=$?
83791 grep -v '^ *+' conftest.er1 >conftest.err
83792 rm -f conftest.er1
83793 cat conftest.err >&5
83794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83795 (exit $ac_status); } &&
83796 { ac_try='test -z "$ac_c_werror_flag"
83797 || test ! -s conftest.err'
83798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83799 (eval $ac_try) 2>&5
83800 ac_status=$?
83801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83802 (exit $ac_status); }; } &&
83803 { ac_try='test -s conftest$ac_exeext'
83804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83805 (eval $ac_try) 2>&5
83806 ac_status=$?
83807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83808 (exit $ac_status); }; }; then
83809 eval "$as_ac_var=yes"
83810 else
83811 echo "$as_me: failed program was:" >&5
83812 sed 's/^/| /' conftest.$ac_ext >&5
83814 eval "$as_ac_var=no"
83816 rm -f conftest.err conftest.$ac_objext \
83817 conftest$ac_exeext conftest.$ac_ext
83819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83821 if test `eval echo '${'$as_ac_var'}'` = yes; then
83822 cat >>confdefs.h <<_ACEOF
83823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83824 _ACEOF
83826 else
83827 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83829 done
83833 for ac_func in __signbit
83835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83836 echo "$as_me:$LINENO: checking for $ac_func" >&5
83837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83838 if eval "test \"\${$as_ac_var+set}\" = set"; then
83839 echo $ECHO_N "(cached) $ECHO_C" >&6
83840 else
83841 if test x$gcc_no_link = xyes; then
83842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83844 { (exit 1); exit 1; }; }
83846 cat >conftest.$ac_ext <<_ACEOF
83847 /* confdefs.h. */
83848 _ACEOF
83849 cat confdefs.h >>conftest.$ac_ext
83850 cat >>conftest.$ac_ext <<_ACEOF
83851 /* end confdefs.h. */
83852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83854 #define $ac_func innocuous_$ac_func
83856 /* System header to define __stub macros and hopefully few prototypes,
83857 which can conflict with char $ac_func (); below.
83858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83859 <limits.h> exists even on freestanding compilers. */
83861 #ifdef __STDC__
83862 # include <limits.h>
83863 #else
83864 # include <assert.h>
83865 #endif
83867 #undef $ac_func
83869 /* Override any gcc2 internal prototype to avoid an error. */
83870 #ifdef __cplusplus
83871 extern "C"
83873 #endif
83874 /* We use char because int might match the return type of a gcc2
83875 builtin and then its argument prototype would still apply. */
83876 char $ac_func ();
83877 /* The GNU C library defines this for functions which it implements
83878 to always fail with ENOSYS. Some functions are actually named
83879 something starting with __ and the normal name is an alias. */
83880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83881 choke me
83882 #else
83883 char (*f) () = $ac_func;
83884 #endif
83885 #ifdef __cplusplus
83887 #endif
83890 main ()
83892 return f != $ac_func;
83894 return 0;
83896 _ACEOF
83897 rm -f conftest.$ac_objext conftest$ac_exeext
83898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83899 (eval $ac_link) 2>conftest.er1
83900 ac_status=$?
83901 grep -v '^ *+' conftest.er1 >conftest.err
83902 rm -f conftest.er1
83903 cat conftest.err >&5
83904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83905 (exit $ac_status); } &&
83906 { ac_try='test -z "$ac_c_werror_flag"
83907 || test ! -s conftest.err'
83908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83909 (eval $ac_try) 2>&5
83910 ac_status=$?
83911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83912 (exit $ac_status); }; } &&
83913 { ac_try='test -s conftest$ac_exeext'
83914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83915 (eval $ac_try) 2>&5
83916 ac_status=$?
83917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83918 (exit $ac_status); }; }; then
83919 eval "$as_ac_var=yes"
83920 else
83921 echo "$as_me: failed program was:" >&5
83922 sed 's/^/| /' conftest.$ac_ext >&5
83924 eval "$as_ac_var=no"
83926 rm -f conftest.err conftest.$ac_objext \
83927 conftest$ac_exeext conftest.$ac_ext
83929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83931 if test `eval echo '${'$as_ac_var'}'` = yes; then
83932 cat >>confdefs.h <<_ACEOF
83933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83934 _ACEOF
83936 else
83937 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83939 done
83943 for ac_func in __signbitf
83945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83946 echo "$as_me:$LINENO: checking for $ac_func" >&5
83947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83948 if eval "test \"\${$as_ac_var+set}\" = set"; then
83949 echo $ECHO_N "(cached) $ECHO_C" >&6
83950 else
83951 if test x$gcc_no_link = xyes; then
83952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83954 { (exit 1); exit 1; }; }
83956 cat >conftest.$ac_ext <<_ACEOF
83957 /* confdefs.h. */
83958 _ACEOF
83959 cat confdefs.h >>conftest.$ac_ext
83960 cat >>conftest.$ac_ext <<_ACEOF
83961 /* end confdefs.h. */
83962 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83964 #define $ac_func innocuous_$ac_func
83966 /* System header to define __stub macros and hopefully few prototypes,
83967 which can conflict with char $ac_func (); below.
83968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83969 <limits.h> exists even on freestanding compilers. */
83971 #ifdef __STDC__
83972 # include <limits.h>
83973 #else
83974 # include <assert.h>
83975 #endif
83977 #undef $ac_func
83979 /* Override any gcc2 internal prototype to avoid an error. */
83980 #ifdef __cplusplus
83981 extern "C"
83983 #endif
83984 /* We use char because int might match the return type of a gcc2
83985 builtin and then its argument prototype would still apply. */
83986 char $ac_func ();
83987 /* The GNU C library defines this for functions which it implements
83988 to always fail with ENOSYS. Some functions are actually named
83989 something starting with __ and the normal name is an alias. */
83990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83991 choke me
83992 #else
83993 char (*f) () = $ac_func;
83994 #endif
83995 #ifdef __cplusplus
83997 #endif
84000 main ()
84002 return f != $ac_func;
84004 return 0;
84006 _ACEOF
84007 rm -f conftest.$ac_objext conftest$ac_exeext
84008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84009 (eval $ac_link) 2>conftest.er1
84010 ac_status=$?
84011 grep -v '^ *+' conftest.er1 >conftest.err
84012 rm -f conftest.er1
84013 cat conftest.err >&5
84014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84015 (exit $ac_status); } &&
84016 { ac_try='test -z "$ac_c_werror_flag"
84017 || test ! -s conftest.err'
84018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84019 (eval $ac_try) 2>&5
84020 ac_status=$?
84021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84022 (exit $ac_status); }; } &&
84023 { ac_try='test -s conftest$ac_exeext'
84024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84025 (eval $ac_try) 2>&5
84026 ac_status=$?
84027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84028 (exit $ac_status); }; }; then
84029 eval "$as_ac_var=yes"
84030 else
84031 echo "$as_me: failed program was:" >&5
84032 sed 's/^/| /' conftest.$ac_ext >&5
84034 eval "$as_ac_var=no"
84036 rm -f conftest.err conftest.$ac_objext \
84037 conftest$ac_exeext conftest.$ac_ext
84039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84041 if test `eval echo '${'$as_ac_var'}'` = yes; then
84042 cat >>confdefs.h <<_ACEOF
84043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84044 _ACEOF
84046 else
84047 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
84049 done
84052 if test x$ac_cv_func_copysignl = x"yes"; then
84054 for ac_func in __signbitl
84056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84057 echo "$as_me:$LINENO: checking for $ac_func" >&5
84058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84059 if eval "test \"\${$as_ac_var+set}\" = set"; then
84060 echo $ECHO_N "(cached) $ECHO_C" >&6
84061 else
84062 if test x$gcc_no_link = xyes; then
84063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84065 { (exit 1); exit 1; }; }
84067 cat >conftest.$ac_ext <<_ACEOF
84068 /* confdefs.h. */
84069 _ACEOF
84070 cat confdefs.h >>conftest.$ac_ext
84071 cat >>conftest.$ac_ext <<_ACEOF
84072 /* end confdefs.h. */
84073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84075 #define $ac_func innocuous_$ac_func
84077 /* System header to define __stub macros and hopefully few prototypes,
84078 which can conflict with char $ac_func (); below.
84079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84080 <limits.h> exists even on freestanding compilers. */
84082 #ifdef __STDC__
84083 # include <limits.h>
84084 #else
84085 # include <assert.h>
84086 #endif
84088 #undef $ac_func
84090 /* Override any gcc2 internal prototype to avoid an error. */
84091 #ifdef __cplusplus
84092 extern "C"
84094 #endif
84095 /* We use char because int might match the return type of a gcc2
84096 builtin and then its argument prototype would still apply. */
84097 char $ac_func ();
84098 /* The GNU C library defines this for functions which it implements
84099 to always fail with ENOSYS. Some functions are actually named
84100 something starting with __ and the normal name is an alias. */
84101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84102 choke me
84103 #else
84104 char (*f) () = $ac_func;
84105 #endif
84106 #ifdef __cplusplus
84108 #endif
84111 main ()
84113 return f != $ac_func;
84115 return 0;
84117 _ACEOF
84118 rm -f conftest.$ac_objext conftest$ac_exeext
84119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84120 (eval $ac_link) 2>conftest.er1
84121 ac_status=$?
84122 grep -v '^ *+' conftest.er1 >conftest.err
84123 rm -f conftest.er1
84124 cat conftest.err >&5
84125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84126 (exit $ac_status); } &&
84127 { ac_try='test -z "$ac_c_werror_flag"
84128 || test ! -s conftest.err'
84129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84130 (eval $ac_try) 2>&5
84131 ac_status=$?
84132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84133 (exit $ac_status); }; } &&
84134 { ac_try='test -s conftest$ac_exeext'
84135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84136 (eval $ac_try) 2>&5
84137 ac_status=$?
84138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84139 (exit $ac_status); }; }; then
84140 eval "$as_ac_var=yes"
84141 else
84142 echo "$as_me: failed program was:" >&5
84143 sed 's/^/| /' conftest.$ac_ext >&5
84145 eval "$as_ac_var=no"
84147 rm -f conftest.err conftest.$ac_objext \
84148 conftest$ac_exeext conftest.$ac_ext
84150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84152 if test `eval echo '${'$as_ac_var'}'` = yes; then
84153 cat >>confdefs.h <<_ACEOF
84154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84155 _ACEOF
84157 else
84158 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84160 done
84164 # Used in libmath/Makefile.am.
84165 if test -n "$LIBMATHOBJS"; then
84166 need_libmath=yes
84171 ac_test_CXXFLAGS="${CXXFLAGS+set}"
84172 ac_save_CXXFLAGS="$CXXFLAGS"
84173 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
84176 echo "$as_me:$LINENO: checking for strtold declaration" >&5
84177 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
84178 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
84179 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
84180 echo $ECHO_N "(cached) $ECHO_C" >&6
84181 else
84185 ac_ext=cc
84186 ac_cpp='$CXXCPP $CPPFLAGS'
84187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84191 cat >conftest.$ac_ext <<_ACEOF
84192 /* confdefs.h. */
84193 _ACEOF
84194 cat confdefs.h >>conftest.$ac_ext
84195 cat >>conftest.$ac_ext <<_ACEOF
84196 /* end confdefs.h. */
84197 #include <stdlib.h>
84199 main ()
84201 strtold(0, 0);
84203 return 0;
84205 _ACEOF
84206 rm -f conftest.$ac_objext
84207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84208 (eval $ac_compile) 2>conftest.er1
84209 ac_status=$?
84210 grep -v '^ *+' conftest.er1 >conftest.err
84211 rm -f conftest.er1
84212 cat conftest.err >&5
84213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84214 (exit $ac_status); } &&
84215 { ac_try='test -z "$ac_cxx_werror_flag"
84216 || test ! -s conftest.err'
84217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84218 (eval $ac_try) 2>&5
84219 ac_status=$?
84220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84221 (exit $ac_status); }; } &&
84222 { ac_try='test -s conftest.$ac_objext'
84223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84224 (eval $ac_try) 2>&5
84225 ac_status=$?
84226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84227 (exit $ac_status); }; }; then
84228 glibcxx_cv_func_strtold_use=yes
84229 else
84230 echo "$as_me: failed program was:" >&5
84231 sed 's/^/| /' conftest.$ac_ext >&5
84233 glibcxx_cv_func_strtold_use=no
84235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84236 ac_ext=c
84237 ac_cpp='$CPP $CPPFLAGS'
84238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84246 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
84247 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
84248 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
84250 for ac_func in strtold
84252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84253 echo "$as_me:$LINENO: checking for $ac_func" >&5
84254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84255 if eval "test \"\${$as_ac_var+set}\" = set"; then
84256 echo $ECHO_N "(cached) $ECHO_C" >&6
84257 else
84258 if test x$gcc_no_link = xyes; then
84259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84261 { (exit 1); exit 1; }; }
84263 cat >conftest.$ac_ext <<_ACEOF
84264 /* confdefs.h. */
84265 _ACEOF
84266 cat confdefs.h >>conftest.$ac_ext
84267 cat >>conftest.$ac_ext <<_ACEOF
84268 /* end confdefs.h. */
84269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84271 #define $ac_func innocuous_$ac_func
84273 /* System header to define __stub macros and hopefully few prototypes,
84274 which can conflict with char $ac_func (); below.
84275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84276 <limits.h> exists even on freestanding compilers. */
84278 #ifdef __STDC__
84279 # include <limits.h>
84280 #else
84281 # include <assert.h>
84282 #endif
84284 #undef $ac_func
84286 /* Override any gcc2 internal prototype to avoid an error. */
84287 #ifdef __cplusplus
84288 extern "C"
84290 #endif
84291 /* We use char because int might match the return type of a gcc2
84292 builtin and then its argument prototype would still apply. */
84293 char $ac_func ();
84294 /* The GNU C library defines this for functions which it implements
84295 to always fail with ENOSYS. Some functions are actually named
84296 something starting with __ and the normal name is an alias. */
84297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84298 choke me
84299 #else
84300 char (*f) () = $ac_func;
84301 #endif
84302 #ifdef __cplusplus
84304 #endif
84307 main ()
84309 return f != $ac_func;
84311 return 0;
84313 _ACEOF
84314 rm -f conftest.$ac_objext conftest$ac_exeext
84315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84316 (eval $ac_link) 2>conftest.er1
84317 ac_status=$?
84318 grep -v '^ *+' conftest.er1 >conftest.err
84319 rm -f conftest.er1
84320 cat conftest.err >&5
84321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84322 (exit $ac_status); } &&
84323 { ac_try='test -z "$ac_c_werror_flag"
84324 || test ! -s conftest.err'
84325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84326 (eval $ac_try) 2>&5
84327 ac_status=$?
84328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84329 (exit $ac_status); }; } &&
84330 { ac_try='test -s conftest$ac_exeext'
84331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84332 (eval $ac_try) 2>&5
84333 ac_status=$?
84334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84335 (exit $ac_status); }; }; then
84336 eval "$as_ac_var=yes"
84337 else
84338 echo "$as_me: failed program was:" >&5
84339 sed 's/^/| /' conftest.$ac_ext >&5
84341 eval "$as_ac_var=no"
84343 rm -f conftest.err conftest.$ac_objext \
84344 conftest$ac_exeext conftest.$ac_ext
84346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84348 if test `eval echo '${'$as_ac_var'}'` = yes; then
84349 cat >>confdefs.h <<_ACEOF
84350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84351 _ACEOF
84354 done
84362 echo "$as_me:$LINENO: checking for strtof declaration" >&5
84363 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
84364 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
84365 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
84366 echo $ECHO_N "(cached) $ECHO_C" >&6
84367 else
84371 ac_ext=cc
84372 ac_cpp='$CXXCPP $CPPFLAGS'
84373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84377 cat >conftest.$ac_ext <<_ACEOF
84378 /* confdefs.h. */
84379 _ACEOF
84380 cat confdefs.h >>conftest.$ac_ext
84381 cat >>conftest.$ac_ext <<_ACEOF
84382 /* end confdefs.h. */
84383 #include <stdlib.h>
84385 main ()
84387 strtof(0, 0);
84389 return 0;
84391 _ACEOF
84392 rm -f conftest.$ac_objext
84393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84394 (eval $ac_compile) 2>conftest.er1
84395 ac_status=$?
84396 grep -v '^ *+' conftest.er1 >conftest.err
84397 rm -f conftest.er1
84398 cat conftest.err >&5
84399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84400 (exit $ac_status); } &&
84401 { ac_try='test -z "$ac_cxx_werror_flag"
84402 || test ! -s conftest.err'
84403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84404 (eval $ac_try) 2>&5
84405 ac_status=$?
84406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84407 (exit $ac_status); }; } &&
84408 { ac_try='test -s conftest.$ac_objext'
84409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84410 (eval $ac_try) 2>&5
84411 ac_status=$?
84412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84413 (exit $ac_status); }; }; then
84414 glibcxx_cv_func_strtof_use=yes
84415 else
84416 echo "$as_me: failed program was:" >&5
84417 sed 's/^/| /' conftest.$ac_ext >&5
84419 glibcxx_cv_func_strtof_use=no
84421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84422 ac_ext=c
84423 ac_cpp='$CPP $CPPFLAGS'
84424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84432 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
84433 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
84434 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
84436 for ac_func in strtof
84438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84439 echo "$as_me:$LINENO: checking for $ac_func" >&5
84440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84441 if eval "test \"\${$as_ac_var+set}\" = set"; then
84442 echo $ECHO_N "(cached) $ECHO_C" >&6
84443 else
84444 if test x$gcc_no_link = xyes; then
84445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84447 { (exit 1); exit 1; }; }
84449 cat >conftest.$ac_ext <<_ACEOF
84450 /* confdefs.h. */
84451 _ACEOF
84452 cat confdefs.h >>conftest.$ac_ext
84453 cat >>conftest.$ac_ext <<_ACEOF
84454 /* end confdefs.h. */
84455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84457 #define $ac_func innocuous_$ac_func
84459 /* System header to define __stub macros and hopefully few prototypes,
84460 which can conflict with char $ac_func (); below.
84461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84462 <limits.h> exists even on freestanding compilers. */
84464 #ifdef __STDC__
84465 # include <limits.h>
84466 #else
84467 # include <assert.h>
84468 #endif
84470 #undef $ac_func
84472 /* Override any gcc2 internal prototype to avoid an error. */
84473 #ifdef __cplusplus
84474 extern "C"
84476 #endif
84477 /* We use char because int might match the return type of a gcc2
84478 builtin and then its argument prototype would still apply. */
84479 char $ac_func ();
84480 /* The GNU C library defines this for functions which it implements
84481 to always fail with ENOSYS. Some functions are actually named
84482 something starting with __ and the normal name is an alias. */
84483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84484 choke me
84485 #else
84486 char (*f) () = $ac_func;
84487 #endif
84488 #ifdef __cplusplus
84490 #endif
84493 main ()
84495 return f != $ac_func;
84497 return 0;
84499 _ACEOF
84500 rm -f conftest.$ac_objext conftest$ac_exeext
84501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84502 (eval $ac_link) 2>conftest.er1
84503 ac_status=$?
84504 grep -v '^ *+' conftest.er1 >conftest.err
84505 rm -f conftest.er1
84506 cat conftest.err >&5
84507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84508 (exit $ac_status); } &&
84509 { ac_try='test -z "$ac_c_werror_flag"
84510 || test ! -s conftest.err'
84511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84512 (eval $ac_try) 2>&5
84513 ac_status=$?
84514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84515 (exit $ac_status); }; } &&
84516 { ac_try='test -s conftest$ac_exeext'
84517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84518 (eval $ac_try) 2>&5
84519 ac_status=$?
84520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84521 (exit $ac_status); }; }; then
84522 eval "$as_ac_var=yes"
84523 else
84524 echo "$as_me: failed program was:" >&5
84525 sed 's/^/| /' conftest.$ac_ext >&5
84527 eval "$as_ac_var=no"
84529 rm -f conftest.err conftest.$ac_objext \
84530 conftest$ac_exeext conftest.$ac_ext
84532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84534 if test `eval echo '${'$as_ac_var'}'` = yes; then
84535 cat >>confdefs.h <<_ACEOF
84536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84537 _ACEOF
84540 done
84548 CXXFLAGS="$ac_save_CXXFLAGS"
84551 # For showmanyc_helper().
84554 for ac_header in sys/ioctl.h sys/filio.h
84556 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84558 echo "$as_me:$LINENO: checking for $ac_header" >&5
84559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84561 echo $ECHO_N "(cached) $ECHO_C" >&6
84563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84565 else
84566 # Is the header compilable?
84567 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84568 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84569 cat >conftest.$ac_ext <<_ACEOF
84570 /* confdefs.h. */
84571 _ACEOF
84572 cat confdefs.h >>conftest.$ac_ext
84573 cat >>conftest.$ac_ext <<_ACEOF
84574 /* end confdefs.h. */
84575 $ac_includes_default
84576 #include <$ac_header>
84577 _ACEOF
84578 rm -f conftest.$ac_objext
84579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84580 (eval $ac_compile) 2>conftest.er1
84581 ac_status=$?
84582 grep -v '^ *+' conftest.er1 >conftest.err
84583 rm -f conftest.er1
84584 cat conftest.err >&5
84585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84586 (exit $ac_status); } &&
84587 { ac_try='test -z "$ac_c_werror_flag"
84588 || test ! -s conftest.err'
84589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84590 (eval $ac_try) 2>&5
84591 ac_status=$?
84592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84593 (exit $ac_status); }; } &&
84594 { ac_try='test -s conftest.$ac_objext'
84595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84596 (eval $ac_try) 2>&5
84597 ac_status=$?
84598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84599 (exit $ac_status); }; }; then
84600 ac_header_compiler=yes
84601 else
84602 echo "$as_me: failed program was:" >&5
84603 sed 's/^/| /' conftest.$ac_ext >&5
84605 ac_header_compiler=no
84607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84608 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84609 echo "${ECHO_T}$ac_header_compiler" >&6
84611 # Is the header present?
84612 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84613 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84614 cat >conftest.$ac_ext <<_ACEOF
84615 /* confdefs.h. */
84616 _ACEOF
84617 cat confdefs.h >>conftest.$ac_ext
84618 cat >>conftest.$ac_ext <<_ACEOF
84619 /* end confdefs.h. */
84620 #include <$ac_header>
84621 _ACEOF
84622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84623 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84624 ac_status=$?
84625 grep -v '^ *+' conftest.er1 >conftest.err
84626 rm -f conftest.er1
84627 cat conftest.err >&5
84628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84629 (exit $ac_status); } >/dev/null; then
84630 if test -s conftest.err; then
84631 ac_cpp_err=$ac_c_preproc_warn_flag
84632 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84633 else
84634 ac_cpp_err=
84636 else
84637 ac_cpp_err=yes
84639 if test -z "$ac_cpp_err"; then
84640 ac_header_preproc=yes
84641 else
84642 echo "$as_me: failed program was:" >&5
84643 sed 's/^/| /' conftest.$ac_ext >&5
84645 ac_header_preproc=no
84647 rm -f conftest.err conftest.$ac_ext
84648 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84649 echo "${ECHO_T}$ac_header_preproc" >&6
84651 # So? What about this header?
84652 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84653 yes:no: )
84654 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84655 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84657 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84658 ac_header_preproc=yes
84660 no:yes:* )
84661 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84662 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84663 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84664 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84665 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84666 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84667 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84668 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84669 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84670 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84671 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84672 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84674 cat <<\_ASBOX
84675 ## ----------------------------------------- ##
84676 ## Report this to the package-unused lists. ##
84677 ## ----------------------------------------- ##
84678 _ASBOX
84680 sed "s/^/$as_me: WARNING: /" >&2
84682 esac
84683 echo "$as_me:$LINENO: checking for $ac_header" >&5
84684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84686 echo $ECHO_N "(cached) $ECHO_C" >&6
84687 else
84688 eval "$as_ac_Header=\$ac_header_preproc"
84690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84695 cat >>confdefs.h <<_ACEOF
84696 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84697 _ACEOF
84701 done
84704 echo "$as_me:$LINENO: checking for poll" >&5
84705 echo $ECHO_N "checking for poll... $ECHO_C" >&6
84706 if test "${glibcxx_cv_POLL+set}" = set; then
84707 echo $ECHO_N "(cached) $ECHO_C" >&6
84708 else
84710 if test x$gcc_no_link = xyes; then
84711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84713 { (exit 1); exit 1; }; }
84715 cat >conftest.$ac_ext <<_ACEOF
84716 /* confdefs.h. */
84717 _ACEOF
84718 cat confdefs.h >>conftest.$ac_ext
84719 cat >>conftest.$ac_ext <<_ACEOF
84720 /* end confdefs.h. */
84721 #include <poll.h>
84723 main ()
84725 struct pollfd pfd[1];
84726 pfd[0].events = POLLIN;
84727 poll(pfd, 1, 0);
84729 return 0;
84731 _ACEOF
84732 rm -f conftest.$ac_objext conftest$ac_exeext
84733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84734 (eval $ac_link) 2>conftest.er1
84735 ac_status=$?
84736 grep -v '^ *+' conftest.er1 >conftest.err
84737 rm -f conftest.er1
84738 cat conftest.err >&5
84739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84740 (exit $ac_status); } &&
84741 { ac_try='test -z "$ac_c_werror_flag"
84742 || test ! -s conftest.err'
84743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84744 (eval $ac_try) 2>&5
84745 ac_status=$?
84746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84747 (exit $ac_status); }; } &&
84748 { ac_try='test -s conftest$ac_exeext'
84749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84750 (eval $ac_try) 2>&5
84751 ac_status=$?
84752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84753 (exit $ac_status); }; }; then
84754 glibcxx_cv_POLL=yes
84755 else
84756 echo "$as_me: failed program was:" >&5
84757 sed 's/^/| /' conftest.$ac_ext >&5
84759 glibcxx_cv_POLL=no
84761 rm -f conftest.err conftest.$ac_objext \
84762 conftest$ac_exeext conftest.$ac_ext
84766 if test $glibcxx_cv_POLL = yes; then
84768 cat >>confdefs.h <<\_ACEOF
84769 #define HAVE_POLL 1
84770 _ACEOF
84773 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
84774 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
84777 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
84778 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
84779 if test "${glibcxx_cv_S_ISREG+set}" = set; then
84780 echo $ECHO_N "(cached) $ECHO_C" >&6
84781 else
84783 if test x$gcc_no_link = xyes; then
84784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84786 { (exit 1); exit 1; }; }
84788 cat >conftest.$ac_ext <<_ACEOF
84789 /* confdefs.h. */
84790 _ACEOF
84791 cat confdefs.h >>conftest.$ac_ext
84792 cat >>conftest.$ac_ext <<_ACEOF
84793 /* end confdefs.h. */
84794 #include <sys/stat.h>
84796 main ()
84798 struct stat buffer;
84799 fstat(0, &buffer);
84800 S_ISREG(buffer.st_mode);
84802 return 0;
84804 _ACEOF
84805 rm -f conftest.$ac_objext conftest$ac_exeext
84806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84807 (eval $ac_link) 2>conftest.er1
84808 ac_status=$?
84809 grep -v '^ *+' conftest.er1 >conftest.err
84810 rm -f conftest.er1
84811 cat conftest.err >&5
84812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84813 (exit $ac_status); } &&
84814 { ac_try='test -z "$ac_c_werror_flag"
84815 || test ! -s conftest.err'
84816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84817 (eval $ac_try) 2>&5
84818 ac_status=$?
84819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84820 (exit $ac_status); }; } &&
84821 { ac_try='test -s conftest$ac_exeext'
84822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84823 (eval $ac_try) 2>&5
84824 ac_status=$?
84825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84826 (exit $ac_status); }; }; then
84827 glibcxx_cv_S_ISREG=yes
84828 else
84829 echo "$as_me: failed program was:" >&5
84830 sed 's/^/| /' conftest.$ac_ext >&5
84832 glibcxx_cv_S_ISREG=no
84834 rm -f conftest.err conftest.$ac_objext \
84835 conftest$ac_exeext conftest.$ac_ext
84839 if test "${glibcxx_cv_S_IFREG+set}" = set; then
84840 echo $ECHO_N "(cached) $ECHO_C" >&6
84841 else
84843 if test x$gcc_no_link = xyes; then
84844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84846 { (exit 1); exit 1; }; }
84848 cat >conftest.$ac_ext <<_ACEOF
84849 /* confdefs.h. */
84850 _ACEOF
84851 cat confdefs.h >>conftest.$ac_ext
84852 cat >>conftest.$ac_ext <<_ACEOF
84853 /* end confdefs.h. */
84854 #include <sys/stat.h>
84856 main ()
84858 struct stat buffer;
84859 fstat(0, &buffer);
84860 S_IFREG & buffer.st_mode;
84862 return 0;
84864 _ACEOF
84865 rm -f conftest.$ac_objext conftest$ac_exeext
84866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84867 (eval $ac_link) 2>conftest.er1
84868 ac_status=$?
84869 grep -v '^ *+' conftest.er1 >conftest.err
84870 rm -f conftest.er1
84871 cat conftest.err >&5
84872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84873 (exit $ac_status); } &&
84874 { ac_try='test -z "$ac_c_werror_flag"
84875 || test ! -s conftest.err'
84876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84877 (eval $ac_try) 2>&5
84878 ac_status=$?
84879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84880 (exit $ac_status); }; } &&
84881 { ac_try='test -s conftest$ac_exeext'
84882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84883 (eval $ac_try) 2>&5
84884 ac_status=$?
84885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84886 (exit $ac_status); }; }; then
84887 glibcxx_cv_S_IFREG=yes
84888 else
84889 echo "$as_me: failed program was:" >&5
84890 sed 's/^/| /' conftest.$ac_ext >&5
84892 glibcxx_cv_S_IFREG=no
84894 rm -f conftest.err conftest.$ac_objext \
84895 conftest$ac_exeext conftest.$ac_ext
84899 res=no
84900 if test $glibcxx_cv_S_ISREG = yes; then
84902 cat >>confdefs.h <<\_ACEOF
84903 #define HAVE_S_ISREG 1
84904 _ACEOF
84906 res=S_ISREG
84907 elif test $glibcxx_cv_S_IFREG = yes; then
84909 cat >>confdefs.h <<\_ACEOF
84910 #define HAVE_S_IFREG 1
84911 _ACEOF
84913 res=S_IFREG
84915 echo "$as_me:$LINENO: result: $res" >&5
84916 echo "${ECHO_T}$res" >&6
84919 # For xsputn_2().
84921 for ac_header in sys/uio.h
84923 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84925 echo "$as_me:$LINENO: checking for $ac_header" >&5
84926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84928 echo $ECHO_N "(cached) $ECHO_C" >&6
84930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84931 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84932 else
84933 # Is the header compilable?
84934 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84935 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84936 cat >conftest.$ac_ext <<_ACEOF
84937 /* confdefs.h. */
84938 _ACEOF
84939 cat confdefs.h >>conftest.$ac_ext
84940 cat >>conftest.$ac_ext <<_ACEOF
84941 /* end confdefs.h. */
84942 $ac_includes_default
84943 #include <$ac_header>
84944 _ACEOF
84945 rm -f conftest.$ac_objext
84946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84947 (eval $ac_compile) 2>conftest.er1
84948 ac_status=$?
84949 grep -v '^ *+' conftest.er1 >conftest.err
84950 rm -f conftest.er1
84951 cat conftest.err >&5
84952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84953 (exit $ac_status); } &&
84954 { ac_try='test -z "$ac_c_werror_flag"
84955 || test ! -s conftest.err'
84956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84957 (eval $ac_try) 2>&5
84958 ac_status=$?
84959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84960 (exit $ac_status); }; } &&
84961 { ac_try='test -s conftest.$ac_objext'
84962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84963 (eval $ac_try) 2>&5
84964 ac_status=$?
84965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84966 (exit $ac_status); }; }; then
84967 ac_header_compiler=yes
84968 else
84969 echo "$as_me: failed program was:" >&5
84970 sed 's/^/| /' conftest.$ac_ext >&5
84972 ac_header_compiler=no
84974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84975 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84976 echo "${ECHO_T}$ac_header_compiler" >&6
84978 # Is the header present?
84979 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84980 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84981 cat >conftest.$ac_ext <<_ACEOF
84982 /* confdefs.h. */
84983 _ACEOF
84984 cat confdefs.h >>conftest.$ac_ext
84985 cat >>conftest.$ac_ext <<_ACEOF
84986 /* end confdefs.h. */
84987 #include <$ac_header>
84988 _ACEOF
84989 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84990 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84991 ac_status=$?
84992 grep -v '^ *+' conftest.er1 >conftest.err
84993 rm -f conftest.er1
84994 cat conftest.err >&5
84995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84996 (exit $ac_status); } >/dev/null; then
84997 if test -s conftest.err; then
84998 ac_cpp_err=$ac_c_preproc_warn_flag
84999 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85000 else
85001 ac_cpp_err=
85003 else
85004 ac_cpp_err=yes
85006 if test -z "$ac_cpp_err"; then
85007 ac_header_preproc=yes
85008 else
85009 echo "$as_me: failed program was:" >&5
85010 sed 's/^/| /' conftest.$ac_ext >&5
85012 ac_header_preproc=no
85014 rm -f conftest.err conftest.$ac_ext
85015 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85016 echo "${ECHO_T}$ac_header_preproc" >&6
85018 # So? What about this header?
85019 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85020 yes:no: )
85021 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85022 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85023 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85024 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85025 ac_header_preproc=yes
85027 no:yes:* )
85028 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85029 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85030 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85031 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85032 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85033 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85034 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85035 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85036 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85037 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85038 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85039 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85041 cat <<\_ASBOX
85042 ## ----------------------------------------- ##
85043 ## Report this to the package-unused lists. ##
85044 ## ----------------------------------------- ##
85045 _ASBOX
85047 sed "s/^/$as_me: WARNING: /" >&2
85049 esac
85050 echo "$as_me:$LINENO: checking for $ac_header" >&5
85051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85053 echo $ECHO_N "(cached) $ECHO_C" >&6
85054 else
85055 eval "$as_ac_Header=\$ac_header_preproc"
85057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85058 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85061 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85062 cat >>confdefs.h <<_ACEOF
85063 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85064 _ACEOF
85068 done
85071 echo "$as_me:$LINENO: checking for writev" >&5
85072 echo $ECHO_N "checking for writev... $ECHO_C" >&6
85073 if test "${glibcxx_cv_WRITEV+set}" = set; then
85074 echo $ECHO_N "(cached) $ECHO_C" >&6
85075 else
85077 if test x$gcc_no_link = xyes; then
85078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85080 { (exit 1); exit 1; }; }
85082 cat >conftest.$ac_ext <<_ACEOF
85083 /* confdefs.h. */
85084 _ACEOF
85085 cat confdefs.h >>conftest.$ac_ext
85086 cat >>conftest.$ac_ext <<_ACEOF
85087 /* end confdefs.h. */
85088 #include <sys/uio.h>
85090 main ()
85092 struct iovec iov[2];
85093 writev(0, iov, 0);
85095 return 0;
85097 _ACEOF
85098 rm -f conftest.$ac_objext conftest$ac_exeext
85099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85100 (eval $ac_link) 2>conftest.er1
85101 ac_status=$?
85102 grep -v '^ *+' conftest.er1 >conftest.err
85103 rm -f conftest.er1
85104 cat conftest.err >&5
85105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85106 (exit $ac_status); } &&
85107 { ac_try='test -z "$ac_c_werror_flag"
85108 || test ! -s conftest.err'
85109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85110 (eval $ac_try) 2>&5
85111 ac_status=$?
85112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85113 (exit $ac_status); }; } &&
85114 { ac_try='test -s conftest$ac_exeext'
85115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85116 (eval $ac_try) 2>&5
85117 ac_status=$?
85118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85119 (exit $ac_status); }; }; then
85120 glibcxx_cv_WRITEV=yes
85121 else
85122 echo "$as_me: failed program was:" >&5
85123 sed 's/^/| /' conftest.$ac_ext >&5
85125 glibcxx_cv_WRITEV=no
85127 rm -f conftest.err conftest.$ac_objext \
85128 conftest$ac_exeext conftest.$ac_ext
85132 if test $glibcxx_cv_WRITEV = yes; then
85134 cat >>confdefs.h <<\_ACEOF
85135 #define HAVE_WRITEV 1
85136 _ACEOF
85139 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
85140 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
85143 cat >>confdefs.h <<\_ACEOF
85144 #define HAVE_LC_MESSAGES 1
85145 _ACEOF
85148 cat >conftest.$ac_ext <<_ACEOF
85149 /* confdefs.h. */
85150 _ACEOF
85151 cat confdefs.h >>conftest.$ac_ext
85152 cat >>conftest.$ac_ext <<_ACEOF
85153 /* end confdefs.h. */
85154 #include <setjmp.h>
85156 main ()
85158 sigjmp_buf env;
85159 while (! sigsetjmp (env, 1))
85160 siglongjmp (env, 1);
85163 return 0;
85165 _ACEOF
85166 rm -f conftest.$ac_objext
85167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85168 (eval $ac_compile) 2>conftest.er1
85169 ac_status=$?
85170 grep -v '^ *+' conftest.er1 >conftest.err
85171 rm -f conftest.er1
85172 cat conftest.err >&5
85173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85174 (exit $ac_status); } &&
85175 { ac_try='test -z "$ac_c_werror_flag"
85176 || test ! -s conftest.err'
85177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85178 (eval $ac_try) 2>&5
85179 ac_status=$?
85180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85181 (exit $ac_status); }; } &&
85182 { ac_try='test -s conftest.$ac_objext'
85183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85184 (eval $ac_try) 2>&5
85185 ac_status=$?
85186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85187 (exit $ac_status); }; }; then
85189 cat >>confdefs.h <<\_ACEOF
85190 #define HAVE_SIGSETJMP 1
85191 _ACEOF
85193 else
85194 echo "$as_me: failed program was:" >&5
85195 sed 's/^/| /' conftest.$ac_ext >&5
85198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85200 cat >>confdefs.h <<\_ACEOF
85201 #define HAVE_MMAP 1
85202 _ACEOF
85206 *djgpp)
85227 for ac_header in float.h ieeefp.h inttypes.h locale.h \
85228 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
85229 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
85230 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
85232 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85234 echo "$as_me:$LINENO: checking for $ac_header" >&5
85235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85237 echo $ECHO_N "(cached) $ECHO_C" >&6
85239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85241 else
85242 # Is the header compilable?
85243 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85244 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85245 cat >conftest.$ac_ext <<_ACEOF
85246 /* confdefs.h. */
85247 _ACEOF
85248 cat confdefs.h >>conftest.$ac_ext
85249 cat >>conftest.$ac_ext <<_ACEOF
85250 /* end confdefs.h. */
85251 $ac_includes_default
85252 #include <$ac_header>
85253 _ACEOF
85254 rm -f conftest.$ac_objext
85255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85256 (eval $ac_compile) 2>conftest.er1
85257 ac_status=$?
85258 grep -v '^ *+' conftest.er1 >conftest.err
85259 rm -f conftest.er1
85260 cat conftest.err >&5
85261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85262 (exit $ac_status); } &&
85263 { ac_try='test -z "$ac_c_werror_flag"
85264 || test ! -s conftest.err'
85265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85266 (eval $ac_try) 2>&5
85267 ac_status=$?
85268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85269 (exit $ac_status); }; } &&
85270 { ac_try='test -s conftest.$ac_objext'
85271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85272 (eval $ac_try) 2>&5
85273 ac_status=$?
85274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85275 (exit $ac_status); }; }; then
85276 ac_header_compiler=yes
85277 else
85278 echo "$as_me: failed program was:" >&5
85279 sed 's/^/| /' conftest.$ac_ext >&5
85281 ac_header_compiler=no
85283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85284 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85285 echo "${ECHO_T}$ac_header_compiler" >&6
85287 # Is the header present?
85288 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85289 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85290 cat >conftest.$ac_ext <<_ACEOF
85291 /* confdefs.h. */
85292 _ACEOF
85293 cat confdefs.h >>conftest.$ac_ext
85294 cat >>conftest.$ac_ext <<_ACEOF
85295 /* end confdefs.h. */
85296 #include <$ac_header>
85297 _ACEOF
85298 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85299 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85300 ac_status=$?
85301 grep -v '^ *+' conftest.er1 >conftest.err
85302 rm -f conftest.er1
85303 cat conftest.err >&5
85304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85305 (exit $ac_status); } >/dev/null; then
85306 if test -s conftest.err; then
85307 ac_cpp_err=$ac_c_preproc_warn_flag
85308 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85309 else
85310 ac_cpp_err=
85312 else
85313 ac_cpp_err=yes
85315 if test -z "$ac_cpp_err"; then
85316 ac_header_preproc=yes
85317 else
85318 echo "$as_me: failed program was:" >&5
85319 sed 's/^/| /' conftest.$ac_ext >&5
85321 ac_header_preproc=no
85323 rm -f conftest.err conftest.$ac_ext
85324 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85325 echo "${ECHO_T}$ac_header_preproc" >&6
85327 # So? What about this header?
85328 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85329 yes:no: )
85330 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85331 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85333 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85334 ac_header_preproc=yes
85336 no:yes:* )
85337 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85338 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85339 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85340 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85341 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85342 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85343 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85344 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85346 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85347 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85348 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85350 cat <<\_ASBOX
85351 ## ----------------------------------------- ##
85352 ## Report this to the package-unused lists. ##
85353 ## ----------------------------------------- ##
85354 _ASBOX
85356 sed "s/^/$as_me: WARNING: /" >&2
85358 esac
85359 echo "$as_me:$LINENO: checking for $ac_header" >&5
85360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85362 echo $ECHO_N "(cached) $ECHO_C" >&6
85363 else
85364 eval "$as_ac_Header=\$ac_header_preproc"
85366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85371 cat >>confdefs.h <<_ACEOF
85372 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85373 _ACEOF
85377 done
85379 # GLIBCXX_CHECK_MATH_SUPPORT
85380 cat >>confdefs.h <<\_ACEOF
85381 #define HAVE_LIBM 1
85382 _ACEOF
85384 cat >>confdefs.h <<\_ACEOF
85385 #define HAVE_ISINF 1
85386 _ACEOF
85388 cat >>confdefs.h <<\_ACEOF
85389 #define HAVE_ISNAN 1
85390 _ACEOF
85392 cat >>confdefs.h <<\_ACEOF
85393 #define HAVE_FINITE 1
85394 _ACEOF
85396 cat >>confdefs.h <<\_ACEOF
85397 #define HAVE_COPYSIGN 1
85398 _ACEOF
85400 cat >>confdefs.h <<\_ACEOF
85401 #define HAVE_SINCOS 1
85402 _ACEOF
85404 cat >>confdefs.h <<\_ACEOF
85405 #define HAVE_HYPOT 1
85406 _ACEOF
85408 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
85409 cat >>confdefs.h <<\_ACEOF
85410 #define HAVE___BUILTIN_ABS 1
85411 _ACEOF
85413 cat >>confdefs.h <<\_ACEOF
85414 #define HAVE___BUILTIN_FABSF 1
85415 _ACEOF
85417 cat >>confdefs.h <<\_ACEOF
85418 #define HAVE___BUILTIN_FABS 1
85419 _ACEOF
85421 cat >>confdefs.h <<\_ACEOF
85422 #define HAVE___BUILTIN_FABSL 1
85423 _ACEOF
85425 cat >>confdefs.h <<\_ACEOF
85426 #define HAVE___BUILTIN_LABS 1
85427 _ACEOF
85429 cat >>confdefs.h <<\_ACEOF
85430 #define HAVE___BUILTIN_SQRTF 1
85431 _ACEOF
85433 cat >>confdefs.h <<\_ACEOF
85434 #define HAVE___BUILTIN_SQRT 1
85435 _ACEOF
85437 cat >>confdefs.h <<\_ACEOF
85438 #define HAVE___BUILTIN_SQRTL 1
85439 _ACEOF
85441 cat >>confdefs.h <<\_ACEOF
85442 #define HAVE___BUILTIN_SINF 1
85443 _ACEOF
85445 cat >>confdefs.h <<\_ACEOF
85446 #define HAVE___BUILTIN_SIN 1
85447 _ACEOF
85449 cat >>confdefs.h <<\_ACEOF
85450 #define HAVE___BUILTIN_SINL 1
85451 _ACEOF
85453 cat >>confdefs.h <<\_ACEOF
85454 #define HAVE___BUILTIN_COSF 1
85455 _ACEOF
85457 cat >>confdefs.h <<\_ACEOF
85458 #define HAVE___BUILTIN_COS 1
85459 _ACEOF
85461 cat >>confdefs.h <<\_ACEOF
85462 #define HAVE___BUILTIN_COSL 1
85463 _ACEOF
85465 # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
85466 # GLIBCXX_CHECK_STDLIB_SUPPORT
85467 cat >>confdefs.h <<\_ACEOF
85468 #define HAVE_COPYSIGN 1
85469 _ACEOF
85471 cat >>confdefs.h <<\_ACEOF
85472 #define HAVE_COPYSIGNF 1
85473 _ACEOF
85475 # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
85476 cat >>confdefs.h <<\_ACEOF
85477 #define HAVE_S_ISREG 1
85478 _ACEOF
85480 cat >>confdefs.h <<\_ACEOF
85481 #define HAVE_S_IFREG 1
85482 _ACEOF
85484 cat >>confdefs.h <<\_ACEOF
85485 #define HAVE_WRITEV 1
85486 _ACEOF
85490 *-freebsd*)
85507 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
85508 machine/endian.h machine/param.h sys/machine.h sys/types.h \
85509 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
85510 sys/time.h unistd.h
85512 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85514 echo "$as_me:$LINENO: checking for $ac_header" >&5
85515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85517 echo $ECHO_N "(cached) $ECHO_C" >&6
85519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85520 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85521 else
85522 # Is the header compilable?
85523 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85524 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85525 cat >conftest.$ac_ext <<_ACEOF
85526 /* confdefs.h. */
85527 _ACEOF
85528 cat confdefs.h >>conftest.$ac_ext
85529 cat >>conftest.$ac_ext <<_ACEOF
85530 /* end confdefs.h. */
85531 $ac_includes_default
85532 #include <$ac_header>
85533 _ACEOF
85534 rm -f conftest.$ac_objext
85535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85536 (eval $ac_compile) 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_objext'
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 ac_header_compiler=yes
85557 else
85558 echo "$as_me: failed program was:" >&5
85559 sed 's/^/| /' conftest.$ac_ext >&5
85561 ac_header_compiler=no
85563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85565 echo "${ECHO_T}$ac_header_compiler" >&6
85567 # Is the header present?
85568 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85569 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85570 cat >conftest.$ac_ext <<_ACEOF
85571 /* confdefs.h. */
85572 _ACEOF
85573 cat confdefs.h >>conftest.$ac_ext
85574 cat >>conftest.$ac_ext <<_ACEOF
85575 /* end confdefs.h. */
85576 #include <$ac_header>
85577 _ACEOF
85578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85579 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85580 ac_status=$?
85581 grep -v '^ *+' conftest.er1 >conftest.err
85582 rm -f conftest.er1
85583 cat conftest.err >&5
85584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85585 (exit $ac_status); } >/dev/null; then
85586 if test -s conftest.err; then
85587 ac_cpp_err=$ac_c_preproc_warn_flag
85588 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85589 else
85590 ac_cpp_err=
85592 else
85593 ac_cpp_err=yes
85595 if test -z "$ac_cpp_err"; then
85596 ac_header_preproc=yes
85597 else
85598 echo "$as_me: failed program was:" >&5
85599 sed 's/^/| /' conftest.$ac_ext >&5
85601 ac_header_preproc=no
85603 rm -f conftest.err conftest.$ac_ext
85604 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85605 echo "${ECHO_T}$ac_header_preproc" >&6
85607 # So? What about this header?
85608 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85609 yes:no: )
85610 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85611 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85613 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85614 ac_header_preproc=yes
85616 no:yes:* )
85617 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85618 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85619 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85620 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85621 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85622 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85623 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85624 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85626 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85627 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85628 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85630 cat <<\_ASBOX
85631 ## ----------------------------------------- ##
85632 ## Report this to the package-unused lists. ##
85633 ## ----------------------------------------- ##
85634 _ASBOX
85636 sed "s/^/$as_me: WARNING: /" >&2
85638 esac
85639 echo "$as_me:$LINENO: checking for $ac_header" >&5
85640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85642 echo $ECHO_N "(cached) $ECHO_C" >&6
85643 else
85644 eval "$as_ac_Header=\$ac_header_preproc"
85646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85647 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85650 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85651 cat >>confdefs.h <<_ACEOF
85652 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85653 _ACEOF
85657 done
85659 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85662 # If we're not using GNU ld, then there's no point in even trying these
85663 # tests. Check for that first. We should have already tested for gld
85664 # by now (in libtool), but require it now just to be safe...
85665 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85666 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85670 # The name set by libtool depends on the version of libtool. Shame on us
85671 # for depending on an impl detail, but c'est la vie. Older versions used
85672 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85673 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85674 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85675 # set (hence we're using an older libtool), then set it.
85676 if test x${with_gnu_ld+set} != xset; then
85677 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85678 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85679 with_gnu_ld=no
85680 else
85681 with_gnu_ld=$ac_cv_prog_gnu_ld
85685 # Start by getting the version number. I think the libtool test already
85686 # does some of this, but throws away the result.
85687 glibcxx_ld_is_gold=no
85688 if test x"$with_gnu_ld" = x"yes"; then
85689 echo "$as_me:$LINENO: checking for ld version" >&5
85690 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
85692 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
85693 glibcxx_ld_is_gold=yes
85695 ldver=`$LD --version 2>/dev/null | head -1 | \
85696 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
85698 glibcxx_gnu_ld_version=`echo $ldver | \
85699 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85700 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
85701 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
85704 # Set --gc-sections.
85705 glibcxx_have_gc_sections=no
85706 if test "$glibcxx_ld_is_gold" = "yes"; then
85707 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
85708 glibcxx_have_gc_sections=yes
85710 else
85711 glibcxx_gcsections_min_ld=21602
85712 if test x"$with_gnu_ld" = x"yes" &&
85713 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
85714 glibcxx_have_gc_sections=yes
85717 if test "$glibcxx_have_gc_sections" = "yes"; then
85718 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
85719 # NB: This flag only works reliably after 2.16.1. Configure tests
85720 # for this are difficult, so hard wire a value that should work.
85722 ac_test_CFLAGS="${CFLAGS+set}"
85723 ac_save_CFLAGS="$CFLAGS"
85724 CFLAGS='-Wl,--gc-sections'
85726 # Check for -Wl,--gc-sections
85727 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85728 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85729 if test x$gcc_no_link = xyes; then
85730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85732 { (exit 1); exit 1; }; }
85734 cat >conftest.$ac_ext <<_ACEOF
85735 /* confdefs.h. */
85736 _ACEOF
85737 cat confdefs.h >>conftest.$ac_ext
85738 cat >>conftest.$ac_ext <<_ACEOF
85739 /* end confdefs.h. */
85740 int one(void) { return 1; }
85741 int two(void) { return 2; }
85744 main ()
85746 two();
85748 return 0;
85750 _ACEOF
85751 rm -f conftest.$ac_objext conftest$ac_exeext
85752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85753 (eval $ac_link) 2>conftest.er1
85754 ac_status=$?
85755 grep -v '^ *+' conftest.er1 >conftest.err
85756 rm -f conftest.er1
85757 cat conftest.err >&5
85758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85759 (exit $ac_status); } &&
85760 { ac_try='test -z "$ac_c_werror_flag"
85761 || test ! -s conftest.err'
85762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85763 (eval $ac_try) 2>&5
85764 ac_status=$?
85765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85766 (exit $ac_status); }; } &&
85767 { ac_try='test -s conftest$ac_exeext'
85768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85769 (eval $ac_try) 2>&5
85770 ac_status=$?
85771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85772 (exit $ac_status); }; }; then
85773 ac_gcsections=yes
85774 else
85775 echo "$as_me: failed program was:" >&5
85776 sed 's/^/| /' conftest.$ac_ext >&5
85778 ac_gcsections=no
85780 rm -f conftest.err conftest.$ac_objext \
85781 conftest$ac_exeext conftest.$ac_ext
85782 if test "$ac_gcsections" = "yes"; then
85783 rm -f conftest.c
85784 touch conftest.c
85785 if $CC -c conftest.c; then
85786 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
85787 grep "Warning: gc-sections option ignored" > /dev/null; then
85788 ac_gcsections=no
85791 rm -f conftest.c conftest.o conftest
85793 if test "$ac_gcsections" = "yes"; then
85794 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85796 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
85797 echo "${ECHO_T}$ac_gcsections" >&6
85799 if test "$ac_test_CFLAGS" = set; then
85800 CFLAGS="$ac_save_CFLAGS"
85801 else
85802 # this is the suspicious part
85803 CFLAGS=''
85807 # Set -z,relro.
85808 # Note this is only for shared objects.
85809 ac_ld_relro=no
85810 if test x"$with_gnu_ld" = x"yes"; then
85811 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
85812 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
85813 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
85814 if test -n "$cxx_z_relo"; then
85815 OPT_LDFLAGS="-Wl,-z,relro"
85816 ac_ld_relro=yes
85818 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
85819 echo "${ECHO_T}$ac_ld_relro" >&6
85822 # Set linker optimization flags.
85823 if test x"$with_gnu_ld" = x"yes"; then
85824 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85832 echo "$as_me:$LINENO: checking for main in -lm" >&5
85833 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85834 if test "${ac_cv_lib_m_main+set}" = set; then
85835 echo $ECHO_N "(cached) $ECHO_C" >&6
85836 else
85837 ac_check_lib_save_LIBS=$LIBS
85838 LIBS="-lm $LIBS"
85839 if test x$gcc_no_link = xyes; then
85840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85842 { (exit 1); exit 1; }; }
85844 cat >conftest.$ac_ext <<_ACEOF
85845 /* confdefs.h. */
85846 _ACEOF
85847 cat confdefs.h >>conftest.$ac_ext
85848 cat >>conftest.$ac_ext <<_ACEOF
85849 /* end confdefs.h. */
85853 main ()
85855 main ();
85857 return 0;
85859 _ACEOF
85860 rm -f conftest.$ac_objext conftest$ac_exeext
85861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85862 (eval $ac_link) 2>conftest.er1
85863 ac_status=$?
85864 grep -v '^ *+' conftest.er1 >conftest.err
85865 rm -f conftest.er1
85866 cat conftest.err >&5
85867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85868 (exit $ac_status); } &&
85869 { ac_try='test -z "$ac_c_werror_flag"
85870 || test ! -s conftest.err'
85871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85872 (eval $ac_try) 2>&5
85873 ac_status=$?
85874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85875 (exit $ac_status); }; } &&
85876 { ac_try='test -s conftest$ac_exeext'
85877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85878 (eval $ac_try) 2>&5
85879 ac_status=$?
85880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85881 (exit $ac_status); }; }; then
85882 ac_cv_lib_m_main=yes
85883 else
85884 echo "$as_me: failed program was:" >&5
85885 sed 's/^/| /' conftest.$ac_ext >&5
85887 ac_cv_lib_m_main=no
85889 rm -f conftest.err conftest.$ac_objext \
85890 conftest$ac_exeext conftest.$ac_ext
85891 LIBS=$ac_check_lib_save_LIBS
85893 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85894 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85895 if test $ac_cv_lib_m_main = yes; then
85896 cat >>confdefs.h <<_ACEOF
85897 #define HAVE_LIBM 1
85898 _ACEOF
85900 LIBS="-lm $LIBS"
85905 for ac_func in copysignf
85907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85908 echo "$as_me:$LINENO: checking for $ac_func" >&5
85909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85910 if eval "test \"\${$as_ac_var+set}\" = set"; then
85911 echo $ECHO_N "(cached) $ECHO_C" >&6
85912 else
85913 if test x$gcc_no_link = xyes; then
85914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85916 { (exit 1); exit 1; }; }
85918 cat >conftest.$ac_ext <<_ACEOF
85919 /* confdefs.h. */
85920 _ACEOF
85921 cat confdefs.h >>conftest.$ac_ext
85922 cat >>conftest.$ac_ext <<_ACEOF
85923 /* end confdefs.h. */
85924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85926 #define $ac_func innocuous_$ac_func
85928 /* System header to define __stub macros and hopefully few prototypes,
85929 which can conflict with char $ac_func (); below.
85930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85931 <limits.h> exists even on freestanding compilers. */
85933 #ifdef __STDC__
85934 # include <limits.h>
85935 #else
85936 # include <assert.h>
85937 #endif
85939 #undef $ac_func
85941 /* Override any gcc2 internal prototype to avoid an error. */
85942 #ifdef __cplusplus
85943 extern "C"
85945 #endif
85946 /* We use char because int might match the return type of a gcc2
85947 builtin and then its argument prototype would still apply. */
85948 char $ac_func ();
85949 /* The GNU C library defines this for functions which it implements
85950 to always fail with ENOSYS. Some functions are actually named
85951 something starting with __ and the normal name is an alias. */
85952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85953 choke me
85954 #else
85955 char (*f) () = $ac_func;
85956 #endif
85957 #ifdef __cplusplus
85959 #endif
85962 main ()
85964 return f != $ac_func;
85966 return 0;
85968 _ACEOF
85969 rm -f conftest.$ac_objext conftest$ac_exeext
85970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85971 (eval $ac_link) 2>conftest.er1
85972 ac_status=$?
85973 grep -v '^ *+' conftest.er1 >conftest.err
85974 rm -f conftest.er1
85975 cat conftest.err >&5
85976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85977 (exit $ac_status); } &&
85978 { ac_try='test -z "$ac_c_werror_flag"
85979 || test ! -s conftest.err'
85980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85981 (eval $ac_try) 2>&5
85982 ac_status=$?
85983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85984 (exit $ac_status); }; } &&
85985 { ac_try='test -s conftest$ac_exeext'
85986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85987 (eval $ac_try) 2>&5
85988 ac_status=$?
85989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85990 (exit $ac_status); }; }; then
85991 eval "$as_ac_var=yes"
85992 else
85993 echo "$as_me: failed program was:" >&5
85994 sed 's/^/| /' conftest.$ac_ext >&5
85996 eval "$as_ac_var=no"
85998 rm -f conftest.err conftest.$ac_objext \
85999 conftest$ac_exeext conftest.$ac_ext
86001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86003 if test `eval echo '${'$as_ac_var'}'` = yes; then
86004 cat >>confdefs.h <<_ACEOF
86005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86006 _ACEOF
86008 else
86009 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86011 done
86015 for ac_func in __signbit
86017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86018 echo "$as_me:$LINENO: checking for $ac_func" >&5
86019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86020 if eval "test \"\${$as_ac_var+set}\" = set"; then
86021 echo $ECHO_N "(cached) $ECHO_C" >&6
86022 else
86023 if test x$gcc_no_link = xyes; then
86024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86026 { (exit 1); exit 1; }; }
86028 cat >conftest.$ac_ext <<_ACEOF
86029 /* confdefs.h. */
86030 _ACEOF
86031 cat confdefs.h >>conftest.$ac_ext
86032 cat >>conftest.$ac_ext <<_ACEOF
86033 /* end confdefs.h. */
86034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86036 #define $ac_func innocuous_$ac_func
86038 /* System header to define __stub macros and hopefully few prototypes,
86039 which can conflict with char $ac_func (); below.
86040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86041 <limits.h> exists even on freestanding compilers. */
86043 #ifdef __STDC__
86044 # include <limits.h>
86045 #else
86046 # include <assert.h>
86047 #endif
86049 #undef $ac_func
86051 /* Override any gcc2 internal prototype to avoid an error. */
86052 #ifdef __cplusplus
86053 extern "C"
86055 #endif
86056 /* We use char because int might match the return type of a gcc2
86057 builtin and then its argument prototype would still apply. */
86058 char $ac_func ();
86059 /* The GNU C library defines this for functions which it implements
86060 to always fail with ENOSYS. Some functions are actually named
86061 something starting with __ and the normal name is an alias. */
86062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86063 choke me
86064 #else
86065 char (*f) () = $ac_func;
86066 #endif
86067 #ifdef __cplusplus
86069 #endif
86072 main ()
86074 return f != $ac_func;
86076 return 0;
86078 _ACEOF
86079 rm -f conftest.$ac_objext conftest$ac_exeext
86080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86081 (eval $ac_link) 2>conftest.er1
86082 ac_status=$?
86083 grep -v '^ *+' conftest.er1 >conftest.err
86084 rm -f conftest.er1
86085 cat conftest.err >&5
86086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86087 (exit $ac_status); } &&
86088 { ac_try='test -z "$ac_c_werror_flag"
86089 || test ! -s conftest.err'
86090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86091 (eval $ac_try) 2>&5
86092 ac_status=$?
86093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86094 (exit $ac_status); }; } &&
86095 { ac_try='test -s conftest$ac_exeext'
86096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86097 (eval $ac_try) 2>&5
86098 ac_status=$?
86099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86100 (exit $ac_status); }; }; then
86101 eval "$as_ac_var=yes"
86102 else
86103 echo "$as_me: failed program was:" >&5
86104 sed 's/^/| /' conftest.$ac_ext >&5
86106 eval "$as_ac_var=no"
86108 rm -f conftest.err conftest.$ac_objext \
86109 conftest$ac_exeext conftest.$ac_ext
86111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86113 if test `eval echo '${'$as_ac_var'}'` = yes; then
86114 cat >>confdefs.h <<_ACEOF
86115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86116 _ACEOF
86118 else
86119 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86121 done
86125 for ac_func in __signbitf
86127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86128 echo "$as_me:$LINENO: checking for $ac_func" >&5
86129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86130 if eval "test \"\${$as_ac_var+set}\" = set"; then
86131 echo $ECHO_N "(cached) $ECHO_C" >&6
86132 else
86133 if test x$gcc_no_link = xyes; then
86134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86136 { (exit 1); exit 1; }; }
86138 cat >conftest.$ac_ext <<_ACEOF
86139 /* confdefs.h. */
86140 _ACEOF
86141 cat confdefs.h >>conftest.$ac_ext
86142 cat >>conftest.$ac_ext <<_ACEOF
86143 /* end confdefs.h. */
86144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86146 #define $ac_func innocuous_$ac_func
86148 /* System header to define __stub macros and hopefully few prototypes,
86149 which can conflict with char $ac_func (); below.
86150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86151 <limits.h> exists even on freestanding compilers. */
86153 #ifdef __STDC__
86154 # include <limits.h>
86155 #else
86156 # include <assert.h>
86157 #endif
86159 #undef $ac_func
86161 /* Override any gcc2 internal prototype to avoid an error. */
86162 #ifdef __cplusplus
86163 extern "C"
86165 #endif
86166 /* We use char because int might match the return type of a gcc2
86167 builtin and then its argument prototype would still apply. */
86168 char $ac_func ();
86169 /* The GNU C library defines this for functions which it implements
86170 to always fail with ENOSYS. Some functions are actually named
86171 something starting with __ and the normal name is an alias. */
86172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86173 choke me
86174 #else
86175 char (*f) () = $ac_func;
86176 #endif
86177 #ifdef __cplusplus
86179 #endif
86182 main ()
86184 return f != $ac_func;
86186 return 0;
86188 _ACEOF
86189 rm -f conftest.$ac_objext conftest$ac_exeext
86190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86191 (eval $ac_link) 2>conftest.er1
86192 ac_status=$?
86193 grep -v '^ *+' conftest.er1 >conftest.err
86194 rm -f conftest.er1
86195 cat conftest.err >&5
86196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86197 (exit $ac_status); } &&
86198 { ac_try='test -z "$ac_c_werror_flag"
86199 || test ! -s conftest.err'
86200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86201 (eval $ac_try) 2>&5
86202 ac_status=$?
86203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86204 (exit $ac_status); }; } &&
86205 { ac_try='test -s conftest$ac_exeext'
86206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86207 (eval $ac_try) 2>&5
86208 ac_status=$?
86209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86210 (exit $ac_status); }; }; then
86211 eval "$as_ac_var=yes"
86212 else
86213 echo "$as_me: failed program was:" >&5
86214 sed 's/^/| /' conftest.$ac_ext >&5
86216 eval "$as_ac_var=no"
86218 rm -f conftest.err conftest.$ac_objext \
86219 conftest$ac_exeext conftest.$ac_ext
86221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86223 if test `eval echo '${'$as_ac_var'}'` = yes; then
86224 cat >>confdefs.h <<_ACEOF
86225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86226 _ACEOF
86228 else
86229 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86231 done
86234 if test x$ac_cv_func_copysignl = x"yes"; then
86236 for ac_func in __signbitl
86238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86239 echo "$as_me:$LINENO: checking for $ac_func" >&5
86240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86241 if eval "test \"\${$as_ac_var+set}\" = set"; then
86242 echo $ECHO_N "(cached) $ECHO_C" >&6
86243 else
86244 if test x$gcc_no_link = xyes; then
86245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86247 { (exit 1); exit 1; }; }
86249 cat >conftest.$ac_ext <<_ACEOF
86250 /* confdefs.h. */
86251 _ACEOF
86252 cat confdefs.h >>conftest.$ac_ext
86253 cat >>conftest.$ac_ext <<_ACEOF
86254 /* end confdefs.h. */
86255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86257 #define $ac_func innocuous_$ac_func
86259 /* System header to define __stub macros and hopefully few prototypes,
86260 which can conflict with char $ac_func (); below.
86261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86262 <limits.h> exists even on freestanding compilers. */
86264 #ifdef __STDC__
86265 # include <limits.h>
86266 #else
86267 # include <assert.h>
86268 #endif
86270 #undef $ac_func
86272 /* Override any gcc2 internal prototype to avoid an error. */
86273 #ifdef __cplusplus
86274 extern "C"
86276 #endif
86277 /* We use char because int might match the return type of a gcc2
86278 builtin and then its argument prototype would still apply. */
86279 char $ac_func ();
86280 /* The GNU C library defines this for functions which it implements
86281 to always fail with ENOSYS. Some functions are actually named
86282 something starting with __ and the normal name is an alias. */
86283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86284 choke me
86285 #else
86286 char (*f) () = $ac_func;
86287 #endif
86288 #ifdef __cplusplus
86290 #endif
86293 main ()
86295 return f != $ac_func;
86297 return 0;
86299 _ACEOF
86300 rm -f conftest.$ac_objext conftest$ac_exeext
86301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86302 (eval $ac_link) 2>conftest.er1
86303 ac_status=$?
86304 grep -v '^ *+' conftest.er1 >conftest.err
86305 rm -f conftest.er1
86306 cat conftest.err >&5
86307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86308 (exit $ac_status); } &&
86309 { ac_try='test -z "$ac_c_werror_flag"
86310 || test ! -s conftest.err'
86311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86312 (eval $ac_try) 2>&5
86313 ac_status=$?
86314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86315 (exit $ac_status); }; } &&
86316 { ac_try='test -s conftest$ac_exeext'
86317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86318 (eval $ac_try) 2>&5
86319 ac_status=$?
86320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86321 (exit $ac_status); }; }; then
86322 eval "$as_ac_var=yes"
86323 else
86324 echo "$as_me: failed program was:" >&5
86325 sed 's/^/| /' conftest.$ac_ext >&5
86327 eval "$as_ac_var=no"
86329 rm -f conftest.err conftest.$ac_objext \
86330 conftest$ac_exeext conftest.$ac_ext
86332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86334 if test `eval echo '${'$as_ac_var'}'` = yes; then
86335 cat >>confdefs.h <<_ACEOF
86336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86337 _ACEOF
86339 else
86340 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86342 done
86346 # Used in libmath/Makefile.am.
86347 if test -n "$LIBMATHOBJS"; then
86348 need_libmath=yes
86352 cat >>confdefs.h <<\_ACEOF
86353 #define HAVE_LC_MESSAGES 1
86354 _ACEOF
86356 cat >>confdefs.h <<\_ACEOF
86357 #define HAVE_GETPAGESIZE 1
86358 _ACEOF
86360 cat >>confdefs.h <<\_ACEOF
86361 #define HAVE_SETENV 1
86362 _ACEOF
86364 cat >>confdefs.h <<\_ACEOF
86365 #define HAVE_SIGSETJMP 1
86366 _ACEOF
86368 cat >>confdefs.h <<\_ACEOF
86369 #define HAVE_COPYSIGN 1
86370 _ACEOF
86372 cat >>confdefs.h <<\_ACEOF
86373 #define HAVE_COPYSIGNF 1
86374 _ACEOF
86376 cat >>confdefs.h <<\_ACEOF
86377 #define HAVE_FINITEF 1
86378 _ACEOF
86380 cat >>confdefs.h <<\_ACEOF
86381 #define HAVE_FINITE 1
86382 _ACEOF
86384 cat >>confdefs.h <<\_ACEOF
86385 #define HAVE_FREXPF 1
86386 _ACEOF
86388 cat >>confdefs.h <<\_ACEOF
86389 #define HAVE_HYPOT 1
86390 _ACEOF
86392 cat >>confdefs.h <<\_ACEOF
86393 #define HAVE_HYPOTF 1
86394 _ACEOF
86396 cat >>confdefs.h <<\_ACEOF
86397 #define HAVE_ISINF 1
86398 _ACEOF
86400 cat >>confdefs.h <<\_ACEOF
86401 #define HAVE_ISNAN 1
86402 _ACEOF
86404 cat >>confdefs.h <<\_ACEOF
86405 #define HAVE_ISNANF 1
86406 _ACEOF
86409 cat >>confdefs.h <<\_ACEOF
86410 #define HAVE_MMAP 1
86411 _ACEOF
86413 cat >>confdefs.h <<\_ACEOF
86414 #define HAVE_ACOSF 1
86415 _ACEOF
86417 cat >>confdefs.h <<\_ACEOF
86418 #define HAVE_ASINF 1
86419 _ACEOF
86421 cat >>confdefs.h <<\_ACEOF
86422 #define HAVE_ATAN2F 1
86423 _ACEOF
86425 cat >>confdefs.h <<\_ACEOF
86426 #define HAVE_ATANF 1
86427 _ACEOF
86429 cat >>confdefs.h <<\_ACEOF
86430 #define HAVE_CEILF 1
86431 _ACEOF
86433 cat >>confdefs.h <<\_ACEOF
86434 #define HAVE_COPYSIGN 1
86435 _ACEOF
86437 cat >>confdefs.h <<\_ACEOF
86438 #define HAVE_COPYSIGNF 1
86439 _ACEOF
86441 cat >>confdefs.h <<\_ACEOF
86442 #define HAVE_COSF 1
86443 _ACEOF
86445 cat >>confdefs.h <<\_ACEOF
86446 #define HAVE_COSHF 1
86447 _ACEOF
86449 cat >>confdefs.h <<\_ACEOF
86450 #define HAVE_EXPF 1
86451 _ACEOF
86453 cat >>confdefs.h <<\_ACEOF
86454 #define HAVE_FABSF 1
86455 _ACEOF
86457 cat >>confdefs.h <<\_ACEOF
86458 #define HAVE_FLOORF 1
86459 _ACEOF
86461 cat >>confdefs.h <<\_ACEOF
86462 #define HAVE_FMODF 1
86463 _ACEOF
86465 cat >>confdefs.h <<\_ACEOF
86466 #define HAVE_FREXPF 1
86467 _ACEOF
86469 cat >>confdefs.h <<\_ACEOF
86470 #define HAVE_LDEXPF 1
86471 _ACEOF
86473 cat >>confdefs.h <<\_ACEOF
86474 #define HAVE_LOG10F 1
86475 _ACEOF
86477 cat >>confdefs.h <<\_ACEOF
86478 #define HAVE_LOGF 1
86479 _ACEOF
86481 cat >>confdefs.h <<\_ACEOF
86482 #define HAVE_MODFF 1
86483 _ACEOF
86485 cat >>confdefs.h <<\_ACEOF
86486 #define HAVE_POWF 1
86487 _ACEOF
86489 cat >>confdefs.h <<\_ACEOF
86490 #define HAVE_SINF 1
86491 _ACEOF
86493 cat >>confdefs.h <<\_ACEOF
86494 #define HAVE_SINHF 1
86495 _ACEOF
86497 cat >>confdefs.h <<\_ACEOF
86498 #define HAVE_SQRTF 1
86499 _ACEOF
86501 cat >>confdefs.h <<\_ACEOF
86502 #define HAVE_TANF 1
86503 _ACEOF
86505 cat >>confdefs.h <<\_ACEOF
86506 #define HAVE_TANHF 1
86507 _ACEOF
86509 if test x"long_double_math_on_this_cpu" = x"yes"; then
86510 cat >>confdefs.h <<\_ACEOF
86511 #define HAVE_FINITEL 1
86512 _ACEOF
86514 cat >>confdefs.h <<\_ACEOF
86515 #define HAVE_ISINFL 1
86516 _ACEOF
86518 cat >>confdefs.h <<\_ACEOF
86519 #define HAVE_ISNANL 1
86520 _ACEOF
86524 *-hpux*)
86537 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
86538 machine/endian.h machine/param.h sys/machine.h sys/types.h \
86539 fp.h locale.h float.h inttypes.h
86541 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86542 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86543 echo "$as_me:$LINENO: checking for $ac_header" >&5
86544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86546 echo $ECHO_N "(cached) $ECHO_C" >&6
86548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86549 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86550 else
86551 # Is the header compilable?
86552 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86553 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86554 cat >conftest.$ac_ext <<_ACEOF
86555 /* confdefs.h. */
86556 _ACEOF
86557 cat confdefs.h >>conftest.$ac_ext
86558 cat >>conftest.$ac_ext <<_ACEOF
86559 /* end confdefs.h. */
86560 $ac_includes_default
86561 #include <$ac_header>
86562 _ACEOF
86563 rm -f conftest.$ac_objext
86564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86565 (eval $ac_compile) 2>conftest.er1
86566 ac_status=$?
86567 grep -v '^ *+' conftest.er1 >conftest.err
86568 rm -f conftest.er1
86569 cat conftest.err >&5
86570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86571 (exit $ac_status); } &&
86572 { ac_try='test -z "$ac_c_werror_flag"
86573 || test ! -s conftest.err'
86574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86575 (eval $ac_try) 2>&5
86576 ac_status=$?
86577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86578 (exit $ac_status); }; } &&
86579 { ac_try='test -s conftest.$ac_objext'
86580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86581 (eval $ac_try) 2>&5
86582 ac_status=$?
86583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86584 (exit $ac_status); }; }; then
86585 ac_header_compiler=yes
86586 else
86587 echo "$as_me: failed program was:" >&5
86588 sed 's/^/| /' conftest.$ac_ext >&5
86590 ac_header_compiler=no
86592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86593 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86594 echo "${ECHO_T}$ac_header_compiler" >&6
86596 # Is the header present?
86597 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86598 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86599 cat >conftest.$ac_ext <<_ACEOF
86600 /* confdefs.h. */
86601 _ACEOF
86602 cat confdefs.h >>conftest.$ac_ext
86603 cat >>conftest.$ac_ext <<_ACEOF
86604 /* end confdefs.h. */
86605 #include <$ac_header>
86606 _ACEOF
86607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86608 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86609 ac_status=$?
86610 grep -v '^ *+' conftest.er1 >conftest.err
86611 rm -f conftest.er1
86612 cat conftest.err >&5
86613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86614 (exit $ac_status); } >/dev/null; then
86615 if test -s conftest.err; then
86616 ac_cpp_err=$ac_c_preproc_warn_flag
86617 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86618 else
86619 ac_cpp_err=
86621 else
86622 ac_cpp_err=yes
86624 if test -z "$ac_cpp_err"; then
86625 ac_header_preproc=yes
86626 else
86627 echo "$as_me: failed program was:" >&5
86628 sed 's/^/| /' conftest.$ac_ext >&5
86630 ac_header_preproc=no
86632 rm -f conftest.err conftest.$ac_ext
86633 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86634 echo "${ECHO_T}$ac_header_preproc" >&6
86636 # So? What about this header?
86637 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86638 yes:no: )
86639 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86640 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86641 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86642 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86643 ac_header_preproc=yes
86645 no:yes:* )
86646 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86647 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86648 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86649 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86650 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86651 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86652 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86653 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86654 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86655 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86656 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86657 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86659 cat <<\_ASBOX
86660 ## ----------------------------------------- ##
86661 ## Report this to the package-unused lists. ##
86662 ## ----------------------------------------- ##
86663 _ASBOX
86665 sed "s/^/$as_me: WARNING: /" >&2
86667 esac
86668 echo "$as_me:$LINENO: checking for $ac_header" >&5
86669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86671 echo $ECHO_N "(cached) $ECHO_C" >&6
86672 else
86673 eval "$as_ac_Header=\$ac_header_preproc"
86675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86676 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86679 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86680 cat >>confdefs.h <<_ACEOF
86681 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86682 _ACEOF
86686 done
86688 SECTION_FLAGS='-ffunction-sections -fdata-sections'
86691 # If we're not using GNU ld, then there's no point in even trying these
86692 # tests. Check for that first. We should have already tested for gld
86693 # by now (in libtool), but require it now just to be safe...
86694 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86695 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86699 # The name set by libtool depends on the version of libtool. Shame on us
86700 # for depending on an impl detail, but c'est la vie. Older versions used
86701 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86702 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86703 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
86704 # set (hence we're using an older libtool), then set it.
86705 if test x${with_gnu_ld+set} != xset; then
86706 if test x${ac_cv_prog_gnu_ld+set} != xset; then
86707 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
86708 with_gnu_ld=no
86709 else
86710 with_gnu_ld=$ac_cv_prog_gnu_ld
86714 # Start by getting the version number. I think the libtool test already
86715 # does some of this, but throws away the result.
86716 glibcxx_ld_is_gold=no
86717 if test x"$with_gnu_ld" = x"yes"; then
86718 echo "$as_me:$LINENO: checking for ld version" >&5
86719 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86721 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
86722 glibcxx_ld_is_gold=yes
86724 ldver=`$LD --version 2>/dev/null | head -1 | \
86725 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
86727 glibcxx_gnu_ld_version=`echo $ldver | \
86728 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86729 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86730 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86733 # Set --gc-sections.
86734 glibcxx_have_gc_sections=no
86735 if test "$glibcxx_ld_is_gold" = "yes"; then
86736 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
86737 glibcxx_have_gc_sections=yes
86739 else
86740 glibcxx_gcsections_min_ld=21602
86741 if test x"$with_gnu_ld" = x"yes" &&
86742 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86743 glibcxx_have_gc_sections=yes
86746 if test "$glibcxx_have_gc_sections" = "yes"; then
86747 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
86748 # NB: This flag only works reliably after 2.16.1. Configure tests
86749 # for this are difficult, so hard wire a value that should work.
86751 ac_test_CFLAGS="${CFLAGS+set}"
86752 ac_save_CFLAGS="$CFLAGS"
86753 CFLAGS='-Wl,--gc-sections'
86755 # Check for -Wl,--gc-sections
86756 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86757 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86758 if test x$gcc_no_link = xyes; then
86759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86761 { (exit 1); exit 1; }; }
86763 cat >conftest.$ac_ext <<_ACEOF
86764 /* confdefs.h. */
86765 _ACEOF
86766 cat confdefs.h >>conftest.$ac_ext
86767 cat >>conftest.$ac_ext <<_ACEOF
86768 /* end confdefs.h. */
86769 int one(void) { return 1; }
86770 int two(void) { return 2; }
86773 main ()
86775 two();
86777 return 0;
86779 _ACEOF
86780 rm -f conftest.$ac_objext conftest$ac_exeext
86781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86782 (eval $ac_link) 2>conftest.er1
86783 ac_status=$?
86784 grep -v '^ *+' conftest.er1 >conftest.err
86785 rm -f conftest.er1
86786 cat conftest.err >&5
86787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86788 (exit $ac_status); } &&
86789 { ac_try='test -z "$ac_c_werror_flag"
86790 || test ! -s conftest.err'
86791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86792 (eval $ac_try) 2>&5
86793 ac_status=$?
86794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86795 (exit $ac_status); }; } &&
86796 { ac_try='test -s conftest$ac_exeext'
86797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86798 (eval $ac_try) 2>&5
86799 ac_status=$?
86800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86801 (exit $ac_status); }; }; then
86802 ac_gcsections=yes
86803 else
86804 echo "$as_me: failed program was:" >&5
86805 sed 's/^/| /' conftest.$ac_ext >&5
86807 ac_gcsections=no
86809 rm -f conftest.err conftest.$ac_objext \
86810 conftest$ac_exeext conftest.$ac_ext
86811 if test "$ac_gcsections" = "yes"; then
86812 rm -f conftest.c
86813 touch conftest.c
86814 if $CC -c conftest.c; then
86815 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86816 grep "Warning: gc-sections option ignored" > /dev/null; then
86817 ac_gcsections=no
86820 rm -f conftest.c conftest.o conftest
86822 if test "$ac_gcsections" = "yes"; then
86823 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86825 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86826 echo "${ECHO_T}$ac_gcsections" >&6
86828 if test "$ac_test_CFLAGS" = set; then
86829 CFLAGS="$ac_save_CFLAGS"
86830 else
86831 # this is the suspicious part
86832 CFLAGS=''
86836 # Set -z,relro.
86837 # Note this is only for shared objects.
86838 ac_ld_relro=no
86839 if test x"$with_gnu_ld" = x"yes"; then
86840 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86841 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86842 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86843 if test -n "$cxx_z_relo"; then
86844 OPT_LDFLAGS="-Wl,-z,relro"
86845 ac_ld_relro=yes
86847 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86848 echo "${ECHO_T}$ac_ld_relro" >&6
86851 # Set linker optimization flags.
86852 if test x"$with_gnu_ld" = x"yes"; then
86853 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86861 echo "$as_me:$LINENO: checking for main in -lm" >&5
86862 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86863 if test "${ac_cv_lib_m_main+set}" = set; then
86864 echo $ECHO_N "(cached) $ECHO_C" >&6
86865 else
86866 ac_check_lib_save_LIBS=$LIBS
86867 LIBS="-lm $LIBS"
86868 if test x$gcc_no_link = xyes; then
86869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86871 { (exit 1); exit 1; }; }
86873 cat >conftest.$ac_ext <<_ACEOF
86874 /* confdefs.h. */
86875 _ACEOF
86876 cat confdefs.h >>conftest.$ac_ext
86877 cat >>conftest.$ac_ext <<_ACEOF
86878 /* end confdefs.h. */
86882 main ()
86884 main ();
86886 return 0;
86888 _ACEOF
86889 rm -f conftest.$ac_objext conftest$ac_exeext
86890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86891 (eval $ac_link) 2>conftest.er1
86892 ac_status=$?
86893 grep -v '^ *+' conftest.er1 >conftest.err
86894 rm -f conftest.er1
86895 cat conftest.err >&5
86896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86897 (exit $ac_status); } &&
86898 { ac_try='test -z "$ac_c_werror_flag"
86899 || test ! -s conftest.err'
86900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86901 (eval $ac_try) 2>&5
86902 ac_status=$?
86903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86904 (exit $ac_status); }; } &&
86905 { ac_try='test -s conftest$ac_exeext'
86906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86907 (eval $ac_try) 2>&5
86908 ac_status=$?
86909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86910 (exit $ac_status); }; }; then
86911 ac_cv_lib_m_main=yes
86912 else
86913 echo "$as_me: failed program was:" >&5
86914 sed 's/^/| /' conftest.$ac_ext >&5
86916 ac_cv_lib_m_main=no
86918 rm -f conftest.err conftest.$ac_objext \
86919 conftest$ac_exeext conftest.$ac_ext
86920 LIBS=$ac_check_lib_save_LIBS
86922 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86923 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86924 if test $ac_cv_lib_m_main = yes; then
86925 cat >>confdefs.h <<_ACEOF
86926 #define HAVE_LIBM 1
86927 _ACEOF
86929 LIBS="-lm $LIBS"
86934 for ac_func in copysignf
86936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86937 echo "$as_me:$LINENO: checking for $ac_func" >&5
86938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86939 if eval "test \"\${$as_ac_var+set}\" = set"; then
86940 echo $ECHO_N "(cached) $ECHO_C" >&6
86941 else
86942 if test x$gcc_no_link = xyes; then
86943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86945 { (exit 1); exit 1; }; }
86947 cat >conftest.$ac_ext <<_ACEOF
86948 /* confdefs.h. */
86949 _ACEOF
86950 cat confdefs.h >>conftest.$ac_ext
86951 cat >>conftest.$ac_ext <<_ACEOF
86952 /* end confdefs.h. */
86953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86955 #define $ac_func innocuous_$ac_func
86957 /* System header to define __stub macros and hopefully few prototypes,
86958 which can conflict with char $ac_func (); below.
86959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86960 <limits.h> exists even on freestanding compilers. */
86962 #ifdef __STDC__
86963 # include <limits.h>
86964 #else
86965 # include <assert.h>
86966 #endif
86968 #undef $ac_func
86970 /* Override any gcc2 internal prototype to avoid an error. */
86971 #ifdef __cplusplus
86972 extern "C"
86974 #endif
86975 /* We use char because int might match the return type of a gcc2
86976 builtin and then its argument prototype would still apply. */
86977 char $ac_func ();
86978 /* The GNU C library defines this for functions which it implements
86979 to always fail with ENOSYS. Some functions are actually named
86980 something starting with __ and the normal name is an alias. */
86981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86982 choke me
86983 #else
86984 char (*f) () = $ac_func;
86985 #endif
86986 #ifdef __cplusplus
86988 #endif
86991 main ()
86993 return f != $ac_func;
86995 return 0;
86997 _ACEOF
86998 rm -f conftest.$ac_objext conftest$ac_exeext
86999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87000 (eval $ac_link) 2>conftest.er1
87001 ac_status=$?
87002 grep -v '^ *+' conftest.er1 >conftest.err
87003 rm -f conftest.er1
87004 cat conftest.err >&5
87005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87006 (exit $ac_status); } &&
87007 { ac_try='test -z "$ac_c_werror_flag"
87008 || test ! -s conftest.err'
87009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87010 (eval $ac_try) 2>&5
87011 ac_status=$?
87012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87013 (exit $ac_status); }; } &&
87014 { ac_try='test -s conftest$ac_exeext'
87015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87016 (eval $ac_try) 2>&5
87017 ac_status=$?
87018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87019 (exit $ac_status); }; }; then
87020 eval "$as_ac_var=yes"
87021 else
87022 echo "$as_me: failed program was:" >&5
87023 sed 's/^/| /' conftest.$ac_ext >&5
87025 eval "$as_ac_var=no"
87027 rm -f conftest.err conftest.$ac_objext \
87028 conftest$ac_exeext conftest.$ac_ext
87030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87032 if test `eval echo '${'$as_ac_var'}'` = yes; then
87033 cat >>confdefs.h <<_ACEOF
87034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87035 _ACEOF
87037 else
87038 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87040 done
87044 for ac_func in __signbit
87046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87047 echo "$as_me:$LINENO: checking for $ac_func" >&5
87048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87049 if eval "test \"\${$as_ac_var+set}\" = set"; then
87050 echo $ECHO_N "(cached) $ECHO_C" >&6
87051 else
87052 if test x$gcc_no_link = xyes; then
87053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87055 { (exit 1); exit 1; }; }
87057 cat >conftest.$ac_ext <<_ACEOF
87058 /* confdefs.h. */
87059 _ACEOF
87060 cat confdefs.h >>conftest.$ac_ext
87061 cat >>conftest.$ac_ext <<_ACEOF
87062 /* end confdefs.h. */
87063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87065 #define $ac_func innocuous_$ac_func
87067 /* System header to define __stub macros and hopefully few prototypes,
87068 which can conflict with char $ac_func (); below.
87069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87070 <limits.h> exists even on freestanding compilers. */
87072 #ifdef __STDC__
87073 # include <limits.h>
87074 #else
87075 # include <assert.h>
87076 #endif
87078 #undef $ac_func
87080 /* Override any gcc2 internal prototype to avoid an error. */
87081 #ifdef __cplusplus
87082 extern "C"
87084 #endif
87085 /* We use char because int might match the return type of a gcc2
87086 builtin and then its argument prototype would still apply. */
87087 char $ac_func ();
87088 /* The GNU C library defines this for functions which it implements
87089 to always fail with ENOSYS. Some functions are actually named
87090 something starting with __ and the normal name is an alias. */
87091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87092 choke me
87093 #else
87094 char (*f) () = $ac_func;
87095 #endif
87096 #ifdef __cplusplus
87098 #endif
87101 main ()
87103 return f != $ac_func;
87105 return 0;
87107 _ACEOF
87108 rm -f conftest.$ac_objext conftest$ac_exeext
87109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87110 (eval $ac_link) 2>conftest.er1
87111 ac_status=$?
87112 grep -v '^ *+' conftest.er1 >conftest.err
87113 rm -f conftest.er1
87114 cat conftest.err >&5
87115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87116 (exit $ac_status); } &&
87117 { ac_try='test -z "$ac_c_werror_flag"
87118 || test ! -s conftest.err'
87119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87120 (eval $ac_try) 2>&5
87121 ac_status=$?
87122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87123 (exit $ac_status); }; } &&
87124 { ac_try='test -s conftest$ac_exeext'
87125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87126 (eval $ac_try) 2>&5
87127 ac_status=$?
87128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87129 (exit $ac_status); }; }; then
87130 eval "$as_ac_var=yes"
87131 else
87132 echo "$as_me: failed program was:" >&5
87133 sed 's/^/| /' conftest.$ac_ext >&5
87135 eval "$as_ac_var=no"
87137 rm -f conftest.err conftest.$ac_objext \
87138 conftest$ac_exeext conftest.$ac_ext
87140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87142 if test `eval echo '${'$as_ac_var'}'` = yes; then
87143 cat >>confdefs.h <<_ACEOF
87144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87145 _ACEOF
87147 else
87148 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87150 done
87154 for ac_func in __signbitf
87156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87157 echo "$as_me:$LINENO: checking for $ac_func" >&5
87158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87159 if eval "test \"\${$as_ac_var+set}\" = set"; then
87160 echo $ECHO_N "(cached) $ECHO_C" >&6
87161 else
87162 if test x$gcc_no_link = xyes; then
87163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87165 { (exit 1); exit 1; }; }
87167 cat >conftest.$ac_ext <<_ACEOF
87168 /* confdefs.h. */
87169 _ACEOF
87170 cat confdefs.h >>conftest.$ac_ext
87171 cat >>conftest.$ac_ext <<_ACEOF
87172 /* end confdefs.h. */
87173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87175 #define $ac_func innocuous_$ac_func
87177 /* System header to define __stub macros and hopefully few prototypes,
87178 which can conflict with char $ac_func (); below.
87179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87180 <limits.h> exists even on freestanding compilers. */
87182 #ifdef __STDC__
87183 # include <limits.h>
87184 #else
87185 # include <assert.h>
87186 #endif
87188 #undef $ac_func
87190 /* Override any gcc2 internal prototype to avoid an error. */
87191 #ifdef __cplusplus
87192 extern "C"
87194 #endif
87195 /* We use char because int might match the return type of a gcc2
87196 builtin and then its argument prototype would still apply. */
87197 char $ac_func ();
87198 /* The GNU C library defines this for functions which it implements
87199 to always fail with ENOSYS. Some functions are actually named
87200 something starting with __ and the normal name is an alias. */
87201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87202 choke me
87203 #else
87204 char (*f) () = $ac_func;
87205 #endif
87206 #ifdef __cplusplus
87208 #endif
87211 main ()
87213 return f != $ac_func;
87215 return 0;
87217 _ACEOF
87218 rm -f conftest.$ac_objext conftest$ac_exeext
87219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87220 (eval $ac_link) 2>conftest.er1
87221 ac_status=$?
87222 grep -v '^ *+' conftest.er1 >conftest.err
87223 rm -f conftest.er1
87224 cat conftest.err >&5
87225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87226 (exit $ac_status); } &&
87227 { ac_try='test -z "$ac_c_werror_flag"
87228 || test ! -s conftest.err'
87229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87230 (eval $ac_try) 2>&5
87231 ac_status=$?
87232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87233 (exit $ac_status); }; } &&
87234 { ac_try='test -s conftest$ac_exeext'
87235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87236 (eval $ac_try) 2>&5
87237 ac_status=$?
87238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87239 (exit $ac_status); }; }; then
87240 eval "$as_ac_var=yes"
87241 else
87242 echo "$as_me: failed program was:" >&5
87243 sed 's/^/| /' conftest.$ac_ext >&5
87245 eval "$as_ac_var=no"
87247 rm -f conftest.err conftest.$ac_objext \
87248 conftest$ac_exeext conftest.$ac_ext
87250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87252 if test `eval echo '${'$as_ac_var'}'` = yes; then
87253 cat >>confdefs.h <<_ACEOF
87254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87255 _ACEOF
87257 else
87258 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87260 done
87263 if test x$ac_cv_func_copysignl = x"yes"; then
87265 for ac_func in __signbitl
87267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87268 echo "$as_me:$LINENO: checking for $ac_func" >&5
87269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87270 if eval "test \"\${$as_ac_var+set}\" = set"; then
87271 echo $ECHO_N "(cached) $ECHO_C" >&6
87272 else
87273 if test x$gcc_no_link = xyes; then
87274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87276 { (exit 1); exit 1; }; }
87278 cat >conftest.$ac_ext <<_ACEOF
87279 /* confdefs.h. */
87280 _ACEOF
87281 cat confdefs.h >>conftest.$ac_ext
87282 cat >>conftest.$ac_ext <<_ACEOF
87283 /* end confdefs.h. */
87284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87286 #define $ac_func innocuous_$ac_func
87288 /* System header to define __stub macros and hopefully few prototypes,
87289 which can conflict with char $ac_func (); below.
87290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87291 <limits.h> exists even on freestanding compilers. */
87293 #ifdef __STDC__
87294 # include <limits.h>
87295 #else
87296 # include <assert.h>
87297 #endif
87299 #undef $ac_func
87301 /* Override any gcc2 internal prototype to avoid an error. */
87302 #ifdef __cplusplus
87303 extern "C"
87305 #endif
87306 /* We use char because int might match the return type of a gcc2
87307 builtin and then its argument prototype would still apply. */
87308 char $ac_func ();
87309 /* The GNU C library defines this for functions which it implements
87310 to always fail with ENOSYS. Some functions are actually named
87311 something starting with __ and the normal name is an alias. */
87312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87313 choke me
87314 #else
87315 char (*f) () = $ac_func;
87316 #endif
87317 #ifdef __cplusplus
87319 #endif
87322 main ()
87324 return f != $ac_func;
87326 return 0;
87328 _ACEOF
87329 rm -f conftest.$ac_objext conftest$ac_exeext
87330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87331 (eval $ac_link) 2>conftest.er1
87332 ac_status=$?
87333 grep -v '^ *+' conftest.er1 >conftest.err
87334 rm -f conftest.er1
87335 cat conftest.err >&5
87336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87337 (exit $ac_status); } &&
87338 { ac_try='test -z "$ac_c_werror_flag"
87339 || test ! -s conftest.err'
87340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87341 (eval $ac_try) 2>&5
87342 ac_status=$?
87343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87344 (exit $ac_status); }; } &&
87345 { ac_try='test -s conftest$ac_exeext'
87346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87347 (eval $ac_try) 2>&5
87348 ac_status=$?
87349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87350 (exit $ac_status); }; }; then
87351 eval "$as_ac_var=yes"
87352 else
87353 echo "$as_me: failed program was:" >&5
87354 sed 's/^/| /' conftest.$ac_ext >&5
87356 eval "$as_ac_var=no"
87358 rm -f conftest.err conftest.$ac_objext \
87359 conftest$ac_exeext conftest.$ac_ext
87361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87363 if test `eval echo '${'$as_ac_var'}'` = yes; then
87364 cat >>confdefs.h <<_ACEOF
87365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87366 _ACEOF
87368 else
87369 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87371 done
87375 # Used in libmath/Makefile.am.
87376 if test -n "$LIBMATHOBJS"; then
87377 need_libmath=yes
87381 cat >>confdefs.h <<\_ACEOF
87382 #define HAVE_COPYSIGN 1
87383 _ACEOF
87385 cat >>confdefs.h <<\_ACEOF
87386 #define HAVE_COPYSIGNF 1
87387 _ACEOF
87389 cat >>confdefs.h <<\_ACEOF
87390 #define HAVE_FREXPF 1
87391 _ACEOF
87393 cat >>confdefs.h <<\_ACEOF
87394 #define HAVE_HYPOT 1
87395 _ACEOF
87397 case "$target" in
87398 *-hpux10*)
87399 cat >>confdefs.h <<\_ACEOF
87400 #define HAVE_FINITE 1
87401 _ACEOF
87403 cat >>confdefs.h <<\_ACEOF
87404 #define HAVE_FINITEF 1
87405 _ACEOF
87407 cat >>confdefs.h <<\_ACEOF
87408 #define HAVE_ISINF 1
87409 _ACEOF
87411 cat >>confdefs.h <<\_ACEOF
87412 #define HAVE_ISINFF 1
87413 _ACEOF
87415 cat >>confdefs.h <<\_ACEOF
87416 #define HAVE_ISNAN 1
87417 _ACEOF
87419 cat >>confdefs.h <<\_ACEOF
87420 #define HAVE_ISNANF 1
87421 _ACEOF
87424 esac
87426 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
87445 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
87446 machine/endian.h machine/param.h sys/machine.h sys/types.h \
87447 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h \
87448 sys/ipc.h sys/sem.h gconf.h
87450 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87452 echo "$as_me:$LINENO: checking for $ac_header" >&5
87453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87455 echo $ECHO_N "(cached) $ECHO_C" >&6
87457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87459 else
87460 # Is the header compilable?
87461 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87462 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87463 cat >conftest.$ac_ext <<_ACEOF
87464 /* confdefs.h. */
87465 _ACEOF
87466 cat confdefs.h >>conftest.$ac_ext
87467 cat >>conftest.$ac_ext <<_ACEOF
87468 /* end confdefs.h. */
87469 $ac_includes_default
87470 #include <$ac_header>
87471 _ACEOF
87472 rm -f conftest.$ac_objext
87473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87474 (eval $ac_compile) 2>conftest.er1
87475 ac_status=$?
87476 grep -v '^ *+' conftest.er1 >conftest.err
87477 rm -f conftest.er1
87478 cat conftest.err >&5
87479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87480 (exit $ac_status); } &&
87481 { ac_try='test -z "$ac_c_werror_flag"
87482 || test ! -s conftest.err'
87483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87484 (eval $ac_try) 2>&5
87485 ac_status=$?
87486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87487 (exit $ac_status); }; } &&
87488 { ac_try='test -s conftest.$ac_objext'
87489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87490 (eval $ac_try) 2>&5
87491 ac_status=$?
87492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87493 (exit $ac_status); }; }; then
87494 ac_header_compiler=yes
87495 else
87496 echo "$as_me: failed program was:" >&5
87497 sed 's/^/| /' conftest.$ac_ext >&5
87499 ac_header_compiler=no
87501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87503 echo "${ECHO_T}$ac_header_compiler" >&6
87505 # Is the header present?
87506 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87507 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87508 cat >conftest.$ac_ext <<_ACEOF
87509 /* confdefs.h. */
87510 _ACEOF
87511 cat confdefs.h >>conftest.$ac_ext
87512 cat >>conftest.$ac_ext <<_ACEOF
87513 /* end confdefs.h. */
87514 #include <$ac_header>
87515 _ACEOF
87516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87517 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87518 ac_status=$?
87519 grep -v '^ *+' conftest.er1 >conftest.err
87520 rm -f conftest.er1
87521 cat conftest.err >&5
87522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87523 (exit $ac_status); } >/dev/null; then
87524 if test -s conftest.err; then
87525 ac_cpp_err=$ac_c_preproc_warn_flag
87526 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87527 else
87528 ac_cpp_err=
87530 else
87531 ac_cpp_err=yes
87533 if test -z "$ac_cpp_err"; then
87534 ac_header_preproc=yes
87535 else
87536 echo "$as_me: failed program was:" >&5
87537 sed 's/^/| /' conftest.$ac_ext >&5
87539 ac_header_preproc=no
87541 rm -f conftest.err conftest.$ac_ext
87542 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87543 echo "${ECHO_T}$ac_header_preproc" >&6
87545 # So? What about this header?
87546 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87547 yes:no: )
87548 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87549 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87551 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87552 ac_header_preproc=yes
87554 no:yes:* )
87555 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87556 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87557 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87558 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87559 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87560 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87561 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87562 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87564 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87565 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87566 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87568 cat <<\_ASBOX
87569 ## ----------------------------------------- ##
87570 ## Report this to the package-unused lists. ##
87571 ## ----------------------------------------- ##
87572 _ASBOX
87574 sed "s/^/$as_me: WARNING: /" >&2
87576 esac
87577 echo "$as_me:$LINENO: checking for $ac_header" >&5
87578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87580 echo $ECHO_N "(cached) $ECHO_C" >&6
87581 else
87582 eval "$as_ac_Header=\$ac_header_preproc"
87584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87589 cat >>confdefs.h <<_ACEOF
87590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87591 _ACEOF
87595 done
87597 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87600 # All these tests are for C++; save the language and the compiler flags.
87601 # The CXXFLAGS thing is suspicious, but based on similar bits previously
87602 # found in GLIBCXX_CONFIGURE.
87605 ac_ext=cc
87606 ac_cpp='$CXXCPP $CPPFLAGS'
87607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87611 ac_test_CXXFLAGS="${CXXFLAGS+set}"
87612 ac_save_CXXFLAGS="$CXXFLAGS"
87614 # Check for maintainer-mode bits.
87615 if test x"$USE_MAINTAINER_MODE" = xno; then
87616 WERROR=''
87617 else
87618 WERROR='-Werror'
87621 # Check for -ffunction-sections -fdata-sections
87622 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
87623 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
87624 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
87625 cat >conftest.$ac_ext <<_ACEOF
87626 /* confdefs.h. */
87627 _ACEOF
87628 cat confdefs.h >>conftest.$ac_ext
87629 cat >>conftest.$ac_ext <<_ACEOF
87630 /* end confdefs.h. */
87631 int foo; void bar() { };
87633 main ()
87637 return 0;
87639 _ACEOF
87640 rm -f conftest.$ac_objext
87641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87642 (eval $ac_compile) 2>conftest.er1
87643 ac_status=$?
87644 grep -v '^ *+' conftest.er1 >conftest.err
87645 rm -f conftest.er1
87646 cat conftest.err >&5
87647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87648 (exit $ac_status); } &&
87649 { ac_try='test -z "$ac_cxx_werror_flag"
87650 || test ! -s conftest.err'
87651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87652 (eval $ac_try) 2>&5
87653 ac_status=$?
87654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87655 (exit $ac_status); }; } &&
87656 { ac_try='test -s conftest.$ac_objext'
87657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87658 (eval $ac_try) 2>&5
87659 ac_status=$?
87660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87661 (exit $ac_status); }; }; then
87662 ac_fdsections=yes
87663 else
87664 echo "$as_me: failed program was:" >&5
87665 sed 's/^/| /' conftest.$ac_ext >&5
87667 ac_fdsections=no
87669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87670 if test "$ac_test_CXXFLAGS" = set; then
87671 CXXFLAGS="$ac_save_CXXFLAGS"
87672 else
87673 # this is the suspicious part
87674 CXXFLAGS=''
87676 if test x"$ac_fdsections" = x"yes"; then
87677 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87679 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
87680 echo "${ECHO_T}$ac_fdsections" >&6
87682 ac_ext=c
87683 ac_cpp='$CPP $CPPFLAGS'
87684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87692 # If we're not using GNU ld, then there's no point in even trying these
87693 # tests. Check for that first. We should have already tested for gld
87694 # by now (in libtool), but require it now just to be safe...
87695 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87696 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87700 # The name set by libtool depends on the version of libtool. Shame on us
87701 # for depending on an impl detail, but c'est la vie. Older versions used
87702 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87703 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87704 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
87705 # set (hence we're using an older libtool), then set it.
87706 if test x${with_gnu_ld+set} != xset; then
87707 if test x${ac_cv_prog_gnu_ld+set} != xset; then
87708 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
87709 with_gnu_ld=no
87710 else
87711 with_gnu_ld=$ac_cv_prog_gnu_ld
87715 # Start by getting the version number. I think the libtool test already
87716 # does some of this, but throws away the result.
87717 glibcxx_ld_is_gold=no
87718 if test x"$with_gnu_ld" = x"yes"; then
87719 echo "$as_me:$LINENO: checking for ld version" >&5
87720 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
87722 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
87723 glibcxx_ld_is_gold=yes
87725 ldver=`$LD --version 2>/dev/null | head -1 | \
87726 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
87728 glibcxx_gnu_ld_version=`echo $ldver | \
87729 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87730 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
87731 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
87734 # Set --gc-sections.
87735 glibcxx_have_gc_sections=no
87736 if test "$glibcxx_ld_is_gold" = "yes"; then
87737 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
87738 glibcxx_have_gc_sections=yes
87740 else
87741 glibcxx_gcsections_min_ld=21602
87742 if test x"$with_gnu_ld" = x"yes" &&
87743 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
87744 glibcxx_have_gc_sections=yes
87747 if test "$glibcxx_have_gc_sections" = "yes"; then
87748 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
87749 # NB: This flag only works reliably after 2.16.1. Configure tests
87750 # for this are difficult, so hard wire a value that should work.
87752 ac_test_CFLAGS="${CFLAGS+set}"
87753 ac_save_CFLAGS="$CFLAGS"
87754 CFLAGS='-Wl,--gc-sections'
87756 # Check for -Wl,--gc-sections
87757 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87758 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87759 if test x$gcc_no_link = xyes; then
87760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87762 { (exit 1); exit 1; }; }
87764 cat >conftest.$ac_ext <<_ACEOF
87765 /* confdefs.h. */
87766 _ACEOF
87767 cat confdefs.h >>conftest.$ac_ext
87768 cat >>conftest.$ac_ext <<_ACEOF
87769 /* end confdefs.h. */
87770 int one(void) { return 1; }
87771 int two(void) { return 2; }
87774 main ()
87776 two();
87778 return 0;
87780 _ACEOF
87781 rm -f conftest.$ac_objext conftest$ac_exeext
87782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87783 (eval $ac_link) 2>conftest.er1
87784 ac_status=$?
87785 grep -v '^ *+' conftest.er1 >conftest.err
87786 rm -f conftest.er1
87787 cat conftest.err >&5
87788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87789 (exit $ac_status); } &&
87790 { ac_try='test -z "$ac_c_werror_flag"
87791 || test ! -s conftest.err'
87792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87793 (eval $ac_try) 2>&5
87794 ac_status=$?
87795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87796 (exit $ac_status); }; } &&
87797 { ac_try='test -s conftest$ac_exeext'
87798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87799 (eval $ac_try) 2>&5
87800 ac_status=$?
87801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87802 (exit $ac_status); }; }; then
87803 ac_gcsections=yes
87804 else
87805 echo "$as_me: failed program was:" >&5
87806 sed 's/^/| /' conftest.$ac_ext >&5
87808 ac_gcsections=no
87810 rm -f conftest.err conftest.$ac_objext \
87811 conftest$ac_exeext conftest.$ac_ext
87812 if test "$ac_gcsections" = "yes"; then
87813 rm -f conftest.c
87814 touch conftest.c
87815 if $CC -c conftest.c; then
87816 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
87817 grep "Warning: gc-sections option ignored" > /dev/null; then
87818 ac_gcsections=no
87821 rm -f conftest.c conftest.o conftest
87823 if test "$ac_gcsections" = "yes"; then
87824 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87826 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
87827 echo "${ECHO_T}$ac_gcsections" >&6
87829 if test "$ac_test_CFLAGS" = set; then
87830 CFLAGS="$ac_save_CFLAGS"
87831 else
87832 # this is the suspicious part
87833 CFLAGS=''
87837 # Set -z,relro.
87838 # Note this is only for shared objects.
87839 ac_ld_relro=no
87840 if test x"$with_gnu_ld" = x"yes"; then
87841 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87842 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87843 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87844 if test -n "$cxx_z_relo"; then
87845 OPT_LDFLAGS="-Wl,-z,relro"
87846 ac_ld_relro=yes
87848 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87849 echo "${ECHO_T}$ac_ld_relro" >&6
87852 # Set linker optimization flags.
87853 if test x"$with_gnu_ld" = x"yes"; then
87854 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87861 ac_test_CXXFLAGS="${CXXFLAGS+set}"
87862 ac_save_CXXFLAGS="$CXXFLAGS"
87863 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
87865 echo "$as_me:$LINENO: checking for sin in -lm" >&5
87866 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
87867 if test "${ac_cv_lib_m_sin+set}" = set; then
87868 echo $ECHO_N "(cached) $ECHO_C" >&6
87869 else
87870 ac_check_lib_save_LIBS=$LIBS
87871 LIBS="-lm $LIBS"
87872 if test x$gcc_no_link = xyes; then
87873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87875 { (exit 1); exit 1; }; }
87877 cat >conftest.$ac_ext <<_ACEOF
87878 /* confdefs.h. */
87879 _ACEOF
87880 cat confdefs.h >>conftest.$ac_ext
87881 cat >>conftest.$ac_ext <<_ACEOF
87882 /* end confdefs.h. */
87884 /* Override any gcc2 internal prototype to avoid an error. */
87885 #ifdef __cplusplus
87886 extern "C"
87887 #endif
87888 /* We use char because int might match the return type of a gcc2
87889 builtin and then its argument prototype would still apply. */
87890 char sin ();
87892 main ()
87894 sin ();
87896 return 0;
87898 _ACEOF
87899 rm -f conftest.$ac_objext conftest$ac_exeext
87900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87901 (eval $ac_link) 2>conftest.er1
87902 ac_status=$?
87903 grep -v '^ *+' conftest.er1 >conftest.err
87904 rm -f conftest.er1
87905 cat conftest.err >&5
87906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87907 (exit $ac_status); } &&
87908 { ac_try='test -z "$ac_c_werror_flag"
87909 || test ! -s conftest.err'
87910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87911 (eval $ac_try) 2>&5
87912 ac_status=$?
87913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87914 (exit $ac_status); }; } &&
87915 { ac_try='test -s conftest$ac_exeext'
87916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87917 (eval $ac_try) 2>&5
87918 ac_status=$?
87919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87920 (exit $ac_status); }; }; then
87921 ac_cv_lib_m_sin=yes
87922 else
87923 echo "$as_me: failed program was:" >&5
87924 sed 's/^/| /' conftest.$ac_ext >&5
87926 ac_cv_lib_m_sin=no
87928 rm -f conftest.err conftest.$ac_objext \
87929 conftest$ac_exeext conftest.$ac_ext
87930 LIBS=$ac_check_lib_save_LIBS
87932 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
87933 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
87934 if test $ac_cv_lib_m_sin = yes; then
87935 libm="-lm"
87938 ac_save_LIBS="$LIBS"
87939 LIBS="$LIBS $libm"
87943 echo "$as_me:$LINENO: checking for isinf declaration" >&5
87944 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
87945 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
87946 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
87947 echo $ECHO_N "(cached) $ECHO_C" >&6
87948 else
87952 ac_ext=cc
87953 ac_cpp='$CXXCPP $CPPFLAGS'
87954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87958 cat >conftest.$ac_ext <<_ACEOF
87959 /* confdefs.h. */
87960 _ACEOF
87961 cat confdefs.h >>conftest.$ac_ext
87962 cat >>conftest.$ac_ext <<_ACEOF
87963 /* end confdefs.h. */
87964 #include <math.h>
87965 #ifdef HAVE_IEEEFP_H
87966 #include <ieeefp.h>
87967 #endif
87970 main ()
87972 isinf(0);
87974 return 0;
87976 _ACEOF
87977 rm -f conftest.$ac_objext
87978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87979 (eval $ac_compile) 2>conftest.er1
87980 ac_status=$?
87981 grep -v '^ *+' conftest.er1 >conftest.err
87982 rm -f conftest.er1
87983 cat conftest.err >&5
87984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87985 (exit $ac_status); } &&
87986 { ac_try='test -z "$ac_cxx_werror_flag"
87987 || test ! -s conftest.err'
87988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87989 (eval $ac_try) 2>&5
87990 ac_status=$?
87991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87992 (exit $ac_status); }; } &&
87993 { ac_try='test -s conftest.$ac_objext'
87994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87995 (eval $ac_try) 2>&5
87996 ac_status=$?
87997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87998 (exit $ac_status); }; }; then
87999 glibcxx_cv_func_isinf_use=yes
88000 else
88001 echo "$as_me: failed program was:" >&5
88002 sed 's/^/| /' conftest.$ac_ext >&5
88004 glibcxx_cv_func_isinf_use=no
88006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88007 ac_ext=c
88008 ac_cpp='$CPP $CPPFLAGS'
88009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88017 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
88018 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
88020 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
88022 for ac_func in isinf
88024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88025 echo "$as_me:$LINENO: checking for $ac_func" >&5
88026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88027 if eval "test \"\${$as_ac_var+set}\" = set"; then
88028 echo $ECHO_N "(cached) $ECHO_C" >&6
88029 else
88030 if test x$gcc_no_link = xyes; then
88031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88033 { (exit 1); exit 1; }; }
88035 cat >conftest.$ac_ext <<_ACEOF
88036 /* confdefs.h. */
88037 _ACEOF
88038 cat confdefs.h >>conftest.$ac_ext
88039 cat >>conftest.$ac_ext <<_ACEOF
88040 /* end confdefs.h. */
88041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88043 #define $ac_func innocuous_$ac_func
88045 /* System header to define __stub macros and hopefully few prototypes,
88046 which can conflict with char $ac_func (); below.
88047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88048 <limits.h> exists even on freestanding compilers. */
88050 #ifdef __STDC__
88051 # include <limits.h>
88052 #else
88053 # include <assert.h>
88054 #endif
88056 #undef $ac_func
88058 /* Override any gcc2 internal prototype to avoid an error. */
88059 #ifdef __cplusplus
88060 extern "C"
88062 #endif
88063 /* We use char because int might match the return type of a gcc2
88064 builtin and then its argument prototype would still apply. */
88065 char $ac_func ();
88066 /* The GNU C library defines this for functions which it implements
88067 to always fail with ENOSYS. Some functions are actually named
88068 something starting with __ and the normal name is an alias. */
88069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88070 choke me
88071 #else
88072 char (*f) () = $ac_func;
88073 #endif
88074 #ifdef __cplusplus
88076 #endif
88079 main ()
88081 return f != $ac_func;
88083 return 0;
88085 _ACEOF
88086 rm -f conftest.$ac_objext conftest$ac_exeext
88087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88088 (eval $ac_link) 2>conftest.er1
88089 ac_status=$?
88090 grep -v '^ *+' conftest.er1 >conftest.err
88091 rm -f conftest.er1
88092 cat conftest.err >&5
88093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88094 (exit $ac_status); } &&
88095 { ac_try='test -z "$ac_c_werror_flag"
88096 || test ! -s conftest.err'
88097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88098 (eval $ac_try) 2>&5
88099 ac_status=$?
88100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88101 (exit $ac_status); }; } &&
88102 { ac_try='test -s conftest$ac_exeext'
88103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88104 (eval $ac_try) 2>&5
88105 ac_status=$?
88106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88107 (exit $ac_status); }; }; then
88108 eval "$as_ac_var=yes"
88109 else
88110 echo "$as_me: failed program was:" >&5
88111 sed 's/^/| /' conftest.$ac_ext >&5
88113 eval "$as_ac_var=no"
88115 rm -f conftest.err conftest.$ac_objext \
88116 conftest$ac_exeext conftest.$ac_ext
88118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88120 if test `eval echo '${'$as_ac_var'}'` = yes; then
88121 cat >>confdefs.h <<_ACEOF
88122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88123 _ACEOF
88126 done
88128 else
88130 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
88131 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
88132 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
88133 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
88134 echo $ECHO_N "(cached) $ECHO_C" >&6
88135 else
88139 ac_ext=cc
88140 ac_cpp='$CXXCPP $CPPFLAGS'
88141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88145 cat >conftest.$ac_ext <<_ACEOF
88146 /* confdefs.h. */
88147 _ACEOF
88148 cat confdefs.h >>conftest.$ac_ext
88149 cat >>conftest.$ac_ext <<_ACEOF
88150 /* end confdefs.h. */
88151 #include <math.h>
88152 #ifdef HAVE_IEEEFP_H
88153 #include <ieeefp.h>
88154 #endif
88157 main ()
88159 _isinf(0);
88161 return 0;
88163 _ACEOF
88164 rm -f conftest.$ac_objext
88165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88166 (eval $ac_compile) 2>conftest.er1
88167 ac_status=$?
88168 grep -v '^ *+' conftest.er1 >conftest.err
88169 rm -f conftest.er1
88170 cat conftest.err >&5
88171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88172 (exit $ac_status); } &&
88173 { ac_try='test -z "$ac_cxx_werror_flag"
88174 || test ! -s conftest.err'
88175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88176 (eval $ac_try) 2>&5
88177 ac_status=$?
88178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88179 (exit $ac_status); }; } &&
88180 { ac_try='test -s conftest.$ac_objext'
88181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88182 (eval $ac_try) 2>&5
88183 ac_status=$?
88184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88185 (exit $ac_status); }; }; then
88186 glibcxx_cv_func__isinf_use=yes
88187 else
88188 echo "$as_me: failed program was:" >&5
88189 sed 's/^/| /' conftest.$ac_ext >&5
88191 glibcxx_cv_func__isinf_use=no
88193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88194 ac_ext=c
88195 ac_cpp='$CPP $CPPFLAGS'
88196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88204 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
88205 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
88207 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
88209 for ac_func in _isinf
88211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88212 echo "$as_me:$LINENO: checking for $ac_func" >&5
88213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88214 if eval "test \"\${$as_ac_var+set}\" = set"; then
88215 echo $ECHO_N "(cached) $ECHO_C" >&6
88216 else
88217 if test x$gcc_no_link = xyes; then
88218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88220 { (exit 1); exit 1; }; }
88222 cat >conftest.$ac_ext <<_ACEOF
88223 /* confdefs.h. */
88224 _ACEOF
88225 cat confdefs.h >>conftest.$ac_ext
88226 cat >>conftest.$ac_ext <<_ACEOF
88227 /* end confdefs.h. */
88228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88230 #define $ac_func innocuous_$ac_func
88232 /* System header to define __stub macros and hopefully few prototypes,
88233 which can conflict with char $ac_func (); below.
88234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88235 <limits.h> exists even on freestanding compilers. */
88237 #ifdef __STDC__
88238 # include <limits.h>
88239 #else
88240 # include <assert.h>
88241 #endif
88243 #undef $ac_func
88245 /* Override any gcc2 internal prototype to avoid an error. */
88246 #ifdef __cplusplus
88247 extern "C"
88249 #endif
88250 /* We use char because int might match the return type of a gcc2
88251 builtin and then its argument prototype would still apply. */
88252 char $ac_func ();
88253 /* The GNU C library defines this for functions which it implements
88254 to always fail with ENOSYS. Some functions are actually named
88255 something starting with __ and the normal name is an alias. */
88256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88257 choke me
88258 #else
88259 char (*f) () = $ac_func;
88260 #endif
88261 #ifdef __cplusplus
88263 #endif
88266 main ()
88268 return f != $ac_func;
88270 return 0;
88272 _ACEOF
88273 rm -f conftest.$ac_objext conftest$ac_exeext
88274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88275 (eval $ac_link) 2>conftest.er1
88276 ac_status=$?
88277 grep -v '^ *+' conftest.er1 >conftest.err
88278 rm -f conftest.er1
88279 cat conftest.err >&5
88280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88281 (exit $ac_status); } &&
88282 { ac_try='test -z "$ac_c_werror_flag"
88283 || test ! -s conftest.err'
88284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88285 (eval $ac_try) 2>&5
88286 ac_status=$?
88287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88288 (exit $ac_status); }; } &&
88289 { ac_try='test -s conftest$ac_exeext'
88290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88291 (eval $ac_try) 2>&5
88292 ac_status=$?
88293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88294 (exit $ac_status); }; }; then
88295 eval "$as_ac_var=yes"
88296 else
88297 echo "$as_me: failed program was:" >&5
88298 sed 's/^/| /' conftest.$ac_ext >&5
88300 eval "$as_ac_var=no"
88302 rm -f conftest.err conftest.$ac_objext \
88303 conftest$ac_exeext conftest.$ac_ext
88305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88307 if test `eval echo '${'$as_ac_var'}'` = yes; then
88308 cat >>confdefs.h <<_ACEOF
88309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88310 _ACEOF
88313 done
88323 echo "$as_me:$LINENO: checking for isnan declaration" >&5
88324 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
88325 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
88326 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
88327 echo $ECHO_N "(cached) $ECHO_C" >&6
88328 else
88332 ac_ext=cc
88333 ac_cpp='$CXXCPP $CPPFLAGS'
88334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88338 cat >conftest.$ac_ext <<_ACEOF
88339 /* confdefs.h. */
88340 _ACEOF
88341 cat confdefs.h >>conftest.$ac_ext
88342 cat >>conftest.$ac_ext <<_ACEOF
88343 /* end confdefs.h. */
88344 #include <math.h>
88345 #ifdef HAVE_IEEEFP_H
88346 #include <ieeefp.h>
88347 #endif
88350 main ()
88352 isnan(0);
88354 return 0;
88356 _ACEOF
88357 rm -f conftest.$ac_objext
88358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88359 (eval $ac_compile) 2>conftest.er1
88360 ac_status=$?
88361 grep -v '^ *+' conftest.er1 >conftest.err
88362 rm -f conftest.er1
88363 cat conftest.err >&5
88364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88365 (exit $ac_status); } &&
88366 { ac_try='test -z "$ac_cxx_werror_flag"
88367 || test ! -s conftest.err'
88368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88369 (eval $ac_try) 2>&5
88370 ac_status=$?
88371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88372 (exit $ac_status); }; } &&
88373 { ac_try='test -s conftest.$ac_objext'
88374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88375 (eval $ac_try) 2>&5
88376 ac_status=$?
88377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88378 (exit $ac_status); }; }; then
88379 glibcxx_cv_func_isnan_use=yes
88380 else
88381 echo "$as_me: failed program was:" >&5
88382 sed 's/^/| /' conftest.$ac_ext >&5
88384 glibcxx_cv_func_isnan_use=no
88386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88387 ac_ext=c
88388 ac_cpp='$CPP $CPPFLAGS'
88389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88397 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
88398 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
88400 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
88402 for ac_func in isnan
88404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88405 echo "$as_me:$LINENO: checking for $ac_func" >&5
88406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88407 if eval "test \"\${$as_ac_var+set}\" = set"; then
88408 echo $ECHO_N "(cached) $ECHO_C" >&6
88409 else
88410 if test x$gcc_no_link = xyes; then
88411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88413 { (exit 1); exit 1; }; }
88415 cat >conftest.$ac_ext <<_ACEOF
88416 /* confdefs.h. */
88417 _ACEOF
88418 cat confdefs.h >>conftest.$ac_ext
88419 cat >>conftest.$ac_ext <<_ACEOF
88420 /* end confdefs.h. */
88421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88423 #define $ac_func innocuous_$ac_func
88425 /* System header to define __stub macros and hopefully few prototypes,
88426 which can conflict with char $ac_func (); below.
88427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88428 <limits.h> exists even on freestanding compilers. */
88430 #ifdef __STDC__
88431 # include <limits.h>
88432 #else
88433 # include <assert.h>
88434 #endif
88436 #undef $ac_func
88438 /* Override any gcc2 internal prototype to avoid an error. */
88439 #ifdef __cplusplus
88440 extern "C"
88442 #endif
88443 /* We use char because int might match the return type of a gcc2
88444 builtin and then its argument prototype would still apply. */
88445 char $ac_func ();
88446 /* The GNU C library defines this for functions which it implements
88447 to always fail with ENOSYS. Some functions are actually named
88448 something starting with __ and the normal name is an alias. */
88449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88450 choke me
88451 #else
88452 char (*f) () = $ac_func;
88453 #endif
88454 #ifdef __cplusplus
88456 #endif
88459 main ()
88461 return f != $ac_func;
88463 return 0;
88465 _ACEOF
88466 rm -f conftest.$ac_objext conftest$ac_exeext
88467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88468 (eval $ac_link) 2>conftest.er1
88469 ac_status=$?
88470 grep -v '^ *+' conftest.er1 >conftest.err
88471 rm -f conftest.er1
88472 cat conftest.err >&5
88473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88474 (exit $ac_status); } &&
88475 { ac_try='test -z "$ac_c_werror_flag"
88476 || test ! -s conftest.err'
88477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88478 (eval $ac_try) 2>&5
88479 ac_status=$?
88480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88481 (exit $ac_status); }; } &&
88482 { ac_try='test -s conftest$ac_exeext'
88483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88484 (eval $ac_try) 2>&5
88485 ac_status=$?
88486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88487 (exit $ac_status); }; }; then
88488 eval "$as_ac_var=yes"
88489 else
88490 echo "$as_me: failed program was:" >&5
88491 sed 's/^/| /' conftest.$ac_ext >&5
88493 eval "$as_ac_var=no"
88495 rm -f conftest.err conftest.$ac_objext \
88496 conftest$ac_exeext conftest.$ac_ext
88498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88500 if test `eval echo '${'$as_ac_var'}'` = yes; then
88501 cat >>confdefs.h <<_ACEOF
88502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88503 _ACEOF
88506 done
88508 else
88510 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
88511 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
88512 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
88513 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
88514 echo $ECHO_N "(cached) $ECHO_C" >&6
88515 else
88519 ac_ext=cc
88520 ac_cpp='$CXXCPP $CPPFLAGS'
88521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
88532 #ifdef HAVE_IEEEFP_H
88533 #include <ieeefp.h>
88534 #endif
88537 main ()
88539 _isnan(0);
88541 return 0;
88543 _ACEOF
88544 rm -f conftest.$ac_objext
88545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88546 (eval $ac_compile) 2>conftest.er1
88547 ac_status=$?
88548 grep -v '^ *+' conftest.er1 >conftest.err
88549 rm -f conftest.er1
88550 cat conftest.err >&5
88551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88552 (exit $ac_status); } &&
88553 { ac_try='test -z "$ac_cxx_werror_flag"
88554 || test ! -s conftest.err'
88555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88556 (eval $ac_try) 2>&5
88557 ac_status=$?
88558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88559 (exit $ac_status); }; } &&
88560 { ac_try='test -s conftest.$ac_objext'
88561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88562 (eval $ac_try) 2>&5
88563 ac_status=$?
88564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88565 (exit $ac_status); }; }; then
88566 glibcxx_cv_func__isnan_use=yes
88567 else
88568 echo "$as_me: failed program was:" >&5
88569 sed 's/^/| /' conftest.$ac_ext >&5
88571 glibcxx_cv_func__isnan_use=no
88573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88574 ac_ext=c
88575 ac_cpp='$CPP $CPPFLAGS'
88576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88584 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
88585 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
88587 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
88589 for ac_func in _isnan
88591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88592 echo "$as_me:$LINENO: checking for $ac_func" >&5
88593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88594 if eval "test \"\${$as_ac_var+set}\" = set"; then
88595 echo $ECHO_N "(cached) $ECHO_C" >&6
88596 else
88597 if test x$gcc_no_link = xyes; then
88598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88600 { (exit 1); exit 1; }; }
88602 cat >conftest.$ac_ext <<_ACEOF
88603 /* confdefs.h. */
88604 _ACEOF
88605 cat confdefs.h >>conftest.$ac_ext
88606 cat >>conftest.$ac_ext <<_ACEOF
88607 /* end confdefs.h. */
88608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88610 #define $ac_func innocuous_$ac_func
88612 /* System header to define __stub macros and hopefully few prototypes,
88613 which can conflict with char $ac_func (); below.
88614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88615 <limits.h> exists even on freestanding compilers. */
88617 #ifdef __STDC__
88618 # include <limits.h>
88619 #else
88620 # include <assert.h>
88621 #endif
88623 #undef $ac_func
88625 /* Override any gcc2 internal prototype to avoid an error. */
88626 #ifdef __cplusplus
88627 extern "C"
88629 #endif
88630 /* We use char because int might match the return type of a gcc2
88631 builtin and then its argument prototype would still apply. */
88632 char $ac_func ();
88633 /* The GNU C library defines this for functions which it implements
88634 to always fail with ENOSYS. Some functions are actually named
88635 something starting with __ and the normal name is an alias. */
88636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88637 choke me
88638 #else
88639 char (*f) () = $ac_func;
88640 #endif
88641 #ifdef __cplusplus
88643 #endif
88646 main ()
88648 return f != $ac_func;
88650 return 0;
88652 _ACEOF
88653 rm -f conftest.$ac_objext conftest$ac_exeext
88654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88655 (eval $ac_link) 2>conftest.er1
88656 ac_status=$?
88657 grep -v '^ *+' conftest.er1 >conftest.err
88658 rm -f conftest.er1
88659 cat conftest.err >&5
88660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88661 (exit $ac_status); } &&
88662 { ac_try='test -z "$ac_c_werror_flag"
88663 || test ! -s conftest.err'
88664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88665 (eval $ac_try) 2>&5
88666 ac_status=$?
88667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88668 (exit $ac_status); }; } &&
88669 { ac_try='test -s conftest$ac_exeext'
88670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88671 (eval $ac_try) 2>&5
88672 ac_status=$?
88673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88674 (exit $ac_status); }; }; then
88675 eval "$as_ac_var=yes"
88676 else
88677 echo "$as_me: failed program was:" >&5
88678 sed 's/^/| /' conftest.$ac_ext >&5
88680 eval "$as_ac_var=no"
88682 rm -f conftest.err conftest.$ac_objext \
88683 conftest$ac_exeext conftest.$ac_ext
88685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88687 if test `eval echo '${'$as_ac_var'}'` = yes; then
88688 cat >>confdefs.h <<_ACEOF
88689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88690 _ACEOF
88693 done
88703 echo "$as_me:$LINENO: checking for finite declaration" >&5
88704 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
88705 if test x${glibcxx_cv_func_finite_use+set} != xset; then
88706 if test "${glibcxx_cv_func_finite_use+set}" = set; then
88707 echo $ECHO_N "(cached) $ECHO_C" >&6
88708 else
88712 ac_ext=cc
88713 ac_cpp='$CXXCPP $CPPFLAGS'
88714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88718 cat >conftest.$ac_ext <<_ACEOF
88719 /* confdefs.h. */
88720 _ACEOF
88721 cat confdefs.h >>conftest.$ac_ext
88722 cat >>conftest.$ac_ext <<_ACEOF
88723 /* end confdefs.h. */
88724 #include <math.h>
88725 #ifdef HAVE_IEEEFP_H
88726 #include <ieeefp.h>
88727 #endif
88730 main ()
88732 finite(0);
88734 return 0;
88736 _ACEOF
88737 rm -f conftest.$ac_objext
88738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88739 (eval $ac_compile) 2>conftest.er1
88740 ac_status=$?
88741 grep -v '^ *+' conftest.er1 >conftest.err
88742 rm -f conftest.er1
88743 cat conftest.err >&5
88744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88745 (exit $ac_status); } &&
88746 { ac_try='test -z "$ac_cxx_werror_flag"
88747 || test ! -s conftest.err'
88748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88749 (eval $ac_try) 2>&5
88750 ac_status=$?
88751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88752 (exit $ac_status); }; } &&
88753 { ac_try='test -s conftest.$ac_objext'
88754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88755 (eval $ac_try) 2>&5
88756 ac_status=$?
88757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88758 (exit $ac_status); }; }; then
88759 glibcxx_cv_func_finite_use=yes
88760 else
88761 echo "$as_me: failed program was:" >&5
88762 sed 's/^/| /' conftest.$ac_ext >&5
88764 glibcxx_cv_func_finite_use=no
88766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88767 ac_ext=c
88768 ac_cpp='$CPP $CPPFLAGS'
88769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88777 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
88778 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
88780 if test x$glibcxx_cv_func_finite_use = x"yes"; then
88782 for ac_func in finite
88784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88785 echo "$as_me:$LINENO: checking for $ac_func" >&5
88786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88787 if eval "test \"\${$as_ac_var+set}\" = set"; then
88788 echo $ECHO_N "(cached) $ECHO_C" >&6
88789 else
88790 if test x$gcc_no_link = xyes; then
88791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88793 { (exit 1); exit 1; }; }
88795 cat >conftest.$ac_ext <<_ACEOF
88796 /* confdefs.h. */
88797 _ACEOF
88798 cat confdefs.h >>conftest.$ac_ext
88799 cat >>conftest.$ac_ext <<_ACEOF
88800 /* end confdefs.h. */
88801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88803 #define $ac_func innocuous_$ac_func
88805 /* System header to define __stub macros and hopefully few prototypes,
88806 which can conflict with char $ac_func (); below.
88807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88808 <limits.h> exists even on freestanding compilers. */
88810 #ifdef __STDC__
88811 # include <limits.h>
88812 #else
88813 # include <assert.h>
88814 #endif
88816 #undef $ac_func
88818 /* Override any gcc2 internal prototype to avoid an error. */
88819 #ifdef __cplusplus
88820 extern "C"
88822 #endif
88823 /* We use char because int might match the return type of a gcc2
88824 builtin and then its argument prototype would still apply. */
88825 char $ac_func ();
88826 /* The GNU C library defines this for functions which it implements
88827 to always fail with ENOSYS. Some functions are actually named
88828 something starting with __ and the normal name is an alias. */
88829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88830 choke me
88831 #else
88832 char (*f) () = $ac_func;
88833 #endif
88834 #ifdef __cplusplus
88836 #endif
88839 main ()
88841 return f != $ac_func;
88843 return 0;
88845 _ACEOF
88846 rm -f conftest.$ac_objext conftest$ac_exeext
88847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88848 (eval $ac_link) 2>conftest.er1
88849 ac_status=$?
88850 grep -v '^ *+' conftest.er1 >conftest.err
88851 rm -f conftest.er1
88852 cat conftest.err >&5
88853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88854 (exit $ac_status); } &&
88855 { ac_try='test -z "$ac_c_werror_flag"
88856 || test ! -s conftest.err'
88857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88858 (eval $ac_try) 2>&5
88859 ac_status=$?
88860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88861 (exit $ac_status); }; } &&
88862 { ac_try='test -s conftest$ac_exeext'
88863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88864 (eval $ac_try) 2>&5
88865 ac_status=$?
88866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88867 (exit $ac_status); }; }; then
88868 eval "$as_ac_var=yes"
88869 else
88870 echo "$as_me: failed program was:" >&5
88871 sed 's/^/| /' conftest.$ac_ext >&5
88873 eval "$as_ac_var=no"
88875 rm -f conftest.err conftest.$ac_objext \
88876 conftest$ac_exeext conftest.$ac_ext
88878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88880 if test `eval echo '${'$as_ac_var'}'` = yes; then
88881 cat >>confdefs.h <<_ACEOF
88882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88883 _ACEOF
88886 done
88888 else
88890 echo "$as_me:$LINENO: checking for _finite declaration" >&5
88891 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
88892 if test x${glibcxx_cv_func__finite_use+set} != xset; then
88893 if test "${glibcxx_cv_func__finite_use+set}" = set; then
88894 echo $ECHO_N "(cached) $ECHO_C" >&6
88895 else
88899 ac_ext=cc
88900 ac_cpp='$CXXCPP $CPPFLAGS'
88901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88905 cat >conftest.$ac_ext <<_ACEOF
88906 /* confdefs.h. */
88907 _ACEOF
88908 cat confdefs.h >>conftest.$ac_ext
88909 cat >>conftest.$ac_ext <<_ACEOF
88910 /* end confdefs.h. */
88911 #include <math.h>
88912 #ifdef HAVE_IEEEFP_H
88913 #include <ieeefp.h>
88914 #endif
88917 main ()
88919 _finite(0);
88921 return 0;
88923 _ACEOF
88924 rm -f conftest.$ac_objext
88925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88926 (eval $ac_compile) 2>conftest.er1
88927 ac_status=$?
88928 grep -v '^ *+' conftest.er1 >conftest.err
88929 rm -f conftest.er1
88930 cat conftest.err >&5
88931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88932 (exit $ac_status); } &&
88933 { ac_try='test -z "$ac_cxx_werror_flag"
88934 || test ! -s conftest.err'
88935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88936 (eval $ac_try) 2>&5
88937 ac_status=$?
88938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88939 (exit $ac_status); }; } &&
88940 { ac_try='test -s conftest.$ac_objext'
88941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88942 (eval $ac_try) 2>&5
88943 ac_status=$?
88944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88945 (exit $ac_status); }; }; then
88946 glibcxx_cv_func__finite_use=yes
88947 else
88948 echo "$as_me: failed program was:" >&5
88949 sed 's/^/| /' conftest.$ac_ext >&5
88951 glibcxx_cv_func__finite_use=no
88953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88954 ac_ext=c
88955 ac_cpp='$CPP $CPPFLAGS'
88956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88964 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
88965 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
88967 if test x$glibcxx_cv_func__finite_use = x"yes"; then
88969 for ac_func in _finite
88971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88972 echo "$as_me:$LINENO: checking for $ac_func" >&5
88973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88974 if eval "test \"\${$as_ac_var+set}\" = set"; then
88975 echo $ECHO_N "(cached) $ECHO_C" >&6
88976 else
88977 if test x$gcc_no_link = xyes; then
88978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88980 { (exit 1); exit 1; }; }
88982 cat >conftest.$ac_ext <<_ACEOF
88983 /* confdefs.h. */
88984 _ACEOF
88985 cat confdefs.h >>conftest.$ac_ext
88986 cat >>conftest.$ac_ext <<_ACEOF
88987 /* end confdefs.h. */
88988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88990 #define $ac_func innocuous_$ac_func
88992 /* System header to define __stub macros and hopefully few prototypes,
88993 which can conflict with char $ac_func (); below.
88994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88995 <limits.h> exists even on freestanding compilers. */
88997 #ifdef __STDC__
88998 # include <limits.h>
88999 #else
89000 # include <assert.h>
89001 #endif
89003 #undef $ac_func
89005 /* Override any gcc2 internal prototype to avoid an error. */
89006 #ifdef __cplusplus
89007 extern "C"
89009 #endif
89010 /* We use char because int might match the return type of a gcc2
89011 builtin and then its argument prototype would still apply. */
89012 char $ac_func ();
89013 /* The GNU C library defines this for functions which it implements
89014 to always fail with ENOSYS. Some functions are actually named
89015 something starting with __ and the normal name is an alias. */
89016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89017 choke me
89018 #else
89019 char (*f) () = $ac_func;
89020 #endif
89021 #ifdef __cplusplus
89023 #endif
89026 main ()
89028 return f != $ac_func;
89030 return 0;
89032 _ACEOF
89033 rm -f conftest.$ac_objext conftest$ac_exeext
89034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89035 (eval $ac_link) 2>conftest.er1
89036 ac_status=$?
89037 grep -v '^ *+' conftest.er1 >conftest.err
89038 rm -f conftest.er1
89039 cat conftest.err >&5
89040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89041 (exit $ac_status); } &&
89042 { ac_try='test -z "$ac_c_werror_flag"
89043 || test ! -s conftest.err'
89044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89045 (eval $ac_try) 2>&5
89046 ac_status=$?
89047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89048 (exit $ac_status); }; } &&
89049 { ac_try='test -s conftest$ac_exeext'
89050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89051 (eval $ac_try) 2>&5
89052 ac_status=$?
89053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89054 (exit $ac_status); }; }; then
89055 eval "$as_ac_var=yes"
89056 else
89057 echo "$as_me: failed program was:" >&5
89058 sed 's/^/| /' conftest.$ac_ext >&5
89060 eval "$as_ac_var=no"
89062 rm -f conftest.err conftest.$ac_objext \
89063 conftest$ac_exeext conftest.$ac_ext
89065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89067 if test `eval echo '${'$as_ac_var'}'` = yes; then
89068 cat >>confdefs.h <<_ACEOF
89069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89070 _ACEOF
89073 done
89083 echo "$as_me:$LINENO: checking for copysign declaration" >&5
89084 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
89085 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
89086 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
89087 echo $ECHO_N "(cached) $ECHO_C" >&6
89088 else
89092 ac_ext=cc
89093 ac_cpp='$CXXCPP $CPPFLAGS'
89094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89098 cat >conftest.$ac_ext <<_ACEOF
89099 /* confdefs.h. */
89100 _ACEOF
89101 cat confdefs.h >>conftest.$ac_ext
89102 cat >>conftest.$ac_ext <<_ACEOF
89103 /* end confdefs.h. */
89104 #include <math.h>
89106 main ()
89108 copysign(0, 0);
89110 return 0;
89112 _ACEOF
89113 rm -f conftest.$ac_objext
89114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89115 (eval $ac_compile) 2>conftest.er1
89116 ac_status=$?
89117 grep -v '^ *+' conftest.er1 >conftest.err
89118 rm -f conftest.er1
89119 cat conftest.err >&5
89120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89121 (exit $ac_status); } &&
89122 { ac_try='test -z "$ac_cxx_werror_flag"
89123 || test ! -s conftest.err'
89124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89125 (eval $ac_try) 2>&5
89126 ac_status=$?
89127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89128 (exit $ac_status); }; } &&
89129 { ac_try='test -s conftest.$ac_objext'
89130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89131 (eval $ac_try) 2>&5
89132 ac_status=$?
89133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89134 (exit $ac_status); }; }; then
89135 glibcxx_cv_func_copysign_use=yes
89136 else
89137 echo "$as_me: failed program was:" >&5
89138 sed 's/^/| /' conftest.$ac_ext >&5
89140 glibcxx_cv_func_copysign_use=no
89142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89143 ac_ext=c
89144 ac_cpp='$CPP $CPPFLAGS'
89145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89153 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
89154 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
89156 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
89158 for ac_func in copysign
89160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89161 echo "$as_me:$LINENO: checking for $ac_func" >&5
89162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89163 if eval "test \"\${$as_ac_var+set}\" = set"; then
89164 echo $ECHO_N "(cached) $ECHO_C" >&6
89165 else
89166 if test x$gcc_no_link = xyes; then
89167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89169 { (exit 1); exit 1; }; }
89171 cat >conftest.$ac_ext <<_ACEOF
89172 /* confdefs.h. */
89173 _ACEOF
89174 cat confdefs.h >>conftest.$ac_ext
89175 cat >>conftest.$ac_ext <<_ACEOF
89176 /* end confdefs.h. */
89177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89179 #define $ac_func innocuous_$ac_func
89181 /* System header to define __stub macros and hopefully few prototypes,
89182 which can conflict with char $ac_func (); below.
89183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89184 <limits.h> exists even on freestanding compilers. */
89186 #ifdef __STDC__
89187 # include <limits.h>
89188 #else
89189 # include <assert.h>
89190 #endif
89192 #undef $ac_func
89194 /* Override any gcc2 internal prototype to avoid an error. */
89195 #ifdef __cplusplus
89196 extern "C"
89198 #endif
89199 /* We use char because int might match the return type of a gcc2
89200 builtin and then its argument prototype would still apply. */
89201 char $ac_func ();
89202 /* The GNU C library defines this for functions which it implements
89203 to always fail with ENOSYS. Some functions are actually named
89204 something starting with __ and the normal name is an alias. */
89205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89206 choke me
89207 #else
89208 char (*f) () = $ac_func;
89209 #endif
89210 #ifdef __cplusplus
89212 #endif
89215 main ()
89217 return f != $ac_func;
89219 return 0;
89221 _ACEOF
89222 rm -f conftest.$ac_objext conftest$ac_exeext
89223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89224 (eval $ac_link) 2>conftest.er1
89225 ac_status=$?
89226 grep -v '^ *+' conftest.er1 >conftest.err
89227 rm -f conftest.er1
89228 cat conftest.err >&5
89229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89230 (exit $ac_status); } &&
89231 { ac_try='test -z "$ac_c_werror_flag"
89232 || test ! -s conftest.err'
89233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89234 (eval $ac_try) 2>&5
89235 ac_status=$?
89236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89237 (exit $ac_status); }; } &&
89238 { ac_try='test -s conftest$ac_exeext'
89239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89240 (eval $ac_try) 2>&5
89241 ac_status=$?
89242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89243 (exit $ac_status); }; }; then
89244 eval "$as_ac_var=yes"
89245 else
89246 echo "$as_me: failed program was:" >&5
89247 sed 's/^/| /' conftest.$ac_ext >&5
89249 eval "$as_ac_var=no"
89251 rm -f conftest.err conftest.$ac_objext \
89252 conftest$ac_exeext conftest.$ac_ext
89254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89256 if test `eval echo '${'$as_ac_var'}'` = yes; then
89257 cat >>confdefs.h <<_ACEOF
89258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89259 _ACEOF
89262 done
89264 else
89266 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
89267 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
89268 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
89269 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
89270 echo $ECHO_N "(cached) $ECHO_C" >&6
89271 else
89275 ac_ext=cc
89276 ac_cpp='$CXXCPP $CPPFLAGS'
89277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89281 cat >conftest.$ac_ext <<_ACEOF
89282 /* confdefs.h. */
89283 _ACEOF
89284 cat confdefs.h >>conftest.$ac_ext
89285 cat >>conftest.$ac_ext <<_ACEOF
89286 /* end confdefs.h. */
89287 #include <math.h>
89289 main ()
89291 _copysign(0, 0);
89293 return 0;
89295 _ACEOF
89296 rm -f conftest.$ac_objext
89297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89298 (eval $ac_compile) 2>conftest.er1
89299 ac_status=$?
89300 grep -v '^ *+' conftest.er1 >conftest.err
89301 rm -f conftest.er1
89302 cat conftest.err >&5
89303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89304 (exit $ac_status); } &&
89305 { ac_try='test -z "$ac_cxx_werror_flag"
89306 || test ! -s conftest.err'
89307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89308 (eval $ac_try) 2>&5
89309 ac_status=$?
89310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89311 (exit $ac_status); }; } &&
89312 { ac_try='test -s conftest.$ac_objext'
89313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89314 (eval $ac_try) 2>&5
89315 ac_status=$?
89316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89317 (exit $ac_status); }; }; then
89318 glibcxx_cv_func__copysign_use=yes
89319 else
89320 echo "$as_me: failed program was:" >&5
89321 sed 's/^/| /' conftest.$ac_ext >&5
89323 glibcxx_cv_func__copysign_use=no
89325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89326 ac_ext=c
89327 ac_cpp='$CPP $CPPFLAGS'
89328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89336 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
89337 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
89339 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
89341 for ac_func in _copysign
89343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89344 echo "$as_me:$LINENO: checking for $ac_func" >&5
89345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89346 if eval "test \"\${$as_ac_var+set}\" = set"; then
89347 echo $ECHO_N "(cached) $ECHO_C" >&6
89348 else
89349 if test x$gcc_no_link = xyes; then
89350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89352 { (exit 1); exit 1; }; }
89354 cat >conftest.$ac_ext <<_ACEOF
89355 /* confdefs.h. */
89356 _ACEOF
89357 cat confdefs.h >>conftest.$ac_ext
89358 cat >>conftest.$ac_ext <<_ACEOF
89359 /* end confdefs.h. */
89360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89362 #define $ac_func innocuous_$ac_func
89364 /* System header to define __stub macros and hopefully few prototypes,
89365 which can conflict with char $ac_func (); below.
89366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89367 <limits.h> exists even on freestanding compilers. */
89369 #ifdef __STDC__
89370 # include <limits.h>
89371 #else
89372 # include <assert.h>
89373 #endif
89375 #undef $ac_func
89377 /* Override any gcc2 internal prototype to avoid an error. */
89378 #ifdef __cplusplus
89379 extern "C"
89381 #endif
89382 /* We use char because int might match the return type of a gcc2
89383 builtin and then its argument prototype would still apply. */
89384 char $ac_func ();
89385 /* The GNU C library defines this for functions which it implements
89386 to always fail with ENOSYS. Some functions are actually named
89387 something starting with __ and the normal name is an alias. */
89388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89389 choke me
89390 #else
89391 char (*f) () = $ac_func;
89392 #endif
89393 #ifdef __cplusplus
89395 #endif
89398 main ()
89400 return f != $ac_func;
89402 return 0;
89404 _ACEOF
89405 rm -f conftest.$ac_objext conftest$ac_exeext
89406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89407 (eval $ac_link) 2>conftest.er1
89408 ac_status=$?
89409 grep -v '^ *+' conftest.er1 >conftest.err
89410 rm -f conftest.er1
89411 cat conftest.err >&5
89412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89413 (exit $ac_status); } &&
89414 { ac_try='test -z "$ac_c_werror_flag"
89415 || test ! -s conftest.err'
89416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89417 (eval $ac_try) 2>&5
89418 ac_status=$?
89419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89420 (exit $ac_status); }; } &&
89421 { ac_try='test -s conftest$ac_exeext'
89422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89423 (eval $ac_try) 2>&5
89424 ac_status=$?
89425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89426 (exit $ac_status); }; }; then
89427 eval "$as_ac_var=yes"
89428 else
89429 echo "$as_me: failed program was:" >&5
89430 sed 's/^/| /' conftest.$ac_ext >&5
89432 eval "$as_ac_var=no"
89434 rm -f conftest.err conftest.$ac_objext \
89435 conftest$ac_exeext conftest.$ac_ext
89437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89439 if test `eval echo '${'$as_ac_var'}'` = yes; then
89440 cat >>confdefs.h <<_ACEOF
89441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89442 _ACEOF
89445 done
89455 echo "$as_me:$LINENO: checking for sincos declaration" >&5
89456 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
89457 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
89458 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
89459 echo $ECHO_N "(cached) $ECHO_C" >&6
89460 else
89464 ac_ext=cc
89465 ac_cpp='$CXXCPP $CPPFLAGS'
89466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89470 cat >conftest.$ac_ext <<_ACEOF
89471 /* confdefs.h. */
89472 _ACEOF
89473 cat confdefs.h >>conftest.$ac_ext
89474 cat >>conftest.$ac_ext <<_ACEOF
89475 /* end confdefs.h. */
89476 #include <math.h>
89478 main ()
89480 sincos(0, 0, 0);
89482 return 0;
89484 _ACEOF
89485 rm -f conftest.$ac_objext
89486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89487 (eval $ac_compile) 2>conftest.er1
89488 ac_status=$?
89489 grep -v '^ *+' conftest.er1 >conftest.err
89490 rm -f conftest.er1
89491 cat conftest.err >&5
89492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89493 (exit $ac_status); } &&
89494 { ac_try='test -z "$ac_cxx_werror_flag"
89495 || test ! -s conftest.err'
89496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89497 (eval $ac_try) 2>&5
89498 ac_status=$?
89499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89500 (exit $ac_status); }; } &&
89501 { ac_try='test -s conftest.$ac_objext'
89502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89503 (eval $ac_try) 2>&5
89504 ac_status=$?
89505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89506 (exit $ac_status); }; }; then
89507 glibcxx_cv_func_sincos_use=yes
89508 else
89509 echo "$as_me: failed program was:" >&5
89510 sed 's/^/| /' conftest.$ac_ext >&5
89512 glibcxx_cv_func_sincos_use=no
89514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89515 ac_ext=c
89516 ac_cpp='$CPP $CPPFLAGS'
89517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89525 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
89526 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
89528 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
89530 for ac_func in sincos
89532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89533 echo "$as_me:$LINENO: checking for $ac_func" >&5
89534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89535 if eval "test \"\${$as_ac_var+set}\" = set"; then
89536 echo $ECHO_N "(cached) $ECHO_C" >&6
89537 else
89538 if test x$gcc_no_link = xyes; then
89539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89541 { (exit 1); exit 1; }; }
89543 cat >conftest.$ac_ext <<_ACEOF
89544 /* confdefs.h. */
89545 _ACEOF
89546 cat confdefs.h >>conftest.$ac_ext
89547 cat >>conftest.$ac_ext <<_ACEOF
89548 /* end confdefs.h. */
89549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89551 #define $ac_func innocuous_$ac_func
89553 /* System header to define __stub macros and hopefully few prototypes,
89554 which can conflict with char $ac_func (); below.
89555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89556 <limits.h> exists even on freestanding compilers. */
89558 #ifdef __STDC__
89559 # include <limits.h>
89560 #else
89561 # include <assert.h>
89562 #endif
89564 #undef $ac_func
89566 /* Override any gcc2 internal prototype to avoid an error. */
89567 #ifdef __cplusplus
89568 extern "C"
89570 #endif
89571 /* We use char because int might match the return type of a gcc2
89572 builtin and then its argument prototype would still apply. */
89573 char $ac_func ();
89574 /* The GNU C library defines this for functions which it implements
89575 to always fail with ENOSYS. Some functions are actually named
89576 something starting with __ and the normal name is an alias. */
89577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89578 choke me
89579 #else
89580 char (*f) () = $ac_func;
89581 #endif
89582 #ifdef __cplusplus
89584 #endif
89587 main ()
89589 return f != $ac_func;
89591 return 0;
89593 _ACEOF
89594 rm -f conftest.$ac_objext conftest$ac_exeext
89595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89596 (eval $ac_link) 2>conftest.er1
89597 ac_status=$?
89598 grep -v '^ *+' conftest.er1 >conftest.err
89599 rm -f conftest.er1
89600 cat conftest.err >&5
89601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89602 (exit $ac_status); } &&
89603 { ac_try='test -z "$ac_c_werror_flag"
89604 || test ! -s conftest.err'
89605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89606 (eval $ac_try) 2>&5
89607 ac_status=$?
89608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89609 (exit $ac_status); }; } &&
89610 { ac_try='test -s conftest$ac_exeext'
89611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89612 (eval $ac_try) 2>&5
89613 ac_status=$?
89614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89615 (exit $ac_status); }; }; then
89616 eval "$as_ac_var=yes"
89617 else
89618 echo "$as_me: failed program was:" >&5
89619 sed 's/^/| /' conftest.$ac_ext >&5
89621 eval "$as_ac_var=no"
89623 rm -f conftest.err conftest.$ac_objext \
89624 conftest$ac_exeext conftest.$ac_ext
89626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89628 if test `eval echo '${'$as_ac_var'}'` = yes; then
89629 cat >>confdefs.h <<_ACEOF
89630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89631 _ACEOF
89634 done
89636 else
89638 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
89639 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
89640 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
89641 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
89642 echo $ECHO_N "(cached) $ECHO_C" >&6
89643 else
89647 ac_ext=cc
89648 ac_cpp='$CXXCPP $CPPFLAGS'
89649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89653 cat >conftest.$ac_ext <<_ACEOF
89654 /* confdefs.h. */
89655 _ACEOF
89656 cat confdefs.h >>conftest.$ac_ext
89657 cat >>conftest.$ac_ext <<_ACEOF
89658 /* end confdefs.h. */
89659 #include <math.h>
89661 main ()
89663 _sincos(0, 0, 0);
89665 return 0;
89667 _ACEOF
89668 rm -f conftest.$ac_objext
89669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89670 (eval $ac_compile) 2>conftest.er1
89671 ac_status=$?
89672 grep -v '^ *+' conftest.er1 >conftest.err
89673 rm -f conftest.er1
89674 cat conftest.err >&5
89675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89676 (exit $ac_status); } &&
89677 { ac_try='test -z "$ac_cxx_werror_flag"
89678 || test ! -s conftest.err'
89679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89680 (eval $ac_try) 2>&5
89681 ac_status=$?
89682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89683 (exit $ac_status); }; } &&
89684 { ac_try='test -s conftest.$ac_objext'
89685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89686 (eval $ac_try) 2>&5
89687 ac_status=$?
89688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89689 (exit $ac_status); }; }; then
89690 glibcxx_cv_func__sincos_use=yes
89691 else
89692 echo "$as_me: failed program was:" >&5
89693 sed 's/^/| /' conftest.$ac_ext >&5
89695 glibcxx_cv_func__sincos_use=no
89697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89698 ac_ext=c
89699 ac_cpp='$CPP $CPPFLAGS'
89700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89708 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
89709 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
89711 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
89713 for ac_func in _sincos
89715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89716 echo "$as_me:$LINENO: checking for $ac_func" >&5
89717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89718 if eval "test \"\${$as_ac_var+set}\" = set"; then
89719 echo $ECHO_N "(cached) $ECHO_C" >&6
89720 else
89721 if test x$gcc_no_link = xyes; then
89722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89724 { (exit 1); exit 1; }; }
89726 cat >conftest.$ac_ext <<_ACEOF
89727 /* confdefs.h. */
89728 _ACEOF
89729 cat confdefs.h >>conftest.$ac_ext
89730 cat >>conftest.$ac_ext <<_ACEOF
89731 /* end confdefs.h. */
89732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89734 #define $ac_func innocuous_$ac_func
89736 /* System header to define __stub macros and hopefully few prototypes,
89737 which can conflict with char $ac_func (); below.
89738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89739 <limits.h> exists even on freestanding compilers. */
89741 #ifdef __STDC__
89742 # include <limits.h>
89743 #else
89744 # include <assert.h>
89745 #endif
89747 #undef $ac_func
89749 /* Override any gcc2 internal prototype to avoid an error. */
89750 #ifdef __cplusplus
89751 extern "C"
89753 #endif
89754 /* We use char because int might match the return type of a gcc2
89755 builtin and then its argument prototype would still apply. */
89756 char $ac_func ();
89757 /* The GNU C library defines this for functions which it implements
89758 to always fail with ENOSYS. Some functions are actually named
89759 something starting with __ and the normal name is an alias. */
89760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89761 choke me
89762 #else
89763 char (*f) () = $ac_func;
89764 #endif
89765 #ifdef __cplusplus
89767 #endif
89770 main ()
89772 return f != $ac_func;
89774 return 0;
89776 _ACEOF
89777 rm -f conftest.$ac_objext conftest$ac_exeext
89778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89779 (eval $ac_link) 2>conftest.er1
89780 ac_status=$?
89781 grep -v '^ *+' conftest.er1 >conftest.err
89782 rm -f conftest.er1
89783 cat conftest.err >&5
89784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89785 (exit $ac_status); } &&
89786 { ac_try='test -z "$ac_c_werror_flag"
89787 || test ! -s conftest.err'
89788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89789 (eval $ac_try) 2>&5
89790 ac_status=$?
89791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89792 (exit $ac_status); }; } &&
89793 { ac_try='test -s conftest$ac_exeext'
89794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89795 (eval $ac_try) 2>&5
89796 ac_status=$?
89797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89798 (exit $ac_status); }; }; then
89799 eval "$as_ac_var=yes"
89800 else
89801 echo "$as_me: failed program was:" >&5
89802 sed 's/^/| /' conftest.$ac_ext >&5
89804 eval "$as_ac_var=no"
89806 rm -f conftest.err conftest.$ac_objext \
89807 conftest$ac_exeext conftest.$ac_ext
89809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89811 if test `eval echo '${'$as_ac_var'}'` = yes; then
89812 cat >>confdefs.h <<_ACEOF
89813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89814 _ACEOF
89817 done
89827 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
89828 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
89829 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
89830 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
89831 echo $ECHO_N "(cached) $ECHO_C" >&6
89832 else
89836 ac_ext=cc
89837 ac_cpp='$CXXCPP $CPPFLAGS'
89838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89842 cat >conftest.$ac_ext <<_ACEOF
89843 /* confdefs.h. */
89844 _ACEOF
89845 cat confdefs.h >>conftest.$ac_ext
89846 cat >>conftest.$ac_ext <<_ACEOF
89847 /* end confdefs.h. */
89848 #include <math.h>
89849 #ifdef HAVE_IEEEFP_H
89850 #include <ieeefp.h>
89851 #endif
89854 main ()
89856 fpclass(0);
89858 return 0;
89860 _ACEOF
89861 rm -f conftest.$ac_objext
89862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89863 (eval $ac_compile) 2>conftest.er1
89864 ac_status=$?
89865 grep -v '^ *+' conftest.er1 >conftest.err
89866 rm -f conftest.er1
89867 cat conftest.err >&5
89868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89869 (exit $ac_status); } &&
89870 { ac_try='test -z "$ac_cxx_werror_flag"
89871 || test ! -s conftest.err'
89872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89873 (eval $ac_try) 2>&5
89874 ac_status=$?
89875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89876 (exit $ac_status); }; } &&
89877 { ac_try='test -s conftest.$ac_objext'
89878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89879 (eval $ac_try) 2>&5
89880 ac_status=$?
89881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89882 (exit $ac_status); }; }; then
89883 glibcxx_cv_func_fpclass_use=yes
89884 else
89885 echo "$as_me: failed program was:" >&5
89886 sed 's/^/| /' conftest.$ac_ext >&5
89888 glibcxx_cv_func_fpclass_use=no
89890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89891 ac_ext=c
89892 ac_cpp='$CPP $CPPFLAGS'
89893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89901 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
89902 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
89904 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
89906 for ac_func in fpclass
89908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89909 echo "$as_me:$LINENO: checking for $ac_func" >&5
89910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89911 if eval "test \"\${$as_ac_var+set}\" = set"; then
89912 echo $ECHO_N "(cached) $ECHO_C" >&6
89913 else
89914 if test x$gcc_no_link = xyes; then
89915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89917 { (exit 1); exit 1; }; }
89919 cat >conftest.$ac_ext <<_ACEOF
89920 /* confdefs.h. */
89921 _ACEOF
89922 cat confdefs.h >>conftest.$ac_ext
89923 cat >>conftest.$ac_ext <<_ACEOF
89924 /* end confdefs.h. */
89925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89927 #define $ac_func innocuous_$ac_func
89929 /* System header to define __stub macros and hopefully few prototypes,
89930 which can conflict with char $ac_func (); below.
89931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89932 <limits.h> exists even on freestanding compilers. */
89934 #ifdef __STDC__
89935 # include <limits.h>
89936 #else
89937 # include <assert.h>
89938 #endif
89940 #undef $ac_func
89942 /* Override any gcc2 internal prototype to avoid an error. */
89943 #ifdef __cplusplus
89944 extern "C"
89946 #endif
89947 /* We use char because int might match the return type of a gcc2
89948 builtin and then its argument prototype would still apply. */
89949 char $ac_func ();
89950 /* The GNU C library defines this for functions which it implements
89951 to always fail with ENOSYS. Some functions are actually named
89952 something starting with __ and the normal name is an alias. */
89953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89954 choke me
89955 #else
89956 char (*f) () = $ac_func;
89957 #endif
89958 #ifdef __cplusplus
89960 #endif
89963 main ()
89965 return f != $ac_func;
89967 return 0;
89969 _ACEOF
89970 rm -f conftest.$ac_objext conftest$ac_exeext
89971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89972 (eval $ac_link) 2>conftest.er1
89973 ac_status=$?
89974 grep -v '^ *+' conftest.er1 >conftest.err
89975 rm -f conftest.er1
89976 cat conftest.err >&5
89977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89978 (exit $ac_status); } &&
89979 { ac_try='test -z "$ac_c_werror_flag"
89980 || test ! -s conftest.err'
89981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89982 (eval $ac_try) 2>&5
89983 ac_status=$?
89984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89985 (exit $ac_status); }; } &&
89986 { ac_try='test -s conftest$ac_exeext'
89987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89988 (eval $ac_try) 2>&5
89989 ac_status=$?
89990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89991 (exit $ac_status); }; }; then
89992 eval "$as_ac_var=yes"
89993 else
89994 echo "$as_me: failed program was:" >&5
89995 sed 's/^/| /' conftest.$ac_ext >&5
89997 eval "$as_ac_var=no"
89999 rm -f conftest.err conftest.$ac_objext \
90000 conftest$ac_exeext conftest.$ac_ext
90002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90004 if test `eval echo '${'$as_ac_var'}'` = yes; then
90005 cat >>confdefs.h <<_ACEOF
90006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90007 _ACEOF
90010 done
90012 else
90014 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
90015 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
90016 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
90017 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
90018 echo $ECHO_N "(cached) $ECHO_C" >&6
90019 else
90023 ac_ext=cc
90024 ac_cpp='$CXXCPP $CPPFLAGS'
90025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90029 cat >conftest.$ac_ext <<_ACEOF
90030 /* confdefs.h. */
90031 _ACEOF
90032 cat confdefs.h >>conftest.$ac_ext
90033 cat >>conftest.$ac_ext <<_ACEOF
90034 /* end confdefs.h. */
90035 #include <math.h>
90036 #ifdef HAVE_IEEEFP_H
90037 #include <ieeefp.h>
90038 #endif
90041 main ()
90043 _fpclass(0);
90045 return 0;
90047 _ACEOF
90048 rm -f conftest.$ac_objext
90049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90050 (eval $ac_compile) 2>conftest.er1
90051 ac_status=$?
90052 grep -v '^ *+' conftest.er1 >conftest.err
90053 rm -f conftest.er1
90054 cat conftest.err >&5
90055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90056 (exit $ac_status); } &&
90057 { ac_try='test -z "$ac_cxx_werror_flag"
90058 || test ! -s conftest.err'
90059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90060 (eval $ac_try) 2>&5
90061 ac_status=$?
90062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90063 (exit $ac_status); }; } &&
90064 { ac_try='test -s conftest.$ac_objext'
90065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90066 (eval $ac_try) 2>&5
90067 ac_status=$?
90068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90069 (exit $ac_status); }; }; then
90070 glibcxx_cv_func__fpclass_use=yes
90071 else
90072 echo "$as_me: failed program was:" >&5
90073 sed 's/^/| /' conftest.$ac_ext >&5
90075 glibcxx_cv_func__fpclass_use=no
90077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90078 ac_ext=c
90079 ac_cpp='$CPP $CPPFLAGS'
90080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90088 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
90089 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
90091 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
90093 for ac_func in _fpclass
90095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90096 echo "$as_me:$LINENO: checking for $ac_func" >&5
90097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90098 if eval "test \"\${$as_ac_var+set}\" = set"; then
90099 echo $ECHO_N "(cached) $ECHO_C" >&6
90100 else
90101 if test x$gcc_no_link = xyes; then
90102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90104 { (exit 1); exit 1; }; }
90106 cat >conftest.$ac_ext <<_ACEOF
90107 /* confdefs.h. */
90108 _ACEOF
90109 cat confdefs.h >>conftest.$ac_ext
90110 cat >>conftest.$ac_ext <<_ACEOF
90111 /* end confdefs.h. */
90112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90114 #define $ac_func innocuous_$ac_func
90116 /* System header to define __stub macros and hopefully few prototypes,
90117 which can conflict with char $ac_func (); below.
90118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90119 <limits.h> exists even on freestanding compilers. */
90121 #ifdef __STDC__
90122 # include <limits.h>
90123 #else
90124 # include <assert.h>
90125 #endif
90127 #undef $ac_func
90129 /* Override any gcc2 internal prototype to avoid an error. */
90130 #ifdef __cplusplus
90131 extern "C"
90133 #endif
90134 /* We use char because int might match the return type of a gcc2
90135 builtin and then its argument prototype would still apply. */
90136 char $ac_func ();
90137 /* The GNU C library defines this for functions which it implements
90138 to always fail with ENOSYS. Some functions are actually named
90139 something starting with __ and the normal name is an alias. */
90140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90141 choke me
90142 #else
90143 char (*f) () = $ac_func;
90144 #endif
90145 #ifdef __cplusplus
90147 #endif
90150 main ()
90152 return f != $ac_func;
90154 return 0;
90156 _ACEOF
90157 rm -f conftest.$ac_objext conftest$ac_exeext
90158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90159 (eval $ac_link) 2>conftest.er1
90160 ac_status=$?
90161 grep -v '^ *+' conftest.er1 >conftest.err
90162 rm -f conftest.er1
90163 cat conftest.err >&5
90164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90165 (exit $ac_status); } &&
90166 { ac_try='test -z "$ac_c_werror_flag"
90167 || test ! -s conftest.err'
90168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90169 (eval $ac_try) 2>&5
90170 ac_status=$?
90171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90172 (exit $ac_status); }; } &&
90173 { ac_try='test -s conftest$ac_exeext'
90174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90175 (eval $ac_try) 2>&5
90176 ac_status=$?
90177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90178 (exit $ac_status); }; }; then
90179 eval "$as_ac_var=yes"
90180 else
90181 echo "$as_me: failed program was:" >&5
90182 sed 's/^/| /' conftest.$ac_ext >&5
90184 eval "$as_ac_var=no"
90186 rm -f conftest.err conftest.$ac_objext \
90187 conftest$ac_exeext conftest.$ac_ext
90189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90191 if test `eval echo '${'$as_ac_var'}'` = yes; then
90192 cat >>confdefs.h <<_ACEOF
90193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90194 _ACEOF
90197 done
90207 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
90208 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
90209 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
90210 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
90211 echo $ECHO_N "(cached) $ECHO_C" >&6
90212 else
90216 ac_ext=cc
90217 ac_cpp='$CXXCPP $CPPFLAGS'
90218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90222 cat >conftest.$ac_ext <<_ACEOF
90223 /* confdefs.h. */
90224 _ACEOF
90225 cat confdefs.h >>conftest.$ac_ext
90226 cat >>conftest.$ac_ext <<_ACEOF
90227 /* end confdefs.h. */
90228 #include <math.h>
90229 #ifdef HAVE_IEEEFP_H
90230 #include <ieeefp.h>
90231 #endif
90234 main ()
90236 qfpclass(0);
90238 return 0;
90240 _ACEOF
90241 rm -f conftest.$ac_objext
90242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90243 (eval $ac_compile) 2>conftest.er1
90244 ac_status=$?
90245 grep -v '^ *+' conftest.er1 >conftest.err
90246 rm -f conftest.er1
90247 cat conftest.err >&5
90248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90249 (exit $ac_status); } &&
90250 { ac_try='test -z "$ac_cxx_werror_flag"
90251 || test ! -s conftest.err'
90252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90253 (eval $ac_try) 2>&5
90254 ac_status=$?
90255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90256 (exit $ac_status); }; } &&
90257 { ac_try='test -s conftest.$ac_objext'
90258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90259 (eval $ac_try) 2>&5
90260 ac_status=$?
90261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90262 (exit $ac_status); }; }; then
90263 glibcxx_cv_func_qfpclass_use=yes
90264 else
90265 echo "$as_me: failed program was:" >&5
90266 sed 's/^/| /' conftest.$ac_ext >&5
90268 glibcxx_cv_func_qfpclass_use=no
90270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90271 ac_ext=c
90272 ac_cpp='$CPP $CPPFLAGS'
90273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90281 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
90282 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
90284 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
90286 for ac_func in qfpclass
90288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90289 echo "$as_me:$LINENO: checking for $ac_func" >&5
90290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90291 if eval "test \"\${$as_ac_var+set}\" = set"; then
90292 echo $ECHO_N "(cached) $ECHO_C" >&6
90293 else
90294 if test x$gcc_no_link = xyes; then
90295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90297 { (exit 1); exit 1; }; }
90299 cat >conftest.$ac_ext <<_ACEOF
90300 /* confdefs.h. */
90301 _ACEOF
90302 cat confdefs.h >>conftest.$ac_ext
90303 cat >>conftest.$ac_ext <<_ACEOF
90304 /* end confdefs.h. */
90305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90307 #define $ac_func innocuous_$ac_func
90309 /* System header to define __stub macros and hopefully few prototypes,
90310 which can conflict with char $ac_func (); below.
90311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90312 <limits.h> exists even on freestanding compilers. */
90314 #ifdef __STDC__
90315 # include <limits.h>
90316 #else
90317 # include <assert.h>
90318 #endif
90320 #undef $ac_func
90322 /* Override any gcc2 internal prototype to avoid an error. */
90323 #ifdef __cplusplus
90324 extern "C"
90326 #endif
90327 /* We use char because int might match the return type of a gcc2
90328 builtin and then its argument prototype would still apply. */
90329 char $ac_func ();
90330 /* The GNU C library defines this for functions which it implements
90331 to always fail with ENOSYS. Some functions are actually named
90332 something starting with __ and the normal name is an alias. */
90333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90334 choke me
90335 #else
90336 char (*f) () = $ac_func;
90337 #endif
90338 #ifdef __cplusplus
90340 #endif
90343 main ()
90345 return f != $ac_func;
90347 return 0;
90349 _ACEOF
90350 rm -f conftest.$ac_objext conftest$ac_exeext
90351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90352 (eval $ac_link) 2>conftest.er1
90353 ac_status=$?
90354 grep -v '^ *+' conftest.er1 >conftest.err
90355 rm -f conftest.er1
90356 cat conftest.err >&5
90357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90358 (exit $ac_status); } &&
90359 { ac_try='test -z "$ac_c_werror_flag"
90360 || test ! -s conftest.err'
90361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90362 (eval $ac_try) 2>&5
90363 ac_status=$?
90364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90365 (exit $ac_status); }; } &&
90366 { ac_try='test -s conftest$ac_exeext'
90367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90368 (eval $ac_try) 2>&5
90369 ac_status=$?
90370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90371 (exit $ac_status); }; }; then
90372 eval "$as_ac_var=yes"
90373 else
90374 echo "$as_me: failed program was:" >&5
90375 sed 's/^/| /' conftest.$ac_ext >&5
90377 eval "$as_ac_var=no"
90379 rm -f conftest.err conftest.$ac_objext \
90380 conftest$ac_exeext conftest.$ac_ext
90382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90384 if test `eval echo '${'$as_ac_var'}'` = yes; then
90385 cat >>confdefs.h <<_ACEOF
90386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90387 _ACEOF
90390 done
90392 else
90394 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
90395 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
90396 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
90397 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
90398 echo $ECHO_N "(cached) $ECHO_C" >&6
90399 else
90403 ac_ext=cc
90404 ac_cpp='$CXXCPP $CPPFLAGS'
90405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90409 cat >conftest.$ac_ext <<_ACEOF
90410 /* confdefs.h. */
90411 _ACEOF
90412 cat confdefs.h >>conftest.$ac_ext
90413 cat >>conftest.$ac_ext <<_ACEOF
90414 /* end confdefs.h. */
90415 #include <math.h>
90416 #ifdef HAVE_IEEEFP_H
90417 #include <ieeefp.h>
90418 #endif
90421 main ()
90423 _qfpclass(0);
90425 return 0;
90427 _ACEOF
90428 rm -f conftest.$ac_objext
90429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90430 (eval $ac_compile) 2>conftest.er1
90431 ac_status=$?
90432 grep -v '^ *+' conftest.er1 >conftest.err
90433 rm -f conftest.er1
90434 cat conftest.err >&5
90435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90436 (exit $ac_status); } &&
90437 { ac_try='test -z "$ac_cxx_werror_flag"
90438 || test ! -s conftest.err'
90439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90440 (eval $ac_try) 2>&5
90441 ac_status=$?
90442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90443 (exit $ac_status); }; } &&
90444 { ac_try='test -s conftest.$ac_objext'
90445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90446 (eval $ac_try) 2>&5
90447 ac_status=$?
90448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90449 (exit $ac_status); }; }; then
90450 glibcxx_cv_func__qfpclass_use=yes
90451 else
90452 echo "$as_me: failed program was:" >&5
90453 sed 's/^/| /' conftest.$ac_ext >&5
90455 glibcxx_cv_func__qfpclass_use=no
90457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90458 ac_ext=c
90459 ac_cpp='$CPP $CPPFLAGS'
90460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90468 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
90469 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
90471 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
90473 for ac_func in _qfpclass
90475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90476 echo "$as_me:$LINENO: checking for $ac_func" >&5
90477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90478 if eval "test \"\${$as_ac_var+set}\" = set"; then
90479 echo $ECHO_N "(cached) $ECHO_C" >&6
90480 else
90481 if test x$gcc_no_link = xyes; then
90482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90484 { (exit 1); exit 1; }; }
90486 cat >conftest.$ac_ext <<_ACEOF
90487 /* confdefs.h. */
90488 _ACEOF
90489 cat confdefs.h >>conftest.$ac_ext
90490 cat >>conftest.$ac_ext <<_ACEOF
90491 /* end confdefs.h. */
90492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90494 #define $ac_func innocuous_$ac_func
90496 /* System header to define __stub macros and hopefully few prototypes,
90497 which can conflict with char $ac_func (); below.
90498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90499 <limits.h> exists even on freestanding compilers. */
90501 #ifdef __STDC__
90502 # include <limits.h>
90503 #else
90504 # include <assert.h>
90505 #endif
90507 #undef $ac_func
90509 /* Override any gcc2 internal prototype to avoid an error. */
90510 #ifdef __cplusplus
90511 extern "C"
90513 #endif
90514 /* We use char because int might match the return type of a gcc2
90515 builtin and then its argument prototype would still apply. */
90516 char $ac_func ();
90517 /* The GNU C library defines this for functions which it implements
90518 to always fail with ENOSYS. Some functions are actually named
90519 something starting with __ and the normal name is an alias. */
90520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90521 choke me
90522 #else
90523 char (*f) () = $ac_func;
90524 #endif
90525 #ifdef __cplusplus
90527 #endif
90530 main ()
90532 return f != $ac_func;
90534 return 0;
90536 _ACEOF
90537 rm -f conftest.$ac_objext conftest$ac_exeext
90538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90539 (eval $ac_link) 2>conftest.er1
90540 ac_status=$?
90541 grep -v '^ *+' conftest.er1 >conftest.err
90542 rm -f conftest.er1
90543 cat conftest.err >&5
90544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90545 (exit $ac_status); } &&
90546 { ac_try='test -z "$ac_c_werror_flag"
90547 || test ! -s conftest.err'
90548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90549 (eval $ac_try) 2>&5
90550 ac_status=$?
90551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90552 (exit $ac_status); }; } &&
90553 { ac_try='test -s conftest$ac_exeext'
90554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90555 (eval $ac_try) 2>&5
90556 ac_status=$?
90557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90558 (exit $ac_status); }; }; then
90559 eval "$as_ac_var=yes"
90560 else
90561 echo "$as_me: failed program was:" >&5
90562 sed 's/^/| /' conftest.$ac_ext >&5
90564 eval "$as_ac_var=no"
90566 rm -f conftest.err conftest.$ac_objext \
90567 conftest$ac_exeext conftest.$ac_ext
90569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90571 if test `eval echo '${'$as_ac_var'}'` = yes; then
90572 cat >>confdefs.h <<_ACEOF
90573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90574 _ACEOF
90577 done
90587 echo "$as_me:$LINENO: checking for hypot declaration" >&5
90588 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
90589 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
90590 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
90591 echo $ECHO_N "(cached) $ECHO_C" >&6
90592 else
90596 ac_ext=cc
90597 ac_cpp='$CXXCPP $CPPFLAGS'
90598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90602 cat >conftest.$ac_ext <<_ACEOF
90603 /* confdefs.h. */
90604 _ACEOF
90605 cat confdefs.h >>conftest.$ac_ext
90606 cat >>conftest.$ac_ext <<_ACEOF
90607 /* end confdefs.h. */
90608 #include <math.h>
90610 main ()
90612 hypot(0, 0);
90614 return 0;
90616 _ACEOF
90617 rm -f conftest.$ac_objext
90618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90619 (eval $ac_compile) 2>conftest.er1
90620 ac_status=$?
90621 grep -v '^ *+' conftest.er1 >conftest.err
90622 rm -f conftest.er1
90623 cat conftest.err >&5
90624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90625 (exit $ac_status); } &&
90626 { ac_try='test -z "$ac_cxx_werror_flag"
90627 || test ! -s conftest.err'
90628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90629 (eval $ac_try) 2>&5
90630 ac_status=$?
90631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90632 (exit $ac_status); }; } &&
90633 { ac_try='test -s conftest.$ac_objext'
90634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90635 (eval $ac_try) 2>&5
90636 ac_status=$?
90637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90638 (exit $ac_status); }; }; then
90639 glibcxx_cv_func_hypot_use=yes
90640 else
90641 echo "$as_me: failed program was:" >&5
90642 sed 's/^/| /' conftest.$ac_ext >&5
90644 glibcxx_cv_func_hypot_use=no
90646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90647 ac_ext=c
90648 ac_cpp='$CPP $CPPFLAGS'
90649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90657 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
90658 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
90660 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
90662 for ac_func in hypot
90664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90665 echo "$as_me:$LINENO: checking for $ac_func" >&5
90666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90667 if eval "test \"\${$as_ac_var+set}\" = set"; then
90668 echo $ECHO_N "(cached) $ECHO_C" >&6
90669 else
90670 if test x$gcc_no_link = xyes; then
90671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90673 { (exit 1); exit 1; }; }
90675 cat >conftest.$ac_ext <<_ACEOF
90676 /* confdefs.h. */
90677 _ACEOF
90678 cat confdefs.h >>conftest.$ac_ext
90679 cat >>conftest.$ac_ext <<_ACEOF
90680 /* end confdefs.h. */
90681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90683 #define $ac_func innocuous_$ac_func
90685 /* System header to define __stub macros and hopefully few prototypes,
90686 which can conflict with char $ac_func (); below.
90687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90688 <limits.h> exists even on freestanding compilers. */
90690 #ifdef __STDC__
90691 # include <limits.h>
90692 #else
90693 # include <assert.h>
90694 #endif
90696 #undef $ac_func
90698 /* Override any gcc2 internal prototype to avoid an error. */
90699 #ifdef __cplusplus
90700 extern "C"
90702 #endif
90703 /* We use char because int might match the return type of a gcc2
90704 builtin and then its argument prototype would still apply. */
90705 char $ac_func ();
90706 /* The GNU C library defines this for functions which it implements
90707 to always fail with ENOSYS. Some functions are actually named
90708 something starting with __ and the normal name is an alias. */
90709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90710 choke me
90711 #else
90712 char (*f) () = $ac_func;
90713 #endif
90714 #ifdef __cplusplus
90716 #endif
90719 main ()
90721 return f != $ac_func;
90723 return 0;
90725 _ACEOF
90726 rm -f conftest.$ac_objext conftest$ac_exeext
90727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90728 (eval $ac_link) 2>conftest.er1
90729 ac_status=$?
90730 grep -v '^ *+' conftest.er1 >conftest.err
90731 rm -f conftest.er1
90732 cat conftest.err >&5
90733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90734 (exit $ac_status); } &&
90735 { ac_try='test -z "$ac_c_werror_flag"
90736 || test ! -s conftest.err'
90737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90738 (eval $ac_try) 2>&5
90739 ac_status=$?
90740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90741 (exit $ac_status); }; } &&
90742 { ac_try='test -s conftest$ac_exeext'
90743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90744 (eval $ac_try) 2>&5
90745 ac_status=$?
90746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90747 (exit $ac_status); }; }; then
90748 eval "$as_ac_var=yes"
90749 else
90750 echo "$as_me: failed program was:" >&5
90751 sed 's/^/| /' conftest.$ac_ext >&5
90753 eval "$as_ac_var=no"
90755 rm -f conftest.err conftest.$ac_objext \
90756 conftest$ac_exeext conftest.$ac_ext
90758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90760 if test `eval echo '${'$as_ac_var'}'` = yes; then
90761 cat >>confdefs.h <<_ACEOF
90762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90763 _ACEOF
90766 done
90768 else
90770 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
90771 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
90772 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
90773 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
90774 echo $ECHO_N "(cached) $ECHO_C" >&6
90775 else
90779 ac_ext=cc
90780 ac_cpp='$CXXCPP $CPPFLAGS'
90781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90785 cat >conftest.$ac_ext <<_ACEOF
90786 /* confdefs.h. */
90787 _ACEOF
90788 cat confdefs.h >>conftest.$ac_ext
90789 cat >>conftest.$ac_ext <<_ACEOF
90790 /* end confdefs.h. */
90791 #include <math.h>
90793 main ()
90795 _hypot(0, 0);
90797 return 0;
90799 _ACEOF
90800 rm -f conftest.$ac_objext
90801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90802 (eval $ac_compile) 2>conftest.er1
90803 ac_status=$?
90804 grep -v '^ *+' conftest.er1 >conftest.err
90805 rm -f conftest.er1
90806 cat conftest.err >&5
90807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90808 (exit $ac_status); } &&
90809 { ac_try='test -z "$ac_cxx_werror_flag"
90810 || test ! -s conftest.err'
90811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90812 (eval $ac_try) 2>&5
90813 ac_status=$?
90814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90815 (exit $ac_status); }; } &&
90816 { ac_try='test -s conftest.$ac_objext'
90817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90818 (eval $ac_try) 2>&5
90819 ac_status=$?
90820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90821 (exit $ac_status); }; }; then
90822 glibcxx_cv_func__hypot_use=yes
90823 else
90824 echo "$as_me: failed program was:" >&5
90825 sed 's/^/| /' conftest.$ac_ext >&5
90827 glibcxx_cv_func__hypot_use=no
90829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90830 ac_ext=c
90831 ac_cpp='$CPP $CPPFLAGS'
90832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90840 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
90841 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
90843 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
90845 for ac_func in _hypot
90847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90848 echo "$as_me:$LINENO: checking for $ac_func" >&5
90849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90850 if eval "test \"\${$as_ac_var+set}\" = set"; then
90851 echo $ECHO_N "(cached) $ECHO_C" >&6
90852 else
90853 if test x$gcc_no_link = xyes; then
90854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90856 { (exit 1); exit 1; }; }
90858 cat >conftest.$ac_ext <<_ACEOF
90859 /* confdefs.h. */
90860 _ACEOF
90861 cat confdefs.h >>conftest.$ac_ext
90862 cat >>conftest.$ac_ext <<_ACEOF
90863 /* end confdefs.h. */
90864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90866 #define $ac_func innocuous_$ac_func
90868 /* System header to define __stub macros and hopefully few prototypes,
90869 which can conflict with char $ac_func (); below.
90870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90871 <limits.h> exists even on freestanding compilers. */
90873 #ifdef __STDC__
90874 # include <limits.h>
90875 #else
90876 # include <assert.h>
90877 #endif
90879 #undef $ac_func
90881 /* Override any gcc2 internal prototype to avoid an error. */
90882 #ifdef __cplusplus
90883 extern "C"
90885 #endif
90886 /* We use char because int might match the return type of a gcc2
90887 builtin and then its argument prototype would still apply. */
90888 char $ac_func ();
90889 /* The GNU C library defines this for functions which it implements
90890 to always fail with ENOSYS. Some functions are actually named
90891 something starting with __ and the normal name is an alias. */
90892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90893 choke me
90894 #else
90895 char (*f) () = $ac_func;
90896 #endif
90897 #ifdef __cplusplus
90899 #endif
90902 main ()
90904 return f != $ac_func;
90906 return 0;
90908 _ACEOF
90909 rm -f conftest.$ac_objext conftest$ac_exeext
90910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90911 (eval $ac_link) 2>conftest.er1
90912 ac_status=$?
90913 grep -v '^ *+' conftest.er1 >conftest.err
90914 rm -f conftest.er1
90915 cat conftest.err >&5
90916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90917 (exit $ac_status); } &&
90918 { ac_try='test -z "$ac_c_werror_flag"
90919 || test ! -s conftest.err'
90920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90921 (eval $ac_try) 2>&5
90922 ac_status=$?
90923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90924 (exit $ac_status); }; } &&
90925 { ac_try='test -s conftest$ac_exeext'
90926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90927 (eval $ac_try) 2>&5
90928 ac_status=$?
90929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90930 (exit $ac_status); }; }; then
90931 eval "$as_ac_var=yes"
90932 else
90933 echo "$as_me: failed program was:" >&5
90934 sed 's/^/| /' conftest.$ac_ext >&5
90936 eval "$as_ac_var=no"
90938 rm -f conftest.err conftest.$ac_objext \
90939 conftest$ac_exeext conftest.$ac_ext
90941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90943 if test `eval echo '${'$as_ac_var'}'` = yes; then
90944 cat >>confdefs.h <<_ACEOF
90945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90946 _ACEOF
90949 done
90959 echo "$as_me:$LINENO: checking for float trig functions" >&5
90960 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
90961 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
90962 echo $ECHO_N "(cached) $ECHO_C" >&6
90963 else
90967 ac_ext=cc
90968 ac_cpp='$CXXCPP $CPPFLAGS'
90969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90973 cat >conftest.$ac_ext <<_ACEOF
90974 /* confdefs.h. */
90975 _ACEOF
90976 cat confdefs.h >>conftest.$ac_ext
90977 cat >>conftest.$ac_ext <<_ACEOF
90978 /* end confdefs.h. */
90979 #include <math.h>
90981 main ()
90983 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
90985 return 0;
90987 _ACEOF
90988 rm -f conftest.$ac_objext
90989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90990 (eval $ac_compile) 2>conftest.er1
90991 ac_status=$?
90992 grep -v '^ *+' conftest.er1 >conftest.err
90993 rm -f conftest.er1
90994 cat conftest.err >&5
90995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90996 (exit $ac_status); } &&
90997 { ac_try='test -z "$ac_cxx_werror_flag"
90998 || test ! -s conftest.err'
90999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91000 (eval $ac_try) 2>&5
91001 ac_status=$?
91002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91003 (exit $ac_status); }; } &&
91004 { ac_try='test -s conftest.$ac_objext'
91005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91006 (eval $ac_try) 2>&5
91007 ac_status=$?
91008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91009 (exit $ac_status); }; }; then
91010 glibcxx_cv_func_float_trig_use=yes
91011 else
91012 echo "$as_me: failed program was:" >&5
91013 sed 's/^/| /' conftest.$ac_ext >&5
91015 glibcxx_cv_func_float_trig_use=no
91017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91018 ac_ext=c
91019 ac_cpp='$CPP $CPPFLAGS'
91020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91026 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
91027 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
91028 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
91038 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
91040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91041 echo "$as_me:$LINENO: checking for $ac_func" >&5
91042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91043 if eval "test \"\${$as_ac_var+set}\" = set"; then
91044 echo $ECHO_N "(cached) $ECHO_C" >&6
91045 else
91046 if test x$gcc_no_link = xyes; then
91047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91049 { (exit 1); exit 1; }; }
91051 cat >conftest.$ac_ext <<_ACEOF
91052 /* confdefs.h. */
91053 _ACEOF
91054 cat confdefs.h >>conftest.$ac_ext
91055 cat >>conftest.$ac_ext <<_ACEOF
91056 /* end confdefs.h. */
91057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91059 #define $ac_func innocuous_$ac_func
91061 /* System header to define __stub macros and hopefully few prototypes,
91062 which can conflict with char $ac_func (); below.
91063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91064 <limits.h> exists even on freestanding compilers. */
91066 #ifdef __STDC__
91067 # include <limits.h>
91068 #else
91069 # include <assert.h>
91070 #endif
91072 #undef $ac_func
91074 /* Override any gcc2 internal prototype to avoid an error. */
91075 #ifdef __cplusplus
91076 extern "C"
91078 #endif
91079 /* We use char because int might match the return type of a gcc2
91080 builtin and then its argument prototype would still apply. */
91081 char $ac_func ();
91082 /* The GNU C library defines this for functions which it implements
91083 to always fail with ENOSYS. Some functions are actually named
91084 something starting with __ and the normal name is an alias. */
91085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91086 choke me
91087 #else
91088 char (*f) () = $ac_func;
91089 #endif
91090 #ifdef __cplusplus
91092 #endif
91095 main ()
91097 return f != $ac_func;
91099 return 0;
91101 _ACEOF
91102 rm -f conftest.$ac_objext conftest$ac_exeext
91103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91104 (eval $ac_link) 2>conftest.er1
91105 ac_status=$?
91106 grep -v '^ *+' conftest.er1 >conftest.err
91107 rm -f conftest.er1
91108 cat conftest.err >&5
91109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91110 (exit $ac_status); } &&
91111 { ac_try='test -z "$ac_c_werror_flag"
91112 || test ! -s conftest.err'
91113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91114 (eval $ac_try) 2>&5
91115 ac_status=$?
91116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91117 (exit $ac_status); }; } &&
91118 { ac_try='test -s conftest$ac_exeext'
91119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91120 (eval $ac_try) 2>&5
91121 ac_status=$?
91122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91123 (exit $ac_status); }; }; then
91124 eval "$as_ac_var=yes"
91125 else
91126 echo "$as_me: failed program was:" >&5
91127 sed 's/^/| /' conftest.$ac_ext >&5
91129 eval "$as_ac_var=no"
91131 rm -f conftest.err conftest.$ac_objext \
91132 conftest$ac_exeext conftest.$ac_ext
91134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91136 if test `eval echo '${'$as_ac_var'}'` = yes; then
91137 cat >>confdefs.h <<_ACEOF
91138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91139 _ACEOF
91142 done
91144 else
91145 echo "$as_me:$LINENO: checking for _float trig functions" >&5
91146 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
91147 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
91148 echo $ECHO_N "(cached) $ECHO_C" >&6
91149 else
91153 ac_ext=cc
91154 ac_cpp='$CXXCPP $CPPFLAGS'
91155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91159 cat >conftest.$ac_ext <<_ACEOF
91160 /* confdefs.h. */
91161 _ACEOF
91162 cat confdefs.h >>conftest.$ac_ext
91163 cat >>conftest.$ac_ext <<_ACEOF
91164 /* end confdefs.h. */
91165 #include <math.h>
91167 main ()
91169 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
91171 return 0;
91173 _ACEOF
91174 rm -f conftest.$ac_objext
91175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91176 (eval $ac_compile) 2>conftest.er1
91177 ac_status=$?
91178 grep -v '^ *+' conftest.er1 >conftest.err
91179 rm -f conftest.er1
91180 cat conftest.err >&5
91181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91182 (exit $ac_status); } &&
91183 { ac_try='test -z "$ac_cxx_werror_flag"
91184 || test ! -s conftest.err'
91185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91186 (eval $ac_try) 2>&5
91187 ac_status=$?
91188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91189 (exit $ac_status); }; } &&
91190 { ac_try='test -s conftest.$ac_objext'
91191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91192 (eval $ac_try) 2>&5
91193 ac_status=$?
91194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91195 (exit $ac_status); }; }; then
91196 glibcxx_cv_func__float_trig_use=yes
91197 else
91198 echo "$as_me: failed program was:" >&5
91199 sed 's/^/| /' conftest.$ac_ext >&5
91201 glibcxx_cv_func__float_trig_use=no
91203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91204 ac_ext=c
91205 ac_cpp='$CPP $CPPFLAGS'
91206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91212 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
91213 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
91214 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
91224 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
91226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91227 echo "$as_me:$LINENO: checking for $ac_func" >&5
91228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91229 if eval "test \"\${$as_ac_var+set}\" = set"; then
91230 echo $ECHO_N "(cached) $ECHO_C" >&6
91231 else
91232 if test x$gcc_no_link = xyes; then
91233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91235 { (exit 1); exit 1; }; }
91237 cat >conftest.$ac_ext <<_ACEOF
91238 /* confdefs.h. */
91239 _ACEOF
91240 cat confdefs.h >>conftest.$ac_ext
91241 cat >>conftest.$ac_ext <<_ACEOF
91242 /* end confdefs.h. */
91243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91245 #define $ac_func innocuous_$ac_func
91247 /* System header to define __stub macros and hopefully few prototypes,
91248 which can conflict with char $ac_func (); below.
91249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91250 <limits.h> exists even on freestanding compilers. */
91252 #ifdef __STDC__
91253 # include <limits.h>
91254 #else
91255 # include <assert.h>
91256 #endif
91258 #undef $ac_func
91260 /* Override any gcc2 internal prototype to avoid an error. */
91261 #ifdef __cplusplus
91262 extern "C"
91264 #endif
91265 /* We use char because int might match the return type of a gcc2
91266 builtin and then its argument prototype would still apply. */
91267 char $ac_func ();
91268 /* The GNU C library defines this for functions which it implements
91269 to always fail with ENOSYS. Some functions are actually named
91270 something starting with __ and the normal name is an alias. */
91271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91272 choke me
91273 #else
91274 char (*f) () = $ac_func;
91275 #endif
91276 #ifdef __cplusplus
91278 #endif
91281 main ()
91283 return f != $ac_func;
91285 return 0;
91287 _ACEOF
91288 rm -f conftest.$ac_objext conftest$ac_exeext
91289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91290 (eval $ac_link) 2>conftest.er1
91291 ac_status=$?
91292 grep -v '^ *+' conftest.er1 >conftest.err
91293 rm -f conftest.er1
91294 cat conftest.err >&5
91295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91296 (exit $ac_status); } &&
91297 { ac_try='test -z "$ac_c_werror_flag"
91298 || test ! -s conftest.err'
91299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91300 (eval $ac_try) 2>&5
91301 ac_status=$?
91302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91303 (exit $ac_status); }; } &&
91304 { ac_try='test -s conftest$ac_exeext'
91305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91306 (eval $ac_try) 2>&5
91307 ac_status=$?
91308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91309 (exit $ac_status); }; }; then
91310 eval "$as_ac_var=yes"
91311 else
91312 echo "$as_me: failed program was:" >&5
91313 sed 's/^/| /' conftest.$ac_ext >&5
91315 eval "$as_ac_var=no"
91317 rm -f conftest.err conftest.$ac_objext \
91318 conftest$ac_exeext conftest.$ac_ext
91320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91322 if test `eval echo '${'$as_ac_var'}'` = yes; then
91323 cat >>confdefs.h <<_ACEOF
91324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91325 _ACEOF
91328 done
91346 echo "$as_me:$LINENO: checking for float round functions" >&5
91347 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
91348 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
91349 echo $ECHO_N "(cached) $ECHO_C" >&6
91350 else
91354 ac_ext=cc
91355 ac_cpp='$CXXCPP $CPPFLAGS'
91356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91360 cat >conftest.$ac_ext <<_ACEOF
91361 /* confdefs.h. */
91362 _ACEOF
91363 cat confdefs.h >>conftest.$ac_ext
91364 cat >>conftest.$ac_ext <<_ACEOF
91365 /* end confdefs.h. */
91366 #include <math.h>
91368 main ()
91370 ceilf (0); floorf (0);
91372 return 0;
91374 _ACEOF
91375 rm -f conftest.$ac_objext
91376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91377 (eval $ac_compile) 2>conftest.er1
91378 ac_status=$?
91379 grep -v '^ *+' conftest.er1 >conftest.err
91380 rm -f conftest.er1
91381 cat conftest.err >&5
91382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91383 (exit $ac_status); } &&
91384 { ac_try='test -z "$ac_cxx_werror_flag"
91385 || test ! -s conftest.err'
91386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91387 (eval $ac_try) 2>&5
91388 ac_status=$?
91389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91390 (exit $ac_status); }; } &&
91391 { ac_try='test -s conftest.$ac_objext'
91392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91393 (eval $ac_try) 2>&5
91394 ac_status=$?
91395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91396 (exit $ac_status); }; }; then
91397 glibcxx_cv_func_float_round_use=yes
91398 else
91399 echo "$as_me: failed program was:" >&5
91400 sed 's/^/| /' conftest.$ac_ext >&5
91402 glibcxx_cv_func_float_round_use=no
91404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91405 ac_ext=c
91406 ac_cpp='$CPP $CPPFLAGS'
91407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91413 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
91414 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
91415 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
91418 for ac_func in ceilf floorf
91420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91421 echo "$as_me:$LINENO: checking for $ac_func" >&5
91422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91423 if eval "test \"\${$as_ac_var+set}\" = set"; then
91424 echo $ECHO_N "(cached) $ECHO_C" >&6
91425 else
91426 if test x$gcc_no_link = xyes; then
91427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91429 { (exit 1); exit 1; }; }
91431 cat >conftest.$ac_ext <<_ACEOF
91432 /* confdefs.h. */
91433 _ACEOF
91434 cat confdefs.h >>conftest.$ac_ext
91435 cat >>conftest.$ac_ext <<_ACEOF
91436 /* end confdefs.h. */
91437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91439 #define $ac_func innocuous_$ac_func
91441 /* System header to define __stub macros and hopefully few prototypes,
91442 which can conflict with char $ac_func (); below.
91443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91444 <limits.h> exists even on freestanding compilers. */
91446 #ifdef __STDC__
91447 # include <limits.h>
91448 #else
91449 # include <assert.h>
91450 #endif
91452 #undef $ac_func
91454 /* Override any gcc2 internal prototype to avoid an error. */
91455 #ifdef __cplusplus
91456 extern "C"
91458 #endif
91459 /* We use char because int might match the return type of a gcc2
91460 builtin and then its argument prototype would still apply. */
91461 char $ac_func ();
91462 /* The GNU C library defines this for functions which it implements
91463 to always fail with ENOSYS. Some functions are actually named
91464 something starting with __ and the normal name is an alias. */
91465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91466 choke me
91467 #else
91468 char (*f) () = $ac_func;
91469 #endif
91470 #ifdef __cplusplus
91472 #endif
91475 main ()
91477 return f != $ac_func;
91479 return 0;
91481 _ACEOF
91482 rm -f conftest.$ac_objext conftest$ac_exeext
91483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91484 (eval $ac_link) 2>conftest.er1
91485 ac_status=$?
91486 grep -v '^ *+' conftest.er1 >conftest.err
91487 rm -f conftest.er1
91488 cat conftest.err >&5
91489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91490 (exit $ac_status); } &&
91491 { ac_try='test -z "$ac_c_werror_flag"
91492 || test ! -s conftest.err'
91493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91494 (eval $ac_try) 2>&5
91495 ac_status=$?
91496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91497 (exit $ac_status); }; } &&
91498 { ac_try='test -s conftest$ac_exeext'
91499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91500 (eval $ac_try) 2>&5
91501 ac_status=$?
91502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91503 (exit $ac_status); }; }; then
91504 eval "$as_ac_var=yes"
91505 else
91506 echo "$as_me: failed program was:" >&5
91507 sed 's/^/| /' conftest.$ac_ext >&5
91509 eval "$as_ac_var=no"
91511 rm -f conftest.err conftest.$ac_objext \
91512 conftest$ac_exeext conftest.$ac_ext
91514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91516 if test `eval echo '${'$as_ac_var'}'` = yes; then
91517 cat >>confdefs.h <<_ACEOF
91518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91519 _ACEOF
91522 done
91524 else
91525 echo "$as_me:$LINENO: checking for _float round functions" >&5
91526 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
91527 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
91528 echo $ECHO_N "(cached) $ECHO_C" >&6
91529 else
91533 ac_ext=cc
91534 ac_cpp='$CXXCPP $CPPFLAGS'
91535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91539 cat >conftest.$ac_ext <<_ACEOF
91540 /* confdefs.h. */
91541 _ACEOF
91542 cat confdefs.h >>conftest.$ac_ext
91543 cat >>conftest.$ac_ext <<_ACEOF
91544 /* end confdefs.h. */
91545 #include <math.h>
91547 main ()
91549 _ceilf (0); _floorf (0);
91551 return 0;
91553 _ACEOF
91554 rm -f conftest.$ac_objext
91555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91556 (eval $ac_compile) 2>conftest.er1
91557 ac_status=$?
91558 grep -v '^ *+' conftest.er1 >conftest.err
91559 rm -f conftest.er1
91560 cat conftest.err >&5
91561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91562 (exit $ac_status); } &&
91563 { ac_try='test -z "$ac_cxx_werror_flag"
91564 || test ! -s conftest.err'
91565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91566 (eval $ac_try) 2>&5
91567 ac_status=$?
91568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91569 (exit $ac_status); }; } &&
91570 { ac_try='test -s conftest.$ac_objext'
91571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91572 (eval $ac_try) 2>&5
91573 ac_status=$?
91574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91575 (exit $ac_status); }; }; then
91576 glibcxx_cv_func__float_round_use=yes
91577 else
91578 echo "$as_me: failed program was:" >&5
91579 sed 's/^/| /' conftest.$ac_ext >&5
91581 glibcxx_cv_func__float_round_use=no
91583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91584 ac_ext=c
91585 ac_cpp='$CPP $CPPFLAGS'
91586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91592 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
91593 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
91594 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
91597 for ac_func in _ceilf _floorf
91599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91600 echo "$as_me:$LINENO: checking for $ac_func" >&5
91601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91602 if eval "test \"\${$as_ac_var+set}\" = set"; then
91603 echo $ECHO_N "(cached) $ECHO_C" >&6
91604 else
91605 if test x$gcc_no_link = xyes; then
91606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91608 { (exit 1); exit 1; }; }
91610 cat >conftest.$ac_ext <<_ACEOF
91611 /* confdefs.h. */
91612 _ACEOF
91613 cat confdefs.h >>conftest.$ac_ext
91614 cat >>conftest.$ac_ext <<_ACEOF
91615 /* end confdefs.h. */
91616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91618 #define $ac_func innocuous_$ac_func
91620 /* System header to define __stub macros and hopefully few prototypes,
91621 which can conflict with char $ac_func (); below.
91622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91623 <limits.h> exists even on freestanding compilers. */
91625 #ifdef __STDC__
91626 # include <limits.h>
91627 #else
91628 # include <assert.h>
91629 #endif
91631 #undef $ac_func
91633 /* Override any gcc2 internal prototype to avoid an error. */
91634 #ifdef __cplusplus
91635 extern "C"
91637 #endif
91638 /* We use char because int might match the return type of a gcc2
91639 builtin and then its argument prototype would still apply. */
91640 char $ac_func ();
91641 /* The GNU C library defines this for functions which it implements
91642 to always fail with ENOSYS. Some functions are actually named
91643 something starting with __ and the normal name is an alias. */
91644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91645 choke me
91646 #else
91647 char (*f) () = $ac_func;
91648 #endif
91649 #ifdef __cplusplus
91651 #endif
91654 main ()
91656 return f != $ac_func;
91658 return 0;
91660 _ACEOF
91661 rm -f conftest.$ac_objext conftest$ac_exeext
91662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91663 (eval $ac_link) 2>conftest.er1
91664 ac_status=$?
91665 grep -v '^ *+' conftest.er1 >conftest.err
91666 rm -f conftest.er1
91667 cat conftest.err >&5
91668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91669 (exit $ac_status); } &&
91670 { ac_try='test -z "$ac_c_werror_flag"
91671 || test ! -s conftest.err'
91672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91673 (eval $ac_try) 2>&5
91674 ac_status=$?
91675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91676 (exit $ac_status); }; } &&
91677 { ac_try='test -s conftest$ac_exeext'
91678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91679 (eval $ac_try) 2>&5
91680 ac_status=$?
91681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91682 (exit $ac_status); }; }; then
91683 eval "$as_ac_var=yes"
91684 else
91685 echo "$as_me: failed program was:" >&5
91686 sed 's/^/| /' conftest.$ac_ext >&5
91688 eval "$as_ac_var=no"
91690 rm -f conftest.err conftest.$ac_objext \
91691 conftest$ac_exeext conftest.$ac_ext
91693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91695 if test `eval echo '${'$as_ac_var'}'` = yes; then
91696 cat >>confdefs.h <<_ACEOF
91697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91698 _ACEOF
91701 done
91713 echo "$as_me:$LINENO: checking for expf declaration" >&5
91714 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
91715 if test x${glibcxx_cv_func_expf_use+set} != xset; then
91716 if test "${glibcxx_cv_func_expf_use+set}" = set; then
91717 echo $ECHO_N "(cached) $ECHO_C" >&6
91718 else
91722 ac_ext=cc
91723 ac_cpp='$CXXCPP $CPPFLAGS'
91724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91728 cat >conftest.$ac_ext <<_ACEOF
91729 /* confdefs.h. */
91730 _ACEOF
91731 cat confdefs.h >>conftest.$ac_ext
91732 cat >>conftest.$ac_ext <<_ACEOF
91733 /* end confdefs.h. */
91734 #include <math.h>
91735 #ifdef HAVE_IEEEFP_H
91736 #include <ieeefp.h>
91737 #endif
91740 main ()
91742 expf(0);
91744 return 0;
91746 _ACEOF
91747 rm -f conftest.$ac_objext
91748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91749 (eval $ac_compile) 2>conftest.er1
91750 ac_status=$?
91751 grep -v '^ *+' conftest.er1 >conftest.err
91752 rm -f conftest.er1
91753 cat conftest.err >&5
91754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91755 (exit $ac_status); } &&
91756 { ac_try='test -z "$ac_cxx_werror_flag"
91757 || test ! -s conftest.err'
91758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91759 (eval $ac_try) 2>&5
91760 ac_status=$?
91761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91762 (exit $ac_status); }; } &&
91763 { ac_try='test -s conftest.$ac_objext'
91764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91765 (eval $ac_try) 2>&5
91766 ac_status=$?
91767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91768 (exit $ac_status); }; }; then
91769 glibcxx_cv_func_expf_use=yes
91770 else
91771 echo "$as_me: failed program was:" >&5
91772 sed 's/^/| /' conftest.$ac_ext >&5
91774 glibcxx_cv_func_expf_use=no
91776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91777 ac_ext=c
91778 ac_cpp='$CPP $CPPFLAGS'
91779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91787 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
91788 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
91790 if test x$glibcxx_cv_func_expf_use = x"yes"; then
91792 for ac_func in expf
91794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91795 echo "$as_me:$LINENO: checking for $ac_func" >&5
91796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91797 if eval "test \"\${$as_ac_var+set}\" = set"; then
91798 echo $ECHO_N "(cached) $ECHO_C" >&6
91799 else
91800 if test x$gcc_no_link = xyes; then
91801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91803 { (exit 1); exit 1; }; }
91805 cat >conftest.$ac_ext <<_ACEOF
91806 /* confdefs.h. */
91807 _ACEOF
91808 cat confdefs.h >>conftest.$ac_ext
91809 cat >>conftest.$ac_ext <<_ACEOF
91810 /* end confdefs.h. */
91811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91813 #define $ac_func innocuous_$ac_func
91815 /* System header to define __stub macros and hopefully few prototypes,
91816 which can conflict with char $ac_func (); below.
91817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91818 <limits.h> exists even on freestanding compilers. */
91820 #ifdef __STDC__
91821 # include <limits.h>
91822 #else
91823 # include <assert.h>
91824 #endif
91826 #undef $ac_func
91828 /* Override any gcc2 internal prototype to avoid an error. */
91829 #ifdef __cplusplus
91830 extern "C"
91832 #endif
91833 /* We use char because int might match the return type of a gcc2
91834 builtin and then its argument prototype would still apply. */
91835 char $ac_func ();
91836 /* The GNU C library defines this for functions which it implements
91837 to always fail with ENOSYS. Some functions are actually named
91838 something starting with __ and the normal name is an alias. */
91839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91840 choke me
91841 #else
91842 char (*f) () = $ac_func;
91843 #endif
91844 #ifdef __cplusplus
91846 #endif
91849 main ()
91851 return f != $ac_func;
91853 return 0;
91855 _ACEOF
91856 rm -f conftest.$ac_objext conftest$ac_exeext
91857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91858 (eval $ac_link) 2>conftest.er1
91859 ac_status=$?
91860 grep -v '^ *+' conftest.er1 >conftest.err
91861 rm -f conftest.er1
91862 cat conftest.err >&5
91863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91864 (exit $ac_status); } &&
91865 { ac_try='test -z "$ac_c_werror_flag"
91866 || test ! -s conftest.err'
91867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91868 (eval $ac_try) 2>&5
91869 ac_status=$?
91870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91871 (exit $ac_status); }; } &&
91872 { ac_try='test -s conftest$ac_exeext'
91873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91874 (eval $ac_try) 2>&5
91875 ac_status=$?
91876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91877 (exit $ac_status); }; }; then
91878 eval "$as_ac_var=yes"
91879 else
91880 echo "$as_me: failed program was:" >&5
91881 sed 's/^/| /' conftest.$ac_ext >&5
91883 eval "$as_ac_var=no"
91885 rm -f conftest.err conftest.$ac_objext \
91886 conftest$ac_exeext conftest.$ac_ext
91888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91890 if test `eval echo '${'$as_ac_var'}'` = yes; then
91891 cat >>confdefs.h <<_ACEOF
91892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91893 _ACEOF
91896 done
91898 else
91900 echo "$as_me:$LINENO: checking for _expf declaration" >&5
91901 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
91902 if test x${glibcxx_cv_func__expf_use+set} != xset; then
91903 if test "${glibcxx_cv_func__expf_use+set}" = set; then
91904 echo $ECHO_N "(cached) $ECHO_C" >&6
91905 else
91909 ac_ext=cc
91910 ac_cpp='$CXXCPP $CPPFLAGS'
91911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91915 cat >conftest.$ac_ext <<_ACEOF
91916 /* confdefs.h. */
91917 _ACEOF
91918 cat confdefs.h >>conftest.$ac_ext
91919 cat >>conftest.$ac_ext <<_ACEOF
91920 /* end confdefs.h. */
91921 #include <math.h>
91922 #ifdef HAVE_IEEEFP_H
91923 #include <ieeefp.h>
91924 #endif
91927 main ()
91929 _expf(0);
91931 return 0;
91933 _ACEOF
91934 rm -f conftest.$ac_objext
91935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91936 (eval $ac_compile) 2>conftest.er1
91937 ac_status=$?
91938 grep -v '^ *+' conftest.er1 >conftest.err
91939 rm -f conftest.er1
91940 cat conftest.err >&5
91941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91942 (exit $ac_status); } &&
91943 { ac_try='test -z "$ac_cxx_werror_flag"
91944 || test ! -s conftest.err'
91945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91946 (eval $ac_try) 2>&5
91947 ac_status=$?
91948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91949 (exit $ac_status); }; } &&
91950 { ac_try='test -s conftest.$ac_objext'
91951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91952 (eval $ac_try) 2>&5
91953 ac_status=$?
91954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91955 (exit $ac_status); }; }; then
91956 glibcxx_cv_func__expf_use=yes
91957 else
91958 echo "$as_me: failed program was:" >&5
91959 sed 's/^/| /' conftest.$ac_ext >&5
91961 glibcxx_cv_func__expf_use=no
91963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91964 ac_ext=c
91965 ac_cpp='$CPP $CPPFLAGS'
91966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91974 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
91975 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
91977 if test x$glibcxx_cv_func__expf_use = x"yes"; then
91979 for ac_func in _expf
91981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91982 echo "$as_me:$LINENO: checking for $ac_func" >&5
91983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91984 if eval "test \"\${$as_ac_var+set}\" = set"; then
91985 echo $ECHO_N "(cached) $ECHO_C" >&6
91986 else
91987 if test x$gcc_no_link = xyes; then
91988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91990 { (exit 1); exit 1; }; }
91992 cat >conftest.$ac_ext <<_ACEOF
91993 /* confdefs.h. */
91994 _ACEOF
91995 cat confdefs.h >>conftest.$ac_ext
91996 cat >>conftest.$ac_ext <<_ACEOF
91997 /* end confdefs.h. */
91998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92000 #define $ac_func innocuous_$ac_func
92002 /* System header to define __stub macros and hopefully few prototypes,
92003 which can conflict with char $ac_func (); below.
92004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92005 <limits.h> exists even on freestanding compilers. */
92007 #ifdef __STDC__
92008 # include <limits.h>
92009 #else
92010 # include <assert.h>
92011 #endif
92013 #undef $ac_func
92015 /* Override any gcc2 internal prototype to avoid an error. */
92016 #ifdef __cplusplus
92017 extern "C"
92019 #endif
92020 /* We use char because int might match the return type of a gcc2
92021 builtin and then its argument prototype would still apply. */
92022 char $ac_func ();
92023 /* The GNU C library defines this for functions which it implements
92024 to always fail with ENOSYS. Some functions are actually named
92025 something starting with __ and the normal name is an alias. */
92026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92027 choke me
92028 #else
92029 char (*f) () = $ac_func;
92030 #endif
92031 #ifdef __cplusplus
92033 #endif
92036 main ()
92038 return f != $ac_func;
92040 return 0;
92042 _ACEOF
92043 rm -f conftest.$ac_objext conftest$ac_exeext
92044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92045 (eval $ac_link) 2>conftest.er1
92046 ac_status=$?
92047 grep -v '^ *+' conftest.er1 >conftest.err
92048 rm -f conftest.er1
92049 cat conftest.err >&5
92050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92051 (exit $ac_status); } &&
92052 { ac_try='test -z "$ac_c_werror_flag"
92053 || test ! -s conftest.err'
92054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92055 (eval $ac_try) 2>&5
92056 ac_status=$?
92057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92058 (exit $ac_status); }; } &&
92059 { ac_try='test -s conftest$ac_exeext'
92060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92061 (eval $ac_try) 2>&5
92062 ac_status=$?
92063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92064 (exit $ac_status); }; }; then
92065 eval "$as_ac_var=yes"
92066 else
92067 echo "$as_me: failed program was:" >&5
92068 sed 's/^/| /' conftest.$ac_ext >&5
92070 eval "$as_ac_var=no"
92072 rm -f conftest.err conftest.$ac_objext \
92073 conftest$ac_exeext conftest.$ac_ext
92075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92077 if test `eval echo '${'$as_ac_var'}'` = yes; then
92078 cat >>confdefs.h <<_ACEOF
92079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92080 _ACEOF
92083 done
92093 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
92094 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
92095 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
92096 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
92097 echo $ECHO_N "(cached) $ECHO_C" >&6
92098 else
92102 ac_ext=cc
92103 ac_cpp='$CXXCPP $CPPFLAGS'
92104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92108 cat >conftest.$ac_ext <<_ACEOF
92109 /* confdefs.h. */
92110 _ACEOF
92111 cat confdefs.h >>conftest.$ac_ext
92112 cat >>conftest.$ac_ext <<_ACEOF
92113 /* end confdefs.h. */
92114 #include <math.h>
92115 #ifdef HAVE_IEEEFP_H
92116 #include <ieeefp.h>
92117 #endif
92120 main ()
92122 isnanf(0);
92124 return 0;
92126 _ACEOF
92127 rm -f conftest.$ac_objext
92128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92129 (eval $ac_compile) 2>conftest.er1
92130 ac_status=$?
92131 grep -v '^ *+' conftest.er1 >conftest.err
92132 rm -f conftest.er1
92133 cat conftest.err >&5
92134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92135 (exit $ac_status); } &&
92136 { ac_try='test -z "$ac_cxx_werror_flag"
92137 || test ! -s conftest.err'
92138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92139 (eval $ac_try) 2>&5
92140 ac_status=$?
92141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92142 (exit $ac_status); }; } &&
92143 { ac_try='test -s conftest.$ac_objext'
92144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92145 (eval $ac_try) 2>&5
92146 ac_status=$?
92147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92148 (exit $ac_status); }; }; then
92149 glibcxx_cv_func_isnanf_use=yes
92150 else
92151 echo "$as_me: failed program was:" >&5
92152 sed 's/^/| /' conftest.$ac_ext >&5
92154 glibcxx_cv_func_isnanf_use=no
92156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92157 ac_ext=c
92158 ac_cpp='$CPP $CPPFLAGS'
92159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92167 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
92168 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
92170 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
92172 for ac_func in isnanf
92174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92175 echo "$as_me:$LINENO: checking for $ac_func" >&5
92176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92177 if eval "test \"\${$as_ac_var+set}\" = set"; then
92178 echo $ECHO_N "(cached) $ECHO_C" >&6
92179 else
92180 if test x$gcc_no_link = xyes; then
92181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92183 { (exit 1); exit 1; }; }
92185 cat >conftest.$ac_ext <<_ACEOF
92186 /* confdefs.h. */
92187 _ACEOF
92188 cat confdefs.h >>conftest.$ac_ext
92189 cat >>conftest.$ac_ext <<_ACEOF
92190 /* end confdefs.h. */
92191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92193 #define $ac_func innocuous_$ac_func
92195 /* System header to define __stub macros and hopefully few prototypes,
92196 which can conflict with char $ac_func (); below.
92197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92198 <limits.h> exists even on freestanding compilers. */
92200 #ifdef __STDC__
92201 # include <limits.h>
92202 #else
92203 # include <assert.h>
92204 #endif
92206 #undef $ac_func
92208 /* Override any gcc2 internal prototype to avoid an error. */
92209 #ifdef __cplusplus
92210 extern "C"
92212 #endif
92213 /* We use char because int might match the return type of a gcc2
92214 builtin and then its argument prototype would still apply. */
92215 char $ac_func ();
92216 /* The GNU C library defines this for functions which it implements
92217 to always fail with ENOSYS. Some functions are actually named
92218 something starting with __ and the normal name is an alias. */
92219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92220 choke me
92221 #else
92222 char (*f) () = $ac_func;
92223 #endif
92224 #ifdef __cplusplus
92226 #endif
92229 main ()
92231 return f != $ac_func;
92233 return 0;
92235 _ACEOF
92236 rm -f conftest.$ac_objext conftest$ac_exeext
92237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92238 (eval $ac_link) 2>conftest.er1
92239 ac_status=$?
92240 grep -v '^ *+' conftest.er1 >conftest.err
92241 rm -f conftest.er1
92242 cat conftest.err >&5
92243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92244 (exit $ac_status); } &&
92245 { ac_try='test -z "$ac_c_werror_flag"
92246 || test ! -s conftest.err'
92247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92248 (eval $ac_try) 2>&5
92249 ac_status=$?
92250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92251 (exit $ac_status); }; } &&
92252 { ac_try='test -s conftest$ac_exeext'
92253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92254 (eval $ac_try) 2>&5
92255 ac_status=$?
92256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92257 (exit $ac_status); }; }; then
92258 eval "$as_ac_var=yes"
92259 else
92260 echo "$as_me: failed program was:" >&5
92261 sed 's/^/| /' conftest.$ac_ext >&5
92263 eval "$as_ac_var=no"
92265 rm -f conftest.err conftest.$ac_objext \
92266 conftest$ac_exeext conftest.$ac_ext
92268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92270 if test `eval echo '${'$as_ac_var'}'` = yes; then
92271 cat >>confdefs.h <<_ACEOF
92272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92273 _ACEOF
92276 done
92278 else
92280 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
92281 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
92282 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
92283 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
92284 echo $ECHO_N "(cached) $ECHO_C" >&6
92285 else
92289 ac_ext=cc
92290 ac_cpp='$CXXCPP $CPPFLAGS'
92291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92295 cat >conftest.$ac_ext <<_ACEOF
92296 /* confdefs.h. */
92297 _ACEOF
92298 cat confdefs.h >>conftest.$ac_ext
92299 cat >>conftest.$ac_ext <<_ACEOF
92300 /* end confdefs.h. */
92301 #include <math.h>
92302 #ifdef HAVE_IEEEFP_H
92303 #include <ieeefp.h>
92304 #endif
92307 main ()
92309 _isnanf(0);
92311 return 0;
92313 _ACEOF
92314 rm -f conftest.$ac_objext
92315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92316 (eval $ac_compile) 2>conftest.er1
92317 ac_status=$?
92318 grep -v '^ *+' conftest.er1 >conftest.err
92319 rm -f conftest.er1
92320 cat conftest.err >&5
92321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92322 (exit $ac_status); } &&
92323 { ac_try='test -z "$ac_cxx_werror_flag"
92324 || test ! -s conftest.err'
92325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92326 (eval $ac_try) 2>&5
92327 ac_status=$?
92328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92329 (exit $ac_status); }; } &&
92330 { ac_try='test -s conftest.$ac_objext'
92331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92332 (eval $ac_try) 2>&5
92333 ac_status=$?
92334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92335 (exit $ac_status); }; }; then
92336 glibcxx_cv_func__isnanf_use=yes
92337 else
92338 echo "$as_me: failed program was:" >&5
92339 sed 's/^/| /' conftest.$ac_ext >&5
92341 glibcxx_cv_func__isnanf_use=no
92343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92344 ac_ext=c
92345 ac_cpp='$CPP $CPPFLAGS'
92346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92354 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
92355 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
92357 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
92359 for ac_func in _isnanf
92361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92362 echo "$as_me:$LINENO: checking for $ac_func" >&5
92363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92364 if eval "test \"\${$as_ac_var+set}\" = set"; then
92365 echo $ECHO_N "(cached) $ECHO_C" >&6
92366 else
92367 if test x$gcc_no_link = xyes; then
92368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92370 { (exit 1); exit 1; }; }
92372 cat >conftest.$ac_ext <<_ACEOF
92373 /* confdefs.h. */
92374 _ACEOF
92375 cat confdefs.h >>conftest.$ac_ext
92376 cat >>conftest.$ac_ext <<_ACEOF
92377 /* end confdefs.h. */
92378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92380 #define $ac_func innocuous_$ac_func
92382 /* System header to define __stub macros and hopefully few prototypes,
92383 which can conflict with char $ac_func (); below.
92384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92385 <limits.h> exists even on freestanding compilers. */
92387 #ifdef __STDC__
92388 # include <limits.h>
92389 #else
92390 # include <assert.h>
92391 #endif
92393 #undef $ac_func
92395 /* Override any gcc2 internal prototype to avoid an error. */
92396 #ifdef __cplusplus
92397 extern "C"
92399 #endif
92400 /* We use char because int might match the return type of a gcc2
92401 builtin and then its argument prototype would still apply. */
92402 char $ac_func ();
92403 /* The GNU C library defines this for functions which it implements
92404 to always fail with ENOSYS. Some functions are actually named
92405 something starting with __ and the normal name is an alias. */
92406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92407 choke me
92408 #else
92409 char (*f) () = $ac_func;
92410 #endif
92411 #ifdef __cplusplus
92413 #endif
92416 main ()
92418 return f != $ac_func;
92420 return 0;
92422 _ACEOF
92423 rm -f conftest.$ac_objext conftest$ac_exeext
92424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92425 (eval $ac_link) 2>conftest.er1
92426 ac_status=$?
92427 grep -v '^ *+' conftest.er1 >conftest.err
92428 rm -f conftest.er1
92429 cat conftest.err >&5
92430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92431 (exit $ac_status); } &&
92432 { ac_try='test -z "$ac_c_werror_flag"
92433 || test ! -s conftest.err'
92434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92435 (eval $ac_try) 2>&5
92436 ac_status=$?
92437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92438 (exit $ac_status); }; } &&
92439 { ac_try='test -s conftest$ac_exeext'
92440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92441 (eval $ac_try) 2>&5
92442 ac_status=$?
92443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92444 (exit $ac_status); }; }; then
92445 eval "$as_ac_var=yes"
92446 else
92447 echo "$as_me: failed program was:" >&5
92448 sed 's/^/| /' conftest.$ac_ext >&5
92450 eval "$as_ac_var=no"
92452 rm -f conftest.err conftest.$ac_objext \
92453 conftest$ac_exeext conftest.$ac_ext
92455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92457 if test `eval echo '${'$as_ac_var'}'` = yes; then
92458 cat >>confdefs.h <<_ACEOF
92459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92460 _ACEOF
92463 done
92473 echo "$as_me:$LINENO: checking for isinff declaration" >&5
92474 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
92475 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
92476 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
92477 echo $ECHO_N "(cached) $ECHO_C" >&6
92478 else
92482 ac_ext=cc
92483 ac_cpp='$CXXCPP $CPPFLAGS'
92484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92488 cat >conftest.$ac_ext <<_ACEOF
92489 /* confdefs.h. */
92490 _ACEOF
92491 cat confdefs.h >>conftest.$ac_ext
92492 cat >>conftest.$ac_ext <<_ACEOF
92493 /* end confdefs.h. */
92494 #include <math.h>
92495 #ifdef HAVE_IEEEFP_H
92496 #include <ieeefp.h>
92497 #endif
92500 main ()
92502 isinff(0);
92504 return 0;
92506 _ACEOF
92507 rm -f conftest.$ac_objext
92508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92509 (eval $ac_compile) 2>conftest.er1
92510 ac_status=$?
92511 grep -v '^ *+' conftest.er1 >conftest.err
92512 rm -f conftest.er1
92513 cat conftest.err >&5
92514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92515 (exit $ac_status); } &&
92516 { ac_try='test -z "$ac_cxx_werror_flag"
92517 || test ! -s conftest.err'
92518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92519 (eval $ac_try) 2>&5
92520 ac_status=$?
92521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92522 (exit $ac_status); }; } &&
92523 { ac_try='test -s conftest.$ac_objext'
92524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92525 (eval $ac_try) 2>&5
92526 ac_status=$?
92527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92528 (exit $ac_status); }; }; then
92529 glibcxx_cv_func_isinff_use=yes
92530 else
92531 echo "$as_me: failed program was:" >&5
92532 sed 's/^/| /' conftest.$ac_ext >&5
92534 glibcxx_cv_func_isinff_use=no
92536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92537 ac_ext=c
92538 ac_cpp='$CPP $CPPFLAGS'
92539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92547 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
92548 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
92550 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
92552 for ac_func in isinff
92554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92555 echo "$as_me:$LINENO: checking for $ac_func" >&5
92556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92557 if eval "test \"\${$as_ac_var+set}\" = set"; then
92558 echo $ECHO_N "(cached) $ECHO_C" >&6
92559 else
92560 if test x$gcc_no_link = xyes; then
92561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92563 { (exit 1); exit 1; }; }
92565 cat >conftest.$ac_ext <<_ACEOF
92566 /* confdefs.h. */
92567 _ACEOF
92568 cat confdefs.h >>conftest.$ac_ext
92569 cat >>conftest.$ac_ext <<_ACEOF
92570 /* end confdefs.h. */
92571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92573 #define $ac_func innocuous_$ac_func
92575 /* System header to define __stub macros and hopefully few prototypes,
92576 which can conflict with char $ac_func (); below.
92577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92578 <limits.h> exists even on freestanding compilers. */
92580 #ifdef __STDC__
92581 # include <limits.h>
92582 #else
92583 # include <assert.h>
92584 #endif
92586 #undef $ac_func
92588 /* Override any gcc2 internal prototype to avoid an error. */
92589 #ifdef __cplusplus
92590 extern "C"
92592 #endif
92593 /* We use char because int might match the return type of a gcc2
92594 builtin and then its argument prototype would still apply. */
92595 char $ac_func ();
92596 /* The GNU C library defines this for functions which it implements
92597 to always fail with ENOSYS. Some functions are actually named
92598 something starting with __ and the normal name is an alias. */
92599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92600 choke me
92601 #else
92602 char (*f) () = $ac_func;
92603 #endif
92604 #ifdef __cplusplus
92606 #endif
92609 main ()
92611 return f != $ac_func;
92613 return 0;
92615 _ACEOF
92616 rm -f conftest.$ac_objext conftest$ac_exeext
92617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92618 (eval $ac_link) 2>conftest.er1
92619 ac_status=$?
92620 grep -v '^ *+' conftest.er1 >conftest.err
92621 rm -f conftest.er1
92622 cat conftest.err >&5
92623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92624 (exit $ac_status); } &&
92625 { ac_try='test -z "$ac_c_werror_flag"
92626 || test ! -s conftest.err'
92627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92628 (eval $ac_try) 2>&5
92629 ac_status=$?
92630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92631 (exit $ac_status); }; } &&
92632 { ac_try='test -s conftest$ac_exeext'
92633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92634 (eval $ac_try) 2>&5
92635 ac_status=$?
92636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92637 (exit $ac_status); }; }; then
92638 eval "$as_ac_var=yes"
92639 else
92640 echo "$as_me: failed program was:" >&5
92641 sed 's/^/| /' conftest.$ac_ext >&5
92643 eval "$as_ac_var=no"
92645 rm -f conftest.err conftest.$ac_objext \
92646 conftest$ac_exeext conftest.$ac_ext
92648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92650 if test `eval echo '${'$as_ac_var'}'` = yes; then
92651 cat >>confdefs.h <<_ACEOF
92652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92653 _ACEOF
92656 done
92658 else
92660 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
92661 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
92662 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
92663 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
92664 echo $ECHO_N "(cached) $ECHO_C" >&6
92665 else
92669 ac_ext=cc
92670 ac_cpp='$CXXCPP $CPPFLAGS'
92671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92675 cat >conftest.$ac_ext <<_ACEOF
92676 /* confdefs.h. */
92677 _ACEOF
92678 cat confdefs.h >>conftest.$ac_ext
92679 cat >>conftest.$ac_ext <<_ACEOF
92680 /* end confdefs.h. */
92681 #include <math.h>
92682 #ifdef HAVE_IEEEFP_H
92683 #include <ieeefp.h>
92684 #endif
92687 main ()
92689 _isinff(0);
92691 return 0;
92693 _ACEOF
92694 rm -f conftest.$ac_objext
92695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92696 (eval $ac_compile) 2>conftest.er1
92697 ac_status=$?
92698 grep -v '^ *+' conftest.er1 >conftest.err
92699 rm -f conftest.er1
92700 cat conftest.err >&5
92701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92702 (exit $ac_status); } &&
92703 { ac_try='test -z "$ac_cxx_werror_flag"
92704 || test ! -s conftest.err'
92705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92706 (eval $ac_try) 2>&5
92707 ac_status=$?
92708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92709 (exit $ac_status); }; } &&
92710 { ac_try='test -s conftest.$ac_objext'
92711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92712 (eval $ac_try) 2>&5
92713 ac_status=$?
92714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92715 (exit $ac_status); }; }; then
92716 glibcxx_cv_func__isinff_use=yes
92717 else
92718 echo "$as_me: failed program was:" >&5
92719 sed 's/^/| /' conftest.$ac_ext >&5
92721 glibcxx_cv_func__isinff_use=no
92723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92724 ac_ext=c
92725 ac_cpp='$CPP $CPPFLAGS'
92726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92734 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
92735 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
92737 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
92739 for ac_func in _isinff
92741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92742 echo "$as_me:$LINENO: checking for $ac_func" >&5
92743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92744 if eval "test \"\${$as_ac_var+set}\" = set"; then
92745 echo $ECHO_N "(cached) $ECHO_C" >&6
92746 else
92747 if test x$gcc_no_link = xyes; then
92748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92750 { (exit 1); exit 1; }; }
92752 cat >conftest.$ac_ext <<_ACEOF
92753 /* confdefs.h. */
92754 _ACEOF
92755 cat confdefs.h >>conftest.$ac_ext
92756 cat >>conftest.$ac_ext <<_ACEOF
92757 /* end confdefs.h. */
92758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92760 #define $ac_func innocuous_$ac_func
92762 /* System header to define __stub macros and hopefully few prototypes,
92763 which can conflict with char $ac_func (); below.
92764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92765 <limits.h> exists even on freestanding compilers. */
92767 #ifdef __STDC__
92768 # include <limits.h>
92769 #else
92770 # include <assert.h>
92771 #endif
92773 #undef $ac_func
92775 /* Override any gcc2 internal prototype to avoid an error. */
92776 #ifdef __cplusplus
92777 extern "C"
92779 #endif
92780 /* We use char because int might match the return type of a gcc2
92781 builtin and then its argument prototype would still apply. */
92782 char $ac_func ();
92783 /* The GNU C library defines this for functions which it implements
92784 to always fail with ENOSYS. Some functions are actually named
92785 something starting with __ and the normal name is an alias. */
92786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92787 choke me
92788 #else
92789 char (*f) () = $ac_func;
92790 #endif
92791 #ifdef __cplusplus
92793 #endif
92796 main ()
92798 return f != $ac_func;
92800 return 0;
92802 _ACEOF
92803 rm -f conftest.$ac_objext conftest$ac_exeext
92804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92805 (eval $ac_link) 2>conftest.er1
92806 ac_status=$?
92807 grep -v '^ *+' conftest.er1 >conftest.err
92808 rm -f conftest.er1
92809 cat conftest.err >&5
92810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92811 (exit $ac_status); } &&
92812 { ac_try='test -z "$ac_c_werror_flag"
92813 || test ! -s conftest.err'
92814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92815 (eval $ac_try) 2>&5
92816 ac_status=$?
92817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92818 (exit $ac_status); }; } &&
92819 { ac_try='test -s conftest$ac_exeext'
92820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92821 (eval $ac_try) 2>&5
92822 ac_status=$?
92823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92824 (exit $ac_status); }; }; then
92825 eval "$as_ac_var=yes"
92826 else
92827 echo "$as_me: failed program was:" >&5
92828 sed 's/^/| /' conftest.$ac_ext >&5
92830 eval "$as_ac_var=no"
92832 rm -f conftest.err conftest.$ac_objext \
92833 conftest$ac_exeext conftest.$ac_ext
92835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92837 if test `eval echo '${'$as_ac_var'}'` = yes; then
92838 cat >>confdefs.h <<_ACEOF
92839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92840 _ACEOF
92843 done
92853 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
92854 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
92855 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
92856 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
92857 echo $ECHO_N "(cached) $ECHO_C" >&6
92858 else
92862 ac_ext=cc
92863 ac_cpp='$CXXCPP $CPPFLAGS'
92864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92868 cat >conftest.$ac_ext <<_ACEOF
92869 /* confdefs.h. */
92870 _ACEOF
92871 cat confdefs.h >>conftest.$ac_ext
92872 cat >>conftest.$ac_ext <<_ACEOF
92873 /* end confdefs.h. */
92874 #include <math.h>
92876 main ()
92878 atan2f(0, 0);
92880 return 0;
92882 _ACEOF
92883 rm -f conftest.$ac_objext
92884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92885 (eval $ac_compile) 2>conftest.er1
92886 ac_status=$?
92887 grep -v '^ *+' conftest.er1 >conftest.err
92888 rm -f conftest.er1
92889 cat conftest.err >&5
92890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92891 (exit $ac_status); } &&
92892 { ac_try='test -z "$ac_cxx_werror_flag"
92893 || test ! -s conftest.err'
92894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92895 (eval $ac_try) 2>&5
92896 ac_status=$?
92897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92898 (exit $ac_status); }; } &&
92899 { ac_try='test -s conftest.$ac_objext'
92900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92901 (eval $ac_try) 2>&5
92902 ac_status=$?
92903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92904 (exit $ac_status); }; }; then
92905 glibcxx_cv_func_atan2f_use=yes
92906 else
92907 echo "$as_me: failed program was:" >&5
92908 sed 's/^/| /' conftest.$ac_ext >&5
92910 glibcxx_cv_func_atan2f_use=no
92912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92913 ac_ext=c
92914 ac_cpp='$CPP $CPPFLAGS'
92915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92923 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
92924 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
92926 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
92928 for ac_func in atan2f
92930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92931 echo "$as_me:$LINENO: checking for $ac_func" >&5
92932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92933 if eval "test \"\${$as_ac_var+set}\" = set"; then
92934 echo $ECHO_N "(cached) $ECHO_C" >&6
92935 else
92936 if test x$gcc_no_link = xyes; then
92937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92939 { (exit 1); exit 1; }; }
92941 cat >conftest.$ac_ext <<_ACEOF
92942 /* confdefs.h. */
92943 _ACEOF
92944 cat confdefs.h >>conftest.$ac_ext
92945 cat >>conftest.$ac_ext <<_ACEOF
92946 /* end confdefs.h. */
92947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92949 #define $ac_func innocuous_$ac_func
92951 /* System header to define __stub macros and hopefully few prototypes,
92952 which can conflict with char $ac_func (); below.
92953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92954 <limits.h> exists even on freestanding compilers. */
92956 #ifdef __STDC__
92957 # include <limits.h>
92958 #else
92959 # include <assert.h>
92960 #endif
92962 #undef $ac_func
92964 /* Override any gcc2 internal prototype to avoid an error. */
92965 #ifdef __cplusplus
92966 extern "C"
92968 #endif
92969 /* We use char because int might match the return type of a gcc2
92970 builtin and then its argument prototype would still apply. */
92971 char $ac_func ();
92972 /* The GNU C library defines this for functions which it implements
92973 to always fail with ENOSYS. Some functions are actually named
92974 something starting with __ and the normal name is an alias. */
92975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92976 choke me
92977 #else
92978 char (*f) () = $ac_func;
92979 #endif
92980 #ifdef __cplusplus
92982 #endif
92985 main ()
92987 return f != $ac_func;
92989 return 0;
92991 _ACEOF
92992 rm -f conftest.$ac_objext conftest$ac_exeext
92993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92994 (eval $ac_link) 2>conftest.er1
92995 ac_status=$?
92996 grep -v '^ *+' conftest.er1 >conftest.err
92997 rm -f conftest.er1
92998 cat conftest.err >&5
92999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93000 (exit $ac_status); } &&
93001 { ac_try='test -z "$ac_c_werror_flag"
93002 || test ! -s conftest.err'
93003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93004 (eval $ac_try) 2>&5
93005 ac_status=$?
93006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93007 (exit $ac_status); }; } &&
93008 { ac_try='test -s conftest$ac_exeext'
93009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93010 (eval $ac_try) 2>&5
93011 ac_status=$?
93012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93013 (exit $ac_status); }; }; then
93014 eval "$as_ac_var=yes"
93015 else
93016 echo "$as_me: failed program was:" >&5
93017 sed 's/^/| /' conftest.$ac_ext >&5
93019 eval "$as_ac_var=no"
93021 rm -f conftest.err conftest.$ac_objext \
93022 conftest$ac_exeext conftest.$ac_ext
93024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93026 if test `eval echo '${'$as_ac_var'}'` = yes; then
93027 cat >>confdefs.h <<_ACEOF
93028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93029 _ACEOF
93032 done
93034 else
93036 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
93037 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
93038 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
93039 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
93040 echo $ECHO_N "(cached) $ECHO_C" >&6
93041 else
93045 ac_ext=cc
93046 ac_cpp='$CXXCPP $CPPFLAGS'
93047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93051 cat >conftest.$ac_ext <<_ACEOF
93052 /* confdefs.h. */
93053 _ACEOF
93054 cat confdefs.h >>conftest.$ac_ext
93055 cat >>conftest.$ac_ext <<_ACEOF
93056 /* end confdefs.h. */
93057 #include <math.h>
93059 main ()
93061 _atan2f(0, 0);
93063 return 0;
93065 _ACEOF
93066 rm -f conftest.$ac_objext
93067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93068 (eval $ac_compile) 2>conftest.er1
93069 ac_status=$?
93070 grep -v '^ *+' conftest.er1 >conftest.err
93071 rm -f conftest.er1
93072 cat conftest.err >&5
93073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93074 (exit $ac_status); } &&
93075 { ac_try='test -z "$ac_cxx_werror_flag"
93076 || test ! -s conftest.err'
93077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93078 (eval $ac_try) 2>&5
93079 ac_status=$?
93080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93081 (exit $ac_status); }; } &&
93082 { ac_try='test -s conftest.$ac_objext'
93083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93084 (eval $ac_try) 2>&5
93085 ac_status=$?
93086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93087 (exit $ac_status); }; }; then
93088 glibcxx_cv_func__atan2f_use=yes
93089 else
93090 echo "$as_me: failed program was:" >&5
93091 sed 's/^/| /' conftest.$ac_ext >&5
93093 glibcxx_cv_func__atan2f_use=no
93095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93096 ac_ext=c
93097 ac_cpp='$CPP $CPPFLAGS'
93098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93106 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
93107 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
93109 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
93111 for ac_func in _atan2f
93113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93114 echo "$as_me:$LINENO: checking for $ac_func" >&5
93115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93116 if eval "test \"\${$as_ac_var+set}\" = set"; then
93117 echo $ECHO_N "(cached) $ECHO_C" >&6
93118 else
93119 if test x$gcc_no_link = xyes; then
93120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93122 { (exit 1); exit 1; }; }
93124 cat >conftest.$ac_ext <<_ACEOF
93125 /* confdefs.h. */
93126 _ACEOF
93127 cat confdefs.h >>conftest.$ac_ext
93128 cat >>conftest.$ac_ext <<_ACEOF
93129 /* end confdefs.h. */
93130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93132 #define $ac_func innocuous_$ac_func
93134 /* System header to define __stub macros and hopefully few prototypes,
93135 which can conflict with char $ac_func (); below.
93136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93137 <limits.h> exists even on freestanding compilers. */
93139 #ifdef __STDC__
93140 # include <limits.h>
93141 #else
93142 # include <assert.h>
93143 #endif
93145 #undef $ac_func
93147 /* Override any gcc2 internal prototype to avoid an error. */
93148 #ifdef __cplusplus
93149 extern "C"
93151 #endif
93152 /* We use char because int might match the return type of a gcc2
93153 builtin and then its argument prototype would still apply. */
93154 char $ac_func ();
93155 /* The GNU C library defines this for functions which it implements
93156 to always fail with ENOSYS. Some functions are actually named
93157 something starting with __ and the normal name is an alias. */
93158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93159 choke me
93160 #else
93161 char (*f) () = $ac_func;
93162 #endif
93163 #ifdef __cplusplus
93165 #endif
93168 main ()
93170 return f != $ac_func;
93172 return 0;
93174 _ACEOF
93175 rm -f conftest.$ac_objext conftest$ac_exeext
93176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93177 (eval $ac_link) 2>conftest.er1
93178 ac_status=$?
93179 grep -v '^ *+' conftest.er1 >conftest.err
93180 rm -f conftest.er1
93181 cat conftest.err >&5
93182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93183 (exit $ac_status); } &&
93184 { ac_try='test -z "$ac_c_werror_flag"
93185 || test ! -s conftest.err'
93186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93187 (eval $ac_try) 2>&5
93188 ac_status=$?
93189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93190 (exit $ac_status); }; } &&
93191 { ac_try='test -s conftest$ac_exeext'
93192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93193 (eval $ac_try) 2>&5
93194 ac_status=$?
93195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93196 (exit $ac_status); }; }; then
93197 eval "$as_ac_var=yes"
93198 else
93199 echo "$as_me: failed program was:" >&5
93200 sed 's/^/| /' conftest.$ac_ext >&5
93202 eval "$as_ac_var=no"
93204 rm -f conftest.err conftest.$ac_objext \
93205 conftest$ac_exeext conftest.$ac_ext
93207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93209 if test `eval echo '${'$as_ac_var'}'` = yes; then
93210 cat >>confdefs.h <<_ACEOF
93211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93212 _ACEOF
93215 done
93225 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
93226 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
93227 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
93228 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
93229 echo $ECHO_N "(cached) $ECHO_C" >&6
93230 else
93234 ac_ext=cc
93235 ac_cpp='$CXXCPP $CPPFLAGS'
93236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93240 cat >conftest.$ac_ext <<_ACEOF
93241 /* confdefs.h. */
93242 _ACEOF
93243 cat confdefs.h >>conftest.$ac_ext
93244 cat >>conftest.$ac_ext <<_ACEOF
93245 /* end confdefs.h. */
93246 #include <math.h>
93247 #ifdef HAVE_IEEEFP_H
93248 #include <ieeefp.h>
93249 #endif
93252 main ()
93254 fabsf(0);
93256 return 0;
93258 _ACEOF
93259 rm -f conftest.$ac_objext
93260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93261 (eval $ac_compile) 2>conftest.er1
93262 ac_status=$?
93263 grep -v '^ *+' conftest.er1 >conftest.err
93264 rm -f conftest.er1
93265 cat conftest.err >&5
93266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93267 (exit $ac_status); } &&
93268 { ac_try='test -z "$ac_cxx_werror_flag"
93269 || test ! -s conftest.err'
93270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93271 (eval $ac_try) 2>&5
93272 ac_status=$?
93273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93274 (exit $ac_status); }; } &&
93275 { ac_try='test -s conftest.$ac_objext'
93276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93277 (eval $ac_try) 2>&5
93278 ac_status=$?
93279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93280 (exit $ac_status); }; }; then
93281 glibcxx_cv_func_fabsf_use=yes
93282 else
93283 echo "$as_me: failed program was:" >&5
93284 sed 's/^/| /' conftest.$ac_ext >&5
93286 glibcxx_cv_func_fabsf_use=no
93288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93289 ac_ext=c
93290 ac_cpp='$CPP $CPPFLAGS'
93291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93299 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
93300 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
93302 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
93304 for ac_func in fabsf
93306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93307 echo "$as_me:$LINENO: checking for $ac_func" >&5
93308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93309 if eval "test \"\${$as_ac_var+set}\" = set"; then
93310 echo $ECHO_N "(cached) $ECHO_C" >&6
93311 else
93312 if test x$gcc_no_link = xyes; then
93313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93315 { (exit 1); exit 1; }; }
93317 cat >conftest.$ac_ext <<_ACEOF
93318 /* confdefs.h. */
93319 _ACEOF
93320 cat confdefs.h >>conftest.$ac_ext
93321 cat >>conftest.$ac_ext <<_ACEOF
93322 /* end confdefs.h. */
93323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93325 #define $ac_func innocuous_$ac_func
93327 /* System header to define __stub macros and hopefully few prototypes,
93328 which can conflict with char $ac_func (); below.
93329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93330 <limits.h> exists even on freestanding compilers. */
93332 #ifdef __STDC__
93333 # include <limits.h>
93334 #else
93335 # include <assert.h>
93336 #endif
93338 #undef $ac_func
93340 /* Override any gcc2 internal prototype to avoid an error. */
93341 #ifdef __cplusplus
93342 extern "C"
93344 #endif
93345 /* We use char because int might match the return type of a gcc2
93346 builtin and then its argument prototype would still apply. */
93347 char $ac_func ();
93348 /* The GNU C library defines this for functions which it implements
93349 to always fail with ENOSYS. Some functions are actually named
93350 something starting with __ and the normal name is an alias. */
93351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93352 choke me
93353 #else
93354 char (*f) () = $ac_func;
93355 #endif
93356 #ifdef __cplusplus
93358 #endif
93361 main ()
93363 return f != $ac_func;
93365 return 0;
93367 _ACEOF
93368 rm -f conftest.$ac_objext conftest$ac_exeext
93369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93370 (eval $ac_link) 2>conftest.er1
93371 ac_status=$?
93372 grep -v '^ *+' conftest.er1 >conftest.err
93373 rm -f conftest.er1
93374 cat conftest.err >&5
93375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93376 (exit $ac_status); } &&
93377 { ac_try='test -z "$ac_c_werror_flag"
93378 || test ! -s conftest.err'
93379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93380 (eval $ac_try) 2>&5
93381 ac_status=$?
93382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93383 (exit $ac_status); }; } &&
93384 { ac_try='test -s conftest$ac_exeext'
93385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93386 (eval $ac_try) 2>&5
93387 ac_status=$?
93388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93389 (exit $ac_status); }; }; then
93390 eval "$as_ac_var=yes"
93391 else
93392 echo "$as_me: failed program was:" >&5
93393 sed 's/^/| /' conftest.$ac_ext >&5
93395 eval "$as_ac_var=no"
93397 rm -f conftest.err conftest.$ac_objext \
93398 conftest$ac_exeext conftest.$ac_ext
93400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93402 if test `eval echo '${'$as_ac_var'}'` = yes; then
93403 cat >>confdefs.h <<_ACEOF
93404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93405 _ACEOF
93408 done
93410 else
93412 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
93413 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
93414 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
93415 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
93416 echo $ECHO_N "(cached) $ECHO_C" >&6
93417 else
93421 ac_ext=cc
93422 ac_cpp='$CXXCPP $CPPFLAGS'
93423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93427 cat >conftest.$ac_ext <<_ACEOF
93428 /* confdefs.h. */
93429 _ACEOF
93430 cat confdefs.h >>conftest.$ac_ext
93431 cat >>conftest.$ac_ext <<_ACEOF
93432 /* end confdefs.h. */
93433 #include <math.h>
93434 #ifdef HAVE_IEEEFP_H
93435 #include <ieeefp.h>
93436 #endif
93439 main ()
93441 _fabsf(0);
93443 return 0;
93445 _ACEOF
93446 rm -f conftest.$ac_objext
93447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93448 (eval $ac_compile) 2>conftest.er1
93449 ac_status=$?
93450 grep -v '^ *+' conftest.er1 >conftest.err
93451 rm -f conftest.er1
93452 cat conftest.err >&5
93453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93454 (exit $ac_status); } &&
93455 { ac_try='test -z "$ac_cxx_werror_flag"
93456 || test ! -s conftest.err'
93457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93458 (eval $ac_try) 2>&5
93459 ac_status=$?
93460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93461 (exit $ac_status); }; } &&
93462 { ac_try='test -s conftest.$ac_objext'
93463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93464 (eval $ac_try) 2>&5
93465 ac_status=$?
93466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93467 (exit $ac_status); }; }; then
93468 glibcxx_cv_func__fabsf_use=yes
93469 else
93470 echo "$as_me: failed program was:" >&5
93471 sed 's/^/| /' conftest.$ac_ext >&5
93473 glibcxx_cv_func__fabsf_use=no
93475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93476 ac_ext=c
93477 ac_cpp='$CPP $CPPFLAGS'
93478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93486 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
93487 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
93489 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
93491 for ac_func in _fabsf
93493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93494 echo "$as_me:$LINENO: checking for $ac_func" >&5
93495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93496 if eval "test \"\${$as_ac_var+set}\" = set"; then
93497 echo $ECHO_N "(cached) $ECHO_C" >&6
93498 else
93499 if test x$gcc_no_link = xyes; then
93500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93502 { (exit 1); exit 1; }; }
93504 cat >conftest.$ac_ext <<_ACEOF
93505 /* confdefs.h. */
93506 _ACEOF
93507 cat confdefs.h >>conftest.$ac_ext
93508 cat >>conftest.$ac_ext <<_ACEOF
93509 /* end confdefs.h. */
93510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93512 #define $ac_func innocuous_$ac_func
93514 /* System header to define __stub macros and hopefully few prototypes,
93515 which can conflict with char $ac_func (); below.
93516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93517 <limits.h> exists even on freestanding compilers. */
93519 #ifdef __STDC__
93520 # include <limits.h>
93521 #else
93522 # include <assert.h>
93523 #endif
93525 #undef $ac_func
93527 /* Override any gcc2 internal prototype to avoid an error. */
93528 #ifdef __cplusplus
93529 extern "C"
93531 #endif
93532 /* We use char because int might match the return type of a gcc2
93533 builtin and then its argument prototype would still apply. */
93534 char $ac_func ();
93535 /* The GNU C library defines this for functions which it implements
93536 to always fail with ENOSYS. Some functions are actually named
93537 something starting with __ and the normal name is an alias. */
93538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93539 choke me
93540 #else
93541 char (*f) () = $ac_func;
93542 #endif
93543 #ifdef __cplusplus
93545 #endif
93548 main ()
93550 return f != $ac_func;
93552 return 0;
93554 _ACEOF
93555 rm -f conftest.$ac_objext conftest$ac_exeext
93556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93557 (eval $ac_link) 2>conftest.er1
93558 ac_status=$?
93559 grep -v '^ *+' conftest.er1 >conftest.err
93560 rm -f conftest.er1
93561 cat conftest.err >&5
93562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93563 (exit $ac_status); } &&
93564 { ac_try='test -z "$ac_c_werror_flag"
93565 || test ! -s conftest.err'
93566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93567 (eval $ac_try) 2>&5
93568 ac_status=$?
93569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93570 (exit $ac_status); }; } &&
93571 { ac_try='test -s conftest$ac_exeext'
93572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93573 (eval $ac_try) 2>&5
93574 ac_status=$?
93575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93576 (exit $ac_status); }; }; then
93577 eval "$as_ac_var=yes"
93578 else
93579 echo "$as_me: failed program was:" >&5
93580 sed 's/^/| /' conftest.$ac_ext >&5
93582 eval "$as_ac_var=no"
93584 rm -f conftest.err conftest.$ac_objext \
93585 conftest$ac_exeext conftest.$ac_ext
93587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93589 if test `eval echo '${'$as_ac_var'}'` = yes; then
93590 cat >>confdefs.h <<_ACEOF
93591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93592 _ACEOF
93595 done
93605 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
93606 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
93607 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
93608 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
93609 echo $ECHO_N "(cached) $ECHO_C" >&6
93610 else
93614 ac_ext=cc
93615 ac_cpp='$CXXCPP $CPPFLAGS'
93616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93620 cat >conftest.$ac_ext <<_ACEOF
93621 /* confdefs.h. */
93622 _ACEOF
93623 cat confdefs.h >>conftest.$ac_ext
93624 cat >>conftest.$ac_ext <<_ACEOF
93625 /* end confdefs.h. */
93626 #include <math.h>
93628 main ()
93630 fmodf(0, 0);
93632 return 0;
93634 _ACEOF
93635 rm -f conftest.$ac_objext
93636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93637 (eval $ac_compile) 2>conftest.er1
93638 ac_status=$?
93639 grep -v '^ *+' conftest.er1 >conftest.err
93640 rm -f conftest.er1
93641 cat conftest.err >&5
93642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93643 (exit $ac_status); } &&
93644 { ac_try='test -z "$ac_cxx_werror_flag"
93645 || test ! -s conftest.err'
93646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93647 (eval $ac_try) 2>&5
93648 ac_status=$?
93649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93650 (exit $ac_status); }; } &&
93651 { ac_try='test -s conftest.$ac_objext'
93652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93653 (eval $ac_try) 2>&5
93654 ac_status=$?
93655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93656 (exit $ac_status); }; }; then
93657 glibcxx_cv_func_fmodf_use=yes
93658 else
93659 echo "$as_me: failed program was:" >&5
93660 sed 's/^/| /' conftest.$ac_ext >&5
93662 glibcxx_cv_func_fmodf_use=no
93664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93665 ac_ext=c
93666 ac_cpp='$CPP $CPPFLAGS'
93667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93675 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
93676 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
93678 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
93680 for ac_func in fmodf
93682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93683 echo "$as_me:$LINENO: checking for $ac_func" >&5
93684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93685 if eval "test \"\${$as_ac_var+set}\" = set"; then
93686 echo $ECHO_N "(cached) $ECHO_C" >&6
93687 else
93688 if test x$gcc_no_link = xyes; then
93689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93691 { (exit 1); exit 1; }; }
93693 cat >conftest.$ac_ext <<_ACEOF
93694 /* confdefs.h. */
93695 _ACEOF
93696 cat confdefs.h >>conftest.$ac_ext
93697 cat >>conftest.$ac_ext <<_ACEOF
93698 /* end confdefs.h. */
93699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93701 #define $ac_func innocuous_$ac_func
93703 /* System header to define __stub macros and hopefully few prototypes,
93704 which can conflict with char $ac_func (); below.
93705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93706 <limits.h> exists even on freestanding compilers. */
93708 #ifdef __STDC__
93709 # include <limits.h>
93710 #else
93711 # include <assert.h>
93712 #endif
93714 #undef $ac_func
93716 /* Override any gcc2 internal prototype to avoid an error. */
93717 #ifdef __cplusplus
93718 extern "C"
93720 #endif
93721 /* We use char because int might match the return type of a gcc2
93722 builtin and then its argument prototype would still apply. */
93723 char $ac_func ();
93724 /* The GNU C library defines this for functions which it implements
93725 to always fail with ENOSYS. Some functions are actually named
93726 something starting with __ and the normal name is an alias. */
93727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93728 choke me
93729 #else
93730 char (*f) () = $ac_func;
93731 #endif
93732 #ifdef __cplusplus
93734 #endif
93737 main ()
93739 return f != $ac_func;
93741 return 0;
93743 _ACEOF
93744 rm -f conftest.$ac_objext conftest$ac_exeext
93745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93746 (eval $ac_link) 2>conftest.er1
93747 ac_status=$?
93748 grep -v '^ *+' conftest.er1 >conftest.err
93749 rm -f conftest.er1
93750 cat conftest.err >&5
93751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93752 (exit $ac_status); } &&
93753 { ac_try='test -z "$ac_c_werror_flag"
93754 || test ! -s conftest.err'
93755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93756 (eval $ac_try) 2>&5
93757 ac_status=$?
93758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93759 (exit $ac_status); }; } &&
93760 { ac_try='test -s conftest$ac_exeext'
93761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93762 (eval $ac_try) 2>&5
93763 ac_status=$?
93764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93765 (exit $ac_status); }; }; then
93766 eval "$as_ac_var=yes"
93767 else
93768 echo "$as_me: failed program was:" >&5
93769 sed 's/^/| /' conftest.$ac_ext >&5
93771 eval "$as_ac_var=no"
93773 rm -f conftest.err conftest.$ac_objext \
93774 conftest$ac_exeext conftest.$ac_ext
93776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93778 if test `eval echo '${'$as_ac_var'}'` = yes; then
93779 cat >>confdefs.h <<_ACEOF
93780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93781 _ACEOF
93784 done
93786 else
93788 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
93789 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
93790 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
93791 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
93792 echo $ECHO_N "(cached) $ECHO_C" >&6
93793 else
93797 ac_ext=cc
93798 ac_cpp='$CXXCPP $CPPFLAGS'
93799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93803 cat >conftest.$ac_ext <<_ACEOF
93804 /* confdefs.h. */
93805 _ACEOF
93806 cat confdefs.h >>conftest.$ac_ext
93807 cat >>conftest.$ac_ext <<_ACEOF
93808 /* end confdefs.h. */
93809 #include <math.h>
93811 main ()
93813 _fmodf(0, 0);
93815 return 0;
93817 _ACEOF
93818 rm -f conftest.$ac_objext
93819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93820 (eval $ac_compile) 2>conftest.er1
93821 ac_status=$?
93822 grep -v '^ *+' conftest.er1 >conftest.err
93823 rm -f conftest.er1
93824 cat conftest.err >&5
93825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93826 (exit $ac_status); } &&
93827 { ac_try='test -z "$ac_cxx_werror_flag"
93828 || test ! -s conftest.err'
93829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93830 (eval $ac_try) 2>&5
93831 ac_status=$?
93832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93833 (exit $ac_status); }; } &&
93834 { ac_try='test -s conftest.$ac_objext'
93835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93836 (eval $ac_try) 2>&5
93837 ac_status=$?
93838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93839 (exit $ac_status); }; }; then
93840 glibcxx_cv_func__fmodf_use=yes
93841 else
93842 echo "$as_me: failed program was:" >&5
93843 sed 's/^/| /' conftest.$ac_ext >&5
93845 glibcxx_cv_func__fmodf_use=no
93847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93848 ac_ext=c
93849 ac_cpp='$CPP $CPPFLAGS'
93850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93858 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
93859 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
93861 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
93863 for ac_func in _fmodf
93865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93866 echo "$as_me:$LINENO: checking for $ac_func" >&5
93867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93868 if eval "test \"\${$as_ac_var+set}\" = set"; then
93869 echo $ECHO_N "(cached) $ECHO_C" >&6
93870 else
93871 if test x$gcc_no_link = xyes; then
93872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93874 { (exit 1); exit 1; }; }
93876 cat >conftest.$ac_ext <<_ACEOF
93877 /* confdefs.h. */
93878 _ACEOF
93879 cat confdefs.h >>conftest.$ac_ext
93880 cat >>conftest.$ac_ext <<_ACEOF
93881 /* end confdefs.h. */
93882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93884 #define $ac_func innocuous_$ac_func
93886 /* System header to define __stub macros and hopefully few prototypes,
93887 which can conflict with char $ac_func (); below.
93888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93889 <limits.h> exists even on freestanding compilers. */
93891 #ifdef __STDC__
93892 # include <limits.h>
93893 #else
93894 # include <assert.h>
93895 #endif
93897 #undef $ac_func
93899 /* Override any gcc2 internal prototype to avoid an error. */
93900 #ifdef __cplusplus
93901 extern "C"
93903 #endif
93904 /* We use char because int might match the return type of a gcc2
93905 builtin and then its argument prototype would still apply. */
93906 char $ac_func ();
93907 /* The GNU C library defines this for functions which it implements
93908 to always fail with ENOSYS. Some functions are actually named
93909 something starting with __ and the normal name is an alias. */
93910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93911 choke me
93912 #else
93913 char (*f) () = $ac_func;
93914 #endif
93915 #ifdef __cplusplus
93917 #endif
93920 main ()
93922 return f != $ac_func;
93924 return 0;
93926 _ACEOF
93927 rm -f conftest.$ac_objext conftest$ac_exeext
93928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93929 (eval $ac_link) 2>conftest.er1
93930 ac_status=$?
93931 grep -v '^ *+' conftest.er1 >conftest.err
93932 rm -f conftest.er1
93933 cat conftest.err >&5
93934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93935 (exit $ac_status); } &&
93936 { ac_try='test -z "$ac_c_werror_flag"
93937 || test ! -s conftest.err'
93938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93939 (eval $ac_try) 2>&5
93940 ac_status=$?
93941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93942 (exit $ac_status); }; } &&
93943 { ac_try='test -s conftest$ac_exeext'
93944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93945 (eval $ac_try) 2>&5
93946 ac_status=$?
93947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93948 (exit $ac_status); }; }; then
93949 eval "$as_ac_var=yes"
93950 else
93951 echo "$as_me: failed program was:" >&5
93952 sed 's/^/| /' conftest.$ac_ext >&5
93954 eval "$as_ac_var=no"
93956 rm -f conftest.err conftest.$ac_objext \
93957 conftest$ac_exeext conftest.$ac_ext
93959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93961 if test `eval echo '${'$as_ac_var'}'` = yes; then
93962 cat >>confdefs.h <<_ACEOF
93963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93964 _ACEOF
93967 done
93977 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
93978 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
93979 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
93980 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
93981 echo $ECHO_N "(cached) $ECHO_C" >&6
93982 else
93986 ac_ext=cc
93987 ac_cpp='$CXXCPP $CPPFLAGS'
93988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93992 cat >conftest.$ac_ext <<_ACEOF
93993 /* confdefs.h. */
93994 _ACEOF
93995 cat confdefs.h >>conftest.$ac_ext
93996 cat >>conftest.$ac_ext <<_ACEOF
93997 /* end confdefs.h. */
93998 #include <math.h>
94000 main ()
94002 frexpf(0, 0);
94004 return 0;
94006 _ACEOF
94007 rm -f conftest.$ac_objext
94008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94009 (eval $ac_compile) 2>conftest.er1
94010 ac_status=$?
94011 grep -v '^ *+' conftest.er1 >conftest.err
94012 rm -f conftest.er1
94013 cat conftest.err >&5
94014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94015 (exit $ac_status); } &&
94016 { ac_try='test -z "$ac_cxx_werror_flag"
94017 || test ! -s conftest.err'
94018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94019 (eval $ac_try) 2>&5
94020 ac_status=$?
94021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94022 (exit $ac_status); }; } &&
94023 { ac_try='test -s conftest.$ac_objext'
94024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94025 (eval $ac_try) 2>&5
94026 ac_status=$?
94027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94028 (exit $ac_status); }; }; then
94029 glibcxx_cv_func_frexpf_use=yes
94030 else
94031 echo "$as_me: failed program was:" >&5
94032 sed 's/^/| /' conftest.$ac_ext >&5
94034 glibcxx_cv_func_frexpf_use=no
94036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94037 ac_ext=c
94038 ac_cpp='$CPP $CPPFLAGS'
94039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94047 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
94048 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
94050 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
94052 for ac_func in frexpf
94054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94055 echo "$as_me:$LINENO: checking for $ac_func" >&5
94056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94057 if eval "test \"\${$as_ac_var+set}\" = set"; then
94058 echo $ECHO_N "(cached) $ECHO_C" >&6
94059 else
94060 if test x$gcc_no_link = xyes; then
94061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94063 { (exit 1); exit 1; }; }
94065 cat >conftest.$ac_ext <<_ACEOF
94066 /* confdefs.h. */
94067 _ACEOF
94068 cat confdefs.h >>conftest.$ac_ext
94069 cat >>conftest.$ac_ext <<_ACEOF
94070 /* end confdefs.h. */
94071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94073 #define $ac_func innocuous_$ac_func
94075 /* System header to define __stub macros and hopefully few prototypes,
94076 which can conflict with char $ac_func (); below.
94077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94078 <limits.h> exists even on freestanding compilers. */
94080 #ifdef __STDC__
94081 # include <limits.h>
94082 #else
94083 # include <assert.h>
94084 #endif
94086 #undef $ac_func
94088 /* Override any gcc2 internal prototype to avoid an error. */
94089 #ifdef __cplusplus
94090 extern "C"
94092 #endif
94093 /* We use char because int might match the return type of a gcc2
94094 builtin and then its argument prototype would still apply. */
94095 char $ac_func ();
94096 /* The GNU C library defines this for functions which it implements
94097 to always fail with ENOSYS. Some functions are actually named
94098 something starting with __ and the normal name is an alias. */
94099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94100 choke me
94101 #else
94102 char (*f) () = $ac_func;
94103 #endif
94104 #ifdef __cplusplus
94106 #endif
94109 main ()
94111 return f != $ac_func;
94113 return 0;
94115 _ACEOF
94116 rm -f conftest.$ac_objext conftest$ac_exeext
94117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94118 (eval $ac_link) 2>conftest.er1
94119 ac_status=$?
94120 grep -v '^ *+' conftest.er1 >conftest.err
94121 rm -f conftest.er1
94122 cat conftest.err >&5
94123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94124 (exit $ac_status); } &&
94125 { ac_try='test -z "$ac_c_werror_flag"
94126 || test ! -s conftest.err'
94127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94128 (eval $ac_try) 2>&5
94129 ac_status=$?
94130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94131 (exit $ac_status); }; } &&
94132 { ac_try='test -s conftest$ac_exeext'
94133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94134 (eval $ac_try) 2>&5
94135 ac_status=$?
94136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94137 (exit $ac_status); }; }; then
94138 eval "$as_ac_var=yes"
94139 else
94140 echo "$as_me: failed program was:" >&5
94141 sed 's/^/| /' conftest.$ac_ext >&5
94143 eval "$as_ac_var=no"
94145 rm -f conftest.err conftest.$ac_objext \
94146 conftest$ac_exeext conftest.$ac_ext
94148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94150 if test `eval echo '${'$as_ac_var'}'` = yes; then
94151 cat >>confdefs.h <<_ACEOF
94152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94153 _ACEOF
94156 done
94158 else
94160 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
94161 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
94162 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
94163 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
94164 echo $ECHO_N "(cached) $ECHO_C" >&6
94165 else
94169 ac_ext=cc
94170 ac_cpp='$CXXCPP $CPPFLAGS'
94171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94175 cat >conftest.$ac_ext <<_ACEOF
94176 /* confdefs.h. */
94177 _ACEOF
94178 cat confdefs.h >>conftest.$ac_ext
94179 cat >>conftest.$ac_ext <<_ACEOF
94180 /* end confdefs.h. */
94181 #include <math.h>
94183 main ()
94185 _frexpf(0, 0);
94187 return 0;
94189 _ACEOF
94190 rm -f conftest.$ac_objext
94191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94192 (eval $ac_compile) 2>conftest.er1
94193 ac_status=$?
94194 grep -v '^ *+' conftest.er1 >conftest.err
94195 rm -f conftest.er1
94196 cat conftest.err >&5
94197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94198 (exit $ac_status); } &&
94199 { ac_try='test -z "$ac_cxx_werror_flag"
94200 || test ! -s conftest.err'
94201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94202 (eval $ac_try) 2>&5
94203 ac_status=$?
94204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94205 (exit $ac_status); }; } &&
94206 { ac_try='test -s conftest.$ac_objext'
94207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94208 (eval $ac_try) 2>&5
94209 ac_status=$?
94210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94211 (exit $ac_status); }; }; then
94212 glibcxx_cv_func__frexpf_use=yes
94213 else
94214 echo "$as_me: failed program was:" >&5
94215 sed 's/^/| /' conftest.$ac_ext >&5
94217 glibcxx_cv_func__frexpf_use=no
94219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94220 ac_ext=c
94221 ac_cpp='$CPP $CPPFLAGS'
94222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94230 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
94231 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
94233 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
94235 for ac_func in _frexpf
94237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94238 echo "$as_me:$LINENO: checking for $ac_func" >&5
94239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94240 if eval "test \"\${$as_ac_var+set}\" = set"; then
94241 echo $ECHO_N "(cached) $ECHO_C" >&6
94242 else
94243 if test x$gcc_no_link = xyes; then
94244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94246 { (exit 1); exit 1; }; }
94248 cat >conftest.$ac_ext <<_ACEOF
94249 /* confdefs.h. */
94250 _ACEOF
94251 cat confdefs.h >>conftest.$ac_ext
94252 cat >>conftest.$ac_ext <<_ACEOF
94253 /* end confdefs.h. */
94254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94256 #define $ac_func innocuous_$ac_func
94258 /* System header to define __stub macros and hopefully few prototypes,
94259 which can conflict with char $ac_func (); below.
94260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94261 <limits.h> exists even on freestanding compilers. */
94263 #ifdef __STDC__
94264 # include <limits.h>
94265 #else
94266 # include <assert.h>
94267 #endif
94269 #undef $ac_func
94271 /* Override any gcc2 internal prototype to avoid an error. */
94272 #ifdef __cplusplus
94273 extern "C"
94275 #endif
94276 /* We use char because int might match the return type of a gcc2
94277 builtin and then its argument prototype would still apply. */
94278 char $ac_func ();
94279 /* The GNU C library defines this for functions which it implements
94280 to always fail with ENOSYS. Some functions are actually named
94281 something starting with __ and the normal name is an alias. */
94282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94283 choke me
94284 #else
94285 char (*f) () = $ac_func;
94286 #endif
94287 #ifdef __cplusplus
94289 #endif
94292 main ()
94294 return f != $ac_func;
94296 return 0;
94298 _ACEOF
94299 rm -f conftest.$ac_objext conftest$ac_exeext
94300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94301 (eval $ac_link) 2>conftest.er1
94302 ac_status=$?
94303 grep -v '^ *+' conftest.er1 >conftest.err
94304 rm -f conftest.er1
94305 cat conftest.err >&5
94306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94307 (exit $ac_status); } &&
94308 { ac_try='test -z "$ac_c_werror_flag"
94309 || test ! -s conftest.err'
94310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94311 (eval $ac_try) 2>&5
94312 ac_status=$?
94313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94314 (exit $ac_status); }; } &&
94315 { ac_try='test -s conftest$ac_exeext'
94316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94317 (eval $ac_try) 2>&5
94318 ac_status=$?
94319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94320 (exit $ac_status); }; }; then
94321 eval "$as_ac_var=yes"
94322 else
94323 echo "$as_me: failed program was:" >&5
94324 sed 's/^/| /' conftest.$ac_ext >&5
94326 eval "$as_ac_var=no"
94328 rm -f conftest.err conftest.$ac_objext \
94329 conftest$ac_exeext conftest.$ac_ext
94331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94333 if test `eval echo '${'$as_ac_var'}'` = yes; then
94334 cat >>confdefs.h <<_ACEOF
94335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94336 _ACEOF
94339 done
94349 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
94350 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
94351 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
94352 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
94353 echo $ECHO_N "(cached) $ECHO_C" >&6
94354 else
94358 ac_ext=cc
94359 ac_cpp='$CXXCPP $CPPFLAGS'
94360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94364 cat >conftest.$ac_ext <<_ACEOF
94365 /* confdefs.h. */
94366 _ACEOF
94367 cat confdefs.h >>conftest.$ac_ext
94368 cat >>conftest.$ac_ext <<_ACEOF
94369 /* end confdefs.h. */
94370 #include <math.h>
94372 main ()
94374 hypotf(0, 0);
94376 return 0;
94378 _ACEOF
94379 rm -f conftest.$ac_objext
94380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94381 (eval $ac_compile) 2>conftest.er1
94382 ac_status=$?
94383 grep -v '^ *+' conftest.er1 >conftest.err
94384 rm -f conftest.er1
94385 cat conftest.err >&5
94386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94387 (exit $ac_status); } &&
94388 { ac_try='test -z "$ac_cxx_werror_flag"
94389 || test ! -s conftest.err'
94390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94391 (eval $ac_try) 2>&5
94392 ac_status=$?
94393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94394 (exit $ac_status); }; } &&
94395 { ac_try='test -s conftest.$ac_objext'
94396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94397 (eval $ac_try) 2>&5
94398 ac_status=$?
94399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94400 (exit $ac_status); }; }; then
94401 glibcxx_cv_func_hypotf_use=yes
94402 else
94403 echo "$as_me: failed program was:" >&5
94404 sed 's/^/| /' conftest.$ac_ext >&5
94406 glibcxx_cv_func_hypotf_use=no
94408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94409 ac_ext=c
94410 ac_cpp='$CPP $CPPFLAGS'
94411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94419 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
94420 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
94422 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
94424 for ac_func in hypotf
94426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94427 echo "$as_me:$LINENO: checking for $ac_func" >&5
94428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94429 if eval "test \"\${$as_ac_var+set}\" = set"; then
94430 echo $ECHO_N "(cached) $ECHO_C" >&6
94431 else
94432 if test x$gcc_no_link = xyes; then
94433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94435 { (exit 1); exit 1; }; }
94437 cat >conftest.$ac_ext <<_ACEOF
94438 /* confdefs.h. */
94439 _ACEOF
94440 cat confdefs.h >>conftest.$ac_ext
94441 cat >>conftest.$ac_ext <<_ACEOF
94442 /* end confdefs.h. */
94443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94445 #define $ac_func innocuous_$ac_func
94447 /* System header to define __stub macros and hopefully few prototypes,
94448 which can conflict with char $ac_func (); below.
94449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94450 <limits.h> exists even on freestanding compilers. */
94452 #ifdef __STDC__
94453 # include <limits.h>
94454 #else
94455 # include <assert.h>
94456 #endif
94458 #undef $ac_func
94460 /* Override any gcc2 internal prototype to avoid an error. */
94461 #ifdef __cplusplus
94462 extern "C"
94464 #endif
94465 /* We use char because int might match the return type of a gcc2
94466 builtin and then its argument prototype would still apply. */
94467 char $ac_func ();
94468 /* The GNU C library defines this for functions which it implements
94469 to always fail with ENOSYS. Some functions are actually named
94470 something starting with __ and the normal name is an alias. */
94471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94472 choke me
94473 #else
94474 char (*f) () = $ac_func;
94475 #endif
94476 #ifdef __cplusplus
94478 #endif
94481 main ()
94483 return f != $ac_func;
94485 return 0;
94487 _ACEOF
94488 rm -f conftest.$ac_objext conftest$ac_exeext
94489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94490 (eval $ac_link) 2>conftest.er1
94491 ac_status=$?
94492 grep -v '^ *+' conftest.er1 >conftest.err
94493 rm -f conftest.er1
94494 cat conftest.err >&5
94495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94496 (exit $ac_status); } &&
94497 { ac_try='test -z "$ac_c_werror_flag"
94498 || test ! -s conftest.err'
94499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94500 (eval $ac_try) 2>&5
94501 ac_status=$?
94502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94503 (exit $ac_status); }; } &&
94504 { ac_try='test -s conftest$ac_exeext'
94505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94506 (eval $ac_try) 2>&5
94507 ac_status=$?
94508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94509 (exit $ac_status); }; }; then
94510 eval "$as_ac_var=yes"
94511 else
94512 echo "$as_me: failed program was:" >&5
94513 sed 's/^/| /' conftest.$ac_ext >&5
94515 eval "$as_ac_var=no"
94517 rm -f conftest.err conftest.$ac_objext \
94518 conftest$ac_exeext conftest.$ac_ext
94520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94522 if test `eval echo '${'$as_ac_var'}'` = yes; then
94523 cat >>confdefs.h <<_ACEOF
94524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94525 _ACEOF
94528 done
94530 else
94532 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
94533 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
94534 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
94535 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
94536 echo $ECHO_N "(cached) $ECHO_C" >&6
94537 else
94541 ac_ext=cc
94542 ac_cpp='$CXXCPP $CPPFLAGS'
94543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94547 cat >conftest.$ac_ext <<_ACEOF
94548 /* confdefs.h. */
94549 _ACEOF
94550 cat confdefs.h >>conftest.$ac_ext
94551 cat >>conftest.$ac_ext <<_ACEOF
94552 /* end confdefs.h. */
94553 #include <math.h>
94555 main ()
94557 _hypotf(0, 0);
94559 return 0;
94561 _ACEOF
94562 rm -f conftest.$ac_objext
94563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94564 (eval $ac_compile) 2>conftest.er1
94565 ac_status=$?
94566 grep -v '^ *+' conftest.er1 >conftest.err
94567 rm -f conftest.er1
94568 cat conftest.err >&5
94569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94570 (exit $ac_status); } &&
94571 { ac_try='test -z "$ac_cxx_werror_flag"
94572 || test ! -s conftest.err'
94573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94574 (eval $ac_try) 2>&5
94575 ac_status=$?
94576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94577 (exit $ac_status); }; } &&
94578 { ac_try='test -s conftest.$ac_objext'
94579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94580 (eval $ac_try) 2>&5
94581 ac_status=$?
94582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94583 (exit $ac_status); }; }; then
94584 glibcxx_cv_func__hypotf_use=yes
94585 else
94586 echo "$as_me: failed program was:" >&5
94587 sed 's/^/| /' conftest.$ac_ext >&5
94589 glibcxx_cv_func__hypotf_use=no
94591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94592 ac_ext=c
94593 ac_cpp='$CPP $CPPFLAGS'
94594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94602 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
94603 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
94605 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
94607 for ac_func in _hypotf
94609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94610 echo "$as_me:$LINENO: checking for $ac_func" >&5
94611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94612 if eval "test \"\${$as_ac_var+set}\" = set"; then
94613 echo $ECHO_N "(cached) $ECHO_C" >&6
94614 else
94615 if test x$gcc_no_link = xyes; then
94616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94618 { (exit 1); exit 1; }; }
94620 cat >conftest.$ac_ext <<_ACEOF
94621 /* confdefs.h. */
94622 _ACEOF
94623 cat confdefs.h >>conftest.$ac_ext
94624 cat >>conftest.$ac_ext <<_ACEOF
94625 /* end confdefs.h. */
94626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94628 #define $ac_func innocuous_$ac_func
94630 /* System header to define __stub macros and hopefully few prototypes,
94631 which can conflict with char $ac_func (); below.
94632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94633 <limits.h> exists even on freestanding compilers. */
94635 #ifdef __STDC__
94636 # include <limits.h>
94637 #else
94638 # include <assert.h>
94639 #endif
94641 #undef $ac_func
94643 /* Override any gcc2 internal prototype to avoid an error. */
94644 #ifdef __cplusplus
94645 extern "C"
94647 #endif
94648 /* We use char because int might match the return type of a gcc2
94649 builtin and then its argument prototype would still apply. */
94650 char $ac_func ();
94651 /* The GNU C library defines this for functions which it implements
94652 to always fail with ENOSYS. Some functions are actually named
94653 something starting with __ and the normal name is an alias. */
94654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94655 choke me
94656 #else
94657 char (*f) () = $ac_func;
94658 #endif
94659 #ifdef __cplusplus
94661 #endif
94664 main ()
94666 return f != $ac_func;
94668 return 0;
94670 _ACEOF
94671 rm -f conftest.$ac_objext conftest$ac_exeext
94672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94673 (eval $ac_link) 2>conftest.er1
94674 ac_status=$?
94675 grep -v '^ *+' conftest.er1 >conftest.err
94676 rm -f conftest.er1
94677 cat conftest.err >&5
94678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94679 (exit $ac_status); } &&
94680 { ac_try='test -z "$ac_c_werror_flag"
94681 || test ! -s conftest.err'
94682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94683 (eval $ac_try) 2>&5
94684 ac_status=$?
94685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94686 (exit $ac_status); }; } &&
94687 { ac_try='test -s conftest$ac_exeext'
94688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94689 (eval $ac_try) 2>&5
94690 ac_status=$?
94691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94692 (exit $ac_status); }; }; then
94693 eval "$as_ac_var=yes"
94694 else
94695 echo "$as_me: failed program was:" >&5
94696 sed 's/^/| /' conftest.$ac_ext >&5
94698 eval "$as_ac_var=no"
94700 rm -f conftest.err conftest.$ac_objext \
94701 conftest$ac_exeext conftest.$ac_ext
94703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94705 if test `eval echo '${'$as_ac_var'}'` = yes; then
94706 cat >>confdefs.h <<_ACEOF
94707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94708 _ACEOF
94711 done
94721 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
94722 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
94723 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
94724 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
94725 echo $ECHO_N "(cached) $ECHO_C" >&6
94726 else
94730 ac_ext=cc
94731 ac_cpp='$CXXCPP $CPPFLAGS'
94732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94736 cat >conftest.$ac_ext <<_ACEOF
94737 /* confdefs.h. */
94738 _ACEOF
94739 cat confdefs.h >>conftest.$ac_ext
94740 cat >>conftest.$ac_ext <<_ACEOF
94741 /* end confdefs.h. */
94742 #include <math.h>
94744 main ()
94746 ldexpf(0, 0);
94748 return 0;
94750 _ACEOF
94751 rm -f conftest.$ac_objext
94752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94753 (eval $ac_compile) 2>conftest.er1
94754 ac_status=$?
94755 grep -v '^ *+' conftest.er1 >conftest.err
94756 rm -f conftest.er1
94757 cat conftest.err >&5
94758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94759 (exit $ac_status); } &&
94760 { ac_try='test -z "$ac_cxx_werror_flag"
94761 || test ! -s conftest.err'
94762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94763 (eval $ac_try) 2>&5
94764 ac_status=$?
94765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94766 (exit $ac_status); }; } &&
94767 { ac_try='test -s conftest.$ac_objext'
94768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94769 (eval $ac_try) 2>&5
94770 ac_status=$?
94771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94772 (exit $ac_status); }; }; then
94773 glibcxx_cv_func_ldexpf_use=yes
94774 else
94775 echo "$as_me: failed program was:" >&5
94776 sed 's/^/| /' conftest.$ac_ext >&5
94778 glibcxx_cv_func_ldexpf_use=no
94780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94781 ac_ext=c
94782 ac_cpp='$CPP $CPPFLAGS'
94783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94791 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
94792 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
94794 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
94796 for ac_func in ldexpf
94798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94799 echo "$as_me:$LINENO: checking for $ac_func" >&5
94800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94801 if eval "test \"\${$as_ac_var+set}\" = set"; then
94802 echo $ECHO_N "(cached) $ECHO_C" >&6
94803 else
94804 if test x$gcc_no_link = xyes; then
94805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94807 { (exit 1); exit 1; }; }
94809 cat >conftest.$ac_ext <<_ACEOF
94810 /* confdefs.h. */
94811 _ACEOF
94812 cat confdefs.h >>conftest.$ac_ext
94813 cat >>conftest.$ac_ext <<_ACEOF
94814 /* end confdefs.h. */
94815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94817 #define $ac_func innocuous_$ac_func
94819 /* System header to define __stub macros and hopefully few prototypes,
94820 which can conflict with char $ac_func (); below.
94821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94822 <limits.h> exists even on freestanding compilers. */
94824 #ifdef __STDC__
94825 # include <limits.h>
94826 #else
94827 # include <assert.h>
94828 #endif
94830 #undef $ac_func
94832 /* Override any gcc2 internal prototype to avoid an error. */
94833 #ifdef __cplusplus
94834 extern "C"
94836 #endif
94837 /* We use char because int might match the return type of a gcc2
94838 builtin and then its argument prototype would still apply. */
94839 char $ac_func ();
94840 /* The GNU C library defines this for functions which it implements
94841 to always fail with ENOSYS. Some functions are actually named
94842 something starting with __ and the normal name is an alias. */
94843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94844 choke me
94845 #else
94846 char (*f) () = $ac_func;
94847 #endif
94848 #ifdef __cplusplus
94850 #endif
94853 main ()
94855 return f != $ac_func;
94857 return 0;
94859 _ACEOF
94860 rm -f conftest.$ac_objext conftest$ac_exeext
94861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94862 (eval $ac_link) 2>conftest.er1
94863 ac_status=$?
94864 grep -v '^ *+' conftest.er1 >conftest.err
94865 rm -f conftest.er1
94866 cat conftest.err >&5
94867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94868 (exit $ac_status); } &&
94869 { ac_try='test -z "$ac_c_werror_flag"
94870 || test ! -s conftest.err'
94871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94872 (eval $ac_try) 2>&5
94873 ac_status=$?
94874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94875 (exit $ac_status); }; } &&
94876 { ac_try='test -s conftest$ac_exeext'
94877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94878 (eval $ac_try) 2>&5
94879 ac_status=$?
94880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94881 (exit $ac_status); }; }; then
94882 eval "$as_ac_var=yes"
94883 else
94884 echo "$as_me: failed program was:" >&5
94885 sed 's/^/| /' conftest.$ac_ext >&5
94887 eval "$as_ac_var=no"
94889 rm -f conftest.err conftest.$ac_objext \
94890 conftest$ac_exeext conftest.$ac_ext
94892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94894 if test `eval echo '${'$as_ac_var'}'` = yes; then
94895 cat >>confdefs.h <<_ACEOF
94896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94897 _ACEOF
94900 done
94902 else
94904 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
94905 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
94906 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
94907 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
94908 echo $ECHO_N "(cached) $ECHO_C" >&6
94909 else
94913 ac_ext=cc
94914 ac_cpp='$CXXCPP $CPPFLAGS'
94915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94919 cat >conftest.$ac_ext <<_ACEOF
94920 /* confdefs.h. */
94921 _ACEOF
94922 cat confdefs.h >>conftest.$ac_ext
94923 cat >>conftest.$ac_ext <<_ACEOF
94924 /* end confdefs.h. */
94925 #include <math.h>
94927 main ()
94929 _ldexpf(0, 0);
94931 return 0;
94933 _ACEOF
94934 rm -f conftest.$ac_objext
94935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94936 (eval $ac_compile) 2>conftest.er1
94937 ac_status=$?
94938 grep -v '^ *+' conftest.er1 >conftest.err
94939 rm -f conftest.er1
94940 cat conftest.err >&5
94941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94942 (exit $ac_status); } &&
94943 { ac_try='test -z "$ac_cxx_werror_flag"
94944 || test ! -s conftest.err'
94945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94946 (eval $ac_try) 2>&5
94947 ac_status=$?
94948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94949 (exit $ac_status); }; } &&
94950 { ac_try='test -s conftest.$ac_objext'
94951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94952 (eval $ac_try) 2>&5
94953 ac_status=$?
94954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94955 (exit $ac_status); }; }; then
94956 glibcxx_cv_func__ldexpf_use=yes
94957 else
94958 echo "$as_me: failed program was:" >&5
94959 sed 's/^/| /' conftest.$ac_ext >&5
94961 glibcxx_cv_func__ldexpf_use=no
94963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94964 ac_ext=c
94965 ac_cpp='$CPP $CPPFLAGS'
94966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94974 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
94975 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
94977 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
94979 for ac_func in _ldexpf
94981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94982 echo "$as_me:$LINENO: checking for $ac_func" >&5
94983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94984 if eval "test \"\${$as_ac_var+set}\" = set"; then
94985 echo $ECHO_N "(cached) $ECHO_C" >&6
94986 else
94987 if test x$gcc_no_link = xyes; then
94988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94990 { (exit 1); exit 1; }; }
94992 cat >conftest.$ac_ext <<_ACEOF
94993 /* confdefs.h. */
94994 _ACEOF
94995 cat confdefs.h >>conftest.$ac_ext
94996 cat >>conftest.$ac_ext <<_ACEOF
94997 /* end confdefs.h. */
94998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95000 #define $ac_func innocuous_$ac_func
95002 /* System header to define __stub macros and hopefully few prototypes,
95003 which can conflict with char $ac_func (); below.
95004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95005 <limits.h> exists even on freestanding compilers. */
95007 #ifdef __STDC__
95008 # include <limits.h>
95009 #else
95010 # include <assert.h>
95011 #endif
95013 #undef $ac_func
95015 /* Override any gcc2 internal prototype to avoid an error. */
95016 #ifdef __cplusplus
95017 extern "C"
95019 #endif
95020 /* We use char because int might match the return type of a gcc2
95021 builtin and then its argument prototype would still apply. */
95022 char $ac_func ();
95023 /* The GNU C library defines this for functions which it implements
95024 to always fail with ENOSYS. Some functions are actually named
95025 something starting with __ and the normal name is an alias. */
95026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95027 choke me
95028 #else
95029 char (*f) () = $ac_func;
95030 #endif
95031 #ifdef __cplusplus
95033 #endif
95036 main ()
95038 return f != $ac_func;
95040 return 0;
95042 _ACEOF
95043 rm -f conftest.$ac_objext conftest$ac_exeext
95044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95045 (eval $ac_link) 2>conftest.er1
95046 ac_status=$?
95047 grep -v '^ *+' conftest.er1 >conftest.err
95048 rm -f conftest.er1
95049 cat conftest.err >&5
95050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95051 (exit $ac_status); } &&
95052 { ac_try='test -z "$ac_c_werror_flag"
95053 || test ! -s conftest.err'
95054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95055 (eval $ac_try) 2>&5
95056 ac_status=$?
95057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95058 (exit $ac_status); }; } &&
95059 { ac_try='test -s conftest$ac_exeext'
95060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95061 (eval $ac_try) 2>&5
95062 ac_status=$?
95063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95064 (exit $ac_status); }; }; then
95065 eval "$as_ac_var=yes"
95066 else
95067 echo "$as_me: failed program was:" >&5
95068 sed 's/^/| /' conftest.$ac_ext >&5
95070 eval "$as_ac_var=no"
95072 rm -f conftest.err conftest.$ac_objext \
95073 conftest$ac_exeext conftest.$ac_ext
95075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95077 if test `eval echo '${'$as_ac_var'}'` = yes; then
95078 cat >>confdefs.h <<_ACEOF
95079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95080 _ACEOF
95083 done
95093 echo "$as_me:$LINENO: checking for logf declaration" >&5
95094 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
95095 if test x${glibcxx_cv_func_logf_use+set} != xset; then
95096 if test "${glibcxx_cv_func_logf_use+set}" = set; then
95097 echo $ECHO_N "(cached) $ECHO_C" >&6
95098 else
95102 ac_ext=cc
95103 ac_cpp='$CXXCPP $CPPFLAGS'
95104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95108 cat >conftest.$ac_ext <<_ACEOF
95109 /* confdefs.h. */
95110 _ACEOF
95111 cat confdefs.h >>conftest.$ac_ext
95112 cat >>conftest.$ac_ext <<_ACEOF
95113 /* end confdefs.h. */
95114 #include <math.h>
95115 #ifdef HAVE_IEEEFP_H
95116 #include <ieeefp.h>
95117 #endif
95120 main ()
95122 logf(0);
95124 return 0;
95126 _ACEOF
95127 rm -f conftest.$ac_objext
95128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95129 (eval $ac_compile) 2>conftest.er1
95130 ac_status=$?
95131 grep -v '^ *+' conftest.er1 >conftest.err
95132 rm -f conftest.er1
95133 cat conftest.err >&5
95134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95135 (exit $ac_status); } &&
95136 { ac_try='test -z "$ac_cxx_werror_flag"
95137 || test ! -s conftest.err'
95138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95139 (eval $ac_try) 2>&5
95140 ac_status=$?
95141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95142 (exit $ac_status); }; } &&
95143 { ac_try='test -s conftest.$ac_objext'
95144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95145 (eval $ac_try) 2>&5
95146 ac_status=$?
95147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95148 (exit $ac_status); }; }; then
95149 glibcxx_cv_func_logf_use=yes
95150 else
95151 echo "$as_me: failed program was:" >&5
95152 sed 's/^/| /' conftest.$ac_ext >&5
95154 glibcxx_cv_func_logf_use=no
95156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95157 ac_ext=c
95158 ac_cpp='$CPP $CPPFLAGS'
95159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95167 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
95168 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
95170 if test x$glibcxx_cv_func_logf_use = x"yes"; then
95172 for ac_func in logf
95174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95175 echo "$as_me:$LINENO: checking for $ac_func" >&5
95176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95177 if eval "test \"\${$as_ac_var+set}\" = set"; then
95178 echo $ECHO_N "(cached) $ECHO_C" >&6
95179 else
95180 if test x$gcc_no_link = xyes; then
95181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95183 { (exit 1); exit 1; }; }
95185 cat >conftest.$ac_ext <<_ACEOF
95186 /* confdefs.h. */
95187 _ACEOF
95188 cat confdefs.h >>conftest.$ac_ext
95189 cat >>conftest.$ac_ext <<_ACEOF
95190 /* end confdefs.h. */
95191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95193 #define $ac_func innocuous_$ac_func
95195 /* System header to define __stub macros and hopefully few prototypes,
95196 which can conflict with char $ac_func (); below.
95197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95198 <limits.h> exists even on freestanding compilers. */
95200 #ifdef __STDC__
95201 # include <limits.h>
95202 #else
95203 # include <assert.h>
95204 #endif
95206 #undef $ac_func
95208 /* Override any gcc2 internal prototype to avoid an error. */
95209 #ifdef __cplusplus
95210 extern "C"
95212 #endif
95213 /* We use char because int might match the return type of a gcc2
95214 builtin and then its argument prototype would still apply. */
95215 char $ac_func ();
95216 /* The GNU C library defines this for functions which it implements
95217 to always fail with ENOSYS. Some functions are actually named
95218 something starting with __ and the normal name is an alias. */
95219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95220 choke me
95221 #else
95222 char (*f) () = $ac_func;
95223 #endif
95224 #ifdef __cplusplus
95226 #endif
95229 main ()
95231 return f != $ac_func;
95233 return 0;
95235 _ACEOF
95236 rm -f conftest.$ac_objext conftest$ac_exeext
95237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95238 (eval $ac_link) 2>conftest.er1
95239 ac_status=$?
95240 grep -v '^ *+' conftest.er1 >conftest.err
95241 rm -f conftest.er1
95242 cat conftest.err >&5
95243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95244 (exit $ac_status); } &&
95245 { ac_try='test -z "$ac_c_werror_flag"
95246 || test ! -s conftest.err'
95247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95248 (eval $ac_try) 2>&5
95249 ac_status=$?
95250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95251 (exit $ac_status); }; } &&
95252 { ac_try='test -s conftest$ac_exeext'
95253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95254 (eval $ac_try) 2>&5
95255 ac_status=$?
95256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95257 (exit $ac_status); }; }; then
95258 eval "$as_ac_var=yes"
95259 else
95260 echo "$as_me: failed program was:" >&5
95261 sed 's/^/| /' conftest.$ac_ext >&5
95263 eval "$as_ac_var=no"
95265 rm -f conftest.err conftest.$ac_objext \
95266 conftest$ac_exeext conftest.$ac_ext
95268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95270 if test `eval echo '${'$as_ac_var'}'` = yes; then
95271 cat >>confdefs.h <<_ACEOF
95272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95273 _ACEOF
95276 done
95278 else
95280 echo "$as_me:$LINENO: checking for _logf declaration" >&5
95281 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
95282 if test x${glibcxx_cv_func__logf_use+set} != xset; then
95283 if test "${glibcxx_cv_func__logf_use+set}" = set; then
95284 echo $ECHO_N "(cached) $ECHO_C" >&6
95285 else
95289 ac_ext=cc
95290 ac_cpp='$CXXCPP $CPPFLAGS'
95291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95295 cat >conftest.$ac_ext <<_ACEOF
95296 /* confdefs.h. */
95297 _ACEOF
95298 cat confdefs.h >>conftest.$ac_ext
95299 cat >>conftest.$ac_ext <<_ACEOF
95300 /* end confdefs.h. */
95301 #include <math.h>
95302 #ifdef HAVE_IEEEFP_H
95303 #include <ieeefp.h>
95304 #endif
95307 main ()
95309 _logf(0);
95311 return 0;
95313 _ACEOF
95314 rm -f conftest.$ac_objext
95315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95316 (eval $ac_compile) 2>conftest.er1
95317 ac_status=$?
95318 grep -v '^ *+' conftest.er1 >conftest.err
95319 rm -f conftest.er1
95320 cat conftest.err >&5
95321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95322 (exit $ac_status); } &&
95323 { ac_try='test -z "$ac_cxx_werror_flag"
95324 || test ! -s conftest.err'
95325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95326 (eval $ac_try) 2>&5
95327 ac_status=$?
95328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95329 (exit $ac_status); }; } &&
95330 { ac_try='test -s conftest.$ac_objext'
95331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95332 (eval $ac_try) 2>&5
95333 ac_status=$?
95334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95335 (exit $ac_status); }; }; then
95336 glibcxx_cv_func__logf_use=yes
95337 else
95338 echo "$as_me: failed program was:" >&5
95339 sed 's/^/| /' conftest.$ac_ext >&5
95341 glibcxx_cv_func__logf_use=no
95343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95344 ac_ext=c
95345 ac_cpp='$CPP $CPPFLAGS'
95346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95354 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
95355 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
95357 if test x$glibcxx_cv_func__logf_use = x"yes"; then
95359 for ac_func in _logf
95361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95362 echo "$as_me:$LINENO: checking for $ac_func" >&5
95363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95364 if eval "test \"\${$as_ac_var+set}\" = set"; then
95365 echo $ECHO_N "(cached) $ECHO_C" >&6
95366 else
95367 if test x$gcc_no_link = xyes; then
95368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95370 { (exit 1); exit 1; }; }
95372 cat >conftest.$ac_ext <<_ACEOF
95373 /* confdefs.h. */
95374 _ACEOF
95375 cat confdefs.h >>conftest.$ac_ext
95376 cat >>conftest.$ac_ext <<_ACEOF
95377 /* end confdefs.h. */
95378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95380 #define $ac_func innocuous_$ac_func
95382 /* System header to define __stub macros and hopefully few prototypes,
95383 which can conflict with char $ac_func (); below.
95384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95385 <limits.h> exists even on freestanding compilers. */
95387 #ifdef __STDC__
95388 # include <limits.h>
95389 #else
95390 # include <assert.h>
95391 #endif
95393 #undef $ac_func
95395 /* Override any gcc2 internal prototype to avoid an error. */
95396 #ifdef __cplusplus
95397 extern "C"
95399 #endif
95400 /* We use char because int might match the return type of a gcc2
95401 builtin and then its argument prototype would still apply. */
95402 char $ac_func ();
95403 /* The GNU C library defines this for functions which it implements
95404 to always fail with ENOSYS. Some functions are actually named
95405 something starting with __ and the normal name is an alias. */
95406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95407 choke me
95408 #else
95409 char (*f) () = $ac_func;
95410 #endif
95411 #ifdef __cplusplus
95413 #endif
95416 main ()
95418 return f != $ac_func;
95420 return 0;
95422 _ACEOF
95423 rm -f conftest.$ac_objext conftest$ac_exeext
95424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95425 (eval $ac_link) 2>conftest.er1
95426 ac_status=$?
95427 grep -v '^ *+' conftest.er1 >conftest.err
95428 rm -f conftest.er1
95429 cat conftest.err >&5
95430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95431 (exit $ac_status); } &&
95432 { ac_try='test -z "$ac_c_werror_flag"
95433 || test ! -s conftest.err'
95434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95435 (eval $ac_try) 2>&5
95436 ac_status=$?
95437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95438 (exit $ac_status); }; } &&
95439 { ac_try='test -s conftest$ac_exeext'
95440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95441 (eval $ac_try) 2>&5
95442 ac_status=$?
95443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95444 (exit $ac_status); }; }; then
95445 eval "$as_ac_var=yes"
95446 else
95447 echo "$as_me: failed program was:" >&5
95448 sed 's/^/| /' conftest.$ac_ext >&5
95450 eval "$as_ac_var=no"
95452 rm -f conftest.err conftest.$ac_objext \
95453 conftest$ac_exeext conftest.$ac_ext
95455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95457 if test `eval echo '${'$as_ac_var'}'` = yes; then
95458 cat >>confdefs.h <<_ACEOF
95459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95460 _ACEOF
95463 done
95473 echo "$as_me:$LINENO: checking for log10f declaration" >&5
95474 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
95475 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
95476 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
95477 echo $ECHO_N "(cached) $ECHO_C" >&6
95478 else
95482 ac_ext=cc
95483 ac_cpp='$CXXCPP $CPPFLAGS'
95484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95488 cat >conftest.$ac_ext <<_ACEOF
95489 /* confdefs.h. */
95490 _ACEOF
95491 cat confdefs.h >>conftest.$ac_ext
95492 cat >>conftest.$ac_ext <<_ACEOF
95493 /* end confdefs.h. */
95494 #include <math.h>
95495 #ifdef HAVE_IEEEFP_H
95496 #include <ieeefp.h>
95497 #endif
95500 main ()
95502 log10f(0);
95504 return 0;
95506 _ACEOF
95507 rm -f conftest.$ac_objext
95508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95509 (eval $ac_compile) 2>conftest.er1
95510 ac_status=$?
95511 grep -v '^ *+' conftest.er1 >conftest.err
95512 rm -f conftest.er1
95513 cat conftest.err >&5
95514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95515 (exit $ac_status); } &&
95516 { ac_try='test -z "$ac_cxx_werror_flag"
95517 || test ! -s conftest.err'
95518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95519 (eval $ac_try) 2>&5
95520 ac_status=$?
95521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95522 (exit $ac_status); }; } &&
95523 { ac_try='test -s conftest.$ac_objext'
95524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95525 (eval $ac_try) 2>&5
95526 ac_status=$?
95527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95528 (exit $ac_status); }; }; then
95529 glibcxx_cv_func_log10f_use=yes
95530 else
95531 echo "$as_me: failed program was:" >&5
95532 sed 's/^/| /' conftest.$ac_ext >&5
95534 glibcxx_cv_func_log10f_use=no
95536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95537 ac_ext=c
95538 ac_cpp='$CPP $CPPFLAGS'
95539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95547 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
95548 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
95550 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
95552 for ac_func in log10f
95554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95555 echo "$as_me:$LINENO: checking for $ac_func" >&5
95556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95557 if eval "test \"\${$as_ac_var+set}\" = set"; then
95558 echo $ECHO_N "(cached) $ECHO_C" >&6
95559 else
95560 if test x$gcc_no_link = xyes; then
95561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95563 { (exit 1); exit 1; }; }
95565 cat >conftest.$ac_ext <<_ACEOF
95566 /* confdefs.h. */
95567 _ACEOF
95568 cat confdefs.h >>conftest.$ac_ext
95569 cat >>conftest.$ac_ext <<_ACEOF
95570 /* end confdefs.h. */
95571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95573 #define $ac_func innocuous_$ac_func
95575 /* System header to define __stub macros and hopefully few prototypes,
95576 which can conflict with char $ac_func (); below.
95577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95578 <limits.h> exists even on freestanding compilers. */
95580 #ifdef __STDC__
95581 # include <limits.h>
95582 #else
95583 # include <assert.h>
95584 #endif
95586 #undef $ac_func
95588 /* Override any gcc2 internal prototype to avoid an error. */
95589 #ifdef __cplusplus
95590 extern "C"
95592 #endif
95593 /* We use char because int might match the return type of a gcc2
95594 builtin and then its argument prototype would still apply. */
95595 char $ac_func ();
95596 /* The GNU C library defines this for functions which it implements
95597 to always fail with ENOSYS. Some functions are actually named
95598 something starting with __ and the normal name is an alias. */
95599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95600 choke me
95601 #else
95602 char (*f) () = $ac_func;
95603 #endif
95604 #ifdef __cplusplus
95606 #endif
95609 main ()
95611 return f != $ac_func;
95613 return 0;
95615 _ACEOF
95616 rm -f conftest.$ac_objext conftest$ac_exeext
95617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95618 (eval $ac_link) 2>conftest.er1
95619 ac_status=$?
95620 grep -v '^ *+' conftest.er1 >conftest.err
95621 rm -f conftest.er1
95622 cat conftest.err >&5
95623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95624 (exit $ac_status); } &&
95625 { ac_try='test -z "$ac_c_werror_flag"
95626 || test ! -s conftest.err'
95627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95628 (eval $ac_try) 2>&5
95629 ac_status=$?
95630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95631 (exit $ac_status); }; } &&
95632 { ac_try='test -s conftest$ac_exeext'
95633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95634 (eval $ac_try) 2>&5
95635 ac_status=$?
95636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95637 (exit $ac_status); }; }; then
95638 eval "$as_ac_var=yes"
95639 else
95640 echo "$as_me: failed program was:" >&5
95641 sed 's/^/| /' conftest.$ac_ext >&5
95643 eval "$as_ac_var=no"
95645 rm -f conftest.err conftest.$ac_objext \
95646 conftest$ac_exeext conftest.$ac_ext
95648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95650 if test `eval echo '${'$as_ac_var'}'` = yes; then
95651 cat >>confdefs.h <<_ACEOF
95652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95653 _ACEOF
95656 done
95658 else
95660 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
95661 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
95662 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
95663 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
95664 echo $ECHO_N "(cached) $ECHO_C" >&6
95665 else
95669 ac_ext=cc
95670 ac_cpp='$CXXCPP $CPPFLAGS'
95671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95675 cat >conftest.$ac_ext <<_ACEOF
95676 /* confdefs.h. */
95677 _ACEOF
95678 cat confdefs.h >>conftest.$ac_ext
95679 cat >>conftest.$ac_ext <<_ACEOF
95680 /* end confdefs.h. */
95681 #include <math.h>
95682 #ifdef HAVE_IEEEFP_H
95683 #include <ieeefp.h>
95684 #endif
95687 main ()
95689 _log10f(0);
95691 return 0;
95693 _ACEOF
95694 rm -f conftest.$ac_objext
95695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95696 (eval $ac_compile) 2>conftest.er1
95697 ac_status=$?
95698 grep -v '^ *+' conftest.er1 >conftest.err
95699 rm -f conftest.er1
95700 cat conftest.err >&5
95701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95702 (exit $ac_status); } &&
95703 { ac_try='test -z "$ac_cxx_werror_flag"
95704 || test ! -s conftest.err'
95705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95706 (eval $ac_try) 2>&5
95707 ac_status=$?
95708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95709 (exit $ac_status); }; } &&
95710 { ac_try='test -s conftest.$ac_objext'
95711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95712 (eval $ac_try) 2>&5
95713 ac_status=$?
95714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95715 (exit $ac_status); }; }; then
95716 glibcxx_cv_func__log10f_use=yes
95717 else
95718 echo "$as_me: failed program was:" >&5
95719 sed 's/^/| /' conftest.$ac_ext >&5
95721 glibcxx_cv_func__log10f_use=no
95723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95724 ac_ext=c
95725 ac_cpp='$CPP $CPPFLAGS'
95726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95734 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
95735 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
95737 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
95739 for ac_func in _log10f
95741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95742 echo "$as_me:$LINENO: checking for $ac_func" >&5
95743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95744 if eval "test \"\${$as_ac_var+set}\" = set"; then
95745 echo $ECHO_N "(cached) $ECHO_C" >&6
95746 else
95747 if test x$gcc_no_link = xyes; then
95748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95750 { (exit 1); exit 1; }; }
95752 cat >conftest.$ac_ext <<_ACEOF
95753 /* confdefs.h. */
95754 _ACEOF
95755 cat confdefs.h >>conftest.$ac_ext
95756 cat >>conftest.$ac_ext <<_ACEOF
95757 /* end confdefs.h. */
95758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95760 #define $ac_func innocuous_$ac_func
95762 /* System header to define __stub macros and hopefully few prototypes,
95763 which can conflict with char $ac_func (); below.
95764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95765 <limits.h> exists even on freestanding compilers. */
95767 #ifdef __STDC__
95768 # include <limits.h>
95769 #else
95770 # include <assert.h>
95771 #endif
95773 #undef $ac_func
95775 /* Override any gcc2 internal prototype to avoid an error. */
95776 #ifdef __cplusplus
95777 extern "C"
95779 #endif
95780 /* We use char because int might match the return type of a gcc2
95781 builtin and then its argument prototype would still apply. */
95782 char $ac_func ();
95783 /* The GNU C library defines this for functions which it implements
95784 to always fail with ENOSYS. Some functions are actually named
95785 something starting with __ and the normal name is an alias. */
95786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95787 choke me
95788 #else
95789 char (*f) () = $ac_func;
95790 #endif
95791 #ifdef __cplusplus
95793 #endif
95796 main ()
95798 return f != $ac_func;
95800 return 0;
95802 _ACEOF
95803 rm -f conftest.$ac_objext conftest$ac_exeext
95804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95805 (eval $ac_link) 2>conftest.er1
95806 ac_status=$?
95807 grep -v '^ *+' conftest.er1 >conftest.err
95808 rm -f conftest.er1
95809 cat conftest.err >&5
95810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95811 (exit $ac_status); } &&
95812 { ac_try='test -z "$ac_c_werror_flag"
95813 || test ! -s conftest.err'
95814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95815 (eval $ac_try) 2>&5
95816 ac_status=$?
95817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95818 (exit $ac_status); }; } &&
95819 { ac_try='test -s conftest$ac_exeext'
95820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95821 (eval $ac_try) 2>&5
95822 ac_status=$?
95823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95824 (exit $ac_status); }; }; then
95825 eval "$as_ac_var=yes"
95826 else
95827 echo "$as_me: failed program was:" >&5
95828 sed 's/^/| /' conftest.$ac_ext >&5
95830 eval "$as_ac_var=no"
95832 rm -f conftest.err conftest.$ac_objext \
95833 conftest$ac_exeext conftest.$ac_ext
95835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95837 if test `eval echo '${'$as_ac_var'}'` = yes; then
95838 cat >>confdefs.h <<_ACEOF
95839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95840 _ACEOF
95843 done
95853 echo "$as_me:$LINENO: checking for modff declaration" >&5
95854 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
95855 if test x${glibcxx_cv_func_modff_use+set} != xset; then
95856 if test "${glibcxx_cv_func_modff_use+set}" = set; then
95857 echo $ECHO_N "(cached) $ECHO_C" >&6
95858 else
95862 ac_ext=cc
95863 ac_cpp='$CXXCPP $CPPFLAGS'
95864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95868 cat >conftest.$ac_ext <<_ACEOF
95869 /* confdefs.h. */
95870 _ACEOF
95871 cat confdefs.h >>conftest.$ac_ext
95872 cat >>conftest.$ac_ext <<_ACEOF
95873 /* end confdefs.h. */
95874 #include <math.h>
95876 main ()
95878 modff(0, 0);
95880 return 0;
95882 _ACEOF
95883 rm -f conftest.$ac_objext
95884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95885 (eval $ac_compile) 2>conftest.er1
95886 ac_status=$?
95887 grep -v '^ *+' conftest.er1 >conftest.err
95888 rm -f conftest.er1
95889 cat conftest.err >&5
95890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95891 (exit $ac_status); } &&
95892 { ac_try='test -z "$ac_cxx_werror_flag"
95893 || test ! -s conftest.err'
95894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95895 (eval $ac_try) 2>&5
95896 ac_status=$?
95897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95898 (exit $ac_status); }; } &&
95899 { ac_try='test -s conftest.$ac_objext'
95900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95901 (eval $ac_try) 2>&5
95902 ac_status=$?
95903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95904 (exit $ac_status); }; }; then
95905 glibcxx_cv_func_modff_use=yes
95906 else
95907 echo "$as_me: failed program was:" >&5
95908 sed 's/^/| /' conftest.$ac_ext >&5
95910 glibcxx_cv_func_modff_use=no
95912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95913 ac_ext=c
95914 ac_cpp='$CPP $CPPFLAGS'
95915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95923 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
95924 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
95926 if test x$glibcxx_cv_func_modff_use = x"yes"; then
95928 for ac_func in modff
95930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95931 echo "$as_me:$LINENO: checking for $ac_func" >&5
95932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95933 if eval "test \"\${$as_ac_var+set}\" = set"; then
95934 echo $ECHO_N "(cached) $ECHO_C" >&6
95935 else
95936 if test x$gcc_no_link = xyes; then
95937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95939 { (exit 1); exit 1; }; }
95941 cat >conftest.$ac_ext <<_ACEOF
95942 /* confdefs.h. */
95943 _ACEOF
95944 cat confdefs.h >>conftest.$ac_ext
95945 cat >>conftest.$ac_ext <<_ACEOF
95946 /* end confdefs.h. */
95947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95949 #define $ac_func innocuous_$ac_func
95951 /* System header to define __stub macros and hopefully few prototypes,
95952 which can conflict with char $ac_func (); below.
95953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95954 <limits.h> exists even on freestanding compilers. */
95956 #ifdef __STDC__
95957 # include <limits.h>
95958 #else
95959 # include <assert.h>
95960 #endif
95962 #undef $ac_func
95964 /* Override any gcc2 internal prototype to avoid an error. */
95965 #ifdef __cplusplus
95966 extern "C"
95968 #endif
95969 /* We use char because int might match the return type of a gcc2
95970 builtin and then its argument prototype would still apply. */
95971 char $ac_func ();
95972 /* The GNU C library defines this for functions which it implements
95973 to always fail with ENOSYS. Some functions are actually named
95974 something starting with __ and the normal name is an alias. */
95975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95976 choke me
95977 #else
95978 char (*f) () = $ac_func;
95979 #endif
95980 #ifdef __cplusplus
95982 #endif
95985 main ()
95987 return f != $ac_func;
95989 return 0;
95991 _ACEOF
95992 rm -f conftest.$ac_objext conftest$ac_exeext
95993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95994 (eval $ac_link) 2>conftest.er1
95995 ac_status=$?
95996 grep -v '^ *+' conftest.er1 >conftest.err
95997 rm -f conftest.er1
95998 cat conftest.err >&5
95999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96000 (exit $ac_status); } &&
96001 { ac_try='test -z "$ac_c_werror_flag"
96002 || test ! -s conftest.err'
96003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96004 (eval $ac_try) 2>&5
96005 ac_status=$?
96006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96007 (exit $ac_status); }; } &&
96008 { ac_try='test -s conftest$ac_exeext'
96009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96010 (eval $ac_try) 2>&5
96011 ac_status=$?
96012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96013 (exit $ac_status); }; }; then
96014 eval "$as_ac_var=yes"
96015 else
96016 echo "$as_me: failed program was:" >&5
96017 sed 's/^/| /' conftest.$ac_ext >&5
96019 eval "$as_ac_var=no"
96021 rm -f conftest.err conftest.$ac_objext \
96022 conftest$ac_exeext conftest.$ac_ext
96024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96026 if test `eval echo '${'$as_ac_var'}'` = yes; then
96027 cat >>confdefs.h <<_ACEOF
96028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96029 _ACEOF
96032 done
96034 else
96036 echo "$as_me:$LINENO: checking for _modff declaration" >&5
96037 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
96038 if test x${glibcxx_cv_func__modff_use+set} != xset; then
96039 if test "${glibcxx_cv_func__modff_use+set}" = set; then
96040 echo $ECHO_N "(cached) $ECHO_C" >&6
96041 else
96045 ac_ext=cc
96046 ac_cpp='$CXXCPP $CPPFLAGS'
96047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96051 cat >conftest.$ac_ext <<_ACEOF
96052 /* confdefs.h. */
96053 _ACEOF
96054 cat confdefs.h >>conftest.$ac_ext
96055 cat >>conftest.$ac_ext <<_ACEOF
96056 /* end confdefs.h. */
96057 #include <math.h>
96059 main ()
96061 _modff(0, 0);
96063 return 0;
96065 _ACEOF
96066 rm -f conftest.$ac_objext
96067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96068 (eval $ac_compile) 2>conftest.er1
96069 ac_status=$?
96070 grep -v '^ *+' conftest.er1 >conftest.err
96071 rm -f conftest.er1
96072 cat conftest.err >&5
96073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96074 (exit $ac_status); } &&
96075 { ac_try='test -z "$ac_cxx_werror_flag"
96076 || test ! -s conftest.err'
96077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96078 (eval $ac_try) 2>&5
96079 ac_status=$?
96080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96081 (exit $ac_status); }; } &&
96082 { ac_try='test -s conftest.$ac_objext'
96083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96084 (eval $ac_try) 2>&5
96085 ac_status=$?
96086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96087 (exit $ac_status); }; }; then
96088 glibcxx_cv_func__modff_use=yes
96089 else
96090 echo "$as_me: failed program was:" >&5
96091 sed 's/^/| /' conftest.$ac_ext >&5
96093 glibcxx_cv_func__modff_use=no
96095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96096 ac_ext=c
96097 ac_cpp='$CPP $CPPFLAGS'
96098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96106 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
96107 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
96109 if test x$glibcxx_cv_func__modff_use = x"yes"; then
96111 for ac_func in _modff
96113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96114 echo "$as_me:$LINENO: checking for $ac_func" >&5
96115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96116 if eval "test \"\${$as_ac_var+set}\" = set"; then
96117 echo $ECHO_N "(cached) $ECHO_C" >&6
96118 else
96119 if test x$gcc_no_link = xyes; then
96120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96122 { (exit 1); exit 1; }; }
96124 cat >conftest.$ac_ext <<_ACEOF
96125 /* confdefs.h. */
96126 _ACEOF
96127 cat confdefs.h >>conftest.$ac_ext
96128 cat >>conftest.$ac_ext <<_ACEOF
96129 /* end confdefs.h. */
96130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96132 #define $ac_func innocuous_$ac_func
96134 /* System header to define __stub macros and hopefully few prototypes,
96135 which can conflict with char $ac_func (); below.
96136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96137 <limits.h> exists even on freestanding compilers. */
96139 #ifdef __STDC__
96140 # include <limits.h>
96141 #else
96142 # include <assert.h>
96143 #endif
96145 #undef $ac_func
96147 /* Override any gcc2 internal prototype to avoid an error. */
96148 #ifdef __cplusplus
96149 extern "C"
96151 #endif
96152 /* We use char because int might match the return type of a gcc2
96153 builtin and then its argument prototype would still apply. */
96154 char $ac_func ();
96155 /* The GNU C library defines this for functions which it implements
96156 to always fail with ENOSYS. Some functions are actually named
96157 something starting with __ and the normal name is an alias. */
96158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96159 choke me
96160 #else
96161 char (*f) () = $ac_func;
96162 #endif
96163 #ifdef __cplusplus
96165 #endif
96168 main ()
96170 return f != $ac_func;
96172 return 0;
96174 _ACEOF
96175 rm -f conftest.$ac_objext conftest$ac_exeext
96176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96177 (eval $ac_link) 2>conftest.er1
96178 ac_status=$?
96179 grep -v '^ *+' conftest.er1 >conftest.err
96180 rm -f conftest.er1
96181 cat conftest.err >&5
96182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96183 (exit $ac_status); } &&
96184 { ac_try='test -z "$ac_c_werror_flag"
96185 || test ! -s conftest.err'
96186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96187 (eval $ac_try) 2>&5
96188 ac_status=$?
96189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96190 (exit $ac_status); }; } &&
96191 { ac_try='test -s conftest$ac_exeext'
96192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96193 (eval $ac_try) 2>&5
96194 ac_status=$?
96195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96196 (exit $ac_status); }; }; then
96197 eval "$as_ac_var=yes"
96198 else
96199 echo "$as_me: failed program was:" >&5
96200 sed 's/^/| /' conftest.$ac_ext >&5
96202 eval "$as_ac_var=no"
96204 rm -f conftest.err conftest.$ac_objext \
96205 conftest$ac_exeext conftest.$ac_ext
96207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96209 if test `eval echo '${'$as_ac_var'}'` = yes; then
96210 cat >>confdefs.h <<_ACEOF
96211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96212 _ACEOF
96215 done
96225 echo "$as_me:$LINENO: checking for modf declaration" >&5
96226 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
96227 if test x${glibcxx_cv_func_modf_use+set} != xset; then
96228 if test "${glibcxx_cv_func_modf_use+set}" = set; then
96229 echo $ECHO_N "(cached) $ECHO_C" >&6
96230 else
96234 ac_ext=cc
96235 ac_cpp='$CXXCPP $CPPFLAGS'
96236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96240 cat >conftest.$ac_ext <<_ACEOF
96241 /* confdefs.h. */
96242 _ACEOF
96243 cat confdefs.h >>conftest.$ac_ext
96244 cat >>conftest.$ac_ext <<_ACEOF
96245 /* end confdefs.h. */
96246 #include <math.h>
96248 main ()
96250 modf(0, 0);
96252 return 0;
96254 _ACEOF
96255 rm -f conftest.$ac_objext
96256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96257 (eval $ac_compile) 2>conftest.er1
96258 ac_status=$?
96259 grep -v '^ *+' conftest.er1 >conftest.err
96260 rm -f conftest.er1
96261 cat conftest.err >&5
96262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96263 (exit $ac_status); } &&
96264 { ac_try='test -z "$ac_cxx_werror_flag"
96265 || test ! -s conftest.err'
96266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96267 (eval $ac_try) 2>&5
96268 ac_status=$?
96269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96270 (exit $ac_status); }; } &&
96271 { ac_try='test -s conftest.$ac_objext'
96272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96273 (eval $ac_try) 2>&5
96274 ac_status=$?
96275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96276 (exit $ac_status); }; }; then
96277 glibcxx_cv_func_modf_use=yes
96278 else
96279 echo "$as_me: failed program was:" >&5
96280 sed 's/^/| /' conftest.$ac_ext >&5
96282 glibcxx_cv_func_modf_use=no
96284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96285 ac_ext=c
96286 ac_cpp='$CPP $CPPFLAGS'
96287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96295 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
96296 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
96298 if test x$glibcxx_cv_func_modf_use = x"yes"; then
96300 for ac_func in modf
96302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96303 echo "$as_me:$LINENO: checking for $ac_func" >&5
96304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96305 if eval "test \"\${$as_ac_var+set}\" = set"; then
96306 echo $ECHO_N "(cached) $ECHO_C" >&6
96307 else
96308 if test x$gcc_no_link = xyes; then
96309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96311 { (exit 1); exit 1; }; }
96313 cat >conftest.$ac_ext <<_ACEOF
96314 /* confdefs.h. */
96315 _ACEOF
96316 cat confdefs.h >>conftest.$ac_ext
96317 cat >>conftest.$ac_ext <<_ACEOF
96318 /* end confdefs.h. */
96319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96321 #define $ac_func innocuous_$ac_func
96323 /* System header to define __stub macros and hopefully few prototypes,
96324 which can conflict with char $ac_func (); below.
96325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96326 <limits.h> exists even on freestanding compilers. */
96328 #ifdef __STDC__
96329 # include <limits.h>
96330 #else
96331 # include <assert.h>
96332 #endif
96334 #undef $ac_func
96336 /* Override any gcc2 internal prototype to avoid an error. */
96337 #ifdef __cplusplus
96338 extern "C"
96340 #endif
96341 /* We use char because int might match the return type of a gcc2
96342 builtin and then its argument prototype would still apply. */
96343 char $ac_func ();
96344 /* The GNU C library defines this for functions which it implements
96345 to always fail with ENOSYS. Some functions are actually named
96346 something starting with __ and the normal name is an alias. */
96347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96348 choke me
96349 #else
96350 char (*f) () = $ac_func;
96351 #endif
96352 #ifdef __cplusplus
96354 #endif
96357 main ()
96359 return f != $ac_func;
96361 return 0;
96363 _ACEOF
96364 rm -f conftest.$ac_objext conftest$ac_exeext
96365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96366 (eval $ac_link) 2>conftest.er1
96367 ac_status=$?
96368 grep -v '^ *+' conftest.er1 >conftest.err
96369 rm -f conftest.er1
96370 cat conftest.err >&5
96371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96372 (exit $ac_status); } &&
96373 { ac_try='test -z "$ac_c_werror_flag"
96374 || test ! -s conftest.err'
96375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96376 (eval $ac_try) 2>&5
96377 ac_status=$?
96378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96379 (exit $ac_status); }; } &&
96380 { ac_try='test -s conftest$ac_exeext'
96381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96382 (eval $ac_try) 2>&5
96383 ac_status=$?
96384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96385 (exit $ac_status); }; }; then
96386 eval "$as_ac_var=yes"
96387 else
96388 echo "$as_me: failed program was:" >&5
96389 sed 's/^/| /' conftest.$ac_ext >&5
96391 eval "$as_ac_var=no"
96393 rm -f conftest.err conftest.$ac_objext \
96394 conftest$ac_exeext conftest.$ac_ext
96396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96398 if test `eval echo '${'$as_ac_var'}'` = yes; then
96399 cat >>confdefs.h <<_ACEOF
96400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96401 _ACEOF
96404 done
96406 else
96408 echo "$as_me:$LINENO: checking for _modf declaration" >&5
96409 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
96410 if test x${glibcxx_cv_func__modf_use+set} != xset; then
96411 if test "${glibcxx_cv_func__modf_use+set}" = set; then
96412 echo $ECHO_N "(cached) $ECHO_C" >&6
96413 else
96417 ac_ext=cc
96418 ac_cpp='$CXXCPP $CPPFLAGS'
96419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96423 cat >conftest.$ac_ext <<_ACEOF
96424 /* confdefs.h. */
96425 _ACEOF
96426 cat confdefs.h >>conftest.$ac_ext
96427 cat >>conftest.$ac_ext <<_ACEOF
96428 /* end confdefs.h. */
96429 #include <math.h>
96431 main ()
96433 _modf(0, 0);
96435 return 0;
96437 _ACEOF
96438 rm -f conftest.$ac_objext
96439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96440 (eval $ac_compile) 2>conftest.er1
96441 ac_status=$?
96442 grep -v '^ *+' conftest.er1 >conftest.err
96443 rm -f conftest.er1
96444 cat conftest.err >&5
96445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96446 (exit $ac_status); } &&
96447 { ac_try='test -z "$ac_cxx_werror_flag"
96448 || test ! -s conftest.err'
96449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96450 (eval $ac_try) 2>&5
96451 ac_status=$?
96452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96453 (exit $ac_status); }; } &&
96454 { ac_try='test -s conftest.$ac_objext'
96455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96456 (eval $ac_try) 2>&5
96457 ac_status=$?
96458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96459 (exit $ac_status); }; }; then
96460 glibcxx_cv_func__modf_use=yes
96461 else
96462 echo "$as_me: failed program was:" >&5
96463 sed 's/^/| /' conftest.$ac_ext >&5
96465 glibcxx_cv_func__modf_use=no
96467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96468 ac_ext=c
96469 ac_cpp='$CPP $CPPFLAGS'
96470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96478 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
96479 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
96481 if test x$glibcxx_cv_func__modf_use = x"yes"; then
96483 for ac_func in _modf
96485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96486 echo "$as_me:$LINENO: checking for $ac_func" >&5
96487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96488 if eval "test \"\${$as_ac_var+set}\" = set"; then
96489 echo $ECHO_N "(cached) $ECHO_C" >&6
96490 else
96491 if test x$gcc_no_link = xyes; then
96492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96494 { (exit 1); exit 1; }; }
96496 cat >conftest.$ac_ext <<_ACEOF
96497 /* confdefs.h. */
96498 _ACEOF
96499 cat confdefs.h >>conftest.$ac_ext
96500 cat >>conftest.$ac_ext <<_ACEOF
96501 /* end confdefs.h. */
96502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96504 #define $ac_func innocuous_$ac_func
96506 /* System header to define __stub macros and hopefully few prototypes,
96507 which can conflict with char $ac_func (); below.
96508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96509 <limits.h> exists even on freestanding compilers. */
96511 #ifdef __STDC__
96512 # include <limits.h>
96513 #else
96514 # include <assert.h>
96515 #endif
96517 #undef $ac_func
96519 /* Override any gcc2 internal prototype to avoid an error. */
96520 #ifdef __cplusplus
96521 extern "C"
96523 #endif
96524 /* We use char because int might match the return type of a gcc2
96525 builtin and then its argument prototype would still apply. */
96526 char $ac_func ();
96527 /* The GNU C library defines this for functions which it implements
96528 to always fail with ENOSYS. Some functions are actually named
96529 something starting with __ and the normal name is an alias. */
96530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96531 choke me
96532 #else
96533 char (*f) () = $ac_func;
96534 #endif
96535 #ifdef __cplusplus
96537 #endif
96540 main ()
96542 return f != $ac_func;
96544 return 0;
96546 _ACEOF
96547 rm -f conftest.$ac_objext conftest$ac_exeext
96548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96549 (eval $ac_link) 2>conftest.er1
96550 ac_status=$?
96551 grep -v '^ *+' conftest.er1 >conftest.err
96552 rm -f conftest.er1
96553 cat conftest.err >&5
96554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96555 (exit $ac_status); } &&
96556 { ac_try='test -z "$ac_c_werror_flag"
96557 || test ! -s conftest.err'
96558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96559 (eval $ac_try) 2>&5
96560 ac_status=$?
96561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96562 (exit $ac_status); }; } &&
96563 { ac_try='test -s conftest$ac_exeext'
96564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96565 (eval $ac_try) 2>&5
96566 ac_status=$?
96567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96568 (exit $ac_status); }; }; then
96569 eval "$as_ac_var=yes"
96570 else
96571 echo "$as_me: failed program was:" >&5
96572 sed 's/^/| /' conftest.$ac_ext >&5
96574 eval "$as_ac_var=no"
96576 rm -f conftest.err conftest.$ac_objext \
96577 conftest$ac_exeext conftest.$ac_ext
96579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96581 if test `eval echo '${'$as_ac_var'}'` = yes; then
96582 cat >>confdefs.h <<_ACEOF
96583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96584 _ACEOF
96587 done
96597 echo "$as_me:$LINENO: checking for powf declaration" >&5
96598 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
96599 if test x${glibcxx_cv_func_powf_use+set} != xset; then
96600 if test "${glibcxx_cv_func_powf_use+set}" = set; then
96601 echo $ECHO_N "(cached) $ECHO_C" >&6
96602 else
96606 ac_ext=cc
96607 ac_cpp='$CXXCPP $CPPFLAGS'
96608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96612 cat >conftest.$ac_ext <<_ACEOF
96613 /* confdefs.h. */
96614 _ACEOF
96615 cat confdefs.h >>conftest.$ac_ext
96616 cat >>conftest.$ac_ext <<_ACEOF
96617 /* end confdefs.h. */
96618 #include <math.h>
96620 main ()
96622 powf(0, 0);
96624 return 0;
96626 _ACEOF
96627 rm -f conftest.$ac_objext
96628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96629 (eval $ac_compile) 2>conftest.er1
96630 ac_status=$?
96631 grep -v '^ *+' conftest.er1 >conftest.err
96632 rm -f conftest.er1
96633 cat conftest.err >&5
96634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96635 (exit $ac_status); } &&
96636 { ac_try='test -z "$ac_cxx_werror_flag"
96637 || test ! -s conftest.err'
96638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96639 (eval $ac_try) 2>&5
96640 ac_status=$?
96641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96642 (exit $ac_status); }; } &&
96643 { ac_try='test -s conftest.$ac_objext'
96644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96645 (eval $ac_try) 2>&5
96646 ac_status=$?
96647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96648 (exit $ac_status); }; }; then
96649 glibcxx_cv_func_powf_use=yes
96650 else
96651 echo "$as_me: failed program was:" >&5
96652 sed 's/^/| /' conftest.$ac_ext >&5
96654 glibcxx_cv_func_powf_use=no
96656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96657 ac_ext=c
96658 ac_cpp='$CPP $CPPFLAGS'
96659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96667 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
96668 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
96670 if test x$glibcxx_cv_func_powf_use = x"yes"; then
96672 for ac_func in powf
96674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96675 echo "$as_me:$LINENO: checking for $ac_func" >&5
96676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96677 if eval "test \"\${$as_ac_var+set}\" = set"; then
96678 echo $ECHO_N "(cached) $ECHO_C" >&6
96679 else
96680 if test x$gcc_no_link = xyes; then
96681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96683 { (exit 1); exit 1; }; }
96685 cat >conftest.$ac_ext <<_ACEOF
96686 /* confdefs.h. */
96687 _ACEOF
96688 cat confdefs.h >>conftest.$ac_ext
96689 cat >>conftest.$ac_ext <<_ACEOF
96690 /* end confdefs.h. */
96691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96693 #define $ac_func innocuous_$ac_func
96695 /* System header to define __stub macros and hopefully few prototypes,
96696 which can conflict with char $ac_func (); below.
96697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96698 <limits.h> exists even on freestanding compilers. */
96700 #ifdef __STDC__
96701 # include <limits.h>
96702 #else
96703 # include <assert.h>
96704 #endif
96706 #undef $ac_func
96708 /* Override any gcc2 internal prototype to avoid an error. */
96709 #ifdef __cplusplus
96710 extern "C"
96712 #endif
96713 /* We use char because int might match the return type of a gcc2
96714 builtin and then its argument prototype would still apply. */
96715 char $ac_func ();
96716 /* The GNU C library defines this for functions which it implements
96717 to always fail with ENOSYS. Some functions are actually named
96718 something starting with __ and the normal name is an alias. */
96719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96720 choke me
96721 #else
96722 char (*f) () = $ac_func;
96723 #endif
96724 #ifdef __cplusplus
96726 #endif
96729 main ()
96731 return f != $ac_func;
96733 return 0;
96735 _ACEOF
96736 rm -f conftest.$ac_objext conftest$ac_exeext
96737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96738 (eval $ac_link) 2>conftest.er1
96739 ac_status=$?
96740 grep -v '^ *+' conftest.er1 >conftest.err
96741 rm -f conftest.er1
96742 cat conftest.err >&5
96743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96744 (exit $ac_status); } &&
96745 { ac_try='test -z "$ac_c_werror_flag"
96746 || test ! -s conftest.err'
96747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96748 (eval $ac_try) 2>&5
96749 ac_status=$?
96750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96751 (exit $ac_status); }; } &&
96752 { ac_try='test -s conftest$ac_exeext'
96753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96754 (eval $ac_try) 2>&5
96755 ac_status=$?
96756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96757 (exit $ac_status); }; }; then
96758 eval "$as_ac_var=yes"
96759 else
96760 echo "$as_me: failed program was:" >&5
96761 sed 's/^/| /' conftest.$ac_ext >&5
96763 eval "$as_ac_var=no"
96765 rm -f conftest.err conftest.$ac_objext \
96766 conftest$ac_exeext conftest.$ac_ext
96768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96770 if test `eval echo '${'$as_ac_var'}'` = yes; then
96771 cat >>confdefs.h <<_ACEOF
96772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96773 _ACEOF
96776 done
96778 else
96780 echo "$as_me:$LINENO: checking for _powf declaration" >&5
96781 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
96782 if test x${glibcxx_cv_func__powf_use+set} != xset; then
96783 if test "${glibcxx_cv_func__powf_use+set}" = set; then
96784 echo $ECHO_N "(cached) $ECHO_C" >&6
96785 else
96789 ac_ext=cc
96790 ac_cpp='$CXXCPP $CPPFLAGS'
96791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96795 cat >conftest.$ac_ext <<_ACEOF
96796 /* confdefs.h. */
96797 _ACEOF
96798 cat confdefs.h >>conftest.$ac_ext
96799 cat >>conftest.$ac_ext <<_ACEOF
96800 /* end confdefs.h. */
96801 #include <math.h>
96803 main ()
96805 _powf(0, 0);
96807 return 0;
96809 _ACEOF
96810 rm -f conftest.$ac_objext
96811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96812 (eval $ac_compile) 2>conftest.er1
96813 ac_status=$?
96814 grep -v '^ *+' conftest.er1 >conftest.err
96815 rm -f conftest.er1
96816 cat conftest.err >&5
96817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96818 (exit $ac_status); } &&
96819 { ac_try='test -z "$ac_cxx_werror_flag"
96820 || test ! -s conftest.err'
96821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96822 (eval $ac_try) 2>&5
96823 ac_status=$?
96824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96825 (exit $ac_status); }; } &&
96826 { ac_try='test -s conftest.$ac_objext'
96827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96828 (eval $ac_try) 2>&5
96829 ac_status=$?
96830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96831 (exit $ac_status); }; }; then
96832 glibcxx_cv_func__powf_use=yes
96833 else
96834 echo "$as_me: failed program was:" >&5
96835 sed 's/^/| /' conftest.$ac_ext >&5
96837 glibcxx_cv_func__powf_use=no
96839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96840 ac_ext=c
96841 ac_cpp='$CPP $CPPFLAGS'
96842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96850 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
96851 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
96853 if test x$glibcxx_cv_func__powf_use = x"yes"; then
96855 for ac_func in _powf
96857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96858 echo "$as_me:$LINENO: checking for $ac_func" >&5
96859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96860 if eval "test \"\${$as_ac_var+set}\" = set"; then
96861 echo $ECHO_N "(cached) $ECHO_C" >&6
96862 else
96863 if test x$gcc_no_link = xyes; then
96864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96866 { (exit 1); exit 1; }; }
96868 cat >conftest.$ac_ext <<_ACEOF
96869 /* confdefs.h. */
96870 _ACEOF
96871 cat confdefs.h >>conftest.$ac_ext
96872 cat >>conftest.$ac_ext <<_ACEOF
96873 /* end confdefs.h. */
96874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96876 #define $ac_func innocuous_$ac_func
96878 /* System header to define __stub macros and hopefully few prototypes,
96879 which can conflict with char $ac_func (); below.
96880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96881 <limits.h> exists even on freestanding compilers. */
96883 #ifdef __STDC__
96884 # include <limits.h>
96885 #else
96886 # include <assert.h>
96887 #endif
96889 #undef $ac_func
96891 /* Override any gcc2 internal prototype to avoid an error. */
96892 #ifdef __cplusplus
96893 extern "C"
96895 #endif
96896 /* We use char because int might match the return type of a gcc2
96897 builtin and then its argument prototype would still apply. */
96898 char $ac_func ();
96899 /* The GNU C library defines this for functions which it implements
96900 to always fail with ENOSYS. Some functions are actually named
96901 something starting with __ and the normal name is an alias. */
96902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96903 choke me
96904 #else
96905 char (*f) () = $ac_func;
96906 #endif
96907 #ifdef __cplusplus
96909 #endif
96912 main ()
96914 return f != $ac_func;
96916 return 0;
96918 _ACEOF
96919 rm -f conftest.$ac_objext conftest$ac_exeext
96920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96921 (eval $ac_link) 2>conftest.er1
96922 ac_status=$?
96923 grep -v '^ *+' conftest.er1 >conftest.err
96924 rm -f conftest.er1
96925 cat conftest.err >&5
96926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96927 (exit $ac_status); } &&
96928 { ac_try='test -z "$ac_c_werror_flag"
96929 || test ! -s conftest.err'
96930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96931 (eval $ac_try) 2>&5
96932 ac_status=$?
96933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96934 (exit $ac_status); }; } &&
96935 { ac_try='test -s conftest$ac_exeext'
96936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96937 (eval $ac_try) 2>&5
96938 ac_status=$?
96939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96940 (exit $ac_status); }; }; then
96941 eval "$as_ac_var=yes"
96942 else
96943 echo "$as_me: failed program was:" >&5
96944 sed 's/^/| /' conftest.$ac_ext >&5
96946 eval "$as_ac_var=no"
96948 rm -f conftest.err conftest.$ac_objext \
96949 conftest$ac_exeext conftest.$ac_ext
96951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96953 if test `eval echo '${'$as_ac_var'}'` = yes; then
96954 cat >>confdefs.h <<_ACEOF
96955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96956 _ACEOF
96959 done
96969 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
96970 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
96971 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
96972 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
96973 echo $ECHO_N "(cached) $ECHO_C" >&6
96974 else
96978 ac_ext=cc
96979 ac_cpp='$CXXCPP $CPPFLAGS'
96980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96984 cat >conftest.$ac_ext <<_ACEOF
96985 /* confdefs.h. */
96986 _ACEOF
96987 cat confdefs.h >>conftest.$ac_ext
96988 cat >>conftest.$ac_ext <<_ACEOF
96989 /* end confdefs.h. */
96990 #include <math.h>
96991 #ifdef HAVE_IEEEFP_H
96992 #include <ieeefp.h>
96993 #endif
96996 main ()
96998 sqrtf(0);
97000 return 0;
97002 _ACEOF
97003 rm -f conftest.$ac_objext
97004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97005 (eval $ac_compile) 2>conftest.er1
97006 ac_status=$?
97007 grep -v '^ *+' conftest.er1 >conftest.err
97008 rm -f conftest.er1
97009 cat conftest.err >&5
97010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97011 (exit $ac_status); } &&
97012 { ac_try='test -z "$ac_cxx_werror_flag"
97013 || test ! -s conftest.err'
97014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97015 (eval $ac_try) 2>&5
97016 ac_status=$?
97017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97018 (exit $ac_status); }; } &&
97019 { ac_try='test -s conftest.$ac_objext'
97020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97021 (eval $ac_try) 2>&5
97022 ac_status=$?
97023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97024 (exit $ac_status); }; }; then
97025 glibcxx_cv_func_sqrtf_use=yes
97026 else
97027 echo "$as_me: failed program was:" >&5
97028 sed 's/^/| /' conftest.$ac_ext >&5
97030 glibcxx_cv_func_sqrtf_use=no
97032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97033 ac_ext=c
97034 ac_cpp='$CPP $CPPFLAGS'
97035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97043 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
97044 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
97046 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
97048 for ac_func in sqrtf
97050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97051 echo "$as_me:$LINENO: checking for $ac_func" >&5
97052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97053 if eval "test \"\${$as_ac_var+set}\" = set"; then
97054 echo $ECHO_N "(cached) $ECHO_C" >&6
97055 else
97056 if test x$gcc_no_link = xyes; then
97057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97059 { (exit 1); exit 1; }; }
97061 cat >conftest.$ac_ext <<_ACEOF
97062 /* confdefs.h. */
97063 _ACEOF
97064 cat confdefs.h >>conftest.$ac_ext
97065 cat >>conftest.$ac_ext <<_ACEOF
97066 /* end confdefs.h. */
97067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97069 #define $ac_func innocuous_$ac_func
97071 /* System header to define __stub macros and hopefully few prototypes,
97072 which can conflict with char $ac_func (); below.
97073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97074 <limits.h> exists even on freestanding compilers. */
97076 #ifdef __STDC__
97077 # include <limits.h>
97078 #else
97079 # include <assert.h>
97080 #endif
97082 #undef $ac_func
97084 /* Override any gcc2 internal prototype to avoid an error. */
97085 #ifdef __cplusplus
97086 extern "C"
97088 #endif
97089 /* We use char because int might match the return type of a gcc2
97090 builtin and then its argument prototype would still apply. */
97091 char $ac_func ();
97092 /* The GNU C library defines this for functions which it implements
97093 to always fail with ENOSYS. Some functions are actually named
97094 something starting with __ and the normal name is an alias. */
97095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97096 choke me
97097 #else
97098 char (*f) () = $ac_func;
97099 #endif
97100 #ifdef __cplusplus
97102 #endif
97105 main ()
97107 return f != $ac_func;
97109 return 0;
97111 _ACEOF
97112 rm -f conftest.$ac_objext conftest$ac_exeext
97113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97114 (eval $ac_link) 2>conftest.er1
97115 ac_status=$?
97116 grep -v '^ *+' conftest.er1 >conftest.err
97117 rm -f conftest.er1
97118 cat conftest.err >&5
97119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97120 (exit $ac_status); } &&
97121 { ac_try='test -z "$ac_c_werror_flag"
97122 || test ! -s conftest.err'
97123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97124 (eval $ac_try) 2>&5
97125 ac_status=$?
97126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97127 (exit $ac_status); }; } &&
97128 { ac_try='test -s conftest$ac_exeext'
97129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97130 (eval $ac_try) 2>&5
97131 ac_status=$?
97132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97133 (exit $ac_status); }; }; then
97134 eval "$as_ac_var=yes"
97135 else
97136 echo "$as_me: failed program was:" >&5
97137 sed 's/^/| /' conftest.$ac_ext >&5
97139 eval "$as_ac_var=no"
97141 rm -f conftest.err conftest.$ac_objext \
97142 conftest$ac_exeext conftest.$ac_ext
97144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97146 if test `eval echo '${'$as_ac_var'}'` = yes; then
97147 cat >>confdefs.h <<_ACEOF
97148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97149 _ACEOF
97152 done
97154 else
97156 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
97157 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
97158 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
97159 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
97160 echo $ECHO_N "(cached) $ECHO_C" >&6
97161 else
97165 ac_ext=cc
97166 ac_cpp='$CXXCPP $CPPFLAGS'
97167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97171 cat >conftest.$ac_ext <<_ACEOF
97172 /* confdefs.h. */
97173 _ACEOF
97174 cat confdefs.h >>conftest.$ac_ext
97175 cat >>conftest.$ac_ext <<_ACEOF
97176 /* end confdefs.h. */
97177 #include <math.h>
97178 #ifdef HAVE_IEEEFP_H
97179 #include <ieeefp.h>
97180 #endif
97183 main ()
97185 _sqrtf(0);
97187 return 0;
97189 _ACEOF
97190 rm -f conftest.$ac_objext
97191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97192 (eval $ac_compile) 2>conftest.er1
97193 ac_status=$?
97194 grep -v '^ *+' conftest.er1 >conftest.err
97195 rm -f conftest.er1
97196 cat conftest.err >&5
97197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97198 (exit $ac_status); } &&
97199 { ac_try='test -z "$ac_cxx_werror_flag"
97200 || test ! -s conftest.err'
97201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97202 (eval $ac_try) 2>&5
97203 ac_status=$?
97204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97205 (exit $ac_status); }; } &&
97206 { ac_try='test -s conftest.$ac_objext'
97207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97208 (eval $ac_try) 2>&5
97209 ac_status=$?
97210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97211 (exit $ac_status); }; }; then
97212 glibcxx_cv_func__sqrtf_use=yes
97213 else
97214 echo "$as_me: failed program was:" >&5
97215 sed 's/^/| /' conftest.$ac_ext >&5
97217 glibcxx_cv_func__sqrtf_use=no
97219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97220 ac_ext=c
97221 ac_cpp='$CPP $CPPFLAGS'
97222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97230 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
97231 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
97233 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
97235 for ac_func in _sqrtf
97237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97238 echo "$as_me:$LINENO: checking for $ac_func" >&5
97239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97240 if eval "test \"\${$as_ac_var+set}\" = set"; then
97241 echo $ECHO_N "(cached) $ECHO_C" >&6
97242 else
97243 if test x$gcc_no_link = xyes; then
97244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97246 { (exit 1); exit 1; }; }
97248 cat >conftest.$ac_ext <<_ACEOF
97249 /* confdefs.h. */
97250 _ACEOF
97251 cat confdefs.h >>conftest.$ac_ext
97252 cat >>conftest.$ac_ext <<_ACEOF
97253 /* end confdefs.h. */
97254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97256 #define $ac_func innocuous_$ac_func
97258 /* System header to define __stub macros and hopefully few prototypes,
97259 which can conflict with char $ac_func (); below.
97260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97261 <limits.h> exists even on freestanding compilers. */
97263 #ifdef __STDC__
97264 # include <limits.h>
97265 #else
97266 # include <assert.h>
97267 #endif
97269 #undef $ac_func
97271 /* Override any gcc2 internal prototype to avoid an error. */
97272 #ifdef __cplusplus
97273 extern "C"
97275 #endif
97276 /* We use char because int might match the return type of a gcc2
97277 builtin and then its argument prototype would still apply. */
97278 char $ac_func ();
97279 /* The GNU C library defines this for functions which it implements
97280 to always fail with ENOSYS. Some functions are actually named
97281 something starting with __ and the normal name is an alias. */
97282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97283 choke me
97284 #else
97285 char (*f) () = $ac_func;
97286 #endif
97287 #ifdef __cplusplus
97289 #endif
97292 main ()
97294 return f != $ac_func;
97296 return 0;
97298 _ACEOF
97299 rm -f conftest.$ac_objext conftest$ac_exeext
97300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97301 (eval $ac_link) 2>conftest.er1
97302 ac_status=$?
97303 grep -v '^ *+' conftest.er1 >conftest.err
97304 rm -f conftest.er1
97305 cat conftest.err >&5
97306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97307 (exit $ac_status); } &&
97308 { ac_try='test -z "$ac_c_werror_flag"
97309 || test ! -s conftest.err'
97310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97311 (eval $ac_try) 2>&5
97312 ac_status=$?
97313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97314 (exit $ac_status); }; } &&
97315 { ac_try='test -s conftest$ac_exeext'
97316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97317 (eval $ac_try) 2>&5
97318 ac_status=$?
97319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97320 (exit $ac_status); }; }; then
97321 eval "$as_ac_var=yes"
97322 else
97323 echo "$as_me: failed program was:" >&5
97324 sed 's/^/| /' conftest.$ac_ext >&5
97326 eval "$as_ac_var=no"
97328 rm -f conftest.err conftest.$ac_objext \
97329 conftest$ac_exeext conftest.$ac_ext
97331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97333 if test `eval echo '${'$as_ac_var'}'` = yes; then
97334 cat >>confdefs.h <<_ACEOF
97335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97336 _ACEOF
97339 done
97349 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
97350 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
97351 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
97352 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
97353 echo $ECHO_N "(cached) $ECHO_C" >&6
97354 else
97358 ac_ext=cc
97359 ac_cpp='$CXXCPP $CPPFLAGS'
97360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97364 cat >conftest.$ac_ext <<_ACEOF
97365 /* confdefs.h. */
97366 _ACEOF
97367 cat confdefs.h >>conftest.$ac_ext
97368 cat >>conftest.$ac_ext <<_ACEOF
97369 /* end confdefs.h. */
97370 #include <math.h>
97372 main ()
97374 sincosf(0, 0, 0);
97376 return 0;
97378 _ACEOF
97379 rm -f conftest.$ac_objext
97380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97381 (eval $ac_compile) 2>conftest.er1
97382 ac_status=$?
97383 grep -v '^ *+' conftest.er1 >conftest.err
97384 rm -f conftest.er1
97385 cat conftest.err >&5
97386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97387 (exit $ac_status); } &&
97388 { ac_try='test -z "$ac_cxx_werror_flag"
97389 || test ! -s conftest.err'
97390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97391 (eval $ac_try) 2>&5
97392 ac_status=$?
97393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97394 (exit $ac_status); }; } &&
97395 { ac_try='test -s conftest.$ac_objext'
97396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97397 (eval $ac_try) 2>&5
97398 ac_status=$?
97399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97400 (exit $ac_status); }; }; then
97401 glibcxx_cv_func_sincosf_use=yes
97402 else
97403 echo "$as_me: failed program was:" >&5
97404 sed 's/^/| /' conftest.$ac_ext >&5
97406 glibcxx_cv_func_sincosf_use=no
97408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97409 ac_ext=c
97410 ac_cpp='$CPP $CPPFLAGS'
97411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97419 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
97420 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
97422 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
97424 for ac_func in sincosf
97426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97427 echo "$as_me:$LINENO: checking for $ac_func" >&5
97428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97429 if eval "test \"\${$as_ac_var+set}\" = set"; then
97430 echo $ECHO_N "(cached) $ECHO_C" >&6
97431 else
97432 if test x$gcc_no_link = xyes; then
97433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97435 { (exit 1); exit 1; }; }
97437 cat >conftest.$ac_ext <<_ACEOF
97438 /* confdefs.h. */
97439 _ACEOF
97440 cat confdefs.h >>conftest.$ac_ext
97441 cat >>conftest.$ac_ext <<_ACEOF
97442 /* end confdefs.h. */
97443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97445 #define $ac_func innocuous_$ac_func
97447 /* System header to define __stub macros and hopefully few prototypes,
97448 which can conflict with char $ac_func (); below.
97449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97450 <limits.h> exists even on freestanding compilers. */
97452 #ifdef __STDC__
97453 # include <limits.h>
97454 #else
97455 # include <assert.h>
97456 #endif
97458 #undef $ac_func
97460 /* Override any gcc2 internal prototype to avoid an error. */
97461 #ifdef __cplusplus
97462 extern "C"
97464 #endif
97465 /* We use char because int might match the return type of a gcc2
97466 builtin and then its argument prototype would still apply. */
97467 char $ac_func ();
97468 /* The GNU C library defines this for functions which it implements
97469 to always fail with ENOSYS. Some functions are actually named
97470 something starting with __ and the normal name is an alias. */
97471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97472 choke me
97473 #else
97474 char (*f) () = $ac_func;
97475 #endif
97476 #ifdef __cplusplus
97478 #endif
97481 main ()
97483 return f != $ac_func;
97485 return 0;
97487 _ACEOF
97488 rm -f conftest.$ac_objext conftest$ac_exeext
97489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97490 (eval $ac_link) 2>conftest.er1
97491 ac_status=$?
97492 grep -v '^ *+' conftest.er1 >conftest.err
97493 rm -f conftest.er1
97494 cat conftest.err >&5
97495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97496 (exit $ac_status); } &&
97497 { ac_try='test -z "$ac_c_werror_flag"
97498 || test ! -s conftest.err'
97499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97500 (eval $ac_try) 2>&5
97501 ac_status=$?
97502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97503 (exit $ac_status); }; } &&
97504 { ac_try='test -s conftest$ac_exeext'
97505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97506 (eval $ac_try) 2>&5
97507 ac_status=$?
97508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97509 (exit $ac_status); }; }; then
97510 eval "$as_ac_var=yes"
97511 else
97512 echo "$as_me: failed program was:" >&5
97513 sed 's/^/| /' conftest.$ac_ext >&5
97515 eval "$as_ac_var=no"
97517 rm -f conftest.err conftest.$ac_objext \
97518 conftest$ac_exeext conftest.$ac_ext
97520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97522 if test `eval echo '${'$as_ac_var'}'` = yes; then
97523 cat >>confdefs.h <<_ACEOF
97524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97525 _ACEOF
97528 done
97530 else
97532 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
97533 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
97534 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
97535 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
97536 echo $ECHO_N "(cached) $ECHO_C" >&6
97537 else
97541 ac_ext=cc
97542 ac_cpp='$CXXCPP $CPPFLAGS'
97543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97547 cat >conftest.$ac_ext <<_ACEOF
97548 /* confdefs.h. */
97549 _ACEOF
97550 cat confdefs.h >>conftest.$ac_ext
97551 cat >>conftest.$ac_ext <<_ACEOF
97552 /* end confdefs.h. */
97553 #include <math.h>
97555 main ()
97557 _sincosf(0, 0, 0);
97559 return 0;
97561 _ACEOF
97562 rm -f conftest.$ac_objext
97563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97564 (eval $ac_compile) 2>conftest.er1
97565 ac_status=$?
97566 grep -v '^ *+' conftest.er1 >conftest.err
97567 rm -f conftest.er1
97568 cat conftest.err >&5
97569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97570 (exit $ac_status); } &&
97571 { ac_try='test -z "$ac_cxx_werror_flag"
97572 || test ! -s conftest.err'
97573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97574 (eval $ac_try) 2>&5
97575 ac_status=$?
97576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97577 (exit $ac_status); }; } &&
97578 { ac_try='test -s conftest.$ac_objext'
97579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97580 (eval $ac_try) 2>&5
97581 ac_status=$?
97582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97583 (exit $ac_status); }; }; then
97584 glibcxx_cv_func__sincosf_use=yes
97585 else
97586 echo "$as_me: failed program was:" >&5
97587 sed 's/^/| /' conftest.$ac_ext >&5
97589 glibcxx_cv_func__sincosf_use=no
97591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97592 ac_ext=c
97593 ac_cpp='$CPP $CPPFLAGS'
97594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97602 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
97603 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
97605 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
97607 for ac_func in _sincosf
97609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97610 echo "$as_me:$LINENO: checking for $ac_func" >&5
97611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97612 if eval "test \"\${$as_ac_var+set}\" = set"; then
97613 echo $ECHO_N "(cached) $ECHO_C" >&6
97614 else
97615 if test x$gcc_no_link = xyes; then
97616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97618 { (exit 1); exit 1; }; }
97620 cat >conftest.$ac_ext <<_ACEOF
97621 /* confdefs.h. */
97622 _ACEOF
97623 cat confdefs.h >>conftest.$ac_ext
97624 cat >>conftest.$ac_ext <<_ACEOF
97625 /* end confdefs.h. */
97626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97628 #define $ac_func innocuous_$ac_func
97630 /* System header to define __stub macros and hopefully few prototypes,
97631 which can conflict with char $ac_func (); below.
97632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97633 <limits.h> exists even on freestanding compilers. */
97635 #ifdef __STDC__
97636 # include <limits.h>
97637 #else
97638 # include <assert.h>
97639 #endif
97641 #undef $ac_func
97643 /* Override any gcc2 internal prototype to avoid an error. */
97644 #ifdef __cplusplus
97645 extern "C"
97647 #endif
97648 /* We use char because int might match the return type of a gcc2
97649 builtin and then its argument prototype would still apply. */
97650 char $ac_func ();
97651 /* The GNU C library defines this for functions which it implements
97652 to always fail with ENOSYS. Some functions are actually named
97653 something starting with __ and the normal name is an alias. */
97654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97655 choke me
97656 #else
97657 char (*f) () = $ac_func;
97658 #endif
97659 #ifdef __cplusplus
97661 #endif
97664 main ()
97666 return f != $ac_func;
97668 return 0;
97670 _ACEOF
97671 rm -f conftest.$ac_objext conftest$ac_exeext
97672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97673 (eval $ac_link) 2>conftest.er1
97674 ac_status=$?
97675 grep -v '^ *+' conftest.er1 >conftest.err
97676 rm -f conftest.er1
97677 cat conftest.err >&5
97678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97679 (exit $ac_status); } &&
97680 { ac_try='test -z "$ac_c_werror_flag"
97681 || test ! -s conftest.err'
97682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97683 (eval $ac_try) 2>&5
97684 ac_status=$?
97685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97686 (exit $ac_status); }; } &&
97687 { ac_try='test -s conftest$ac_exeext'
97688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97689 (eval $ac_try) 2>&5
97690 ac_status=$?
97691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97692 (exit $ac_status); }; }; then
97693 eval "$as_ac_var=yes"
97694 else
97695 echo "$as_me: failed program was:" >&5
97696 sed 's/^/| /' conftest.$ac_ext >&5
97698 eval "$as_ac_var=no"
97700 rm -f conftest.err conftest.$ac_objext \
97701 conftest$ac_exeext conftest.$ac_ext
97703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97705 if test `eval echo '${'$as_ac_var'}'` = yes; then
97706 cat >>confdefs.h <<_ACEOF
97707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97708 _ACEOF
97711 done
97721 echo "$as_me:$LINENO: checking for finitef declaration" >&5
97722 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
97723 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
97724 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
97725 echo $ECHO_N "(cached) $ECHO_C" >&6
97726 else
97730 ac_ext=cc
97731 ac_cpp='$CXXCPP $CPPFLAGS'
97732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97736 cat >conftest.$ac_ext <<_ACEOF
97737 /* confdefs.h. */
97738 _ACEOF
97739 cat confdefs.h >>conftest.$ac_ext
97740 cat >>conftest.$ac_ext <<_ACEOF
97741 /* end confdefs.h. */
97742 #include <math.h>
97743 #ifdef HAVE_IEEEFP_H
97744 #include <ieeefp.h>
97745 #endif
97748 main ()
97750 finitef(0);
97752 return 0;
97754 _ACEOF
97755 rm -f conftest.$ac_objext
97756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97757 (eval $ac_compile) 2>conftest.er1
97758 ac_status=$?
97759 grep -v '^ *+' conftest.er1 >conftest.err
97760 rm -f conftest.er1
97761 cat conftest.err >&5
97762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97763 (exit $ac_status); } &&
97764 { ac_try='test -z "$ac_cxx_werror_flag"
97765 || test ! -s conftest.err'
97766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97767 (eval $ac_try) 2>&5
97768 ac_status=$?
97769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97770 (exit $ac_status); }; } &&
97771 { ac_try='test -s conftest.$ac_objext'
97772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97773 (eval $ac_try) 2>&5
97774 ac_status=$?
97775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97776 (exit $ac_status); }; }; then
97777 glibcxx_cv_func_finitef_use=yes
97778 else
97779 echo "$as_me: failed program was:" >&5
97780 sed 's/^/| /' conftest.$ac_ext >&5
97782 glibcxx_cv_func_finitef_use=no
97784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97785 ac_ext=c
97786 ac_cpp='$CPP $CPPFLAGS'
97787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97795 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
97796 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
97798 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
97800 for ac_func in finitef
97802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97803 echo "$as_me:$LINENO: checking for $ac_func" >&5
97804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97805 if eval "test \"\${$as_ac_var+set}\" = set"; then
97806 echo $ECHO_N "(cached) $ECHO_C" >&6
97807 else
97808 if test x$gcc_no_link = xyes; then
97809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97811 { (exit 1); exit 1; }; }
97813 cat >conftest.$ac_ext <<_ACEOF
97814 /* confdefs.h. */
97815 _ACEOF
97816 cat confdefs.h >>conftest.$ac_ext
97817 cat >>conftest.$ac_ext <<_ACEOF
97818 /* end confdefs.h. */
97819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97821 #define $ac_func innocuous_$ac_func
97823 /* System header to define __stub macros and hopefully few prototypes,
97824 which can conflict with char $ac_func (); below.
97825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97826 <limits.h> exists even on freestanding compilers. */
97828 #ifdef __STDC__
97829 # include <limits.h>
97830 #else
97831 # include <assert.h>
97832 #endif
97834 #undef $ac_func
97836 /* Override any gcc2 internal prototype to avoid an error. */
97837 #ifdef __cplusplus
97838 extern "C"
97840 #endif
97841 /* We use char because int might match the return type of a gcc2
97842 builtin and then its argument prototype would still apply. */
97843 char $ac_func ();
97844 /* The GNU C library defines this for functions which it implements
97845 to always fail with ENOSYS. Some functions are actually named
97846 something starting with __ and the normal name is an alias. */
97847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97848 choke me
97849 #else
97850 char (*f) () = $ac_func;
97851 #endif
97852 #ifdef __cplusplus
97854 #endif
97857 main ()
97859 return f != $ac_func;
97861 return 0;
97863 _ACEOF
97864 rm -f conftest.$ac_objext conftest$ac_exeext
97865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97866 (eval $ac_link) 2>conftest.er1
97867 ac_status=$?
97868 grep -v '^ *+' conftest.er1 >conftest.err
97869 rm -f conftest.er1
97870 cat conftest.err >&5
97871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97872 (exit $ac_status); } &&
97873 { ac_try='test -z "$ac_c_werror_flag"
97874 || test ! -s conftest.err'
97875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97876 (eval $ac_try) 2>&5
97877 ac_status=$?
97878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97879 (exit $ac_status); }; } &&
97880 { ac_try='test -s conftest$ac_exeext'
97881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97882 (eval $ac_try) 2>&5
97883 ac_status=$?
97884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97885 (exit $ac_status); }; }; then
97886 eval "$as_ac_var=yes"
97887 else
97888 echo "$as_me: failed program was:" >&5
97889 sed 's/^/| /' conftest.$ac_ext >&5
97891 eval "$as_ac_var=no"
97893 rm -f conftest.err conftest.$ac_objext \
97894 conftest$ac_exeext conftest.$ac_ext
97896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97898 if test `eval echo '${'$as_ac_var'}'` = yes; then
97899 cat >>confdefs.h <<_ACEOF
97900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97901 _ACEOF
97904 done
97906 else
97908 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
97909 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
97910 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
97911 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
97912 echo $ECHO_N "(cached) $ECHO_C" >&6
97913 else
97917 ac_ext=cc
97918 ac_cpp='$CXXCPP $CPPFLAGS'
97919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97923 cat >conftest.$ac_ext <<_ACEOF
97924 /* confdefs.h. */
97925 _ACEOF
97926 cat confdefs.h >>conftest.$ac_ext
97927 cat >>conftest.$ac_ext <<_ACEOF
97928 /* end confdefs.h. */
97929 #include <math.h>
97930 #ifdef HAVE_IEEEFP_H
97931 #include <ieeefp.h>
97932 #endif
97935 main ()
97937 _finitef(0);
97939 return 0;
97941 _ACEOF
97942 rm -f conftest.$ac_objext
97943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97944 (eval $ac_compile) 2>conftest.er1
97945 ac_status=$?
97946 grep -v '^ *+' conftest.er1 >conftest.err
97947 rm -f conftest.er1
97948 cat conftest.err >&5
97949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97950 (exit $ac_status); } &&
97951 { ac_try='test -z "$ac_cxx_werror_flag"
97952 || test ! -s conftest.err'
97953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97954 (eval $ac_try) 2>&5
97955 ac_status=$?
97956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97957 (exit $ac_status); }; } &&
97958 { ac_try='test -s conftest.$ac_objext'
97959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97960 (eval $ac_try) 2>&5
97961 ac_status=$?
97962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97963 (exit $ac_status); }; }; then
97964 glibcxx_cv_func__finitef_use=yes
97965 else
97966 echo "$as_me: failed program was:" >&5
97967 sed 's/^/| /' conftest.$ac_ext >&5
97969 glibcxx_cv_func__finitef_use=no
97971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97972 ac_ext=c
97973 ac_cpp='$CPP $CPPFLAGS'
97974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97982 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
97983 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
97985 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
97987 for ac_func in _finitef
97989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97990 echo "$as_me:$LINENO: checking for $ac_func" >&5
97991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97992 if eval "test \"\${$as_ac_var+set}\" = set"; then
97993 echo $ECHO_N "(cached) $ECHO_C" >&6
97994 else
97995 if test x$gcc_no_link = xyes; then
97996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97998 { (exit 1); exit 1; }; }
98000 cat >conftest.$ac_ext <<_ACEOF
98001 /* confdefs.h. */
98002 _ACEOF
98003 cat confdefs.h >>conftest.$ac_ext
98004 cat >>conftest.$ac_ext <<_ACEOF
98005 /* end confdefs.h. */
98006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98008 #define $ac_func innocuous_$ac_func
98010 /* System header to define __stub macros and hopefully few prototypes,
98011 which can conflict with char $ac_func (); below.
98012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98013 <limits.h> exists even on freestanding compilers. */
98015 #ifdef __STDC__
98016 # include <limits.h>
98017 #else
98018 # include <assert.h>
98019 #endif
98021 #undef $ac_func
98023 /* Override any gcc2 internal prototype to avoid an error. */
98024 #ifdef __cplusplus
98025 extern "C"
98027 #endif
98028 /* We use char because int might match the return type of a gcc2
98029 builtin and then its argument prototype would still apply. */
98030 char $ac_func ();
98031 /* The GNU C library defines this for functions which it implements
98032 to always fail with ENOSYS. Some functions are actually named
98033 something starting with __ and the normal name is an alias. */
98034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98035 choke me
98036 #else
98037 char (*f) () = $ac_func;
98038 #endif
98039 #ifdef __cplusplus
98041 #endif
98044 main ()
98046 return f != $ac_func;
98048 return 0;
98050 _ACEOF
98051 rm -f conftest.$ac_objext conftest$ac_exeext
98052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98053 (eval $ac_link) 2>conftest.er1
98054 ac_status=$?
98055 grep -v '^ *+' conftest.er1 >conftest.err
98056 rm -f conftest.er1
98057 cat conftest.err >&5
98058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98059 (exit $ac_status); } &&
98060 { ac_try='test -z "$ac_c_werror_flag"
98061 || test ! -s conftest.err'
98062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98063 (eval $ac_try) 2>&5
98064 ac_status=$?
98065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98066 (exit $ac_status); }; } &&
98067 { ac_try='test -s conftest$ac_exeext'
98068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98069 (eval $ac_try) 2>&5
98070 ac_status=$?
98071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98072 (exit $ac_status); }; }; then
98073 eval "$as_ac_var=yes"
98074 else
98075 echo "$as_me: failed program was:" >&5
98076 sed 's/^/| /' conftest.$ac_ext >&5
98078 eval "$as_ac_var=no"
98080 rm -f conftest.err conftest.$ac_objext \
98081 conftest$ac_exeext conftest.$ac_ext
98083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98085 if test `eval echo '${'$as_ac_var'}'` = yes; then
98086 cat >>confdefs.h <<_ACEOF
98087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98088 _ACEOF
98091 done
98101 echo "$as_me:$LINENO: checking for long double trig functions" >&5
98102 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
98103 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
98104 echo $ECHO_N "(cached) $ECHO_C" >&6
98105 else
98109 ac_ext=cc
98110 ac_cpp='$CXXCPP $CPPFLAGS'
98111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98115 cat >conftest.$ac_ext <<_ACEOF
98116 /* confdefs.h. */
98117 _ACEOF
98118 cat confdefs.h >>conftest.$ac_ext
98119 cat >>conftest.$ac_ext <<_ACEOF
98120 /* end confdefs.h. */
98121 #include <math.h>
98123 main ()
98125 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
98127 return 0;
98129 _ACEOF
98130 rm -f conftest.$ac_objext
98131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98132 (eval $ac_compile) 2>conftest.er1
98133 ac_status=$?
98134 grep -v '^ *+' conftest.er1 >conftest.err
98135 rm -f conftest.er1
98136 cat conftest.err >&5
98137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98138 (exit $ac_status); } &&
98139 { ac_try='test -z "$ac_cxx_werror_flag"
98140 || test ! -s conftest.err'
98141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98142 (eval $ac_try) 2>&5
98143 ac_status=$?
98144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98145 (exit $ac_status); }; } &&
98146 { ac_try='test -s conftest.$ac_objext'
98147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98148 (eval $ac_try) 2>&5
98149 ac_status=$?
98150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98151 (exit $ac_status); }; }; then
98152 glibcxx_cv_func_long_double_trig_use=yes
98153 else
98154 echo "$as_me: failed program was:" >&5
98155 sed 's/^/| /' conftest.$ac_ext >&5
98157 glibcxx_cv_func_long_double_trig_use=no
98159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98160 ac_ext=c
98161 ac_cpp='$CPP $CPPFLAGS'
98162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98168 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
98169 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
98170 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
98180 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
98182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98183 echo "$as_me:$LINENO: checking for $ac_func" >&5
98184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98185 if eval "test \"\${$as_ac_var+set}\" = set"; then
98186 echo $ECHO_N "(cached) $ECHO_C" >&6
98187 else
98188 if test x$gcc_no_link = xyes; then
98189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98191 { (exit 1); exit 1; }; }
98193 cat >conftest.$ac_ext <<_ACEOF
98194 /* confdefs.h. */
98195 _ACEOF
98196 cat confdefs.h >>conftest.$ac_ext
98197 cat >>conftest.$ac_ext <<_ACEOF
98198 /* end confdefs.h. */
98199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98201 #define $ac_func innocuous_$ac_func
98203 /* System header to define __stub macros and hopefully few prototypes,
98204 which can conflict with char $ac_func (); below.
98205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98206 <limits.h> exists even on freestanding compilers. */
98208 #ifdef __STDC__
98209 # include <limits.h>
98210 #else
98211 # include <assert.h>
98212 #endif
98214 #undef $ac_func
98216 /* Override any gcc2 internal prototype to avoid an error. */
98217 #ifdef __cplusplus
98218 extern "C"
98220 #endif
98221 /* We use char because int might match the return type of a gcc2
98222 builtin and then its argument prototype would still apply. */
98223 char $ac_func ();
98224 /* The GNU C library defines this for functions which it implements
98225 to always fail with ENOSYS. Some functions are actually named
98226 something starting with __ and the normal name is an alias. */
98227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98228 choke me
98229 #else
98230 char (*f) () = $ac_func;
98231 #endif
98232 #ifdef __cplusplus
98234 #endif
98237 main ()
98239 return f != $ac_func;
98241 return 0;
98243 _ACEOF
98244 rm -f conftest.$ac_objext conftest$ac_exeext
98245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98246 (eval $ac_link) 2>conftest.er1
98247 ac_status=$?
98248 grep -v '^ *+' conftest.er1 >conftest.err
98249 rm -f conftest.er1
98250 cat conftest.err >&5
98251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98252 (exit $ac_status); } &&
98253 { ac_try='test -z "$ac_c_werror_flag"
98254 || test ! -s conftest.err'
98255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98256 (eval $ac_try) 2>&5
98257 ac_status=$?
98258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98259 (exit $ac_status); }; } &&
98260 { ac_try='test -s conftest$ac_exeext'
98261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98262 (eval $ac_try) 2>&5
98263 ac_status=$?
98264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98265 (exit $ac_status); }; }; then
98266 eval "$as_ac_var=yes"
98267 else
98268 echo "$as_me: failed program was:" >&5
98269 sed 's/^/| /' conftest.$ac_ext >&5
98271 eval "$as_ac_var=no"
98273 rm -f conftest.err conftest.$ac_objext \
98274 conftest$ac_exeext conftest.$ac_ext
98276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98278 if test `eval echo '${'$as_ac_var'}'` = yes; then
98279 cat >>confdefs.h <<_ACEOF
98280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98281 _ACEOF
98284 done
98286 else
98287 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
98288 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
98289 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
98290 echo $ECHO_N "(cached) $ECHO_C" >&6
98291 else
98295 ac_ext=cc
98296 ac_cpp='$CXXCPP $CPPFLAGS'
98297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98301 cat >conftest.$ac_ext <<_ACEOF
98302 /* confdefs.h. */
98303 _ACEOF
98304 cat confdefs.h >>conftest.$ac_ext
98305 cat >>conftest.$ac_ext <<_ACEOF
98306 /* end confdefs.h. */
98307 #include <math.h>
98309 main ()
98311 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
98313 return 0;
98315 _ACEOF
98316 rm -f conftest.$ac_objext
98317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98318 (eval $ac_compile) 2>conftest.er1
98319 ac_status=$?
98320 grep -v '^ *+' conftest.er1 >conftest.err
98321 rm -f conftest.er1
98322 cat conftest.err >&5
98323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98324 (exit $ac_status); } &&
98325 { ac_try='test -z "$ac_cxx_werror_flag"
98326 || test ! -s conftest.err'
98327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98328 (eval $ac_try) 2>&5
98329 ac_status=$?
98330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98331 (exit $ac_status); }; } &&
98332 { ac_try='test -s conftest.$ac_objext'
98333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98334 (eval $ac_try) 2>&5
98335 ac_status=$?
98336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98337 (exit $ac_status); }; }; then
98338 glibcxx_cv_func__long_double_trig_use=yes
98339 else
98340 echo "$as_me: failed program was:" >&5
98341 sed 's/^/| /' conftest.$ac_ext >&5
98343 glibcxx_cv_func__long_double_trig_use=no
98345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98346 ac_ext=c
98347 ac_cpp='$CPP $CPPFLAGS'
98348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98354 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
98355 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
98356 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
98366 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
98368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98369 echo "$as_me:$LINENO: checking for $ac_func" >&5
98370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98371 if eval "test \"\${$as_ac_var+set}\" = set"; then
98372 echo $ECHO_N "(cached) $ECHO_C" >&6
98373 else
98374 if test x$gcc_no_link = xyes; then
98375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98377 { (exit 1); exit 1; }; }
98379 cat >conftest.$ac_ext <<_ACEOF
98380 /* confdefs.h. */
98381 _ACEOF
98382 cat confdefs.h >>conftest.$ac_ext
98383 cat >>conftest.$ac_ext <<_ACEOF
98384 /* end confdefs.h. */
98385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98387 #define $ac_func innocuous_$ac_func
98389 /* System header to define __stub macros and hopefully few prototypes,
98390 which can conflict with char $ac_func (); below.
98391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98392 <limits.h> exists even on freestanding compilers. */
98394 #ifdef __STDC__
98395 # include <limits.h>
98396 #else
98397 # include <assert.h>
98398 #endif
98400 #undef $ac_func
98402 /* Override any gcc2 internal prototype to avoid an error. */
98403 #ifdef __cplusplus
98404 extern "C"
98406 #endif
98407 /* We use char because int might match the return type of a gcc2
98408 builtin and then its argument prototype would still apply. */
98409 char $ac_func ();
98410 /* The GNU C library defines this for functions which it implements
98411 to always fail with ENOSYS. Some functions are actually named
98412 something starting with __ and the normal name is an alias. */
98413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98414 choke me
98415 #else
98416 char (*f) () = $ac_func;
98417 #endif
98418 #ifdef __cplusplus
98420 #endif
98423 main ()
98425 return f != $ac_func;
98427 return 0;
98429 _ACEOF
98430 rm -f conftest.$ac_objext conftest$ac_exeext
98431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98432 (eval $ac_link) 2>conftest.er1
98433 ac_status=$?
98434 grep -v '^ *+' conftest.er1 >conftest.err
98435 rm -f conftest.er1
98436 cat conftest.err >&5
98437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98438 (exit $ac_status); } &&
98439 { ac_try='test -z "$ac_c_werror_flag"
98440 || test ! -s conftest.err'
98441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98442 (eval $ac_try) 2>&5
98443 ac_status=$?
98444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98445 (exit $ac_status); }; } &&
98446 { ac_try='test -s conftest$ac_exeext'
98447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98448 (eval $ac_try) 2>&5
98449 ac_status=$?
98450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98451 (exit $ac_status); }; }; then
98452 eval "$as_ac_var=yes"
98453 else
98454 echo "$as_me: failed program was:" >&5
98455 sed 's/^/| /' conftest.$ac_ext >&5
98457 eval "$as_ac_var=no"
98459 rm -f conftest.err conftest.$ac_objext \
98460 conftest$ac_exeext conftest.$ac_ext
98462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98464 if test `eval echo '${'$as_ac_var'}'` = yes; then
98465 cat >>confdefs.h <<_ACEOF
98466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98467 _ACEOF
98470 done
98488 echo "$as_me:$LINENO: checking for long double round functions" >&5
98489 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
98490 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
98491 echo $ECHO_N "(cached) $ECHO_C" >&6
98492 else
98496 ac_ext=cc
98497 ac_cpp='$CXXCPP $CPPFLAGS'
98498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98502 cat >conftest.$ac_ext <<_ACEOF
98503 /* confdefs.h. */
98504 _ACEOF
98505 cat confdefs.h >>conftest.$ac_ext
98506 cat >>conftest.$ac_ext <<_ACEOF
98507 /* end confdefs.h. */
98508 #include <math.h>
98510 main ()
98512 ceill (0); floorl (0);
98514 return 0;
98516 _ACEOF
98517 rm -f conftest.$ac_objext
98518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98519 (eval $ac_compile) 2>conftest.er1
98520 ac_status=$?
98521 grep -v '^ *+' conftest.er1 >conftest.err
98522 rm -f conftest.er1
98523 cat conftest.err >&5
98524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98525 (exit $ac_status); } &&
98526 { ac_try='test -z "$ac_cxx_werror_flag"
98527 || test ! -s conftest.err'
98528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98529 (eval $ac_try) 2>&5
98530 ac_status=$?
98531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98532 (exit $ac_status); }; } &&
98533 { ac_try='test -s conftest.$ac_objext'
98534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98535 (eval $ac_try) 2>&5
98536 ac_status=$?
98537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98538 (exit $ac_status); }; }; then
98539 glibcxx_cv_func_long_double_round_use=yes
98540 else
98541 echo "$as_me: failed program was:" >&5
98542 sed 's/^/| /' conftest.$ac_ext >&5
98544 glibcxx_cv_func_long_double_round_use=no
98546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98547 ac_ext=c
98548 ac_cpp='$CPP $CPPFLAGS'
98549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98555 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
98556 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
98557 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
98560 for ac_func in ceill floorl
98562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98563 echo "$as_me:$LINENO: checking for $ac_func" >&5
98564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98565 if eval "test \"\${$as_ac_var+set}\" = set"; then
98566 echo $ECHO_N "(cached) $ECHO_C" >&6
98567 else
98568 if test x$gcc_no_link = xyes; then
98569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98571 { (exit 1); exit 1; }; }
98573 cat >conftest.$ac_ext <<_ACEOF
98574 /* confdefs.h. */
98575 _ACEOF
98576 cat confdefs.h >>conftest.$ac_ext
98577 cat >>conftest.$ac_ext <<_ACEOF
98578 /* end confdefs.h. */
98579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98581 #define $ac_func innocuous_$ac_func
98583 /* System header to define __stub macros and hopefully few prototypes,
98584 which can conflict with char $ac_func (); below.
98585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98586 <limits.h> exists even on freestanding compilers. */
98588 #ifdef __STDC__
98589 # include <limits.h>
98590 #else
98591 # include <assert.h>
98592 #endif
98594 #undef $ac_func
98596 /* Override any gcc2 internal prototype to avoid an error. */
98597 #ifdef __cplusplus
98598 extern "C"
98600 #endif
98601 /* We use char because int might match the return type of a gcc2
98602 builtin and then its argument prototype would still apply. */
98603 char $ac_func ();
98604 /* The GNU C library defines this for functions which it implements
98605 to always fail with ENOSYS. Some functions are actually named
98606 something starting with __ and the normal name is an alias. */
98607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98608 choke me
98609 #else
98610 char (*f) () = $ac_func;
98611 #endif
98612 #ifdef __cplusplus
98614 #endif
98617 main ()
98619 return f != $ac_func;
98621 return 0;
98623 _ACEOF
98624 rm -f conftest.$ac_objext conftest$ac_exeext
98625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98626 (eval $ac_link) 2>conftest.er1
98627 ac_status=$?
98628 grep -v '^ *+' conftest.er1 >conftest.err
98629 rm -f conftest.er1
98630 cat conftest.err >&5
98631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98632 (exit $ac_status); } &&
98633 { ac_try='test -z "$ac_c_werror_flag"
98634 || test ! -s conftest.err'
98635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98636 (eval $ac_try) 2>&5
98637 ac_status=$?
98638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98639 (exit $ac_status); }; } &&
98640 { ac_try='test -s conftest$ac_exeext'
98641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98642 (eval $ac_try) 2>&5
98643 ac_status=$?
98644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98645 (exit $ac_status); }; }; then
98646 eval "$as_ac_var=yes"
98647 else
98648 echo "$as_me: failed program was:" >&5
98649 sed 's/^/| /' conftest.$ac_ext >&5
98651 eval "$as_ac_var=no"
98653 rm -f conftest.err conftest.$ac_objext \
98654 conftest$ac_exeext conftest.$ac_ext
98656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98658 if test `eval echo '${'$as_ac_var'}'` = yes; then
98659 cat >>confdefs.h <<_ACEOF
98660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98661 _ACEOF
98664 done
98666 else
98667 echo "$as_me:$LINENO: checking for _long double round functions" >&5
98668 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
98669 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
98670 echo $ECHO_N "(cached) $ECHO_C" >&6
98671 else
98675 ac_ext=cc
98676 ac_cpp='$CXXCPP $CPPFLAGS'
98677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98681 cat >conftest.$ac_ext <<_ACEOF
98682 /* confdefs.h. */
98683 _ACEOF
98684 cat confdefs.h >>conftest.$ac_ext
98685 cat >>conftest.$ac_ext <<_ACEOF
98686 /* end confdefs.h. */
98687 #include <math.h>
98689 main ()
98691 _ceill (0); _floorl (0);
98693 return 0;
98695 _ACEOF
98696 rm -f conftest.$ac_objext
98697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98698 (eval $ac_compile) 2>conftest.er1
98699 ac_status=$?
98700 grep -v '^ *+' conftest.er1 >conftest.err
98701 rm -f conftest.er1
98702 cat conftest.err >&5
98703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98704 (exit $ac_status); } &&
98705 { ac_try='test -z "$ac_cxx_werror_flag"
98706 || test ! -s conftest.err'
98707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98708 (eval $ac_try) 2>&5
98709 ac_status=$?
98710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98711 (exit $ac_status); }; } &&
98712 { ac_try='test -s conftest.$ac_objext'
98713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98714 (eval $ac_try) 2>&5
98715 ac_status=$?
98716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98717 (exit $ac_status); }; }; then
98718 glibcxx_cv_func__long_double_round_use=yes
98719 else
98720 echo "$as_me: failed program was:" >&5
98721 sed 's/^/| /' conftest.$ac_ext >&5
98723 glibcxx_cv_func__long_double_round_use=no
98725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98726 ac_ext=c
98727 ac_cpp='$CPP $CPPFLAGS'
98728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98734 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
98735 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
98736 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
98739 for ac_func in _ceill _floorl
98741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98742 echo "$as_me:$LINENO: checking for $ac_func" >&5
98743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98744 if eval "test \"\${$as_ac_var+set}\" = set"; then
98745 echo $ECHO_N "(cached) $ECHO_C" >&6
98746 else
98747 if test x$gcc_no_link = xyes; then
98748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98750 { (exit 1); exit 1; }; }
98752 cat >conftest.$ac_ext <<_ACEOF
98753 /* confdefs.h. */
98754 _ACEOF
98755 cat confdefs.h >>conftest.$ac_ext
98756 cat >>conftest.$ac_ext <<_ACEOF
98757 /* end confdefs.h. */
98758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98760 #define $ac_func innocuous_$ac_func
98762 /* System header to define __stub macros and hopefully few prototypes,
98763 which can conflict with char $ac_func (); below.
98764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98765 <limits.h> exists even on freestanding compilers. */
98767 #ifdef __STDC__
98768 # include <limits.h>
98769 #else
98770 # include <assert.h>
98771 #endif
98773 #undef $ac_func
98775 /* Override any gcc2 internal prototype to avoid an error. */
98776 #ifdef __cplusplus
98777 extern "C"
98779 #endif
98780 /* We use char because int might match the return type of a gcc2
98781 builtin and then its argument prototype would still apply. */
98782 char $ac_func ();
98783 /* The GNU C library defines this for functions which it implements
98784 to always fail with ENOSYS. Some functions are actually named
98785 something starting with __ and the normal name is an alias. */
98786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98787 choke me
98788 #else
98789 char (*f) () = $ac_func;
98790 #endif
98791 #ifdef __cplusplus
98793 #endif
98796 main ()
98798 return f != $ac_func;
98800 return 0;
98802 _ACEOF
98803 rm -f conftest.$ac_objext conftest$ac_exeext
98804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98805 (eval $ac_link) 2>conftest.er1
98806 ac_status=$?
98807 grep -v '^ *+' conftest.er1 >conftest.err
98808 rm -f conftest.er1
98809 cat conftest.err >&5
98810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98811 (exit $ac_status); } &&
98812 { ac_try='test -z "$ac_c_werror_flag"
98813 || test ! -s conftest.err'
98814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98815 (eval $ac_try) 2>&5
98816 ac_status=$?
98817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98818 (exit $ac_status); }; } &&
98819 { ac_try='test -s conftest$ac_exeext'
98820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98821 (eval $ac_try) 2>&5
98822 ac_status=$?
98823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98824 (exit $ac_status); }; }; then
98825 eval "$as_ac_var=yes"
98826 else
98827 echo "$as_me: failed program was:" >&5
98828 sed 's/^/| /' conftest.$ac_ext >&5
98830 eval "$as_ac_var=no"
98832 rm -f conftest.err conftest.$ac_objext \
98833 conftest$ac_exeext conftest.$ac_ext
98835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98837 if test `eval echo '${'$as_ac_var'}'` = yes; then
98838 cat >>confdefs.h <<_ACEOF
98839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98840 _ACEOF
98843 done
98855 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
98856 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
98857 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
98858 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
98859 echo $ECHO_N "(cached) $ECHO_C" >&6
98860 else
98864 ac_ext=cc
98865 ac_cpp='$CXXCPP $CPPFLAGS'
98866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98870 cat >conftest.$ac_ext <<_ACEOF
98871 /* confdefs.h. */
98872 _ACEOF
98873 cat confdefs.h >>conftest.$ac_ext
98874 cat >>conftest.$ac_ext <<_ACEOF
98875 /* end confdefs.h. */
98876 #include <math.h>
98877 #ifdef HAVE_IEEEFP_H
98878 #include <ieeefp.h>
98879 #endif
98882 main ()
98884 isnanl(0);
98886 return 0;
98888 _ACEOF
98889 rm -f conftest.$ac_objext
98890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98891 (eval $ac_compile) 2>conftest.er1
98892 ac_status=$?
98893 grep -v '^ *+' conftest.er1 >conftest.err
98894 rm -f conftest.er1
98895 cat conftest.err >&5
98896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98897 (exit $ac_status); } &&
98898 { ac_try='test -z "$ac_cxx_werror_flag"
98899 || test ! -s conftest.err'
98900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98901 (eval $ac_try) 2>&5
98902 ac_status=$?
98903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98904 (exit $ac_status); }; } &&
98905 { ac_try='test -s conftest.$ac_objext'
98906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98907 (eval $ac_try) 2>&5
98908 ac_status=$?
98909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98910 (exit $ac_status); }; }; then
98911 glibcxx_cv_func_isnanl_use=yes
98912 else
98913 echo "$as_me: failed program was:" >&5
98914 sed 's/^/| /' conftest.$ac_ext >&5
98916 glibcxx_cv_func_isnanl_use=no
98918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98919 ac_ext=c
98920 ac_cpp='$CPP $CPPFLAGS'
98921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98929 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
98930 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
98932 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
98934 for ac_func in isnanl
98936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98937 echo "$as_me:$LINENO: checking for $ac_func" >&5
98938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98939 if eval "test \"\${$as_ac_var+set}\" = set"; then
98940 echo $ECHO_N "(cached) $ECHO_C" >&6
98941 else
98942 if test x$gcc_no_link = xyes; then
98943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98945 { (exit 1); exit 1; }; }
98947 cat >conftest.$ac_ext <<_ACEOF
98948 /* confdefs.h. */
98949 _ACEOF
98950 cat confdefs.h >>conftest.$ac_ext
98951 cat >>conftest.$ac_ext <<_ACEOF
98952 /* end confdefs.h. */
98953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98955 #define $ac_func innocuous_$ac_func
98957 /* System header to define __stub macros and hopefully few prototypes,
98958 which can conflict with char $ac_func (); below.
98959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98960 <limits.h> exists even on freestanding compilers. */
98962 #ifdef __STDC__
98963 # include <limits.h>
98964 #else
98965 # include <assert.h>
98966 #endif
98968 #undef $ac_func
98970 /* Override any gcc2 internal prototype to avoid an error. */
98971 #ifdef __cplusplus
98972 extern "C"
98974 #endif
98975 /* We use char because int might match the return type of a gcc2
98976 builtin and then its argument prototype would still apply. */
98977 char $ac_func ();
98978 /* The GNU C library defines this for functions which it implements
98979 to always fail with ENOSYS. Some functions are actually named
98980 something starting with __ and the normal name is an alias. */
98981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98982 choke me
98983 #else
98984 char (*f) () = $ac_func;
98985 #endif
98986 #ifdef __cplusplus
98988 #endif
98991 main ()
98993 return f != $ac_func;
98995 return 0;
98997 _ACEOF
98998 rm -f conftest.$ac_objext conftest$ac_exeext
98999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99000 (eval $ac_link) 2>conftest.er1
99001 ac_status=$?
99002 grep -v '^ *+' conftest.er1 >conftest.err
99003 rm -f conftest.er1
99004 cat conftest.err >&5
99005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99006 (exit $ac_status); } &&
99007 { ac_try='test -z "$ac_c_werror_flag"
99008 || test ! -s conftest.err'
99009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99010 (eval $ac_try) 2>&5
99011 ac_status=$?
99012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99013 (exit $ac_status); }; } &&
99014 { ac_try='test -s conftest$ac_exeext'
99015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99016 (eval $ac_try) 2>&5
99017 ac_status=$?
99018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99019 (exit $ac_status); }; }; then
99020 eval "$as_ac_var=yes"
99021 else
99022 echo "$as_me: failed program was:" >&5
99023 sed 's/^/| /' conftest.$ac_ext >&5
99025 eval "$as_ac_var=no"
99027 rm -f conftest.err conftest.$ac_objext \
99028 conftest$ac_exeext conftest.$ac_ext
99030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99032 if test `eval echo '${'$as_ac_var'}'` = yes; then
99033 cat >>confdefs.h <<_ACEOF
99034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99035 _ACEOF
99038 done
99040 else
99042 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
99043 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
99044 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
99045 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
99046 echo $ECHO_N "(cached) $ECHO_C" >&6
99047 else
99051 ac_ext=cc
99052 ac_cpp='$CXXCPP $CPPFLAGS'
99053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99057 cat >conftest.$ac_ext <<_ACEOF
99058 /* confdefs.h. */
99059 _ACEOF
99060 cat confdefs.h >>conftest.$ac_ext
99061 cat >>conftest.$ac_ext <<_ACEOF
99062 /* end confdefs.h. */
99063 #include <math.h>
99064 #ifdef HAVE_IEEEFP_H
99065 #include <ieeefp.h>
99066 #endif
99069 main ()
99071 _isnanl(0);
99073 return 0;
99075 _ACEOF
99076 rm -f conftest.$ac_objext
99077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99078 (eval $ac_compile) 2>conftest.er1
99079 ac_status=$?
99080 grep -v '^ *+' conftest.er1 >conftest.err
99081 rm -f conftest.er1
99082 cat conftest.err >&5
99083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99084 (exit $ac_status); } &&
99085 { ac_try='test -z "$ac_cxx_werror_flag"
99086 || test ! -s conftest.err'
99087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99088 (eval $ac_try) 2>&5
99089 ac_status=$?
99090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99091 (exit $ac_status); }; } &&
99092 { ac_try='test -s conftest.$ac_objext'
99093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99094 (eval $ac_try) 2>&5
99095 ac_status=$?
99096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99097 (exit $ac_status); }; }; then
99098 glibcxx_cv_func__isnanl_use=yes
99099 else
99100 echo "$as_me: failed program was:" >&5
99101 sed 's/^/| /' conftest.$ac_ext >&5
99103 glibcxx_cv_func__isnanl_use=no
99105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99106 ac_ext=c
99107 ac_cpp='$CPP $CPPFLAGS'
99108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99116 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
99117 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
99119 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
99121 for ac_func in _isnanl
99123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99124 echo "$as_me:$LINENO: checking for $ac_func" >&5
99125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99126 if eval "test \"\${$as_ac_var+set}\" = set"; then
99127 echo $ECHO_N "(cached) $ECHO_C" >&6
99128 else
99129 if test x$gcc_no_link = xyes; then
99130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99132 { (exit 1); exit 1; }; }
99134 cat >conftest.$ac_ext <<_ACEOF
99135 /* confdefs.h. */
99136 _ACEOF
99137 cat confdefs.h >>conftest.$ac_ext
99138 cat >>conftest.$ac_ext <<_ACEOF
99139 /* end confdefs.h. */
99140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99142 #define $ac_func innocuous_$ac_func
99144 /* System header to define __stub macros and hopefully few prototypes,
99145 which can conflict with char $ac_func (); below.
99146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99147 <limits.h> exists even on freestanding compilers. */
99149 #ifdef __STDC__
99150 # include <limits.h>
99151 #else
99152 # include <assert.h>
99153 #endif
99155 #undef $ac_func
99157 /* Override any gcc2 internal prototype to avoid an error. */
99158 #ifdef __cplusplus
99159 extern "C"
99161 #endif
99162 /* We use char because int might match the return type of a gcc2
99163 builtin and then its argument prototype would still apply. */
99164 char $ac_func ();
99165 /* The GNU C library defines this for functions which it implements
99166 to always fail with ENOSYS. Some functions are actually named
99167 something starting with __ and the normal name is an alias. */
99168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99169 choke me
99170 #else
99171 char (*f) () = $ac_func;
99172 #endif
99173 #ifdef __cplusplus
99175 #endif
99178 main ()
99180 return f != $ac_func;
99182 return 0;
99184 _ACEOF
99185 rm -f conftest.$ac_objext conftest$ac_exeext
99186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99187 (eval $ac_link) 2>conftest.er1
99188 ac_status=$?
99189 grep -v '^ *+' conftest.er1 >conftest.err
99190 rm -f conftest.er1
99191 cat conftest.err >&5
99192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99193 (exit $ac_status); } &&
99194 { ac_try='test -z "$ac_c_werror_flag"
99195 || test ! -s conftest.err'
99196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99197 (eval $ac_try) 2>&5
99198 ac_status=$?
99199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99200 (exit $ac_status); }; } &&
99201 { ac_try='test -s conftest$ac_exeext'
99202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99203 (eval $ac_try) 2>&5
99204 ac_status=$?
99205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99206 (exit $ac_status); }; }; then
99207 eval "$as_ac_var=yes"
99208 else
99209 echo "$as_me: failed program was:" >&5
99210 sed 's/^/| /' conftest.$ac_ext >&5
99212 eval "$as_ac_var=no"
99214 rm -f conftest.err conftest.$ac_objext \
99215 conftest$ac_exeext conftest.$ac_ext
99217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99219 if test `eval echo '${'$as_ac_var'}'` = yes; then
99220 cat >>confdefs.h <<_ACEOF
99221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99222 _ACEOF
99225 done
99235 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
99236 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
99237 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
99238 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
99239 echo $ECHO_N "(cached) $ECHO_C" >&6
99240 else
99244 ac_ext=cc
99245 ac_cpp='$CXXCPP $CPPFLAGS'
99246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99250 cat >conftest.$ac_ext <<_ACEOF
99251 /* confdefs.h. */
99252 _ACEOF
99253 cat confdefs.h >>conftest.$ac_ext
99254 cat >>conftest.$ac_ext <<_ACEOF
99255 /* end confdefs.h. */
99256 #include <math.h>
99257 #ifdef HAVE_IEEEFP_H
99258 #include <ieeefp.h>
99259 #endif
99262 main ()
99264 isinfl(0);
99266 return 0;
99268 _ACEOF
99269 rm -f conftest.$ac_objext
99270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99271 (eval $ac_compile) 2>conftest.er1
99272 ac_status=$?
99273 grep -v '^ *+' conftest.er1 >conftest.err
99274 rm -f conftest.er1
99275 cat conftest.err >&5
99276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99277 (exit $ac_status); } &&
99278 { ac_try='test -z "$ac_cxx_werror_flag"
99279 || test ! -s conftest.err'
99280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99281 (eval $ac_try) 2>&5
99282 ac_status=$?
99283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99284 (exit $ac_status); }; } &&
99285 { ac_try='test -s conftest.$ac_objext'
99286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99287 (eval $ac_try) 2>&5
99288 ac_status=$?
99289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99290 (exit $ac_status); }; }; then
99291 glibcxx_cv_func_isinfl_use=yes
99292 else
99293 echo "$as_me: failed program was:" >&5
99294 sed 's/^/| /' conftest.$ac_ext >&5
99296 glibcxx_cv_func_isinfl_use=no
99298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99299 ac_ext=c
99300 ac_cpp='$CPP $CPPFLAGS'
99301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99309 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
99310 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
99312 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
99314 for ac_func in isinfl
99316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99317 echo "$as_me:$LINENO: checking for $ac_func" >&5
99318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99319 if eval "test \"\${$as_ac_var+set}\" = set"; then
99320 echo $ECHO_N "(cached) $ECHO_C" >&6
99321 else
99322 if test x$gcc_no_link = xyes; then
99323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99325 { (exit 1); exit 1; }; }
99327 cat >conftest.$ac_ext <<_ACEOF
99328 /* confdefs.h. */
99329 _ACEOF
99330 cat confdefs.h >>conftest.$ac_ext
99331 cat >>conftest.$ac_ext <<_ACEOF
99332 /* end confdefs.h. */
99333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99335 #define $ac_func innocuous_$ac_func
99337 /* System header to define __stub macros and hopefully few prototypes,
99338 which can conflict with char $ac_func (); below.
99339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99340 <limits.h> exists even on freestanding compilers. */
99342 #ifdef __STDC__
99343 # include <limits.h>
99344 #else
99345 # include <assert.h>
99346 #endif
99348 #undef $ac_func
99350 /* Override any gcc2 internal prototype to avoid an error. */
99351 #ifdef __cplusplus
99352 extern "C"
99354 #endif
99355 /* We use char because int might match the return type of a gcc2
99356 builtin and then its argument prototype would still apply. */
99357 char $ac_func ();
99358 /* The GNU C library defines this for functions which it implements
99359 to always fail with ENOSYS. Some functions are actually named
99360 something starting with __ and the normal name is an alias. */
99361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99362 choke me
99363 #else
99364 char (*f) () = $ac_func;
99365 #endif
99366 #ifdef __cplusplus
99368 #endif
99371 main ()
99373 return f != $ac_func;
99375 return 0;
99377 _ACEOF
99378 rm -f conftest.$ac_objext conftest$ac_exeext
99379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99380 (eval $ac_link) 2>conftest.er1
99381 ac_status=$?
99382 grep -v '^ *+' conftest.er1 >conftest.err
99383 rm -f conftest.er1
99384 cat conftest.err >&5
99385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99386 (exit $ac_status); } &&
99387 { ac_try='test -z "$ac_c_werror_flag"
99388 || test ! -s conftest.err'
99389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99390 (eval $ac_try) 2>&5
99391 ac_status=$?
99392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99393 (exit $ac_status); }; } &&
99394 { ac_try='test -s conftest$ac_exeext'
99395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99396 (eval $ac_try) 2>&5
99397 ac_status=$?
99398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99399 (exit $ac_status); }; }; then
99400 eval "$as_ac_var=yes"
99401 else
99402 echo "$as_me: failed program was:" >&5
99403 sed 's/^/| /' conftest.$ac_ext >&5
99405 eval "$as_ac_var=no"
99407 rm -f conftest.err conftest.$ac_objext \
99408 conftest$ac_exeext conftest.$ac_ext
99410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99412 if test `eval echo '${'$as_ac_var'}'` = yes; then
99413 cat >>confdefs.h <<_ACEOF
99414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99415 _ACEOF
99418 done
99420 else
99422 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
99423 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
99424 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
99425 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
99426 echo $ECHO_N "(cached) $ECHO_C" >&6
99427 else
99431 ac_ext=cc
99432 ac_cpp='$CXXCPP $CPPFLAGS'
99433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99437 cat >conftest.$ac_ext <<_ACEOF
99438 /* confdefs.h. */
99439 _ACEOF
99440 cat confdefs.h >>conftest.$ac_ext
99441 cat >>conftest.$ac_ext <<_ACEOF
99442 /* end confdefs.h. */
99443 #include <math.h>
99444 #ifdef HAVE_IEEEFP_H
99445 #include <ieeefp.h>
99446 #endif
99449 main ()
99451 _isinfl(0);
99453 return 0;
99455 _ACEOF
99456 rm -f conftest.$ac_objext
99457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99458 (eval $ac_compile) 2>conftest.er1
99459 ac_status=$?
99460 grep -v '^ *+' conftest.er1 >conftest.err
99461 rm -f conftest.er1
99462 cat conftest.err >&5
99463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99464 (exit $ac_status); } &&
99465 { ac_try='test -z "$ac_cxx_werror_flag"
99466 || test ! -s conftest.err'
99467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99468 (eval $ac_try) 2>&5
99469 ac_status=$?
99470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99471 (exit $ac_status); }; } &&
99472 { ac_try='test -s conftest.$ac_objext'
99473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99474 (eval $ac_try) 2>&5
99475 ac_status=$?
99476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99477 (exit $ac_status); }; }; then
99478 glibcxx_cv_func__isinfl_use=yes
99479 else
99480 echo "$as_me: failed program was:" >&5
99481 sed 's/^/| /' conftest.$ac_ext >&5
99483 glibcxx_cv_func__isinfl_use=no
99485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99486 ac_ext=c
99487 ac_cpp='$CPP $CPPFLAGS'
99488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99496 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
99497 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
99499 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
99501 for ac_func in _isinfl
99503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99504 echo "$as_me:$LINENO: checking for $ac_func" >&5
99505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99506 if eval "test \"\${$as_ac_var+set}\" = set"; then
99507 echo $ECHO_N "(cached) $ECHO_C" >&6
99508 else
99509 if test x$gcc_no_link = xyes; then
99510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99512 { (exit 1); exit 1; }; }
99514 cat >conftest.$ac_ext <<_ACEOF
99515 /* confdefs.h. */
99516 _ACEOF
99517 cat confdefs.h >>conftest.$ac_ext
99518 cat >>conftest.$ac_ext <<_ACEOF
99519 /* end confdefs.h. */
99520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99522 #define $ac_func innocuous_$ac_func
99524 /* System header to define __stub macros and hopefully few prototypes,
99525 which can conflict with char $ac_func (); below.
99526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99527 <limits.h> exists even on freestanding compilers. */
99529 #ifdef __STDC__
99530 # include <limits.h>
99531 #else
99532 # include <assert.h>
99533 #endif
99535 #undef $ac_func
99537 /* Override any gcc2 internal prototype to avoid an error. */
99538 #ifdef __cplusplus
99539 extern "C"
99541 #endif
99542 /* We use char because int might match the return type of a gcc2
99543 builtin and then its argument prototype would still apply. */
99544 char $ac_func ();
99545 /* The GNU C library defines this for functions which it implements
99546 to always fail with ENOSYS. Some functions are actually named
99547 something starting with __ and the normal name is an alias. */
99548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99549 choke me
99550 #else
99551 char (*f) () = $ac_func;
99552 #endif
99553 #ifdef __cplusplus
99555 #endif
99558 main ()
99560 return f != $ac_func;
99562 return 0;
99564 _ACEOF
99565 rm -f conftest.$ac_objext conftest$ac_exeext
99566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99567 (eval $ac_link) 2>conftest.er1
99568 ac_status=$?
99569 grep -v '^ *+' conftest.er1 >conftest.err
99570 rm -f conftest.er1
99571 cat conftest.err >&5
99572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99573 (exit $ac_status); } &&
99574 { ac_try='test -z "$ac_c_werror_flag"
99575 || test ! -s conftest.err'
99576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99577 (eval $ac_try) 2>&5
99578 ac_status=$?
99579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99580 (exit $ac_status); }; } &&
99581 { ac_try='test -s conftest$ac_exeext'
99582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99583 (eval $ac_try) 2>&5
99584 ac_status=$?
99585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99586 (exit $ac_status); }; }; then
99587 eval "$as_ac_var=yes"
99588 else
99589 echo "$as_me: failed program was:" >&5
99590 sed 's/^/| /' conftest.$ac_ext >&5
99592 eval "$as_ac_var=no"
99594 rm -f conftest.err conftest.$ac_objext \
99595 conftest$ac_exeext conftest.$ac_ext
99597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99599 if test `eval echo '${'$as_ac_var'}'` = yes; then
99600 cat >>confdefs.h <<_ACEOF
99601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99602 _ACEOF
99605 done
99615 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
99616 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
99617 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
99618 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
99619 echo $ECHO_N "(cached) $ECHO_C" >&6
99620 else
99624 ac_ext=cc
99625 ac_cpp='$CXXCPP $CPPFLAGS'
99626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99630 cat >conftest.$ac_ext <<_ACEOF
99631 /* confdefs.h. */
99632 _ACEOF
99633 cat confdefs.h >>conftest.$ac_ext
99634 cat >>conftest.$ac_ext <<_ACEOF
99635 /* end confdefs.h. */
99636 #include <math.h>
99638 main ()
99640 copysignl(0, 0);
99642 return 0;
99644 _ACEOF
99645 rm -f conftest.$ac_objext
99646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99647 (eval $ac_compile) 2>conftest.er1
99648 ac_status=$?
99649 grep -v '^ *+' conftest.er1 >conftest.err
99650 rm -f conftest.er1
99651 cat conftest.err >&5
99652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99653 (exit $ac_status); } &&
99654 { ac_try='test -z "$ac_cxx_werror_flag"
99655 || test ! -s conftest.err'
99656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99657 (eval $ac_try) 2>&5
99658 ac_status=$?
99659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99660 (exit $ac_status); }; } &&
99661 { ac_try='test -s conftest.$ac_objext'
99662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99663 (eval $ac_try) 2>&5
99664 ac_status=$?
99665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99666 (exit $ac_status); }; }; then
99667 glibcxx_cv_func_copysignl_use=yes
99668 else
99669 echo "$as_me: failed program was:" >&5
99670 sed 's/^/| /' conftest.$ac_ext >&5
99672 glibcxx_cv_func_copysignl_use=no
99674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99675 ac_ext=c
99676 ac_cpp='$CPP $CPPFLAGS'
99677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99685 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
99686 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
99688 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
99690 for ac_func in copysignl
99692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99693 echo "$as_me:$LINENO: checking for $ac_func" >&5
99694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99695 if eval "test \"\${$as_ac_var+set}\" = set"; then
99696 echo $ECHO_N "(cached) $ECHO_C" >&6
99697 else
99698 if test x$gcc_no_link = xyes; then
99699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99701 { (exit 1); exit 1; }; }
99703 cat >conftest.$ac_ext <<_ACEOF
99704 /* confdefs.h. */
99705 _ACEOF
99706 cat confdefs.h >>conftest.$ac_ext
99707 cat >>conftest.$ac_ext <<_ACEOF
99708 /* end confdefs.h. */
99709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99711 #define $ac_func innocuous_$ac_func
99713 /* System header to define __stub macros and hopefully few prototypes,
99714 which can conflict with char $ac_func (); below.
99715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99716 <limits.h> exists even on freestanding compilers. */
99718 #ifdef __STDC__
99719 # include <limits.h>
99720 #else
99721 # include <assert.h>
99722 #endif
99724 #undef $ac_func
99726 /* Override any gcc2 internal prototype to avoid an error. */
99727 #ifdef __cplusplus
99728 extern "C"
99730 #endif
99731 /* We use char because int might match the return type of a gcc2
99732 builtin and then its argument prototype would still apply. */
99733 char $ac_func ();
99734 /* The GNU C library defines this for functions which it implements
99735 to always fail with ENOSYS. Some functions are actually named
99736 something starting with __ and the normal name is an alias. */
99737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99738 choke me
99739 #else
99740 char (*f) () = $ac_func;
99741 #endif
99742 #ifdef __cplusplus
99744 #endif
99747 main ()
99749 return f != $ac_func;
99751 return 0;
99753 _ACEOF
99754 rm -f conftest.$ac_objext conftest$ac_exeext
99755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99756 (eval $ac_link) 2>conftest.er1
99757 ac_status=$?
99758 grep -v '^ *+' conftest.er1 >conftest.err
99759 rm -f conftest.er1
99760 cat conftest.err >&5
99761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99762 (exit $ac_status); } &&
99763 { ac_try='test -z "$ac_c_werror_flag"
99764 || test ! -s conftest.err'
99765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99766 (eval $ac_try) 2>&5
99767 ac_status=$?
99768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99769 (exit $ac_status); }; } &&
99770 { ac_try='test -s conftest$ac_exeext'
99771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99772 (eval $ac_try) 2>&5
99773 ac_status=$?
99774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99775 (exit $ac_status); }; }; then
99776 eval "$as_ac_var=yes"
99777 else
99778 echo "$as_me: failed program was:" >&5
99779 sed 's/^/| /' conftest.$ac_ext >&5
99781 eval "$as_ac_var=no"
99783 rm -f conftest.err conftest.$ac_objext \
99784 conftest$ac_exeext conftest.$ac_ext
99786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99788 if test `eval echo '${'$as_ac_var'}'` = yes; then
99789 cat >>confdefs.h <<_ACEOF
99790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99791 _ACEOF
99794 done
99796 else
99798 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
99799 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
99800 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
99801 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
99802 echo $ECHO_N "(cached) $ECHO_C" >&6
99803 else
99807 ac_ext=cc
99808 ac_cpp='$CXXCPP $CPPFLAGS'
99809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99813 cat >conftest.$ac_ext <<_ACEOF
99814 /* confdefs.h. */
99815 _ACEOF
99816 cat confdefs.h >>conftest.$ac_ext
99817 cat >>conftest.$ac_ext <<_ACEOF
99818 /* end confdefs.h. */
99819 #include <math.h>
99821 main ()
99823 _copysignl(0, 0);
99825 return 0;
99827 _ACEOF
99828 rm -f conftest.$ac_objext
99829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99830 (eval $ac_compile) 2>conftest.er1
99831 ac_status=$?
99832 grep -v '^ *+' conftest.er1 >conftest.err
99833 rm -f conftest.er1
99834 cat conftest.err >&5
99835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99836 (exit $ac_status); } &&
99837 { ac_try='test -z "$ac_cxx_werror_flag"
99838 || test ! -s conftest.err'
99839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99840 (eval $ac_try) 2>&5
99841 ac_status=$?
99842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99843 (exit $ac_status); }; } &&
99844 { ac_try='test -s conftest.$ac_objext'
99845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99846 (eval $ac_try) 2>&5
99847 ac_status=$?
99848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99849 (exit $ac_status); }; }; then
99850 glibcxx_cv_func__copysignl_use=yes
99851 else
99852 echo "$as_me: failed program was:" >&5
99853 sed 's/^/| /' conftest.$ac_ext >&5
99855 glibcxx_cv_func__copysignl_use=no
99857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99858 ac_ext=c
99859 ac_cpp='$CPP $CPPFLAGS'
99860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99868 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
99869 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
99871 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
99873 for ac_func in _copysignl
99875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99876 echo "$as_me:$LINENO: checking for $ac_func" >&5
99877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99878 if eval "test \"\${$as_ac_var+set}\" = set"; then
99879 echo $ECHO_N "(cached) $ECHO_C" >&6
99880 else
99881 if test x$gcc_no_link = xyes; then
99882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99884 { (exit 1); exit 1; }; }
99886 cat >conftest.$ac_ext <<_ACEOF
99887 /* confdefs.h. */
99888 _ACEOF
99889 cat confdefs.h >>conftest.$ac_ext
99890 cat >>conftest.$ac_ext <<_ACEOF
99891 /* end confdefs.h. */
99892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99894 #define $ac_func innocuous_$ac_func
99896 /* System header to define __stub macros and hopefully few prototypes,
99897 which can conflict with char $ac_func (); below.
99898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99899 <limits.h> exists even on freestanding compilers. */
99901 #ifdef __STDC__
99902 # include <limits.h>
99903 #else
99904 # include <assert.h>
99905 #endif
99907 #undef $ac_func
99909 /* Override any gcc2 internal prototype to avoid an error. */
99910 #ifdef __cplusplus
99911 extern "C"
99913 #endif
99914 /* We use char because int might match the return type of a gcc2
99915 builtin and then its argument prototype would still apply. */
99916 char $ac_func ();
99917 /* The GNU C library defines this for functions which it implements
99918 to always fail with ENOSYS. Some functions are actually named
99919 something starting with __ and the normal name is an alias. */
99920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99921 choke me
99922 #else
99923 char (*f) () = $ac_func;
99924 #endif
99925 #ifdef __cplusplus
99927 #endif
99930 main ()
99932 return f != $ac_func;
99934 return 0;
99936 _ACEOF
99937 rm -f conftest.$ac_objext conftest$ac_exeext
99938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99939 (eval $ac_link) 2>conftest.er1
99940 ac_status=$?
99941 grep -v '^ *+' conftest.er1 >conftest.err
99942 rm -f conftest.er1
99943 cat conftest.err >&5
99944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99945 (exit $ac_status); } &&
99946 { ac_try='test -z "$ac_c_werror_flag"
99947 || test ! -s conftest.err'
99948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99949 (eval $ac_try) 2>&5
99950 ac_status=$?
99951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99952 (exit $ac_status); }; } &&
99953 { ac_try='test -s conftest$ac_exeext'
99954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99955 (eval $ac_try) 2>&5
99956 ac_status=$?
99957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99958 (exit $ac_status); }; }; then
99959 eval "$as_ac_var=yes"
99960 else
99961 echo "$as_me: failed program was:" >&5
99962 sed 's/^/| /' conftest.$ac_ext >&5
99964 eval "$as_ac_var=no"
99966 rm -f conftest.err conftest.$ac_objext \
99967 conftest$ac_exeext conftest.$ac_ext
99969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99971 if test `eval echo '${'$as_ac_var'}'` = yes; then
99972 cat >>confdefs.h <<_ACEOF
99973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99974 _ACEOF
99977 done
99987 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
99988 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
99989 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
99990 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
99991 echo $ECHO_N "(cached) $ECHO_C" >&6
99992 else
99996 ac_ext=cc
99997 ac_cpp='$CXXCPP $CPPFLAGS'
99998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100002 cat >conftest.$ac_ext <<_ACEOF
100003 /* confdefs.h. */
100004 _ACEOF
100005 cat confdefs.h >>conftest.$ac_ext
100006 cat >>conftest.$ac_ext <<_ACEOF
100007 /* end confdefs.h. */
100008 #include <math.h>
100010 main ()
100012 atan2l(0, 0);
100014 return 0;
100016 _ACEOF
100017 rm -f conftest.$ac_objext
100018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100019 (eval $ac_compile) 2>conftest.er1
100020 ac_status=$?
100021 grep -v '^ *+' conftest.er1 >conftest.err
100022 rm -f conftest.er1
100023 cat conftest.err >&5
100024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100025 (exit $ac_status); } &&
100026 { ac_try='test -z "$ac_cxx_werror_flag"
100027 || test ! -s conftest.err'
100028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100029 (eval $ac_try) 2>&5
100030 ac_status=$?
100031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100032 (exit $ac_status); }; } &&
100033 { ac_try='test -s conftest.$ac_objext'
100034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100035 (eval $ac_try) 2>&5
100036 ac_status=$?
100037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100038 (exit $ac_status); }; }; then
100039 glibcxx_cv_func_atan2l_use=yes
100041 echo "$as_me: failed program was:" >&5
100042 sed 's/^/| /' conftest.$ac_ext >&5
100044 glibcxx_cv_func_atan2l_use=no
100046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100047 ac_ext=c
100048 ac_cpp='$CPP $CPPFLAGS'
100049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100057 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
100058 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
100060 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
100062 for ac_func in atan2l
100064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100065 echo "$as_me:$LINENO: checking for $ac_func" >&5
100066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100067 if eval "test \"\${$as_ac_var+set}\" = set"; then
100068 echo $ECHO_N "(cached) $ECHO_C" >&6
100070 if test x$gcc_no_link = xyes; then
100071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100073 { (exit 1); exit 1; }; }
100075 cat >conftest.$ac_ext <<_ACEOF
100076 /* confdefs.h. */
100077 _ACEOF
100078 cat confdefs.h >>conftest.$ac_ext
100079 cat >>conftest.$ac_ext <<_ACEOF
100080 /* end confdefs.h. */
100081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100083 #define $ac_func innocuous_$ac_func
100085 /* System header to define __stub macros and hopefully few prototypes,
100086 which can conflict with char $ac_func (); below.
100087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100088 <limits.h> exists even on freestanding compilers. */
100090 #ifdef __STDC__
100091 # include <limits.h>
100092 #else
100093 # include <assert.h>
100094 #endif
100096 #undef $ac_func
100098 /* Override any gcc2 internal prototype to avoid an error. */
100099 #ifdef __cplusplus
100100 extern "C"
100102 #endif
100103 /* We use char because int might match the return type of a gcc2
100104 builtin and then its argument prototype would still apply. */
100105 char $ac_func ();
100106 /* The GNU C library defines this for functions which it implements
100107 to always fail with ENOSYS. Some functions are actually named
100108 something starting with __ and the normal name is an alias. */
100109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100110 choke me
100111 #else
100112 char (*f) () = $ac_func;
100113 #endif
100114 #ifdef __cplusplus
100116 #endif
100119 main ()
100121 return f != $ac_func;
100123 return 0;
100125 _ACEOF
100126 rm -f conftest.$ac_objext conftest$ac_exeext
100127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100128 (eval $ac_link) 2>conftest.er1
100129 ac_status=$?
100130 grep -v '^ *+' conftest.er1 >conftest.err
100131 rm -f conftest.er1
100132 cat conftest.err >&5
100133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100134 (exit $ac_status); } &&
100135 { ac_try='test -z "$ac_c_werror_flag"
100136 || test ! -s conftest.err'
100137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100138 (eval $ac_try) 2>&5
100139 ac_status=$?
100140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100141 (exit $ac_status); }; } &&
100142 { ac_try='test -s conftest$ac_exeext'
100143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100144 (eval $ac_try) 2>&5
100145 ac_status=$?
100146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100147 (exit $ac_status); }; }; then
100148 eval "$as_ac_var=yes"
100150 echo "$as_me: failed program was:" >&5
100151 sed 's/^/| /' conftest.$ac_ext >&5
100153 eval "$as_ac_var=no"
100155 rm -f conftest.err conftest.$ac_objext \
100156 conftest$ac_exeext conftest.$ac_ext
100158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100160 if test `eval echo '${'$as_ac_var'}'` = yes; then
100161 cat >>confdefs.h <<_ACEOF
100162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100163 _ACEOF
100170 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
100171 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
100172 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
100173 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
100174 echo $ECHO_N "(cached) $ECHO_C" >&6
100179 ac_ext=cc
100180 ac_cpp='$CXXCPP $CPPFLAGS'
100181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100185 cat >conftest.$ac_ext <<_ACEOF
100186 /* confdefs.h. */
100187 _ACEOF
100188 cat confdefs.h >>conftest.$ac_ext
100189 cat >>conftest.$ac_ext <<_ACEOF
100190 /* end confdefs.h. */
100191 #include <math.h>
100193 main ()
100195 _atan2l(0, 0);
100197 return 0;
100199 _ACEOF
100200 rm -f conftest.$ac_objext
100201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100202 (eval $ac_compile) 2>conftest.er1
100203 ac_status=$?
100204 grep -v '^ *+' conftest.er1 >conftest.err
100205 rm -f conftest.er1
100206 cat conftest.err >&5
100207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100208 (exit $ac_status); } &&
100209 { ac_try='test -z "$ac_cxx_werror_flag"
100210 || test ! -s conftest.err'
100211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100212 (eval $ac_try) 2>&5
100213 ac_status=$?
100214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100215 (exit $ac_status); }; } &&
100216 { ac_try='test -s conftest.$ac_objext'
100217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100218 (eval $ac_try) 2>&5
100219 ac_status=$?
100220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100221 (exit $ac_status); }; }; then
100222 glibcxx_cv_func__atan2l_use=yes
100224 echo "$as_me: failed program was:" >&5
100225 sed 's/^/| /' conftest.$ac_ext >&5
100227 glibcxx_cv_func__atan2l_use=no
100229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100230 ac_ext=c
100231 ac_cpp='$CPP $CPPFLAGS'
100232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100240 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
100241 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
100243 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
100245 for ac_func in _atan2l
100247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100248 echo "$as_me:$LINENO: checking for $ac_func" >&5
100249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100250 if eval "test \"\${$as_ac_var+set}\" = set"; then
100251 echo $ECHO_N "(cached) $ECHO_C" >&6
100253 if test x$gcc_no_link = xyes; then
100254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100256 { (exit 1); exit 1; }; }
100258 cat >conftest.$ac_ext <<_ACEOF
100259 /* confdefs.h. */
100260 _ACEOF
100261 cat confdefs.h >>conftest.$ac_ext
100262 cat >>conftest.$ac_ext <<_ACEOF
100263 /* end confdefs.h. */
100264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100266 #define $ac_func innocuous_$ac_func
100268 /* System header to define __stub macros and hopefully few prototypes,
100269 which can conflict with char $ac_func (); below.
100270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100271 <limits.h> exists even on freestanding compilers. */
100273 #ifdef __STDC__
100274 # include <limits.h>
100275 #else
100276 # include <assert.h>
100277 #endif
100279 #undef $ac_func
100281 /* Override any gcc2 internal prototype to avoid an error. */
100282 #ifdef __cplusplus
100283 extern "C"
100285 #endif
100286 /* We use char because int might match the return type of a gcc2
100287 builtin and then its argument prototype would still apply. */
100288 char $ac_func ();
100289 /* The GNU C library defines this for functions which it implements
100290 to always fail with ENOSYS. Some functions are actually named
100291 something starting with __ and the normal name is an alias. */
100292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100293 choke me
100294 #else
100295 char (*f) () = $ac_func;
100296 #endif
100297 #ifdef __cplusplus
100299 #endif
100302 main ()
100304 return f != $ac_func;
100306 return 0;
100308 _ACEOF
100309 rm -f conftest.$ac_objext conftest$ac_exeext
100310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100311 (eval $ac_link) 2>conftest.er1
100312 ac_status=$?
100313 grep -v '^ *+' conftest.er1 >conftest.err
100314 rm -f conftest.er1
100315 cat conftest.err >&5
100316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100317 (exit $ac_status); } &&
100318 { ac_try='test -z "$ac_c_werror_flag"
100319 || test ! -s conftest.err'
100320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100321 (eval $ac_try) 2>&5
100322 ac_status=$?
100323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100324 (exit $ac_status); }; } &&
100325 { ac_try='test -s conftest$ac_exeext'
100326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100327 (eval $ac_try) 2>&5
100328 ac_status=$?
100329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100330 (exit $ac_status); }; }; then
100331 eval "$as_ac_var=yes"
100333 echo "$as_me: failed program was:" >&5
100334 sed 's/^/| /' conftest.$ac_ext >&5
100336 eval "$as_ac_var=no"
100338 rm -f conftest.err conftest.$ac_objext \
100339 conftest$ac_exeext conftest.$ac_ext
100341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100343 if test `eval echo '${'$as_ac_var'}'` = yes; then
100344 cat >>confdefs.h <<_ACEOF
100345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100346 _ACEOF
100359 echo "$as_me:$LINENO: checking for expl declaration" >&5
100360 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
100361 if test x${glibcxx_cv_func_expl_use+set} != xset; then
100362 if test "${glibcxx_cv_func_expl_use+set}" = set; then
100363 echo $ECHO_N "(cached) $ECHO_C" >&6
100368 ac_ext=cc
100369 ac_cpp='$CXXCPP $CPPFLAGS'
100370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100374 cat >conftest.$ac_ext <<_ACEOF
100375 /* confdefs.h. */
100376 _ACEOF
100377 cat confdefs.h >>conftest.$ac_ext
100378 cat >>conftest.$ac_ext <<_ACEOF
100379 /* end confdefs.h. */
100380 #include <math.h>
100381 #ifdef HAVE_IEEEFP_H
100382 #include <ieeefp.h>
100383 #endif
100386 main ()
100388 expl(0);
100390 return 0;
100392 _ACEOF
100393 rm -f conftest.$ac_objext
100394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100395 (eval $ac_compile) 2>conftest.er1
100396 ac_status=$?
100397 grep -v '^ *+' conftest.er1 >conftest.err
100398 rm -f conftest.er1
100399 cat conftest.err >&5
100400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100401 (exit $ac_status); } &&
100402 { ac_try='test -z "$ac_cxx_werror_flag"
100403 || test ! -s conftest.err'
100404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100405 (eval $ac_try) 2>&5
100406 ac_status=$?
100407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100408 (exit $ac_status); }; } &&
100409 { ac_try='test -s conftest.$ac_objext'
100410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100411 (eval $ac_try) 2>&5
100412 ac_status=$?
100413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100414 (exit $ac_status); }; }; then
100415 glibcxx_cv_func_expl_use=yes
100417 echo "$as_me: failed program was:" >&5
100418 sed 's/^/| /' conftest.$ac_ext >&5
100420 glibcxx_cv_func_expl_use=no
100422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100423 ac_ext=c
100424 ac_cpp='$CPP $CPPFLAGS'
100425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100433 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
100434 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
100436 if test x$glibcxx_cv_func_expl_use = x"yes"; then
100438 for ac_func in expl
100440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100441 echo "$as_me:$LINENO: checking for $ac_func" >&5
100442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100443 if eval "test \"\${$as_ac_var+set}\" = set"; then
100444 echo $ECHO_N "(cached) $ECHO_C" >&6
100446 if test x$gcc_no_link = xyes; then
100447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100449 { (exit 1); exit 1; }; }
100451 cat >conftest.$ac_ext <<_ACEOF
100452 /* confdefs.h. */
100453 _ACEOF
100454 cat confdefs.h >>conftest.$ac_ext
100455 cat >>conftest.$ac_ext <<_ACEOF
100456 /* end confdefs.h. */
100457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100459 #define $ac_func innocuous_$ac_func
100461 /* System header to define __stub macros and hopefully few prototypes,
100462 which can conflict with char $ac_func (); below.
100463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100464 <limits.h> exists even on freestanding compilers. */
100466 #ifdef __STDC__
100467 # include <limits.h>
100468 #else
100469 # include <assert.h>
100470 #endif
100472 #undef $ac_func
100474 /* Override any gcc2 internal prototype to avoid an error. */
100475 #ifdef __cplusplus
100476 extern "C"
100478 #endif
100479 /* We use char because int might match the return type of a gcc2
100480 builtin and then its argument prototype would still apply. */
100481 char $ac_func ();
100482 /* The GNU C library defines this for functions which it implements
100483 to always fail with ENOSYS. Some functions are actually named
100484 something starting with __ and the normal name is an alias. */
100485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100486 choke me
100487 #else
100488 char (*f) () = $ac_func;
100489 #endif
100490 #ifdef __cplusplus
100492 #endif
100495 main ()
100497 return f != $ac_func;
100499 return 0;
100501 _ACEOF
100502 rm -f conftest.$ac_objext conftest$ac_exeext
100503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100504 (eval $ac_link) 2>conftest.er1
100505 ac_status=$?
100506 grep -v '^ *+' conftest.er1 >conftest.err
100507 rm -f conftest.er1
100508 cat conftest.err >&5
100509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100510 (exit $ac_status); } &&
100511 { ac_try='test -z "$ac_c_werror_flag"
100512 || test ! -s conftest.err'
100513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100514 (eval $ac_try) 2>&5
100515 ac_status=$?
100516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100517 (exit $ac_status); }; } &&
100518 { ac_try='test -s conftest$ac_exeext'
100519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100520 (eval $ac_try) 2>&5
100521 ac_status=$?
100522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100523 (exit $ac_status); }; }; then
100524 eval "$as_ac_var=yes"
100526 echo "$as_me: failed program was:" >&5
100527 sed 's/^/| /' conftest.$ac_ext >&5
100529 eval "$as_ac_var=no"
100531 rm -f conftest.err conftest.$ac_objext \
100532 conftest$ac_exeext conftest.$ac_ext
100534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100536 if test `eval echo '${'$as_ac_var'}'` = yes; then
100537 cat >>confdefs.h <<_ACEOF
100538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100539 _ACEOF
100546 echo "$as_me:$LINENO: checking for _expl declaration" >&5
100547 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
100548 if test x${glibcxx_cv_func__expl_use+set} != xset; then
100549 if test "${glibcxx_cv_func__expl_use+set}" = set; then
100550 echo $ECHO_N "(cached) $ECHO_C" >&6
100555 ac_ext=cc
100556 ac_cpp='$CXXCPP $CPPFLAGS'
100557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100561 cat >conftest.$ac_ext <<_ACEOF
100562 /* confdefs.h. */
100563 _ACEOF
100564 cat confdefs.h >>conftest.$ac_ext
100565 cat >>conftest.$ac_ext <<_ACEOF
100566 /* end confdefs.h. */
100567 #include <math.h>
100568 #ifdef HAVE_IEEEFP_H
100569 #include <ieeefp.h>
100570 #endif
100573 main ()
100575 _expl(0);
100577 return 0;
100579 _ACEOF
100580 rm -f conftest.$ac_objext
100581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100582 (eval $ac_compile) 2>conftest.er1
100583 ac_status=$?
100584 grep -v '^ *+' conftest.er1 >conftest.err
100585 rm -f conftest.er1
100586 cat conftest.err >&5
100587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100588 (exit $ac_status); } &&
100589 { ac_try='test -z "$ac_cxx_werror_flag"
100590 || test ! -s conftest.err'
100591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100592 (eval $ac_try) 2>&5
100593 ac_status=$?
100594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100595 (exit $ac_status); }; } &&
100596 { ac_try='test -s conftest.$ac_objext'
100597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100598 (eval $ac_try) 2>&5
100599 ac_status=$?
100600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100601 (exit $ac_status); }; }; then
100602 glibcxx_cv_func__expl_use=yes
100604 echo "$as_me: failed program was:" >&5
100605 sed 's/^/| /' conftest.$ac_ext >&5
100607 glibcxx_cv_func__expl_use=no
100609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100610 ac_ext=c
100611 ac_cpp='$CPP $CPPFLAGS'
100612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100620 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
100621 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
100623 if test x$glibcxx_cv_func__expl_use = x"yes"; then
100625 for ac_func in _expl
100627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100628 echo "$as_me:$LINENO: checking for $ac_func" >&5
100629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100630 if eval "test \"\${$as_ac_var+set}\" = set"; then
100631 echo $ECHO_N "(cached) $ECHO_C" >&6
100633 if test x$gcc_no_link = xyes; then
100634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100636 { (exit 1); exit 1; }; }
100638 cat >conftest.$ac_ext <<_ACEOF
100639 /* confdefs.h. */
100640 _ACEOF
100641 cat confdefs.h >>conftest.$ac_ext
100642 cat >>conftest.$ac_ext <<_ACEOF
100643 /* end confdefs.h. */
100644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100646 #define $ac_func innocuous_$ac_func
100648 /* System header to define __stub macros and hopefully few prototypes,
100649 which can conflict with char $ac_func (); below.
100650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100651 <limits.h> exists even on freestanding compilers. */
100653 #ifdef __STDC__
100654 # include <limits.h>
100655 #else
100656 # include <assert.h>
100657 #endif
100659 #undef $ac_func
100661 /* Override any gcc2 internal prototype to avoid an error. */
100662 #ifdef __cplusplus
100663 extern "C"
100665 #endif
100666 /* We use char because int might match the return type of a gcc2
100667 builtin and then its argument prototype would still apply. */
100668 char $ac_func ();
100669 /* The GNU C library defines this for functions which it implements
100670 to always fail with ENOSYS. Some functions are actually named
100671 something starting with __ and the normal name is an alias. */
100672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100673 choke me
100674 #else
100675 char (*f) () = $ac_func;
100676 #endif
100677 #ifdef __cplusplus
100679 #endif
100682 main ()
100684 return f != $ac_func;
100686 return 0;
100688 _ACEOF
100689 rm -f conftest.$ac_objext conftest$ac_exeext
100690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100691 (eval $ac_link) 2>conftest.er1
100692 ac_status=$?
100693 grep -v '^ *+' conftest.er1 >conftest.err
100694 rm -f conftest.er1
100695 cat conftest.err >&5
100696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100697 (exit $ac_status); } &&
100698 { ac_try='test -z "$ac_c_werror_flag"
100699 || test ! -s conftest.err'
100700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100701 (eval $ac_try) 2>&5
100702 ac_status=$?
100703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100704 (exit $ac_status); }; } &&
100705 { ac_try='test -s conftest$ac_exeext'
100706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100707 (eval $ac_try) 2>&5
100708 ac_status=$?
100709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100710 (exit $ac_status); }; }; then
100711 eval "$as_ac_var=yes"
100713 echo "$as_me: failed program was:" >&5
100714 sed 's/^/| /' conftest.$ac_ext >&5
100716 eval "$as_ac_var=no"
100718 rm -f conftest.err conftest.$ac_objext \
100719 conftest$ac_exeext conftest.$ac_ext
100721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100723 if test `eval echo '${'$as_ac_var'}'` = yes; then
100724 cat >>confdefs.h <<_ACEOF
100725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100726 _ACEOF
100739 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
100740 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
100741 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
100742 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
100743 echo $ECHO_N "(cached) $ECHO_C" >&6
100748 ac_ext=cc
100749 ac_cpp='$CXXCPP $CPPFLAGS'
100750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100754 cat >conftest.$ac_ext <<_ACEOF
100755 /* confdefs.h. */
100756 _ACEOF
100757 cat confdefs.h >>conftest.$ac_ext
100758 cat >>conftest.$ac_ext <<_ACEOF
100759 /* end confdefs.h. */
100760 #include <math.h>
100761 #ifdef HAVE_IEEEFP_H
100762 #include <ieeefp.h>
100763 #endif
100766 main ()
100768 fabsl(0);
100770 return 0;
100772 _ACEOF
100773 rm -f conftest.$ac_objext
100774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100775 (eval $ac_compile) 2>conftest.er1
100776 ac_status=$?
100777 grep -v '^ *+' conftest.er1 >conftest.err
100778 rm -f conftest.er1
100779 cat conftest.err >&5
100780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100781 (exit $ac_status); } &&
100782 { ac_try='test -z "$ac_cxx_werror_flag"
100783 || test ! -s conftest.err'
100784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100785 (eval $ac_try) 2>&5
100786 ac_status=$?
100787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100788 (exit $ac_status); }; } &&
100789 { ac_try='test -s conftest.$ac_objext'
100790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100791 (eval $ac_try) 2>&5
100792 ac_status=$?
100793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100794 (exit $ac_status); }; }; then
100795 glibcxx_cv_func_fabsl_use=yes
100797 echo "$as_me: failed program was:" >&5
100798 sed 's/^/| /' conftest.$ac_ext >&5
100800 glibcxx_cv_func_fabsl_use=no
100802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100803 ac_ext=c
100804 ac_cpp='$CPP $CPPFLAGS'
100805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100813 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
100814 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
100816 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
100818 for ac_func in fabsl
100820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100821 echo "$as_me:$LINENO: checking for $ac_func" >&5
100822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100823 if eval "test \"\${$as_ac_var+set}\" = set"; then
100824 echo $ECHO_N "(cached) $ECHO_C" >&6
100826 if test x$gcc_no_link = xyes; then
100827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100829 { (exit 1); exit 1; }; }
100831 cat >conftest.$ac_ext <<_ACEOF
100832 /* confdefs.h. */
100833 _ACEOF
100834 cat confdefs.h >>conftest.$ac_ext
100835 cat >>conftest.$ac_ext <<_ACEOF
100836 /* end confdefs.h. */
100837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100839 #define $ac_func innocuous_$ac_func
100841 /* System header to define __stub macros and hopefully few prototypes,
100842 which can conflict with char $ac_func (); below.
100843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100844 <limits.h> exists even on freestanding compilers. */
100846 #ifdef __STDC__
100847 # include <limits.h>
100848 #else
100849 # include <assert.h>
100850 #endif
100852 #undef $ac_func
100854 /* Override any gcc2 internal prototype to avoid an error. */
100855 #ifdef __cplusplus
100856 extern "C"
100858 #endif
100859 /* We use char because int might match the return type of a gcc2
100860 builtin and then its argument prototype would still apply. */
100861 char $ac_func ();
100862 /* The GNU C library defines this for functions which it implements
100863 to always fail with ENOSYS. Some functions are actually named
100864 something starting with __ and the normal name is an alias. */
100865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100866 choke me
100867 #else
100868 char (*f) () = $ac_func;
100869 #endif
100870 #ifdef __cplusplus
100872 #endif
100875 main ()
100877 return f != $ac_func;
100879 return 0;
100881 _ACEOF
100882 rm -f conftest.$ac_objext conftest$ac_exeext
100883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100884 (eval $ac_link) 2>conftest.er1
100885 ac_status=$?
100886 grep -v '^ *+' conftest.er1 >conftest.err
100887 rm -f conftest.er1
100888 cat conftest.err >&5
100889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100890 (exit $ac_status); } &&
100891 { ac_try='test -z "$ac_c_werror_flag"
100892 || test ! -s conftest.err'
100893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100894 (eval $ac_try) 2>&5
100895 ac_status=$?
100896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100897 (exit $ac_status); }; } &&
100898 { ac_try='test -s conftest$ac_exeext'
100899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100900 (eval $ac_try) 2>&5
100901 ac_status=$?
100902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100903 (exit $ac_status); }; }; then
100904 eval "$as_ac_var=yes"
100906 echo "$as_me: failed program was:" >&5
100907 sed 's/^/| /' conftest.$ac_ext >&5
100909 eval "$as_ac_var=no"
100911 rm -f conftest.err conftest.$ac_objext \
100912 conftest$ac_exeext conftest.$ac_ext
100914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100916 if test `eval echo '${'$as_ac_var'}'` = yes; then
100917 cat >>confdefs.h <<_ACEOF
100918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100919 _ACEOF
100926 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
100927 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
100928 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
100929 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
100930 echo $ECHO_N "(cached) $ECHO_C" >&6
100935 ac_ext=cc
100936 ac_cpp='$CXXCPP $CPPFLAGS'
100937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100941 cat >conftest.$ac_ext <<_ACEOF
100942 /* confdefs.h. */
100943 _ACEOF
100944 cat confdefs.h >>conftest.$ac_ext
100945 cat >>conftest.$ac_ext <<_ACEOF
100946 /* end confdefs.h. */
100947 #include <math.h>
100948 #ifdef HAVE_IEEEFP_H
100949 #include <ieeefp.h>
100950 #endif
100953 main ()
100955 _fabsl(0);
100957 return 0;
100959 _ACEOF
100960 rm -f conftest.$ac_objext
100961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100962 (eval $ac_compile) 2>conftest.er1
100963 ac_status=$?
100964 grep -v '^ *+' conftest.er1 >conftest.err
100965 rm -f conftest.er1
100966 cat conftest.err >&5
100967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100968 (exit $ac_status); } &&
100969 { ac_try='test -z "$ac_cxx_werror_flag"
100970 || test ! -s conftest.err'
100971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100972 (eval $ac_try) 2>&5
100973 ac_status=$?
100974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100975 (exit $ac_status); }; } &&
100976 { ac_try='test -s conftest.$ac_objext'
100977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100978 (eval $ac_try) 2>&5
100979 ac_status=$?
100980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100981 (exit $ac_status); }; }; then
100982 glibcxx_cv_func__fabsl_use=yes
100984 echo "$as_me: failed program was:" >&5
100985 sed 's/^/| /' conftest.$ac_ext >&5
100987 glibcxx_cv_func__fabsl_use=no
100989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100990 ac_ext=c
100991 ac_cpp='$CPP $CPPFLAGS'
100992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101000 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
101001 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
101003 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
101005 for ac_func in _fabsl
101007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101008 echo "$as_me:$LINENO: checking for $ac_func" >&5
101009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101010 if eval "test \"\${$as_ac_var+set}\" = set"; then
101011 echo $ECHO_N "(cached) $ECHO_C" >&6
101013 if test x$gcc_no_link = xyes; then
101014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101016 { (exit 1); exit 1; }; }
101018 cat >conftest.$ac_ext <<_ACEOF
101019 /* confdefs.h. */
101020 _ACEOF
101021 cat confdefs.h >>conftest.$ac_ext
101022 cat >>conftest.$ac_ext <<_ACEOF
101023 /* end confdefs.h. */
101024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101026 #define $ac_func innocuous_$ac_func
101028 /* System header to define __stub macros and hopefully few prototypes,
101029 which can conflict with char $ac_func (); below.
101030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101031 <limits.h> exists even on freestanding compilers. */
101033 #ifdef __STDC__
101034 # include <limits.h>
101035 #else
101036 # include <assert.h>
101037 #endif
101039 #undef $ac_func
101041 /* Override any gcc2 internal prototype to avoid an error. */
101042 #ifdef __cplusplus
101043 extern "C"
101045 #endif
101046 /* We use char because int might match the return type of a gcc2
101047 builtin and then its argument prototype would still apply. */
101048 char $ac_func ();
101049 /* The GNU C library defines this for functions which it implements
101050 to always fail with ENOSYS. Some functions are actually named
101051 something starting with __ and the normal name is an alias. */
101052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101053 choke me
101054 #else
101055 char (*f) () = $ac_func;
101056 #endif
101057 #ifdef __cplusplus
101059 #endif
101062 main ()
101064 return f != $ac_func;
101066 return 0;
101068 _ACEOF
101069 rm -f conftest.$ac_objext conftest$ac_exeext
101070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101071 (eval $ac_link) 2>conftest.er1
101072 ac_status=$?
101073 grep -v '^ *+' conftest.er1 >conftest.err
101074 rm -f conftest.er1
101075 cat conftest.err >&5
101076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101077 (exit $ac_status); } &&
101078 { ac_try='test -z "$ac_c_werror_flag"
101079 || test ! -s conftest.err'
101080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101081 (eval $ac_try) 2>&5
101082 ac_status=$?
101083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101084 (exit $ac_status); }; } &&
101085 { ac_try='test -s conftest$ac_exeext'
101086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101087 (eval $ac_try) 2>&5
101088 ac_status=$?
101089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101090 (exit $ac_status); }; }; then
101091 eval "$as_ac_var=yes"
101093 echo "$as_me: failed program was:" >&5
101094 sed 's/^/| /' conftest.$ac_ext >&5
101096 eval "$as_ac_var=no"
101098 rm -f conftest.err conftest.$ac_objext \
101099 conftest$ac_exeext conftest.$ac_ext
101101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101103 if test `eval echo '${'$as_ac_var'}'` = yes; then
101104 cat >>confdefs.h <<_ACEOF
101105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101106 _ACEOF
101119 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
101120 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
101121 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
101122 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
101123 echo $ECHO_N "(cached) $ECHO_C" >&6
101128 ac_ext=cc
101129 ac_cpp='$CXXCPP $CPPFLAGS'
101130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101134 cat >conftest.$ac_ext <<_ACEOF
101135 /* confdefs.h. */
101136 _ACEOF
101137 cat confdefs.h >>conftest.$ac_ext
101138 cat >>conftest.$ac_ext <<_ACEOF
101139 /* end confdefs.h. */
101140 #include <math.h>
101142 main ()
101144 fmodl(0, 0);
101146 return 0;
101148 _ACEOF
101149 rm -f conftest.$ac_objext
101150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101151 (eval $ac_compile) 2>conftest.er1
101152 ac_status=$?
101153 grep -v '^ *+' conftest.er1 >conftest.err
101154 rm -f conftest.er1
101155 cat conftest.err >&5
101156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101157 (exit $ac_status); } &&
101158 { ac_try='test -z "$ac_cxx_werror_flag"
101159 || test ! -s conftest.err'
101160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101161 (eval $ac_try) 2>&5
101162 ac_status=$?
101163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101164 (exit $ac_status); }; } &&
101165 { ac_try='test -s conftest.$ac_objext'
101166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101167 (eval $ac_try) 2>&5
101168 ac_status=$?
101169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101170 (exit $ac_status); }; }; then
101171 glibcxx_cv_func_fmodl_use=yes
101173 echo "$as_me: failed program was:" >&5
101174 sed 's/^/| /' conftest.$ac_ext >&5
101176 glibcxx_cv_func_fmodl_use=no
101178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101179 ac_ext=c
101180 ac_cpp='$CPP $CPPFLAGS'
101181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101189 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
101190 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
101192 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
101194 for ac_func in fmodl
101196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101197 echo "$as_me:$LINENO: checking for $ac_func" >&5
101198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101199 if eval "test \"\${$as_ac_var+set}\" = set"; then
101200 echo $ECHO_N "(cached) $ECHO_C" >&6
101202 if test x$gcc_no_link = xyes; then
101203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101205 { (exit 1); exit 1; }; }
101207 cat >conftest.$ac_ext <<_ACEOF
101208 /* confdefs.h. */
101209 _ACEOF
101210 cat confdefs.h >>conftest.$ac_ext
101211 cat >>conftest.$ac_ext <<_ACEOF
101212 /* end confdefs.h. */
101213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101215 #define $ac_func innocuous_$ac_func
101217 /* System header to define __stub macros and hopefully few prototypes,
101218 which can conflict with char $ac_func (); below.
101219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101220 <limits.h> exists even on freestanding compilers. */
101222 #ifdef __STDC__
101223 # include <limits.h>
101224 #else
101225 # include <assert.h>
101226 #endif
101228 #undef $ac_func
101230 /* Override any gcc2 internal prototype to avoid an error. */
101231 #ifdef __cplusplus
101232 extern "C"
101234 #endif
101235 /* We use char because int might match the return type of a gcc2
101236 builtin and then its argument prototype would still apply. */
101237 char $ac_func ();
101238 /* The GNU C library defines this for functions which it implements
101239 to always fail with ENOSYS. Some functions are actually named
101240 something starting with __ and the normal name is an alias. */
101241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101242 choke me
101243 #else
101244 char (*f) () = $ac_func;
101245 #endif
101246 #ifdef __cplusplus
101248 #endif
101251 main ()
101253 return f != $ac_func;
101255 return 0;
101257 _ACEOF
101258 rm -f conftest.$ac_objext conftest$ac_exeext
101259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101260 (eval $ac_link) 2>conftest.er1
101261 ac_status=$?
101262 grep -v '^ *+' conftest.er1 >conftest.err
101263 rm -f conftest.er1
101264 cat conftest.err >&5
101265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101266 (exit $ac_status); } &&
101267 { ac_try='test -z "$ac_c_werror_flag"
101268 || test ! -s conftest.err'
101269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101270 (eval $ac_try) 2>&5
101271 ac_status=$?
101272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101273 (exit $ac_status); }; } &&
101274 { ac_try='test -s conftest$ac_exeext'
101275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101276 (eval $ac_try) 2>&5
101277 ac_status=$?
101278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101279 (exit $ac_status); }; }; then
101280 eval "$as_ac_var=yes"
101282 echo "$as_me: failed program was:" >&5
101283 sed 's/^/| /' conftest.$ac_ext >&5
101285 eval "$as_ac_var=no"
101287 rm -f conftest.err conftest.$ac_objext \
101288 conftest$ac_exeext conftest.$ac_ext
101290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101292 if test `eval echo '${'$as_ac_var'}'` = yes; then
101293 cat >>confdefs.h <<_ACEOF
101294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101295 _ACEOF
101302 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
101303 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
101304 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
101305 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
101306 echo $ECHO_N "(cached) $ECHO_C" >&6
101311 ac_ext=cc
101312 ac_cpp='$CXXCPP $CPPFLAGS'
101313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101317 cat >conftest.$ac_ext <<_ACEOF
101318 /* confdefs.h. */
101319 _ACEOF
101320 cat confdefs.h >>conftest.$ac_ext
101321 cat >>conftest.$ac_ext <<_ACEOF
101322 /* end confdefs.h. */
101323 #include <math.h>
101325 main ()
101327 _fmodl(0, 0);
101329 return 0;
101331 _ACEOF
101332 rm -f conftest.$ac_objext
101333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101334 (eval $ac_compile) 2>conftest.er1
101335 ac_status=$?
101336 grep -v '^ *+' conftest.er1 >conftest.err
101337 rm -f conftest.er1
101338 cat conftest.err >&5
101339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101340 (exit $ac_status); } &&
101341 { ac_try='test -z "$ac_cxx_werror_flag"
101342 || test ! -s conftest.err'
101343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101344 (eval $ac_try) 2>&5
101345 ac_status=$?
101346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101347 (exit $ac_status); }; } &&
101348 { ac_try='test -s conftest.$ac_objext'
101349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101350 (eval $ac_try) 2>&5
101351 ac_status=$?
101352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101353 (exit $ac_status); }; }; then
101354 glibcxx_cv_func__fmodl_use=yes
101356 echo "$as_me: failed program was:" >&5
101357 sed 's/^/| /' conftest.$ac_ext >&5
101359 glibcxx_cv_func__fmodl_use=no
101361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101362 ac_ext=c
101363 ac_cpp='$CPP $CPPFLAGS'
101364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101372 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
101373 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
101375 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
101377 for ac_func in _fmodl
101379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101380 echo "$as_me:$LINENO: checking for $ac_func" >&5
101381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101382 if eval "test \"\${$as_ac_var+set}\" = set"; then
101383 echo $ECHO_N "(cached) $ECHO_C" >&6
101385 if test x$gcc_no_link = xyes; then
101386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101388 { (exit 1); exit 1; }; }
101390 cat >conftest.$ac_ext <<_ACEOF
101391 /* confdefs.h. */
101392 _ACEOF
101393 cat confdefs.h >>conftest.$ac_ext
101394 cat >>conftest.$ac_ext <<_ACEOF
101395 /* end confdefs.h. */
101396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101398 #define $ac_func innocuous_$ac_func
101400 /* System header to define __stub macros and hopefully few prototypes,
101401 which can conflict with char $ac_func (); below.
101402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101403 <limits.h> exists even on freestanding compilers. */
101405 #ifdef __STDC__
101406 # include <limits.h>
101407 #else
101408 # include <assert.h>
101409 #endif
101411 #undef $ac_func
101413 /* Override any gcc2 internal prototype to avoid an error. */
101414 #ifdef __cplusplus
101415 extern "C"
101417 #endif
101418 /* We use char because int might match the return type of a gcc2
101419 builtin and then its argument prototype would still apply. */
101420 char $ac_func ();
101421 /* The GNU C library defines this for functions which it implements
101422 to always fail with ENOSYS. Some functions are actually named
101423 something starting with __ and the normal name is an alias. */
101424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101425 choke me
101426 #else
101427 char (*f) () = $ac_func;
101428 #endif
101429 #ifdef __cplusplus
101431 #endif
101434 main ()
101436 return f != $ac_func;
101438 return 0;
101440 _ACEOF
101441 rm -f conftest.$ac_objext conftest$ac_exeext
101442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101443 (eval $ac_link) 2>conftest.er1
101444 ac_status=$?
101445 grep -v '^ *+' conftest.er1 >conftest.err
101446 rm -f conftest.er1
101447 cat conftest.err >&5
101448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101449 (exit $ac_status); } &&
101450 { ac_try='test -z "$ac_c_werror_flag"
101451 || test ! -s conftest.err'
101452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101453 (eval $ac_try) 2>&5
101454 ac_status=$?
101455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101456 (exit $ac_status); }; } &&
101457 { ac_try='test -s conftest$ac_exeext'
101458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101459 (eval $ac_try) 2>&5
101460 ac_status=$?
101461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101462 (exit $ac_status); }; }; then
101463 eval "$as_ac_var=yes"
101465 echo "$as_me: failed program was:" >&5
101466 sed 's/^/| /' conftest.$ac_ext >&5
101468 eval "$as_ac_var=no"
101470 rm -f conftest.err conftest.$ac_objext \
101471 conftest$ac_exeext conftest.$ac_ext
101473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101475 if test `eval echo '${'$as_ac_var'}'` = yes; then
101476 cat >>confdefs.h <<_ACEOF
101477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101478 _ACEOF
101491 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
101492 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
101493 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
101494 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
101495 echo $ECHO_N "(cached) $ECHO_C" >&6
101500 ac_ext=cc
101501 ac_cpp='$CXXCPP $CPPFLAGS'
101502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101506 cat >conftest.$ac_ext <<_ACEOF
101507 /* confdefs.h. */
101508 _ACEOF
101509 cat confdefs.h >>conftest.$ac_ext
101510 cat >>conftest.$ac_ext <<_ACEOF
101511 /* end confdefs.h. */
101512 #include <math.h>
101514 main ()
101516 frexpl(0, 0);
101518 return 0;
101520 _ACEOF
101521 rm -f conftest.$ac_objext
101522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101523 (eval $ac_compile) 2>conftest.er1
101524 ac_status=$?
101525 grep -v '^ *+' conftest.er1 >conftest.err
101526 rm -f conftest.er1
101527 cat conftest.err >&5
101528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101529 (exit $ac_status); } &&
101530 { ac_try='test -z "$ac_cxx_werror_flag"
101531 || test ! -s conftest.err'
101532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101533 (eval $ac_try) 2>&5
101534 ac_status=$?
101535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101536 (exit $ac_status); }; } &&
101537 { ac_try='test -s conftest.$ac_objext'
101538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101539 (eval $ac_try) 2>&5
101540 ac_status=$?
101541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101542 (exit $ac_status); }; }; then
101543 glibcxx_cv_func_frexpl_use=yes
101545 echo "$as_me: failed program was:" >&5
101546 sed 's/^/| /' conftest.$ac_ext >&5
101548 glibcxx_cv_func_frexpl_use=no
101550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101551 ac_ext=c
101552 ac_cpp='$CPP $CPPFLAGS'
101553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101561 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
101562 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
101564 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
101566 for ac_func in frexpl
101568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101569 echo "$as_me:$LINENO: checking for $ac_func" >&5
101570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101571 if eval "test \"\${$as_ac_var+set}\" = set"; then
101572 echo $ECHO_N "(cached) $ECHO_C" >&6
101574 if test x$gcc_no_link = xyes; then
101575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101577 { (exit 1); exit 1; }; }
101579 cat >conftest.$ac_ext <<_ACEOF
101580 /* confdefs.h. */
101581 _ACEOF
101582 cat confdefs.h >>conftest.$ac_ext
101583 cat >>conftest.$ac_ext <<_ACEOF
101584 /* end confdefs.h. */
101585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101587 #define $ac_func innocuous_$ac_func
101589 /* System header to define __stub macros and hopefully few prototypes,
101590 which can conflict with char $ac_func (); below.
101591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101592 <limits.h> exists even on freestanding compilers. */
101594 #ifdef __STDC__
101595 # include <limits.h>
101596 #else
101597 # include <assert.h>
101598 #endif
101600 #undef $ac_func
101602 /* Override any gcc2 internal prototype to avoid an error. */
101603 #ifdef __cplusplus
101604 extern "C"
101606 #endif
101607 /* We use char because int might match the return type of a gcc2
101608 builtin and then its argument prototype would still apply. */
101609 char $ac_func ();
101610 /* The GNU C library defines this for functions which it implements
101611 to always fail with ENOSYS. Some functions are actually named
101612 something starting with __ and the normal name is an alias. */
101613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101614 choke me
101615 #else
101616 char (*f) () = $ac_func;
101617 #endif
101618 #ifdef __cplusplus
101620 #endif
101623 main ()
101625 return f != $ac_func;
101627 return 0;
101629 _ACEOF
101630 rm -f conftest.$ac_objext conftest$ac_exeext
101631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101632 (eval $ac_link) 2>conftest.er1
101633 ac_status=$?
101634 grep -v '^ *+' conftest.er1 >conftest.err
101635 rm -f conftest.er1
101636 cat conftest.err >&5
101637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101638 (exit $ac_status); } &&
101639 { ac_try='test -z "$ac_c_werror_flag"
101640 || test ! -s conftest.err'
101641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101642 (eval $ac_try) 2>&5
101643 ac_status=$?
101644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101645 (exit $ac_status); }; } &&
101646 { ac_try='test -s conftest$ac_exeext'
101647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101648 (eval $ac_try) 2>&5
101649 ac_status=$?
101650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101651 (exit $ac_status); }; }; then
101652 eval "$as_ac_var=yes"
101654 echo "$as_me: failed program was:" >&5
101655 sed 's/^/| /' conftest.$ac_ext >&5
101657 eval "$as_ac_var=no"
101659 rm -f conftest.err conftest.$ac_objext \
101660 conftest$ac_exeext conftest.$ac_ext
101662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101664 if test `eval echo '${'$as_ac_var'}'` = yes; then
101665 cat >>confdefs.h <<_ACEOF
101666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101667 _ACEOF
101674 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
101675 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
101676 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
101677 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
101678 echo $ECHO_N "(cached) $ECHO_C" >&6
101683 ac_ext=cc
101684 ac_cpp='$CXXCPP $CPPFLAGS'
101685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101689 cat >conftest.$ac_ext <<_ACEOF
101690 /* confdefs.h. */
101691 _ACEOF
101692 cat confdefs.h >>conftest.$ac_ext
101693 cat >>conftest.$ac_ext <<_ACEOF
101694 /* end confdefs.h. */
101695 #include <math.h>
101697 main ()
101699 _frexpl(0, 0);
101701 return 0;
101703 _ACEOF
101704 rm -f conftest.$ac_objext
101705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101706 (eval $ac_compile) 2>conftest.er1
101707 ac_status=$?
101708 grep -v '^ *+' conftest.er1 >conftest.err
101709 rm -f conftest.er1
101710 cat conftest.err >&5
101711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101712 (exit $ac_status); } &&
101713 { ac_try='test -z "$ac_cxx_werror_flag"
101714 || test ! -s conftest.err'
101715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101716 (eval $ac_try) 2>&5
101717 ac_status=$?
101718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101719 (exit $ac_status); }; } &&
101720 { ac_try='test -s conftest.$ac_objext'
101721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101722 (eval $ac_try) 2>&5
101723 ac_status=$?
101724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101725 (exit $ac_status); }; }; then
101726 glibcxx_cv_func__frexpl_use=yes
101728 echo "$as_me: failed program was:" >&5
101729 sed 's/^/| /' conftest.$ac_ext >&5
101731 glibcxx_cv_func__frexpl_use=no
101733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101734 ac_ext=c
101735 ac_cpp='$CPP $CPPFLAGS'
101736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101744 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
101745 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
101747 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
101749 for ac_func in _frexpl
101751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101752 echo "$as_me:$LINENO: checking for $ac_func" >&5
101753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101754 if eval "test \"\${$as_ac_var+set}\" = set"; then
101755 echo $ECHO_N "(cached) $ECHO_C" >&6
101757 if test x$gcc_no_link = xyes; then
101758 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101760 { (exit 1); exit 1; }; }
101762 cat >conftest.$ac_ext <<_ACEOF
101763 /* confdefs.h. */
101764 _ACEOF
101765 cat confdefs.h >>conftest.$ac_ext
101766 cat >>conftest.$ac_ext <<_ACEOF
101767 /* end confdefs.h. */
101768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101770 #define $ac_func innocuous_$ac_func
101772 /* System header to define __stub macros and hopefully few prototypes,
101773 which can conflict with char $ac_func (); below.
101774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101775 <limits.h> exists even on freestanding compilers. */
101777 #ifdef __STDC__
101778 # include <limits.h>
101779 #else
101780 # include <assert.h>
101781 #endif
101783 #undef $ac_func
101785 /* Override any gcc2 internal prototype to avoid an error. */
101786 #ifdef __cplusplus
101787 extern "C"
101789 #endif
101790 /* We use char because int might match the return type of a gcc2
101791 builtin and then its argument prototype would still apply. */
101792 char $ac_func ();
101793 /* The GNU C library defines this for functions which it implements
101794 to always fail with ENOSYS. Some functions are actually named
101795 something starting with __ and the normal name is an alias. */
101796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101797 choke me
101798 #else
101799 char (*f) () = $ac_func;
101800 #endif
101801 #ifdef __cplusplus
101803 #endif
101806 main ()
101808 return f != $ac_func;
101810 return 0;
101812 _ACEOF
101813 rm -f conftest.$ac_objext conftest$ac_exeext
101814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101815 (eval $ac_link) 2>conftest.er1
101816 ac_status=$?
101817 grep -v '^ *+' conftest.er1 >conftest.err
101818 rm -f conftest.er1
101819 cat conftest.err >&5
101820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101821 (exit $ac_status); } &&
101822 { ac_try='test -z "$ac_c_werror_flag"
101823 || test ! -s conftest.err'
101824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101825 (eval $ac_try) 2>&5
101826 ac_status=$?
101827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101828 (exit $ac_status); }; } &&
101829 { ac_try='test -s conftest$ac_exeext'
101830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101831 (eval $ac_try) 2>&5
101832 ac_status=$?
101833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101834 (exit $ac_status); }; }; then
101835 eval "$as_ac_var=yes"
101837 echo "$as_me: failed program was:" >&5
101838 sed 's/^/| /' conftest.$ac_ext >&5
101840 eval "$as_ac_var=no"
101842 rm -f conftest.err conftest.$ac_objext \
101843 conftest$ac_exeext conftest.$ac_ext
101845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101846 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101847 if test `eval echo '${'$as_ac_var'}'` = yes; then
101848 cat >>confdefs.h <<_ACEOF
101849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101850 _ACEOF
101863 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
101864 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
101865 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
101866 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
101867 echo $ECHO_N "(cached) $ECHO_C" >&6
101872 ac_ext=cc
101873 ac_cpp='$CXXCPP $CPPFLAGS'
101874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101878 cat >conftest.$ac_ext <<_ACEOF
101879 /* confdefs.h. */
101880 _ACEOF
101881 cat confdefs.h >>conftest.$ac_ext
101882 cat >>conftest.$ac_ext <<_ACEOF
101883 /* end confdefs.h. */
101884 #include <math.h>
101886 main ()
101888 hypotl(0, 0);
101890 return 0;
101892 _ACEOF
101893 rm -f conftest.$ac_objext
101894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101895 (eval $ac_compile) 2>conftest.er1
101896 ac_status=$?
101897 grep -v '^ *+' conftest.er1 >conftest.err
101898 rm -f conftest.er1
101899 cat conftest.err >&5
101900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101901 (exit $ac_status); } &&
101902 { ac_try='test -z "$ac_cxx_werror_flag"
101903 || test ! -s conftest.err'
101904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101905 (eval $ac_try) 2>&5
101906 ac_status=$?
101907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101908 (exit $ac_status); }; } &&
101909 { ac_try='test -s conftest.$ac_objext'
101910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101911 (eval $ac_try) 2>&5
101912 ac_status=$?
101913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101914 (exit $ac_status); }; }; then
101915 glibcxx_cv_func_hypotl_use=yes
101917 echo "$as_me: failed program was:" >&5
101918 sed 's/^/| /' conftest.$ac_ext >&5
101920 glibcxx_cv_func_hypotl_use=no
101922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101923 ac_ext=c
101924 ac_cpp='$CPP $CPPFLAGS'
101925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101933 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
101934 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
101936 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
101938 for ac_func in hypotl
101940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101941 echo "$as_me:$LINENO: checking for $ac_func" >&5
101942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101943 if eval "test \"\${$as_ac_var+set}\" = set"; then
101944 echo $ECHO_N "(cached) $ECHO_C" >&6
101946 if test x$gcc_no_link = xyes; then
101947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101949 { (exit 1); exit 1; }; }
101951 cat >conftest.$ac_ext <<_ACEOF
101952 /* confdefs.h. */
101953 _ACEOF
101954 cat confdefs.h >>conftest.$ac_ext
101955 cat >>conftest.$ac_ext <<_ACEOF
101956 /* end confdefs.h. */
101957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101959 #define $ac_func innocuous_$ac_func
101961 /* System header to define __stub macros and hopefully few prototypes,
101962 which can conflict with char $ac_func (); below.
101963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101964 <limits.h> exists even on freestanding compilers. */
101966 #ifdef __STDC__
101967 # include <limits.h>
101968 #else
101969 # include <assert.h>
101970 #endif
101972 #undef $ac_func
101974 /* Override any gcc2 internal prototype to avoid an error. */
101975 #ifdef __cplusplus
101976 extern "C"
101978 #endif
101979 /* We use char because int might match the return type of a gcc2
101980 builtin and then its argument prototype would still apply. */
101981 char $ac_func ();
101982 /* The GNU C library defines this for functions which it implements
101983 to always fail with ENOSYS. Some functions are actually named
101984 something starting with __ and the normal name is an alias. */
101985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101986 choke me
101987 #else
101988 char (*f) () = $ac_func;
101989 #endif
101990 #ifdef __cplusplus
101992 #endif
101995 main ()
101997 return f != $ac_func;
101999 return 0;
102001 _ACEOF
102002 rm -f conftest.$ac_objext conftest$ac_exeext
102003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102004 (eval $ac_link) 2>conftest.er1
102005 ac_status=$?
102006 grep -v '^ *+' conftest.er1 >conftest.err
102007 rm -f conftest.er1
102008 cat conftest.err >&5
102009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102010 (exit $ac_status); } &&
102011 { ac_try='test -z "$ac_c_werror_flag"
102012 || test ! -s conftest.err'
102013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102014 (eval $ac_try) 2>&5
102015 ac_status=$?
102016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102017 (exit $ac_status); }; } &&
102018 { ac_try='test -s conftest$ac_exeext'
102019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102020 (eval $ac_try) 2>&5
102021 ac_status=$?
102022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102023 (exit $ac_status); }; }; then
102024 eval "$as_ac_var=yes"
102026 echo "$as_me: failed program was:" >&5
102027 sed 's/^/| /' conftest.$ac_ext >&5
102029 eval "$as_ac_var=no"
102031 rm -f conftest.err conftest.$ac_objext \
102032 conftest$ac_exeext conftest.$ac_ext
102034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102036 if test `eval echo '${'$as_ac_var'}'` = yes; then
102037 cat >>confdefs.h <<_ACEOF
102038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102039 _ACEOF
102046 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
102047 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
102048 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
102049 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
102050 echo $ECHO_N "(cached) $ECHO_C" >&6
102055 ac_ext=cc
102056 ac_cpp='$CXXCPP $CPPFLAGS'
102057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102061 cat >conftest.$ac_ext <<_ACEOF
102062 /* confdefs.h. */
102063 _ACEOF
102064 cat confdefs.h >>conftest.$ac_ext
102065 cat >>conftest.$ac_ext <<_ACEOF
102066 /* end confdefs.h. */
102067 #include <math.h>
102069 main ()
102071 _hypotl(0, 0);
102073 return 0;
102075 _ACEOF
102076 rm -f conftest.$ac_objext
102077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102078 (eval $ac_compile) 2>conftest.er1
102079 ac_status=$?
102080 grep -v '^ *+' conftest.er1 >conftest.err
102081 rm -f conftest.er1
102082 cat conftest.err >&5
102083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102084 (exit $ac_status); } &&
102085 { ac_try='test -z "$ac_cxx_werror_flag"
102086 || test ! -s conftest.err'
102087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102088 (eval $ac_try) 2>&5
102089 ac_status=$?
102090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102091 (exit $ac_status); }; } &&
102092 { ac_try='test -s conftest.$ac_objext'
102093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102094 (eval $ac_try) 2>&5
102095 ac_status=$?
102096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102097 (exit $ac_status); }; }; then
102098 glibcxx_cv_func__hypotl_use=yes
102100 echo "$as_me: failed program was:" >&5
102101 sed 's/^/| /' conftest.$ac_ext >&5
102103 glibcxx_cv_func__hypotl_use=no
102105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102106 ac_ext=c
102107 ac_cpp='$CPP $CPPFLAGS'
102108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102116 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
102117 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
102119 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
102121 for ac_func in _hypotl
102123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102124 echo "$as_me:$LINENO: checking for $ac_func" >&5
102125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102126 if eval "test \"\${$as_ac_var+set}\" = set"; then
102127 echo $ECHO_N "(cached) $ECHO_C" >&6
102129 if test x$gcc_no_link = xyes; then
102130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102132 { (exit 1); exit 1; }; }
102134 cat >conftest.$ac_ext <<_ACEOF
102135 /* confdefs.h. */
102136 _ACEOF
102137 cat confdefs.h >>conftest.$ac_ext
102138 cat >>conftest.$ac_ext <<_ACEOF
102139 /* end confdefs.h. */
102140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102142 #define $ac_func innocuous_$ac_func
102144 /* System header to define __stub macros and hopefully few prototypes,
102145 which can conflict with char $ac_func (); below.
102146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102147 <limits.h> exists even on freestanding compilers. */
102149 #ifdef __STDC__
102150 # include <limits.h>
102151 #else
102152 # include <assert.h>
102153 #endif
102155 #undef $ac_func
102157 /* Override any gcc2 internal prototype to avoid an error. */
102158 #ifdef __cplusplus
102159 extern "C"
102161 #endif
102162 /* We use char because int might match the return type of a gcc2
102163 builtin and then its argument prototype would still apply. */
102164 char $ac_func ();
102165 /* The GNU C library defines this for functions which it implements
102166 to always fail with ENOSYS. Some functions are actually named
102167 something starting with __ and the normal name is an alias. */
102168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102169 choke me
102170 #else
102171 char (*f) () = $ac_func;
102172 #endif
102173 #ifdef __cplusplus
102175 #endif
102178 main ()
102180 return f != $ac_func;
102182 return 0;
102184 _ACEOF
102185 rm -f conftest.$ac_objext conftest$ac_exeext
102186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102187 (eval $ac_link) 2>conftest.er1
102188 ac_status=$?
102189 grep -v '^ *+' conftest.er1 >conftest.err
102190 rm -f conftest.er1
102191 cat conftest.err >&5
102192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102193 (exit $ac_status); } &&
102194 { ac_try='test -z "$ac_c_werror_flag"
102195 || test ! -s conftest.err'
102196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102197 (eval $ac_try) 2>&5
102198 ac_status=$?
102199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102200 (exit $ac_status); }; } &&
102201 { ac_try='test -s conftest$ac_exeext'
102202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102203 (eval $ac_try) 2>&5
102204 ac_status=$?
102205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102206 (exit $ac_status); }; }; then
102207 eval "$as_ac_var=yes"
102209 echo "$as_me: failed program was:" >&5
102210 sed 's/^/| /' conftest.$ac_ext >&5
102212 eval "$as_ac_var=no"
102214 rm -f conftest.err conftest.$ac_objext \
102215 conftest$ac_exeext conftest.$ac_ext
102217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102219 if test `eval echo '${'$as_ac_var'}'` = yes; then
102220 cat >>confdefs.h <<_ACEOF
102221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102222 _ACEOF
102235 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
102236 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
102237 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
102238 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
102239 echo $ECHO_N "(cached) $ECHO_C" >&6
102244 ac_ext=cc
102245 ac_cpp='$CXXCPP $CPPFLAGS'
102246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102250 cat >conftest.$ac_ext <<_ACEOF
102251 /* confdefs.h. */
102252 _ACEOF
102253 cat confdefs.h >>conftest.$ac_ext
102254 cat >>conftest.$ac_ext <<_ACEOF
102255 /* end confdefs.h. */
102256 #include <math.h>
102258 main ()
102260 ldexpl(0, 0);
102262 return 0;
102264 _ACEOF
102265 rm -f conftest.$ac_objext
102266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102267 (eval $ac_compile) 2>conftest.er1
102268 ac_status=$?
102269 grep -v '^ *+' conftest.er1 >conftest.err
102270 rm -f conftest.er1
102271 cat conftest.err >&5
102272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102273 (exit $ac_status); } &&
102274 { ac_try='test -z "$ac_cxx_werror_flag"
102275 || test ! -s conftest.err'
102276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102277 (eval $ac_try) 2>&5
102278 ac_status=$?
102279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102280 (exit $ac_status); }; } &&
102281 { ac_try='test -s conftest.$ac_objext'
102282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102283 (eval $ac_try) 2>&5
102284 ac_status=$?
102285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102286 (exit $ac_status); }; }; then
102287 glibcxx_cv_func_ldexpl_use=yes
102289 echo "$as_me: failed program was:" >&5
102290 sed 's/^/| /' conftest.$ac_ext >&5
102292 glibcxx_cv_func_ldexpl_use=no
102294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102295 ac_ext=c
102296 ac_cpp='$CPP $CPPFLAGS'
102297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102305 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
102306 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
102308 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
102310 for ac_func in ldexpl
102312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102313 echo "$as_me:$LINENO: checking for $ac_func" >&5
102314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102315 if eval "test \"\${$as_ac_var+set}\" = set"; then
102316 echo $ECHO_N "(cached) $ECHO_C" >&6
102318 if test x$gcc_no_link = xyes; then
102319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102321 { (exit 1); exit 1; }; }
102323 cat >conftest.$ac_ext <<_ACEOF
102324 /* confdefs.h. */
102325 _ACEOF
102326 cat confdefs.h >>conftest.$ac_ext
102327 cat >>conftest.$ac_ext <<_ACEOF
102328 /* end confdefs.h. */
102329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102331 #define $ac_func innocuous_$ac_func
102333 /* System header to define __stub macros and hopefully few prototypes,
102334 which can conflict with char $ac_func (); below.
102335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102336 <limits.h> exists even on freestanding compilers. */
102338 #ifdef __STDC__
102339 # include <limits.h>
102340 #else
102341 # include <assert.h>
102342 #endif
102344 #undef $ac_func
102346 /* Override any gcc2 internal prototype to avoid an error. */
102347 #ifdef __cplusplus
102348 extern "C"
102350 #endif
102351 /* We use char because int might match the return type of a gcc2
102352 builtin and then its argument prototype would still apply. */
102353 char $ac_func ();
102354 /* The GNU C library defines this for functions which it implements
102355 to always fail with ENOSYS. Some functions are actually named
102356 something starting with __ and the normal name is an alias. */
102357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102358 choke me
102359 #else
102360 char (*f) () = $ac_func;
102361 #endif
102362 #ifdef __cplusplus
102364 #endif
102367 main ()
102369 return f != $ac_func;
102371 return 0;
102373 _ACEOF
102374 rm -f conftest.$ac_objext conftest$ac_exeext
102375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102376 (eval $ac_link) 2>conftest.er1
102377 ac_status=$?
102378 grep -v '^ *+' conftest.er1 >conftest.err
102379 rm -f conftest.er1
102380 cat conftest.err >&5
102381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102382 (exit $ac_status); } &&
102383 { ac_try='test -z "$ac_c_werror_flag"
102384 || test ! -s conftest.err'
102385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102386 (eval $ac_try) 2>&5
102387 ac_status=$?
102388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102389 (exit $ac_status); }; } &&
102390 { ac_try='test -s conftest$ac_exeext'
102391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102392 (eval $ac_try) 2>&5
102393 ac_status=$?
102394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102395 (exit $ac_status); }; }; then
102396 eval "$as_ac_var=yes"
102398 echo "$as_me: failed program was:" >&5
102399 sed 's/^/| /' conftest.$ac_ext >&5
102401 eval "$as_ac_var=no"
102403 rm -f conftest.err conftest.$ac_objext \
102404 conftest$ac_exeext conftest.$ac_ext
102406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102408 if test `eval echo '${'$as_ac_var'}'` = yes; then
102409 cat >>confdefs.h <<_ACEOF
102410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102411 _ACEOF
102418 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
102419 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
102420 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
102421 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
102422 echo $ECHO_N "(cached) $ECHO_C" >&6
102427 ac_ext=cc
102428 ac_cpp='$CXXCPP $CPPFLAGS'
102429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102433 cat >conftest.$ac_ext <<_ACEOF
102434 /* confdefs.h. */
102435 _ACEOF
102436 cat confdefs.h >>conftest.$ac_ext
102437 cat >>conftest.$ac_ext <<_ACEOF
102438 /* end confdefs.h. */
102439 #include <math.h>
102441 main ()
102443 _ldexpl(0, 0);
102445 return 0;
102447 _ACEOF
102448 rm -f conftest.$ac_objext
102449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102450 (eval $ac_compile) 2>conftest.er1
102451 ac_status=$?
102452 grep -v '^ *+' conftest.er1 >conftest.err
102453 rm -f conftest.er1
102454 cat conftest.err >&5
102455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102456 (exit $ac_status); } &&
102457 { ac_try='test -z "$ac_cxx_werror_flag"
102458 || test ! -s conftest.err'
102459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102460 (eval $ac_try) 2>&5
102461 ac_status=$?
102462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102463 (exit $ac_status); }; } &&
102464 { ac_try='test -s conftest.$ac_objext'
102465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102466 (eval $ac_try) 2>&5
102467 ac_status=$?
102468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102469 (exit $ac_status); }; }; then
102470 glibcxx_cv_func__ldexpl_use=yes
102472 echo "$as_me: failed program was:" >&5
102473 sed 's/^/| /' conftest.$ac_ext >&5
102475 glibcxx_cv_func__ldexpl_use=no
102477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102478 ac_ext=c
102479 ac_cpp='$CPP $CPPFLAGS'
102480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102488 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
102489 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
102491 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
102493 for ac_func in _ldexpl
102495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102496 echo "$as_me:$LINENO: checking for $ac_func" >&5
102497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102498 if eval "test \"\${$as_ac_var+set}\" = set"; then
102499 echo $ECHO_N "(cached) $ECHO_C" >&6
102501 if test x$gcc_no_link = xyes; then
102502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102504 { (exit 1); exit 1; }; }
102506 cat >conftest.$ac_ext <<_ACEOF
102507 /* confdefs.h. */
102508 _ACEOF
102509 cat confdefs.h >>conftest.$ac_ext
102510 cat >>conftest.$ac_ext <<_ACEOF
102511 /* end confdefs.h. */
102512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102514 #define $ac_func innocuous_$ac_func
102516 /* System header to define __stub macros and hopefully few prototypes,
102517 which can conflict with char $ac_func (); below.
102518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102519 <limits.h> exists even on freestanding compilers. */
102521 #ifdef __STDC__
102522 # include <limits.h>
102523 #else
102524 # include <assert.h>
102525 #endif
102527 #undef $ac_func
102529 /* Override any gcc2 internal prototype to avoid an error. */
102530 #ifdef __cplusplus
102531 extern "C"
102533 #endif
102534 /* We use char because int might match the return type of a gcc2
102535 builtin and then its argument prototype would still apply. */
102536 char $ac_func ();
102537 /* The GNU C library defines this for functions which it implements
102538 to always fail with ENOSYS. Some functions are actually named
102539 something starting with __ and the normal name is an alias. */
102540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102541 choke me
102542 #else
102543 char (*f) () = $ac_func;
102544 #endif
102545 #ifdef __cplusplus
102547 #endif
102550 main ()
102552 return f != $ac_func;
102554 return 0;
102556 _ACEOF
102557 rm -f conftest.$ac_objext conftest$ac_exeext
102558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102559 (eval $ac_link) 2>conftest.er1
102560 ac_status=$?
102561 grep -v '^ *+' conftest.er1 >conftest.err
102562 rm -f conftest.er1
102563 cat conftest.err >&5
102564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102565 (exit $ac_status); } &&
102566 { ac_try='test -z "$ac_c_werror_flag"
102567 || test ! -s conftest.err'
102568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102569 (eval $ac_try) 2>&5
102570 ac_status=$?
102571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102572 (exit $ac_status); }; } &&
102573 { ac_try='test -s conftest$ac_exeext'
102574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102575 (eval $ac_try) 2>&5
102576 ac_status=$?
102577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102578 (exit $ac_status); }; }; then
102579 eval "$as_ac_var=yes"
102581 echo "$as_me: failed program was:" >&5
102582 sed 's/^/| /' conftest.$ac_ext >&5
102584 eval "$as_ac_var=no"
102586 rm -f conftest.err conftest.$ac_objext \
102587 conftest$ac_exeext conftest.$ac_ext
102589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102591 if test `eval echo '${'$as_ac_var'}'` = yes; then
102592 cat >>confdefs.h <<_ACEOF
102593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102594 _ACEOF
102607 echo "$as_me:$LINENO: checking for logl declaration" >&5
102608 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
102609 if test x${glibcxx_cv_func_logl_use+set} != xset; then
102610 if test "${glibcxx_cv_func_logl_use+set}" = set; then
102611 echo $ECHO_N "(cached) $ECHO_C" >&6
102616 ac_ext=cc
102617 ac_cpp='$CXXCPP $CPPFLAGS'
102618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102622 cat >conftest.$ac_ext <<_ACEOF
102623 /* confdefs.h. */
102624 _ACEOF
102625 cat confdefs.h >>conftest.$ac_ext
102626 cat >>conftest.$ac_ext <<_ACEOF
102627 /* end confdefs.h. */
102628 #include <math.h>
102629 #ifdef HAVE_IEEEFP_H
102630 #include <ieeefp.h>
102631 #endif
102634 main ()
102636 logl(0);
102638 return 0;
102640 _ACEOF
102641 rm -f conftest.$ac_objext
102642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102643 (eval $ac_compile) 2>conftest.er1
102644 ac_status=$?
102645 grep -v '^ *+' conftest.er1 >conftest.err
102646 rm -f conftest.er1
102647 cat conftest.err >&5
102648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102649 (exit $ac_status); } &&
102650 { ac_try='test -z "$ac_cxx_werror_flag"
102651 || test ! -s conftest.err'
102652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102653 (eval $ac_try) 2>&5
102654 ac_status=$?
102655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102656 (exit $ac_status); }; } &&
102657 { ac_try='test -s conftest.$ac_objext'
102658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102659 (eval $ac_try) 2>&5
102660 ac_status=$?
102661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102662 (exit $ac_status); }; }; then
102663 glibcxx_cv_func_logl_use=yes
102665 echo "$as_me: failed program was:" >&5
102666 sed 's/^/| /' conftest.$ac_ext >&5
102668 glibcxx_cv_func_logl_use=no
102670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102671 ac_ext=c
102672 ac_cpp='$CPP $CPPFLAGS'
102673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102681 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
102682 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
102684 if test x$glibcxx_cv_func_logl_use = x"yes"; then
102686 for ac_func in logl
102688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102689 echo "$as_me:$LINENO: checking for $ac_func" >&5
102690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102691 if eval "test \"\${$as_ac_var+set}\" = set"; then
102692 echo $ECHO_N "(cached) $ECHO_C" >&6
102694 if test x$gcc_no_link = xyes; then
102695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102697 { (exit 1); exit 1; }; }
102699 cat >conftest.$ac_ext <<_ACEOF
102700 /* confdefs.h. */
102701 _ACEOF
102702 cat confdefs.h >>conftest.$ac_ext
102703 cat >>conftest.$ac_ext <<_ACEOF
102704 /* end confdefs.h. */
102705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102707 #define $ac_func innocuous_$ac_func
102709 /* System header to define __stub macros and hopefully few prototypes,
102710 which can conflict with char $ac_func (); below.
102711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102712 <limits.h> exists even on freestanding compilers. */
102714 #ifdef __STDC__
102715 # include <limits.h>
102716 #else
102717 # include <assert.h>
102718 #endif
102720 #undef $ac_func
102722 /* Override any gcc2 internal prototype to avoid an error. */
102723 #ifdef __cplusplus
102724 extern "C"
102726 #endif
102727 /* We use char because int might match the return type of a gcc2
102728 builtin and then its argument prototype would still apply. */
102729 char $ac_func ();
102730 /* The GNU C library defines this for functions which it implements
102731 to always fail with ENOSYS. Some functions are actually named
102732 something starting with __ and the normal name is an alias. */
102733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102734 choke me
102735 #else
102736 char (*f) () = $ac_func;
102737 #endif
102738 #ifdef __cplusplus
102740 #endif
102743 main ()
102745 return f != $ac_func;
102747 return 0;
102749 _ACEOF
102750 rm -f conftest.$ac_objext conftest$ac_exeext
102751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102752 (eval $ac_link) 2>conftest.er1
102753 ac_status=$?
102754 grep -v '^ *+' conftest.er1 >conftest.err
102755 rm -f conftest.er1
102756 cat conftest.err >&5
102757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102758 (exit $ac_status); } &&
102759 { ac_try='test -z "$ac_c_werror_flag"
102760 || test ! -s conftest.err'
102761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102762 (eval $ac_try) 2>&5
102763 ac_status=$?
102764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102765 (exit $ac_status); }; } &&
102766 { ac_try='test -s conftest$ac_exeext'
102767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102768 (eval $ac_try) 2>&5
102769 ac_status=$?
102770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102771 (exit $ac_status); }; }; then
102772 eval "$as_ac_var=yes"
102774 echo "$as_me: failed program was:" >&5
102775 sed 's/^/| /' conftest.$ac_ext >&5
102777 eval "$as_ac_var=no"
102779 rm -f conftest.err conftest.$ac_objext \
102780 conftest$ac_exeext conftest.$ac_ext
102782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102784 if test `eval echo '${'$as_ac_var'}'` = yes; then
102785 cat >>confdefs.h <<_ACEOF
102786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102787 _ACEOF
102794 echo "$as_me:$LINENO: checking for _logl declaration" >&5
102795 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
102796 if test x${glibcxx_cv_func__logl_use+set} != xset; then
102797 if test "${glibcxx_cv_func__logl_use+set}" = set; then
102798 echo $ECHO_N "(cached) $ECHO_C" >&6
102803 ac_ext=cc
102804 ac_cpp='$CXXCPP $CPPFLAGS'
102805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102809 cat >conftest.$ac_ext <<_ACEOF
102810 /* confdefs.h. */
102811 _ACEOF
102812 cat confdefs.h >>conftest.$ac_ext
102813 cat >>conftest.$ac_ext <<_ACEOF
102814 /* end confdefs.h. */
102815 #include <math.h>
102816 #ifdef HAVE_IEEEFP_H
102817 #include <ieeefp.h>
102818 #endif
102821 main ()
102823 _logl(0);
102825 return 0;
102827 _ACEOF
102828 rm -f conftest.$ac_objext
102829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102830 (eval $ac_compile) 2>conftest.er1
102831 ac_status=$?
102832 grep -v '^ *+' conftest.er1 >conftest.err
102833 rm -f conftest.er1
102834 cat conftest.err >&5
102835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102836 (exit $ac_status); } &&
102837 { ac_try='test -z "$ac_cxx_werror_flag"
102838 || test ! -s conftest.err'
102839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102840 (eval $ac_try) 2>&5
102841 ac_status=$?
102842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102843 (exit $ac_status); }; } &&
102844 { ac_try='test -s conftest.$ac_objext'
102845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102846 (eval $ac_try) 2>&5
102847 ac_status=$?
102848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102849 (exit $ac_status); }; }; then
102850 glibcxx_cv_func__logl_use=yes
102852 echo "$as_me: failed program was:" >&5
102853 sed 's/^/| /' conftest.$ac_ext >&5
102855 glibcxx_cv_func__logl_use=no
102857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102858 ac_ext=c
102859 ac_cpp='$CPP $CPPFLAGS'
102860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102868 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
102869 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
102871 if test x$glibcxx_cv_func__logl_use = x"yes"; then
102873 for ac_func in _logl
102875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102876 echo "$as_me:$LINENO: checking for $ac_func" >&5
102877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102878 if eval "test \"\${$as_ac_var+set}\" = set"; then
102879 echo $ECHO_N "(cached) $ECHO_C" >&6
102881 if test x$gcc_no_link = xyes; then
102882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102884 { (exit 1); exit 1; }; }
102886 cat >conftest.$ac_ext <<_ACEOF
102887 /* confdefs.h. */
102888 _ACEOF
102889 cat confdefs.h >>conftest.$ac_ext
102890 cat >>conftest.$ac_ext <<_ACEOF
102891 /* end confdefs.h. */
102892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102894 #define $ac_func innocuous_$ac_func
102896 /* System header to define __stub macros and hopefully few prototypes,
102897 which can conflict with char $ac_func (); below.
102898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102899 <limits.h> exists even on freestanding compilers. */
102901 #ifdef __STDC__
102902 # include <limits.h>
102903 #else
102904 # include <assert.h>
102905 #endif
102907 #undef $ac_func
102909 /* Override any gcc2 internal prototype to avoid an error. */
102910 #ifdef __cplusplus
102911 extern "C"
102913 #endif
102914 /* We use char because int might match the return type of a gcc2
102915 builtin and then its argument prototype would still apply. */
102916 char $ac_func ();
102917 /* The GNU C library defines this for functions which it implements
102918 to always fail with ENOSYS. Some functions are actually named
102919 something starting with __ and the normal name is an alias. */
102920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102921 choke me
102922 #else
102923 char (*f) () = $ac_func;
102924 #endif
102925 #ifdef __cplusplus
102927 #endif
102930 main ()
102932 return f != $ac_func;
102934 return 0;
102936 _ACEOF
102937 rm -f conftest.$ac_objext conftest$ac_exeext
102938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102939 (eval $ac_link) 2>conftest.er1
102940 ac_status=$?
102941 grep -v '^ *+' conftest.er1 >conftest.err
102942 rm -f conftest.er1
102943 cat conftest.err >&5
102944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102945 (exit $ac_status); } &&
102946 { ac_try='test -z "$ac_c_werror_flag"
102947 || test ! -s conftest.err'
102948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102949 (eval $ac_try) 2>&5
102950 ac_status=$?
102951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102952 (exit $ac_status); }; } &&
102953 { ac_try='test -s conftest$ac_exeext'
102954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102955 (eval $ac_try) 2>&5
102956 ac_status=$?
102957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102958 (exit $ac_status); }; }; then
102959 eval "$as_ac_var=yes"
102961 echo "$as_me: failed program was:" >&5
102962 sed 's/^/| /' conftest.$ac_ext >&5
102964 eval "$as_ac_var=no"
102966 rm -f conftest.err conftest.$ac_objext \
102967 conftest$ac_exeext conftest.$ac_ext
102969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102971 if test `eval echo '${'$as_ac_var'}'` = yes; then
102972 cat >>confdefs.h <<_ACEOF
102973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102974 _ACEOF
102987 echo "$as_me:$LINENO: checking for log10l declaration" >&5
102988 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
102989 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
102990 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
102991 echo $ECHO_N "(cached) $ECHO_C" >&6
102996 ac_ext=cc
102997 ac_cpp='$CXXCPP $CPPFLAGS'
102998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103002 cat >conftest.$ac_ext <<_ACEOF
103003 /* confdefs.h. */
103004 _ACEOF
103005 cat confdefs.h >>conftest.$ac_ext
103006 cat >>conftest.$ac_ext <<_ACEOF
103007 /* end confdefs.h. */
103008 #include <math.h>
103009 #ifdef HAVE_IEEEFP_H
103010 #include <ieeefp.h>
103011 #endif
103014 main ()
103016 log10l(0);
103018 return 0;
103020 _ACEOF
103021 rm -f conftest.$ac_objext
103022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103023 (eval $ac_compile) 2>conftest.er1
103024 ac_status=$?
103025 grep -v '^ *+' conftest.er1 >conftest.err
103026 rm -f conftest.er1
103027 cat conftest.err >&5
103028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103029 (exit $ac_status); } &&
103030 { ac_try='test -z "$ac_cxx_werror_flag"
103031 || test ! -s conftest.err'
103032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103033 (eval $ac_try) 2>&5
103034 ac_status=$?
103035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103036 (exit $ac_status); }; } &&
103037 { ac_try='test -s conftest.$ac_objext'
103038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103039 (eval $ac_try) 2>&5
103040 ac_status=$?
103041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103042 (exit $ac_status); }; }; then
103043 glibcxx_cv_func_log10l_use=yes
103045 echo "$as_me: failed program was:" >&5
103046 sed 's/^/| /' conftest.$ac_ext >&5
103048 glibcxx_cv_func_log10l_use=no
103050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103051 ac_ext=c
103052 ac_cpp='$CPP $CPPFLAGS'
103053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103061 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
103062 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
103064 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
103066 for ac_func in log10l
103068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103069 echo "$as_me:$LINENO: checking for $ac_func" >&5
103070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103071 if eval "test \"\${$as_ac_var+set}\" = set"; then
103072 echo $ECHO_N "(cached) $ECHO_C" >&6
103074 if test x$gcc_no_link = xyes; then
103075 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103077 { (exit 1); exit 1; }; }
103079 cat >conftest.$ac_ext <<_ACEOF
103080 /* confdefs.h. */
103081 _ACEOF
103082 cat confdefs.h >>conftest.$ac_ext
103083 cat >>conftest.$ac_ext <<_ACEOF
103084 /* end confdefs.h. */
103085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103087 #define $ac_func innocuous_$ac_func
103089 /* System header to define __stub macros and hopefully few prototypes,
103090 which can conflict with char $ac_func (); below.
103091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103092 <limits.h> exists even on freestanding compilers. */
103094 #ifdef __STDC__
103095 # include <limits.h>
103096 #else
103097 # include <assert.h>
103098 #endif
103100 #undef $ac_func
103102 /* Override any gcc2 internal prototype to avoid an error. */
103103 #ifdef __cplusplus
103104 extern "C"
103106 #endif
103107 /* We use char because int might match the return type of a gcc2
103108 builtin and then its argument prototype would still apply. */
103109 char $ac_func ();
103110 /* The GNU C library defines this for functions which it implements
103111 to always fail with ENOSYS. Some functions are actually named
103112 something starting with __ and the normal name is an alias. */
103113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103114 choke me
103115 #else
103116 char (*f) () = $ac_func;
103117 #endif
103118 #ifdef __cplusplus
103120 #endif
103123 main ()
103125 return f != $ac_func;
103127 return 0;
103129 _ACEOF
103130 rm -f conftest.$ac_objext conftest$ac_exeext
103131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103132 (eval $ac_link) 2>conftest.er1
103133 ac_status=$?
103134 grep -v '^ *+' conftest.er1 >conftest.err
103135 rm -f conftest.er1
103136 cat conftest.err >&5
103137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103138 (exit $ac_status); } &&
103139 { ac_try='test -z "$ac_c_werror_flag"
103140 || test ! -s conftest.err'
103141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103142 (eval $ac_try) 2>&5
103143 ac_status=$?
103144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103145 (exit $ac_status); }; } &&
103146 { ac_try='test -s conftest$ac_exeext'
103147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103148 (eval $ac_try) 2>&5
103149 ac_status=$?
103150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103151 (exit $ac_status); }; }; then
103152 eval "$as_ac_var=yes"
103154 echo "$as_me: failed program was:" >&5
103155 sed 's/^/| /' conftest.$ac_ext >&5
103157 eval "$as_ac_var=no"
103159 rm -f conftest.err conftest.$ac_objext \
103160 conftest$ac_exeext conftest.$ac_ext
103162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103164 if test `eval echo '${'$as_ac_var'}'` = yes; then
103165 cat >>confdefs.h <<_ACEOF
103166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103167 _ACEOF
103174 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
103175 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
103176 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
103177 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
103178 echo $ECHO_N "(cached) $ECHO_C" >&6
103183 ac_ext=cc
103184 ac_cpp='$CXXCPP $CPPFLAGS'
103185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103189 cat >conftest.$ac_ext <<_ACEOF
103190 /* confdefs.h. */
103191 _ACEOF
103192 cat confdefs.h >>conftest.$ac_ext
103193 cat >>conftest.$ac_ext <<_ACEOF
103194 /* end confdefs.h. */
103195 #include <math.h>
103196 #ifdef HAVE_IEEEFP_H
103197 #include <ieeefp.h>
103198 #endif
103201 main ()
103203 _log10l(0);
103205 return 0;
103207 _ACEOF
103208 rm -f conftest.$ac_objext
103209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103210 (eval $ac_compile) 2>conftest.er1
103211 ac_status=$?
103212 grep -v '^ *+' conftest.er1 >conftest.err
103213 rm -f conftest.er1
103214 cat conftest.err >&5
103215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103216 (exit $ac_status); } &&
103217 { ac_try='test -z "$ac_cxx_werror_flag"
103218 || test ! -s conftest.err'
103219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103220 (eval $ac_try) 2>&5
103221 ac_status=$?
103222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103223 (exit $ac_status); }; } &&
103224 { ac_try='test -s conftest.$ac_objext'
103225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103226 (eval $ac_try) 2>&5
103227 ac_status=$?
103228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103229 (exit $ac_status); }; }; then
103230 glibcxx_cv_func__log10l_use=yes
103232 echo "$as_me: failed program was:" >&5
103233 sed 's/^/| /' conftest.$ac_ext >&5
103235 glibcxx_cv_func__log10l_use=no
103237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103238 ac_ext=c
103239 ac_cpp='$CPP $CPPFLAGS'
103240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103248 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
103249 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
103251 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
103253 for ac_func in _log10l
103255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103256 echo "$as_me:$LINENO: checking for $ac_func" >&5
103257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103258 if eval "test \"\${$as_ac_var+set}\" = set"; then
103259 echo $ECHO_N "(cached) $ECHO_C" >&6
103261 if test x$gcc_no_link = xyes; then
103262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103264 { (exit 1); exit 1; }; }
103266 cat >conftest.$ac_ext <<_ACEOF
103267 /* confdefs.h. */
103268 _ACEOF
103269 cat confdefs.h >>conftest.$ac_ext
103270 cat >>conftest.$ac_ext <<_ACEOF
103271 /* end confdefs.h. */
103272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103274 #define $ac_func innocuous_$ac_func
103276 /* System header to define __stub macros and hopefully few prototypes,
103277 which can conflict with char $ac_func (); below.
103278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103279 <limits.h> exists even on freestanding compilers. */
103281 #ifdef __STDC__
103282 # include <limits.h>
103283 #else
103284 # include <assert.h>
103285 #endif
103287 #undef $ac_func
103289 /* Override any gcc2 internal prototype to avoid an error. */
103290 #ifdef __cplusplus
103291 extern "C"
103293 #endif
103294 /* We use char because int might match the return type of a gcc2
103295 builtin and then its argument prototype would still apply. */
103296 char $ac_func ();
103297 /* The GNU C library defines this for functions which it implements
103298 to always fail with ENOSYS. Some functions are actually named
103299 something starting with __ and the normal name is an alias. */
103300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103301 choke me
103302 #else
103303 char (*f) () = $ac_func;
103304 #endif
103305 #ifdef __cplusplus
103307 #endif
103310 main ()
103312 return f != $ac_func;
103314 return 0;
103316 _ACEOF
103317 rm -f conftest.$ac_objext conftest$ac_exeext
103318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103319 (eval $ac_link) 2>conftest.er1
103320 ac_status=$?
103321 grep -v '^ *+' conftest.er1 >conftest.err
103322 rm -f conftest.er1
103323 cat conftest.err >&5
103324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103325 (exit $ac_status); } &&
103326 { ac_try='test -z "$ac_c_werror_flag"
103327 || test ! -s conftest.err'
103328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103329 (eval $ac_try) 2>&5
103330 ac_status=$?
103331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103332 (exit $ac_status); }; } &&
103333 { ac_try='test -s conftest$ac_exeext'
103334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103335 (eval $ac_try) 2>&5
103336 ac_status=$?
103337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103338 (exit $ac_status); }; }; then
103339 eval "$as_ac_var=yes"
103341 echo "$as_me: failed program was:" >&5
103342 sed 's/^/| /' conftest.$ac_ext >&5
103344 eval "$as_ac_var=no"
103346 rm -f conftest.err conftest.$ac_objext \
103347 conftest$ac_exeext conftest.$ac_ext
103349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103351 if test `eval echo '${'$as_ac_var'}'` = yes; then
103352 cat >>confdefs.h <<_ACEOF
103353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103354 _ACEOF
103367 echo "$as_me:$LINENO: checking for modfl declaration" >&5
103368 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
103369 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
103370 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
103371 echo $ECHO_N "(cached) $ECHO_C" >&6
103376 ac_ext=cc
103377 ac_cpp='$CXXCPP $CPPFLAGS'
103378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103382 cat >conftest.$ac_ext <<_ACEOF
103383 /* confdefs.h. */
103384 _ACEOF
103385 cat confdefs.h >>conftest.$ac_ext
103386 cat >>conftest.$ac_ext <<_ACEOF
103387 /* end confdefs.h. */
103388 #include <math.h>
103390 main ()
103392 modfl(0, 0);
103394 return 0;
103396 _ACEOF
103397 rm -f conftest.$ac_objext
103398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103399 (eval $ac_compile) 2>conftest.er1
103400 ac_status=$?
103401 grep -v '^ *+' conftest.er1 >conftest.err
103402 rm -f conftest.er1
103403 cat conftest.err >&5
103404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103405 (exit $ac_status); } &&
103406 { ac_try='test -z "$ac_cxx_werror_flag"
103407 || test ! -s conftest.err'
103408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103409 (eval $ac_try) 2>&5
103410 ac_status=$?
103411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103412 (exit $ac_status); }; } &&
103413 { ac_try='test -s conftest.$ac_objext'
103414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103415 (eval $ac_try) 2>&5
103416 ac_status=$?
103417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103418 (exit $ac_status); }; }; then
103419 glibcxx_cv_func_modfl_use=yes
103421 echo "$as_me: failed program was:" >&5
103422 sed 's/^/| /' conftest.$ac_ext >&5
103424 glibcxx_cv_func_modfl_use=no
103426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103427 ac_ext=c
103428 ac_cpp='$CPP $CPPFLAGS'
103429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103437 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
103438 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
103440 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
103442 for ac_func in modfl
103444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103445 echo "$as_me:$LINENO: checking for $ac_func" >&5
103446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103447 if eval "test \"\${$as_ac_var+set}\" = set"; then
103448 echo $ECHO_N "(cached) $ECHO_C" >&6
103450 if test x$gcc_no_link = xyes; then
103451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103453 { (exit 1); exit 1; }; }
103455 cat >conftest.$ac_ext <<_ACEOF
103456 /* confdefs.h. */
103457 _ACEOF
103458 cat confdefs.h >>conftest.$ac_ext
103459 cat >>conftest.$ac_ext <<_ACEOF
103460 /* end confdefs.h. */
103461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103463 #define $ac_func innocuous_$ac_func
103465 /* System header to define __stub macros and hopefully few prototypes,
103466 which can conflict with char $ac_func (); below.
103467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103468 <limits.h> exists even on freestanding compilers. */
103470 #ifdef __STDC__
103471 # include <limits.h>
103472 #else
103473 # include <assert.h>
103474 #endif
103476 #undef $ac_func
103478 /* Override any gcc2 internal prototype to avoid an error. */
103479 #ifdef __cplusplus
103480 extern "C"
103482 #endif
103483 /* We use char because int might match the return type of a gcc2
103484 builtin and then its argument prototype would still apply. */
103485 char $ac_func ();
103486 /* The GNU C library defines this for functions which it implements
103487 to always fail with ENOSYS. Some functions are actually named
103488 something starting with __ and the normal name is an alias. */
103489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103490 choke me
103491 #else
103492 char (*f) () = $ac_func;
103493 #endif
103494 #ifdef __cplusplus
103496 #endif
103499 main ()
103501 return f != $ac_func;
103503 return 0;
103505 _ACEOF
103506 rm -f conftest.$ac_objext conftest$ac_exeext
103507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103508 (eval $ac_link) 2>conftest.er1
103509 ac_status=$?
103510 grep -v '^ *+' conftest.er1 >conftest.err
103511 rm -f conftest.er1
103512 cat conftest.err >&5
103513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103514 (exit $ac_status); } &&
103515 { ac_try='test -z "$ac_c_werror_flag"
103516 || test ! -s conftest.err'
103517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103518 (eval $ac_try) 2>&5
103519 ac_status=$?
103520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103521 (exit $ac_status); }; } &&
103522 { ac_try='test -s conftest$ac_exeext'
103523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103524 (eval $ac_try) 2>&5
103525 ac_status=$?
103526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103527 (exit $ac_status); }; }; then
103528 eval "$as_ac_var=yes"
103530 echo "$as_me: failed program was:" >&5
103531 sed 's/^/| /' conftest.$ac_ext >&5
103533 eval "$as_ac_var=no"
103535 rm -f conftest.err conftest.$ac_objext \
103536 conftest$ac_exeext conftest.$ac_ext
103538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103540 if test `eval echo '${'$as_ac_var'}'` = yes; then
103541 cat >>confdefs.h <<_ACEOF
103542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103543 _ACEOF
103550 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
103551 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
103552 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
103553 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
103554 echo $ECHO_N "(cached) $ECHO_C" >&6
103559 ac_ext=cc
103560 ac_cpp='$CXXCPP $CPPFLAGS'
103561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103565 cat >conftest.$ac_ext <<_ACEOF
103566 /* confdefs.h. */
103567 _ACEOF
103568 cat confdefs.h >>conftest.$ac_ext
103569 cat >>conftest.$ac_ext <<_ACEOF
103570 /* end confdefs.h. */
103571 #include <math.h>
103573 main ()
103575 _modfl(0, 0);
103577 return 0;
103579 _ACEOF
103580 rm -f conftest.$ac_objext
103581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103582 (eval $ac_compile) 2>conftest.er1
103583 ac_status=$?
103584 grep -v '^ *+' conftest.er1 >conftest.err
103585 rm -f conftest.er1
103586 cat conftest.err >&5
103587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103588 (exit $ac_status); } &&
103589 { ac_try='test -z "$ac_cxx_werror_flag"
103590 || test ! -s conftest.err'
103591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103592 (eval $ac_try) 2>&5
103593 ac_status=$?
103594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103595 (exit $ac_status); }; } &&
103596 { ac_try='test -s conftest.$ac_objext'
103597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103598 (eval $ac_try) 2>&5
103599 ac_status=$?
103600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103601 (exit $ac_status); }; }; then
103602 glibcxx_cv_func__modfl_use=yes
103604 echo "$as_me: failed program was:" >&5
103605 sed 's/^/| /' conftest.$ac_ext >&5
103607 glibcxx_cv_func__modfl_use=no
103609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103610 ac_ext=c
103611 ac_cpp='$CPP $CPPFLAGS'
103612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103620 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
103621 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
103623 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
103625 for ac_func in _modfl
103627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103628 echo "$as_me:$LINENO: checking for $ac_func" >&5
103629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103630 if eval "test \"\${$as_ac_var+set}\" = set"; then
103631 echo $ECHO_N "(cached) $ECHO_C" >&6
103633 if test x$gcc_no_link = xyes; then
103634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103636 { (exit 1); exit 1; }; }
103638 cat >conftest.$ac_ext <<_ACEOF
103639 /* confdefs.h. */
103640 _ACEOF
103641 cat confdefs.h >>conftest.$ac_ext
103642 cat >>conftest.$ac_ext <<_ACEOF
103643 /* end confdefs.h. */
103644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103646 #define $ac_func innocuous_$ac_func
103648 /* System header to define __stub macros and hopefully few prototypes,
103649 which can conflict with char $ac_func (); below.
103650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103651 <limits.h> exists even on freestanding compilers. */
103653 #ifdef __STDC__
103654 # include <limits.h>
103655 #else
103656 # include <assert.h>
103657 #endif
103659 #undef $ac_func
103661 /* Override any gcc2 internal prototype to avoid an error. */
103662 #ifdef __cplusplus
103663 extern "C"
103665 #endif
103666 /* We use char because int might match the return type of a gcc2
103667 builtin and then its argument prototype would still apply. */
103668 char $ac_func ();
103669 /* The GNU C library defines this for functions which it implements
103670 to always fail with ENOSYS. Some functions are actually named
103671 something starting with __ and the normal name is an alias. */
103672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103673 choke me
103674 #else
103675 char (*f) () = $ac_func;
103676 #endif
103677 #ifdef __cplusplus
103679 #endif
103682 main ()
103684 return f != $ac_func;
103686 return 0;
103688 _ACEOF
103689 rm -f conftest.$ac_objext conftest$ac_exeext
103690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103691 (eval $ac_link) 2>conftest.er1
103692 ac_status=$?
103693 grep -v '^ *+' conftest.er1 >conftest.err
103694 rm -f conftest.er1
103695 cat conftest.err >&5
103696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103697 (exit $ac_status); } &&
103698 { ac_try='test -z "$ac_c_werror_flag"
103699 || test ! -s conftest.err'
103700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103701 (eval $ac_try) 2>&5
103702 ac_status=$?
103703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103704 (exit $ac_status); }; } &&
103705 { ac_try='test -s conftest$ac_exeext'
103706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103707 (eval $ac_try) 2>&5
103708 ac_status=$?
103709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103710 (exit $ac_status); }; }; then
103711 eval "$as_ac_var=yes"
103713 echo "$as_me: failed program was:" >&5
103714 sed 's/^/| /' conftest.$ac_ext >&5
103716 eval "$as_ac_var=no"
103718 rm -f conftest.err conftest.$ac_objext \
103719 conftest$ac_exeext conftest.$ac_ext
103721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103723 if test `eval echo '${'$as_ac_var'}'` = yes; then
103724 cat >>confdefs.h <<_ACEOF
103725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103726 _ACEOF
103739 echo "$as_me:$LINENO: checking for powl declaration" >&5
103740 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
103741 if test x${glibcxx_cv_func_powl_use+set} != xset; then
103742 if test "${glibcxx_cv_func_powl_use+set}" = set; then
103743 echo $ECHO_N "(cached) $ECHO_C" >&6
103748 ac_ext=cc
103749 ac_cpp='$CXXCPP $CPPFLAGS'
103750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103754 cat >conftest.$ac_ext <<_ACEOF
103755 /* confdefs.h. */
103756 _ACEOF
103757 cat confdefs.h >>conftest.$ac_ext
103758 cat >>conftest.$ac_ext <<_ACEOF
103759 /* end confdefs.h. */
103760 #include <math.h>
103762 main ()
103764 powl(0, 0);
103766 return 0;
103768 _ACEOF
103769 rm -f conftest.$ac_objext
103770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103771 (eval $ac_compile) 2>conftest.er1
103772 ac_status=$?
103773 grep -v '^ *+' conftest.er1 >conftest.err
103774 rm -f conftest.er1
103775 cat conftest.err >&5
103776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103777 (exit $ac_status); } &&
103778 { ac_try='test -z "$ac_cxx_werror_flag"
103779 || test ! -s conftest.err'
103780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103781 (eval $ac_try) 2>&5
103782 ac_status=$?
103783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103784 (exit $ac_status); }; } &&
103785 { ac_try='test -s conftest.$ac_objext'
103786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103787 (eval $ac_try) 2>&5
103788 ac_status=$?
103789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103790 (exit $ac_status); }; }; then
103791 glibcxx_cv_func_powl_use=yes
103793 echo "$as_me: failed program was:" >&5
103794 sed 's/^/| /' conftest.$ac_ext >&5
103796 glibcxx_cv_func_powl_use=no
103798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103799 ac_ext=c
103800 ac_cpp='$CPP $CPPFLAGS'
103801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103809 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
103810 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
103812 if test x$glibcxx_cv_func_powl_use = x"yes"; then
103814 for ac_func in powl
103816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103817 echo "$as_me:$LINENO: checking for $ac_func" >&5
103818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103819 if eval "test \"\${$as_ac_var+set}\" = set"; then
103820 echo $ECHO_N "(cached) $ECHO_C" >&6
103822 if test x$gcc_no_link = xyes; then
103823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103825 { (exit 1); exit 1; }; }
103827 cat >conftest.$ac_ext <<_ACEOF
103828 /* confdefs.h. */
103829 _ACEOF
103830 cat confdefs.h >>conftest.$ac_ext
103831 cat >>conftest.$ac_ext <<_ACEOF
103832 /* end confdefs.h. */
103833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103835 #define $ac_func innocuous_$ac_func
103837 /* System header to define __stub macros and hopefully few prototypes,
103838 which can conflict with char $ac_func (); below.
103839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103840 <limits.h> exists even on freestanding compilers. */
103842 #ifdef __STDC__
103843 # include <limits.h>
103844 #else
103845 # include <assert.h>
103846 #endif
103848 #undef $ac_func
103850 /* Override any gcc2 internal prototype to avoid an error. */
103851 #ifdef __cplusplus
103852 extern "C"
103854 #endif
103855 /* We use char because int might match the return type of a gcc2
103856 builtin and then its argument prototype would still apply. */
103857 char $ac_func ();
103858 /* The GNU C library defines this for functions which it implements
103859 to always fail with ENOSYS. Some functions are actually named
103860 something starting with __ and the normal name is an alias. */
103861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103862 choke me
103863 #else
103864 char (*f) () = $ac_func;
103865 #endif
103866 #ifdef __cplusplus
103868 #endif
103871 main ()
103873 return f != $ac_func;
103875 return 0;
103877 _ACEOF
103878 rm -f conftest.$ac_objext conftest$ac_exeext
103879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103880 (eval $ac_link) 2>conftest.er1
103881 ac_status=$?
103882 grep -v '^ *+' conftest.er1 >conftest.err
103883 rm -f conftest.er1
103884 cat conftest.err >&5
103885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103886 (exit $ac_status); } &&
103887 { ac_try='test -z "$ac_c_werror_flag"
103888 || test ! -s conftest.err'
103889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103890 (eval $ac_try) 2>&5
103891 ac_status=$?
103892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103893 (exit $ac_status); }; } &&
103894 { ac_try='test -s conftest$ac_exeext'
103895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103896 (eval $ac_try) 2>&5
103897 ac_status=$?
103898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103899 (exit $ac_status); }; }; then
103900 eval "$as_ac_var=yes"
103902 echo "$as_me: failed program was:" >&5
103903 sed 's/^/| /' conftest.$ac_ext >&5
103905 eval "$as_ac_var=no"
103907 rm -f conftest.err conftest.$ac_objext \
103908 conftest$ac_exeext conftest.$ac_ext
103910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103912 if test `eval echo '${'$as_ac_var'}'` = yes; then
103913 cat >>confdefs.h <<_ACEOF
103914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103915 _ACEOF
103922 echo "$as_me:$LINENO: checking for _powl declaration" >&5
103923 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
103924 if test x${glibcxx_cv_func__powl_use+set} != xset; then
103925 if test "${glibcxx_cv_func__powl_use+set}" = set; then
103926 echo $ECHO_N "(cached) $ECHO_C" >&6
103931 ac_ext=cc
103932 ac_cpp='$CXXCPP $CPPFLAGS'
103933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103937 cat >conftest.$ac_ext <<_ACEOF
103938 /* confdefs.h. */
103939 _ACEOF
103940 cat confdefs.h >>conftest.$ac_ext
103941 cat >>conftest.$ac_ext <<_ACEOF
103942 /* end confdefs.h. */
103943 #include <math.h>
103945 main ()
103947 _powl(0, 0);
103949 return 0;
103951 _ACEOF
103952 rm -f conftest.$ac_objext
103953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103954 (eval $ac_compile) 2>conftest.er1
103955 ac_status=$?
103956 grep -v '^ *+' conftest.er1 >conftest.err
103957 rm -f conftest.er1
103958 cat conftest.err >&5
103959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103960 (exit $ac_status); } &&
103961 { ac_try='test -z "$ac_cxx_werror_flag"
103962 || test ! -s conftest.err'
103963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103964 (eval $ac_try) 2>&5
103965 ac_status=$?
103966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103967 (exit $ac_status); }; } &&
103968 { ac_try='test -s conftest.$ac_objext'
103969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103970 (eval $ac_try) 2>&5
103971 ac_status=$?
103972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103973 (exit $ac_status); }; }; then
103974 glibcxx_cv_func__powl_use=yes
103976 echo "$as_me: failed program was:" >&5
103977 sed 's/^/| /' conftest.$ac_ext >&5
103979 glibcxx_cv_func__powl_use=no
103981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103982 ac_ext=c
103983 ac_cpp='$CPP $CPPFLAGS'
103984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103992 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
103993 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
103995 if test x$glibcxx_cv_func__powl_use = x"yes"; then
103997 for ac_func in _powl
103999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104000 echo "$as_me:$LINENO: checking for $ac_func" >&5
104001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104002 if eval "test \"\${$as_ac_var+set}\" = set"; then
104003 echo $ECHO_N "(cached) $ECHO_C" >&6
104005 if test x$gcc_no_link = xyes; then
104006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104008 { (exit 1); exit 1; }; }
104010 cat >conftest.$ac_ext <<_ACEOF
104011 /* confdefs.h. */
104012 _ACEOF
104013 cat confdefs.h >>conftest.$ac_ext
104014 cat >>conftest.$ac_ext <<_ACEOF
104015 /* end confdefs.h. */
104016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104018 #define $ac_func innocuous_$ac_func
104020 /* System header to define __stub macros and hopefully few prototypes,
104021 which can conflict with char $ac_func (); below.
104022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104023 <limits.h> exists even on freestanding compilers. */
104025 #ifdef __STDC__
104026 # include <limits.h>
104027 #else
104028 # include <assert.h>
104029 #endif
104031 #undef $ac_func
104033 /* Override any gcc2 internal prototype to avoid an error. */
104034 #ifdef __cplusplus
104035 extern "C"
104037 #endif
104038 /* We use char because int might match the return type of a gcc2
104039 builtin and then its argument prototype would still apply. */
104040 char $ac_func ();
104041 /* The GNU C library defines this for functions which it implements
104042 to always fail with ENOSYS. Some functions are actually named
104043 something starting with __ and the normal name is an alias. */
104044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104045 choke me
104046 #else
104047 char (*f) () = $ac_func;
104048 #endif
104049 #ifdef __cplusplus
104051 #endif
104054 main ()
104056 return f != $ac_func;
104058 return 0;
104060 _ACEOF
104061 rm -f conftest.$ac_objext conftest$ac_exeext
104062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104063 (eval $ac_link) 2>conftest.er1
104064 ac_status=$?
104065 grep -v '^ *+' conftest.er1 >conftest.err
104066 rm -f conftest.er1
104067 cat conftest.err >&5
104068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104069 (exit $ac_status); } &&
104070 { ac_try='test -z "$ac_c_werror_flag"
104071 || test ! -s conftest.err'
104072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104073 (eval $ac_try) 2>&5
104074 ac_status=$?
104075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104076 (exit $ac_status); }; } &&
104077 { ac_try='test -s conftest$ac_exeext'
104078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104079 (eval $ac_try) 2>&5
104080 ac_status=$?
104081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104082 (exit $ac_status); }; }; then
104083 eval "$as_ac_var=yes"
104085 echo "$as_me: failed program was:" >&5
104086 sed 's/^/| /' conftest.$ac_ext >&5
104088 eval "$as_ac_var=no"
104090 rm -f conftest.err conftest.$ac_objext \
104091 conftest$ac_exeext conftest.$ac_ext
104093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104095 if test `eval echo '${'$as_ac_var'}'` = yes; then
104096 cat >>confdefs.h <<_ACEOF
104097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104098 _ACEOF
104111 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
104112 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
104113 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
104114 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
104115 echo $ECHO_N "(cached) $ECHO_C" >&6
104120 ac_ext=cc
104121 ac_cpp='$CXXCPP $CPPFLAGS'
104122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104126 cat >conftest.$ac_ext <<_ACEOF
104127 /* confdefs.h. */
104128 _ACEOF
104129 cat confdefs.h >>conftest.$ac_ext
104130 cat >>conftest.$ac_ext <<_ACEOF
104131 /* end confdefs.h. */
104132 #include <math.h>
104133 #ifdef HAVE_IEEEFP_H
104134 #include <ieeefp.h>
104135 #endif
104138 main ()
104140 sqrtl(0);
104142 return 0;
104144 _ACEOF
104145 rm -f conftest.$ac_objext
104146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104147 (eval $ac_compile) 2>conftest.er1
104148 ac_status=$?
104149 grep -v '^ *+' conftest.er1 >conftest.err
104150 rm -f conftest.er1
104151 cat conftest.err >&5
104152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104153 (exit $ac_status); } &&
104154 { ac_try='test -z "$ac_cxx_werror_flag"
104155 || test ! -s conftest.err'
104156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104157 (eval $ac_try) 2>&5
104158 ac_status=$?
104159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104160 (exit $ac_status); }; } &&
104161 { ac_try='test -s conftest.$ac_objext'
104162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104163 (eval $ac_try) 2>&5
104164 ac_status=$?
104165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104166 (exit $ac_status); }; }; then
104167 glibcxx_cv_func_sqrtl_use=yes
104169 echo "$as_me: failed program was:" >&5
104170 sed 's/^/| /' conftest.$ac_ext >&5
104172 glibcxx_cv_func_sqrtl_use=no
104174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104175 ac_ext=c
104176 ac_cpp='$CPP $CPPFLAGS'
104177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104185 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
104186 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
104188 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
104190 for ac_func in sqrtl
104192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104193 echo "$as_me:$LINENO: checking for $ac_func" >&5
104194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104195 if eval "test \"\${$as_ac_var+set}\" = set"; then
104196 echo $ECHO_N "(cached) $ECHO_C" >&6
104198 if test x$gcc_no_link = xyes; then
104199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104201 { (exit 1); exit 1; }; }
104203 cat >conftest.$ac_ext <<_ACEOF
104204 /* confdefs.h. */
104205 _ACEOF
104206 cat confdefs.h >>conftest.$ac_ext
104207 cat >>conftest.$ac_ext <<_ACEOF
104208 /* end confdefs.h. */
104209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104211 #define $ac_func innocuous_$ac_func
104213 /* System header to define __stub macros and hopefully few prototypes,
104214 which can conflict with char $ac_func (); below.
104215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104216 <limits.h> exists even on freestanding compilers. */
104218 #ifdef __STDC__
104219 # include <limits.h>
104220 #else
104221 # include <assert.h>
104222 #endif
104224 #undef $ac_func
104226 /* Override any gcc2 internal prototype to avoid an error. */
104227 #ifdef __cplusplus
104228 extern "C"
104230 #endif
104231 /* We use char because int might match the return type of a gcc2
104232 builtin and then its argument prototype would still apply. */
104233 char $ac_func ();
104234 /* The GNU C library defines this for functions which it implements
104235 to always fail with ENOSYS. Some functions are actually named
104236 something starting with __ and the normal name is an alias. */
104237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104238 choke me
104239 #else
104240 char (*f) () = $ac_func;
104241 #endif
104242 #ifdef __cplusplus
104244 #endif
104247 main ()
104249 return f != $ac_func;
104251 return 0;
104253 _ACEOF
104254 rm -f conftest.$ac_objext conftest$ac_exeext
104255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104256 (eval $ac_link) 2>conftest.er1
104257 ac_status=$?
104258 grep -v '^ *+' conftest.er1 >conftest.err
104259 rm -f conftest.er1
104260 cat conftest.err >&5
104261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104262 (exit $ac_status); } &&
104263 { ac_try='test -z "$ac_c_werror_flag"
104264 || test ! -s conftest.err'
104265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104266 (eval $ac_try) 2>&5
104267 ac_status=$?
104268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104269 (exit $ac_status); }; } &&
104270 { ac_try='test -s conftest$ac_exeext'
104271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104272 (eval $ac_try) 2>&5
104273 ac_status=$?
104274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104275 (exit $ac_status); }; }; then
104276 eval "$as_ac_var=yes"
104278 echo "$as_me: failed program was:" >&5
104279 sed 's/^/| /' conftest.$ac_ext >&5
104281 eval "$as_ac_var=no"
104283 rm -f conftest.err conftest.$ac_objext \
104284 conftest$ac_exeext conftest.$ac_ext
104286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104288 if test `eval echo '${'$as_ac_var'}'` = yes; then
104289 cat >>confdefs.h <<_ACEOF
104290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104291 _ACEOF
104298 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
104299 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
104300 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
104301 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
104302 echo $ECHO_N "(cached) $ECHO_C" >&6
104307 ac_ext=cc
104308 ac_cpp='$CXXCPP $CPPFLAGS'
104309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104313 cat >conftest.$ac_ext <<_ACEOF
104314 /* confdefs.h. */
104315 _ACEOF
104316 cat confdefs.h >>conftest.$ac_ext
104317 cat >>conftest.$ac_ext <<_ACEOF
104318 /* end confdefs.h. */
104319 #include <math.h>
104320 #ifdef HAVE_IEEEFP_H
104321 #include <ieeefp.h>
104322 #endif
104325 main ()
104327 _sqrtl(0);
104329 return 0;
104331 _ACEOF
104332 rm -f conftest.$ac_objext
104333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104334 (eval $ac_compile) 2>conftest.er1
104335 ac_status=$?
104336 grep -v '^ *+' conftest.er1 >conftest.err
104337 rm -f conftest.er1
104338 cat conftest.err >&5
104339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104340 (exit $ac_status); } &&
104341 { ac_try='test -z "$ac_cxx_werror_flag"
104342 || test ! -s conftest.err'
104343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104344 (eval $ac_try) 2>&5
104345 ac_status=$?
104346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104347 (exit $ac_status); }; } &&
104348 { ac_try='test -s conftest.$ac_objext'
104349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104350 (eval $ac_try) 2>&5
104351 ac_status=$?
104352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104353 (exit $ac_status); }; }; then
104354 glibcxx_cv_func__sqrtl_use=yes
104356 echo "$as_me: failed program was:" >&5
104357 sed 's/^/| /' conftest.$ac_ext >&5
104359 glibcxx_cv_func__sqrtl_use=no
104361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104362 ac_ext=c
104363 ac_cpp='$CPP $CPPFLAGS'
104364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104372 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
104373 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
104375 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
104377 for ac_func in _sqrtl
104379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104380 echo "$as_me:$LINENO: checking for $ac_func" >&5
104381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104382 if eval "test \"\${$as_ac_var+set}\" = set"; then
104383 echo $ECHO_N "(cached) $ECHO_C" >&6
104385 if test x$gcc_no_link = xyes; then
104386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104388 { (exit 1); exit 1; }; }
104390 cat >conftest.$ac_ext <<_ACEOF
104391 /* confdefs.h. */
104392 _ACEOF
104393 cat confdefs.h >>conftest.$ac_ext
104394 cat >>conftest.$ac_ext <<_ACEOF
104395 /* end confdefs.h. */
104396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104398 #define $ac_func innocuous_$ac_func
104400 /* System header to define __stub macros and hopefully few prototypes,
104401 which can conflict with char $ac_func (); below.
104402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104403 <limits.h> exists even on freestanding compilers. */
104405 #ifdef __STDC__
104406 # include <limits.h>
104407 #else
104408 # include <assert.h>
104409 #endif
104411 #undef $ac_func
104413 /* Override any gcc2 internal prototype to avoid an error. */
104414 #ifdef __cplusplus
104415 extern "C"
104417 #endif
104418 /* We use char because int might match the return type of a gcc2
104419 builtin and then its argument prototype would still apply. */
104420 char $ac_func ();
104421 /* The GNU C library defines this for functions which it implements
104422 to always fail with ENOSYS. Some functions are actually named
104423 something starting with __ and the normal name is an alias. */
104424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104425 choke me
104426 #else
104427 char (*f) () = $ac_func;
104428 #endif
104429 #ifdef __cplusplus
104431 #endif
104434 main ()
104436 return f != $ac_func;
104438 return 0;
104440 _ACEOF
104441 rm -f conftest.$ac_objext conftest$ac_exeext
104442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104443 (eval $ac_link) 2>conftest.er1
104444 ac_status=$?
104445 grep -v '^ *+' conftest.er1 >conftest.err
104446 rm -f conftest.er1
104447 cat conftest.err >&5
104448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104449 (exit $ac_status); } &&
104450 { ac_try='test -z "$ac_c_werror_flag"
104451 || test ! -s conftest.err'
104452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104453 (eval $ac_try) 2>&5
104454 ac_status=$?
104455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104456 (exit $ac_status); }; } &&
104457 { ac_try='test -s conftest$ac_exeext'
104458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104459 (eval $ac_try) 2>&5
104460 ac_status=$?
104461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104462 (exit $ac_status); }; }; then
104463 eval "$as_ac_var=yes"
104465 echo "$as_me: failed program was:" >&5
104466 sed 's/^/| /' conftest.$ac_ext >&5
104468 eval "$as_ac_var=no"
104470 rm -f conftest.err conftest.$ac_objext \
104471 conftest$ac_exeext conftest.$ac_ext
104473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104475 if test `eval echo '${'$as_ac_var'}'` = yes; then
104476 cat >>confdefs.h <<_ACEOF
104477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104478 _ACEOF
104491 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
104492 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
104493 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
104494 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
104495 echo $ECHO_N "(cached) $ECHO_C" >&6
104500 ac_ext=cc
104501 ac_cpp='$CXXCPP $CPPFLAGS'
104502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104506 cat >conftest.$ac_ext <<_ACEOF
104507 /* confdefs.h. */
104508 _ACEOF
104509 cat confdefs.h >>conftest.$ac_ext
104510 cat >>conftest.$ac_ext <<_ACEOF
104511 /* end confdefs.h. */
104512 #include <math.h>
104514 main ()
104516 sincosl(0, 0, 0);
104518 return 0;
104520 _ACEOF
104521 rm -f conftest.$ac_objext
104522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104523 (eval $ac_compile) 2>conftest.er1
104524 ac_status=$?
104525 grep -v '^ *+' conftest.er1 >conftest.err
104526 rm -f conftest.er1
104527 cat conftest.err >&5
104528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104529 (exit $ac_status); } &&
104530 { ac_try='test -z "$ac_cxx_werror_flag"
104531 || test ! -s conftest.err'
104532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104533 (eval $ac_try) 2>&5
104534 ac_status=$?
104535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104536 (exit $ac_status); }; } &&
104537 { ac_try='test -s conftest.$ac_objext'
104538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104539 (eval $ac_try) 2>&5
104540 ac_status=$?
104541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104542 (exit $ac_status); }; }; then
104543 glibcxx_cv_func_sincosl_use=yes
104545 echo "$as_me: failed program was:" >&5
104546 sed 's/^/| /' conftest.$ac_ext >&5
104548 glibcxx_cv_func_sincosl_use=no
104550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104551 ac_ext=c
104552 ac_cpp='$CPP $CPPFLAGS'
104553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104561 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
104562 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
104564 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
104566 for ac_func in sincosl
104568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104569 echo "$as_me:$LINENO: checking for $ac_func" >&5
104570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104571 if eval "test \"\${$as_ac_var+set}\" = set"; then
104572 echo $ECHO_N "(cached) $ECHO_C" >&6
104574 if test x$gcc_no_link = xyes; then
104575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104577 { (exit 1); exit 1; }; }
104579 cat >conftest.$ac_ext <<_ACEOF
104580 /* confdefs.h. */
104581 _ACEOF
104582 cat confdefs.h >>conftest.$ac_ext
104583 cat >>conftest.$ac_ext <<_ACEOF
104584 /* end confdefs.h. */
104585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104587 #define $ac_func innocuous_$ac_func
104589 /* System header to define __stub macros and hopefully few prototypes,
104590 which can conflict with char $ac_func (); below.
104591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104592 <limits.h> exists even on freestanding compilers. */
104594 #ifdef __STDC__
104595 # include <limits.h>
104596 #else
104597 # include <assert.h>
104598 #endif
104600 #undef $ac_func
104602 /* Override any gcc2 internal prototype to avoid an error. */
104603 #ifdef __cplusplus
104604 extern "C"
104606 #endif
104607 /* We use char because int might match the return type of a gcc2
104608 builtin and then its argument prototype would still apply. */
104609 char $ac_func ();
104610 /* The GNU C library defines this for functions which it implements
104611 to always fail with ENOSYS. Some functions are actually named
104612 something starting with __ and the normal name is an alias. */
104613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104614 choke me
104615 #else
104616 char (*f) () = $ac_func;
104617 #endif
104618 #ifdef __cplusplus
104620 #endif
104623 main ()
104625 return f != $ac_func;
104627 return 0;
104629 _ACEOF
104630 rm -f conftest.$ac_objext conftest$ac_exeext
104631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104632 (eval $ac_link) 2>conftest.er1
104633 ac_status=$?
104634 grep -v '^ *+' conftest.er1 >conftest.err
104635 rm -f conftest.er1
104636 cat conftest.err >&5
104637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104638 (exit $ac_status); } &&
104639 { ac_try='test -z "$ac_c_werror_flag"
104640 || test ! -s conftest.err'
104641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104642 (eval $ac_try) 2>&5
104643 ac_status=$?
104644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104645 (exit $ac_status); }; } &&
104646 { ac_try='test -s conftest$ac_exeext'
104647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104648 (eval $ac_try) 2>&5
104649 ac_status=$?
104650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104651 (exit $ac_status); }; }; then
104652 eval "$as_ac_var=yes"
104654 echo "$as_me: failed program was:" >&5
104655 sed 's/^/| /' conftest.$ac_ext >&5
104657 eval "$as_ac_var=no"
104659 rm -f conftest.err conftest.$ac_objext \
104660 conftest$ac_exeext conftest.$ac_ext
104662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104664 if test `eval echo '${'$as_ac_var'}'` = yes; then
104665 cat >>confdefs.h <<_ACEOF
104666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104667 _ACEOF
104674 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
104675 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
104676 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
104677 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
104678 echo $ECHO_N "(cached) $ECHO_C" >&6
104683 ac_ext=cc
104684 ac_cpp='$CXXCPP $CPPFLAGS'
104685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104689 cat >conftest.$ac_ext <<_ACEOF
104690 /* confdefs.h. */
104691 _ACEOF
104692 cat confdefs.h >>conftest.$ac_ext
104693 cat >>conftest.$ac_ext <<_ACEOF
104694 /* end confdefs.h. */
104695 #include <math.h>
104697 main ()
104699 _sincosl(0, 0, 0);
104701 return 0;
104703 _ACEOF
104704 rm -f conftest.$ac_objext
104705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104706 (eval $ac_compile) 2>conftest.er1
104707 ac_status=$?
104708 grep -v '^ *+' conftest.er1 >conftest.err
104709 rm -f conftest.er1
104710 cat conftest.err >&5
104711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104712 (exit $ac_status); } &&
104713 { ac_try='test -z "$ac_cxx_werror_flag"
104714 || test ! -s conftest.err'
104715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104716 (eval $ac_try) 2>&5
104717 ac_status=$?
104718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104719 (exit $ac_status); }; } &&
104720 { ac_try='test -s conftest.$ac_objext'
104721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104722 (eval $ac_try) 2>&5
104723 ac_status=$?
104724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104725 (exit $ac_status); }; }; then
104726 glibcxx_cv_func__sincosl_use=yes
104728 echo "$as_me: failed program was:" >&5
104729 sed 's/^/| /' conftest.$ac_ext >&5
104731 glibcxx_cv_func__sincosl_use=no
104733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104734 ac_ext=c
104735 ac_cpp='$CPP $CPPFLAGS'
104736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104744 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
104745 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
104747 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
104749 for ac_func in _sincosl
104751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104752 echo "$as_me:$LINENO: checking for $ac_func" >&5
104753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104754 if eval "test \"\${$as_ac_var+set}\" = set"; then
104755 echo $ECHO_N "(cached) $ECHO_C" >&6
104757 if test x$gcc_no_link = xyes; then
104758 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104760 { (exit 1); exit 1; }; }
104762 cat >conftest.$ac_ext <<_ACEOF
104763 /* confdefs.h. */
104764 _ACEOF
104765 cat confdefs.h >>conftest.$ac_ext
104766 cat >>conftest.$ac_ext <<_ACEOF
104767 /* end confdefs.h. */
104768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104770 #define $ac_func innocuous_$ac_func
104772 /* System header to define __stub macros and hopefully few prototypes,
104773 which can conflict with char $ac_func (); below.
104774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104775 <limits.h> exists even on freestanding compilers. */
104777 #ifdef __STDC__
104778 # include <limits.h>
104779 #else
104780 # include <assert.h>
104781 #endif
104783 #undef $ac_func
104785 /* Override any gcc2 internal prototype to avoid an error. */
104786 #ifdef __cplusplus
104787 extern "C"
104789 #endif
104790 /* We use char because int might match the return type of a gcc2
104791 builtin and then its argument prototype would still apply. */
104792 char $ac_func ();
104793 /* The GNU C library defines this for functions which it implements
104794 to always fail with ENOSYS. Some functions are actually named
104795 something starting with __ and the normal name is an alias. */
104796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104797 choke me
104798 #else
104799 char (*f) () = $ac_func;
104800 #endif
104801 #ifdef __cplusplus
104803 #endif
104806 main ()
104808 return f != $ac_func;
104810 return 0;
104812 _ACEOF
104813 rm -f conftest.$ac_objext conftest$ac_exeext
104814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104815 (eval $ac_link) 2>conftest.er1
104816 ac_status=$?
104817 grep -v '^ *+' conftest.er1 >conftest.err
104818 rm -f conftest.er1
104819 cat conftest.err >&5
104820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104821 (exit $ac_status); } &&
104822 { ac_try='test -z "$ac_c_werror_flag"
104823 || test ! -s conftest.err'
104824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104825 (eval $ac_try) 2>&5
104826 ac_status=$?
104827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104828 (exit $ac_status); }; } &&
104829 { ac_try='test -s conftest$ac_exeext'
104830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104831 (eval $ac_try) 2>&5
104832 ac_status=$?
104833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104834 (exit $ac_status); }; }; then
104835 eval "$as_ac_var=yes"
104837 echo "$as_me: failed program was:" >&5
104838 sed 's/^/| /' conftest.$ac_ext >&5
104840 eval "$as_ac_var=no"
104842 rm -f conftest.err conftest.$ac_objext \
104843 conftest$ac_exeext conftest.$ac_ext
104845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104846 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104847 if test `eval echo '${'$as_ac_var'}'` = yes; then
104848 cat >>confdefs.h <<_ACEOF
104849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104850 _ACEOF
104863 echo "$as_me:$LINENO: checking for finitel declaration" >&5
104864 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
104865 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
104866 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
104867 echo $ECHO_N "(cached) $ECHO_C" >&6
104872 ac_ext=cc
104873 ac_cpp='$CXXCPP $CPPFLAGS'
104874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104878 cat >conftest.$ac_ext <<_ACEOF
104879 /* confdefs.h. */
104880 _ACEOF
104881 cat confdefs.h >>conftest.$ac_ext
104882 cat >>conftest.$ac_ext <<_ACEOF
104883 /* end confdefs.h. */
104884 #include <math.h>
104885 #ifdef HAVE_IEEEFP_H
104886 #include <ieeefp.h>
104887 #endif
104890 main ()
104892 finitel(0);
104894 return 0;
104896 _ACEOF
104897 rm -f conftest.$ac_objext
104898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104899 (eval $ac_compile) 2>conftest.er1
104900 ac_status=$?
104901 grep -v '^ *+' conftest.er1 >conftest.err
104902 rm -f conftest.er1
104903 cat conftest.err >&5
104904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104905 (exit $ac_status); } &&
104906 { ac_try='test -z "$ac_cxx_werror_flag"
104907 || test ! -s conftest.err'
104908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104909 (eval $ac_try) 2>&5
104910 ac_status=$?
104911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104912 (exit $ac_status); }; } &&
104913 { ac_try='test -s conftest.$ac_objext'
104914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104915 (eval $ac_try) 2>&5
104916 ac_status=$?
104917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104918 (exit $ac_status); }; }; then
104919 glibcxx_cv_func_finitel_use=yes
104921 echo "$as_me: failed program was:" >&5
104922 sed 's/^/| /' conftest.$ac_ext >&5
104924 glibcxx_cv_func_finitel_use=no
104926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104927 ac_ext=c
104928 ac_cpp='$CPP $CPPFLAGS'
104929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104937 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
104938 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
104940 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
104942 for ac_func in finitel
104944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104945 echo "$as_me:$LINENO: checking for $ac_func" >&5
104946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104947 if eval "test \"\${$as_ac_var+set}\" = set"; then
104948 echo $ECHO_N "(cached) $ECHO_C" >&6
104950 if test x$gcc_no_link = xyes; then
104951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104953 { (exit 1); exit 1; }; }
104955 cat >conftest.$ac_ext <<_ACEOF
104956 /* confdefs.h. */
104957 _ACEOF
104958 cat confdefs.h >>conftest.$ac_ext
104959 cat >>conftest.$ac_ext <<_ACEOF
104960 /* end confdefs.h. */
104961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104963 #define $ac_func innocuous_$ac_func
104965 /* System header to define __stub macros and hopefully few prototypes,
104966 which can conflict with char $ac_func (); below.
104967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104968 <limits.h> exists even on freestanding compilers. */
104970 #ifdef __STDC__
104971 # include <limits.h>
104972 #else
104973 # include <assert.h>
104974 #endif
104976 #undef $ac_func
104978 /* Override any gcc2 internal prototype to avoid an error. */
104979 #ifdef __cplusplus
104980 extern "C"
104982 #endif
104983 /* We use char because int might match the return type of a gcc2
104984 builtin and then its argument prototype would still apply. */
104985 char $ac_func ();
104986 /* The GNU C library defines this for functions which it implements
104987 to always fail with ENOSYS. Some functions are actually named
104988 something starting with __ and the normal name is an alias. */
104989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104990 choke me
104991 #else
104992 char (*f) () = $ac_func;
104993 #endif
104994 #ifdef __cplusplus
104996 #endif
104999 main ()
105001 return f != $ac_func;
105003 return 0;
105005 _ACEOF
105006 rm -f conftest.$ac_objext conftest$ac_exeext
105007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105008 (eval $ac_link) 2>conftest.er1
105009 ac_status=$?
105010 grep -v '^ *+' conftest.er1 >conftest.err
105011 rm -f conftest.er1
105012 cat conftest.err >&5
105013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105014 (exit $ac_status); } &&
105015 { ac_try='test -z "$ac_c_werror_flag"
105016 || test ! -s conftest.err'
105017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105018 (eval $ac_try) 2>&5
105019 ac_status=$?
105020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105021 (exit $ac_status); }; } &&
105022 { ac_try='test -s conftest$ac_exeext'
105023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105024 (eval $ac_try) 2>&5
105025 ac_status=$?
105026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105027 (exit $ac_status); }; }; then
105028 eval "$as_ac_var=yes"
105030 echo "$as_me: failed program was:" >&5
105031 sed 's/^/| /' conftest.$ac_ext >&5
105033 eval "$as_ac_var=no"
105035 rm -f conftest.err conftest.$ac_objext \
105036 conftest$ac_exeext conftest.$ac_ext
105038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105040 if test `eval echo '${'$as_ac_var'}'` = yes; then
105041 cat >>confdefs.h <<_ACEOF
105042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105043 _ACEOF
105050 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
105051 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
105052 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
105053 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
105054 echo $ECHO_N "(cached) $ECHO_C" >&6
105059 ac_ext=cc
105060 ac_cpp='$CXXCPP $CPPFLAGS'
105061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105065 cat >conftest.$ac_ext <<_ACEOF
105066 /* confdefs.h. */
105067 _ACEOF
105068 cat confdefs.h >>conftest.$ac_ext
105069 cat >>conftest.$ac_ext <<_ACEOF
105070 /* end confdefs.h. */
105071 #include <math.h>
105072 #ifdef HAVE_IEEEFP_H
105073 #include <ieeefp.h>
105074 #endif
105077 main ()
105079 _finitel(0);
105081 return 0;
105083 _ACEOF
105084 rm -f conftest.$ac_objext
105085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105086 (eval $ac_compile) 2>conftest.er1
105087 ac_status=$?
105088 grep -v '^ *+' conftest.er1 >conftest.err
105089 rm -f conftest.er1
105090 cat conftest.err >&5
105091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105092 (exit $ac_status); } &&
105093 { ac_try='test -z "$ac_cxx_werror_flag"
105094 || test ! -s conftest.err'
105095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105096 (eval $ac_try) 2>&5
105097 ac_status=$?
105098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105099 (exit $ac_status); }; } &&
105100 { ac_try='test -s conftest.$ac_objext'
105101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105102 (eval $ac_try) 2>&5
105103 ac_status=$?
105104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105105 (exit $ac_status); }; }; then
105106 glibcxx_cv_func__finitel_use=yes
105108 echo "$as_me: failed program was:" >&5
105109 sed 's/^/| /' conftest.$ac_ext >&5
105111 glibcxx_cv_func__finitel_use=no
105113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105114 ac_ext=c
105115 ac_cpp='$CPP $CPPFLAGS'
105116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105124 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
105125 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
105127 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
105129 for ac_func in _finitel
105131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105132 echo "$as_me:$LINENO: checking for $ac_func" >&5
105133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105134 if eval "test \"\${$as_ac_var+set}\" = set"; then
105135 echo $ECHO_N "(cached) $ECHO_C" >&6
105137 if test x$gcc_no_link = xyes; then
105138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105140 { (exit 1); exit 1; }; }
105142 cat >conftest.$ac_ext <<_ACEOF
105143 /* confdefs.h. */
105144 _ACEOF
105145 cat confdefs.h >>conftest.$ac_ext
105146 cat >>conftest.$ac_ext <<_ACEOF
105147 /* end confdefs.h. */
105148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105150 #define $ac_func innocuous_$ac_func
105152 /* System header to define __stub macros and hopefully few prototypes,
105153 which can conflict with char $ac_func (); below.
105154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105155 <limits.h> exists even on freestanding compilers. */
105157 #ifdef __STDC__
105158 # include <limits.h>
105159 #else
105160 # include <assert.h>
105161 #endif
105163 #undef $ac_func
105165 /* Override any gcc2 internal prototype to avoid an error. */
105166 #ifdef __cplusplus
105167 extern "C"
105169 #endif
105170 /* We use char because int might match the return type of a gcc2
105171 builtin and then its argument prototype would still apply. */
105172 char $ac_func ();
105173 /* The GNU C library defines this for functions which it implements
105174 to always fail with ENOSYS. Some functions are actually named
105175 something starting with __ and the normal name is an alias. */
105176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105177 choke me
105178 #else
105179 char (*f) () = $ac_func;
105180 #endif
105181 #ifdef __cplusplus
105183 #endif
105186 main ()
105188 return f != $ac_func;
105190 return 0;
105192 _ACEOF
105193 rm -f conftest.$ac_objext conftest$ac_exeext
105194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105195 (eval $ac_link) 2>conftest.er1
105196 ac_status=$?
105197 grep -v '^ *+' conftest.er1 >conftest.err
105198 rm -f conftest.er1
105199 cat conftest.err >&5
105200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105201 (exit $ac_status); } &&
105202 { ac_try='test -z "$ac_c_werror_flag"
105203 || test ! -s conftest.err'
105204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105205 (eval $ac_try) 2>&5
105206 ac_status=$?
105207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105208 (exit $ac_status); }; } &&
105209 { ac_try='test -s conftest$ac_exeext'
105210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105211 (eval $ac_try) 2>&5
105212 ac_status=$?
105213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105214 (exit $ac_status); }; }; then
105215 eval "$as_ac_var=yes"
105217 echo "$as_me: failed program was:" >&5
105218 sed 's/^/| /' conftest.$ac_ext >&5
105220 eval "$as_ac_var=no"
105222 rm -f conftest.err conftest.$ac_objext \
105223 conftest$ac_exeext conftest.$ac_ext
105225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105227 if test `eval echo '${'$as_ac_var'}'` = yes; then
105228 cat >>confdefs.h <<_ACEOF
105229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105230 _ACEOF
105242 LIBS="$ac_save_LIBS"
105243 CXXFLAGS="$ac_save_CXXFLAGS"
105247 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
105248 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
105249 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
105250 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
105251 echo $ECHO_N "(cached) $ECHO_C" >&6
105256 ac_ext=cc
105257 ac_cpp='$CXXCPP $CPPFLAGS'
105258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105262 cat >conftest.$ac_ext <<_ACEOF
105263 /* confdefs.h. */
105264 _ACEOF
105265 cat confdefs.h >>conftest.$ac_ext
105266 cat >>conftest.$ac_ext <<_ACEOF
105267 /* end confdefs.h. */
105268 #include <math.h>
105270 main ()
105272 __builtin_abs(0);
105274 return 0;
105276 _ACEOF
105277 rm -f conftest.$ac_objext
105278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105279 (eval $ac_compile) 2>conftest.er1
105280 ac_status=$?
105281 grep -v '^ *+' conftest.er1 >conftest.err
105282 rm -f conftest.er1
105283 cat conftest.err >&5
105284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105285 (exit $ac_status); } &&
105286 { ac_try='test -z "$ac_cxx_werror_flag"
105287 || test ! -s conftest.err'
105288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105289 (eval $ac_try) 2>&5
105290 ac_status=$?
105291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105292 (exit $ac_status); }; } &&
105293 { ac_try='test -s conftest.$ac_objext'
105294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105295 (eval $ac_try) 2>&5
105296 ac_status=$?
105297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105298 (exit $ac_status); }; }; then
105299 glibcxx_cv_func___builtin_abs_use=yes
105301 echo "$as_me: failed program was:" >&5
105302 sed 's/^/| /' conftest.$ac_ext >&5
105304 glibcxx_cv_func___builtin_abs_use=no
105306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105307 ac_ext=c
105308 ac_cpp='$CPP $CPPFLAGS'
105309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105317 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
105318 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
105319 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
105320 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
105321 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
105322 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
105323 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
105324 echo $ECHO_N "(cached) $ECHO_C" >&6
105327 if test x$gcc_no_link = xyes; then
105328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105330 { (exit 1); exit 1; }; }
105332 cat >conftest.$ac_ext <<_ACEOF
105333 /* confdefs.h. */
105334 _ACEOF
105335 cat confdefs.h >>conftest.$ac_ext
105336 cat >>conftest.$ac_ext <<_ACEOF
105337 /* end confdefs.h. */
105338 #include <math.h>
105340 main ()
105342 __builtin_abs(0);
105344 return 0;
105346 _ACEOF
105347 rm -f conftest.$ac_objext conftest$ac_exeext
105348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105349 (eval $ac_link) 2>conftest.er1
105350 ac_status=$?
105351 grep -v '^ *+' conftest.er1 >conftest.err
105352 rm -f conftest.er1
105353 cat conftest.err >&5
105354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105355 (exit $ac_status); } &&
105356 { ac_try='test -z "$ac_c_werror_flag"
105357 || test ! -s conftest.err'
105358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105359 (eval $ac_try) 2>&5
105360 ac_status=$?
105361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105362 (exit $ac_status); }; } &&
105363 { ac_try='test -s conftest$ac_exeext'
105364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105365 (eval $ac_try) 2>&5
105366 ac_status=$?
105367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105368 (exit $ac_status); }; }; then
105369 glibcxx_cv_func___builtin_abs_link=yes
105371 echo "$as_me: failed program was:" >&5
105372 sed 's/^/| /' conftest.$ac_ext >&5
105374 glibcxx_cv_func___builtin_abs_link=no
105376 rm -f conftest.err conftest.$ac_objext \
105377 conftest$ac_exeext conftest.$ac_ext
105382 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
105383 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
105385 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
105387 cat >>confdefs.h <<\_ACEOF
105388 #define HAVE___BUILTIN_ABS 1
105389 _ACEOF
105396 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
105397 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
105398 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
105399 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
105400 echo $ECHO_N "(cached) $ECHO_C" >&6
105405 ac_ext=cc
105406 ac_cpp='$CXXCPP $CPPFLAGS'
105407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105411 cat >conftest.$ac_ext <<_ACEOF
105412 /* confdefs.h. */
105413 _ACEOF
105414 cat confdefs.h >>conftest.$ac_ext
105415 cat >>conftest.$ac_ext <<_ACEOF
105416 /* end confdefs.h. */
105417 #include <math.h>
105419 main ()
105421 __builtin_fabsf(0);
105423 return 0;
105425 _ACEOF
105426 rm -f conftest.$ac_objext
105427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105428 (eval $ac_compile) 2>conftest.er1
105429 ac_status=$?
105430 grep -v '^ *+' conftest.er1 >conftest.err
105431 rm -f conftest.er1
105432 cat conftest.err >&5
105433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105434 (exit $ac_status); } &&
105435 { ac_try='test -z "$ac_cxx_werror_flag"
105436 || test ! -s conftest.err'
105437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105438 (eval $ac_try) 2>&5
105439 ac_status=$?
105440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105441 (exit $ac_status); }; } &&
105442 { ac_try='test -s conftest.$ac_objext'
105443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105444 (eval $ac_try) 2>&5
105445 ac_status=$?
105446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105447 (exit $ac_status); }; }; then
105448 glibcxx_cv_func___builtin_fabsf_use=yes
105450 echo "$as_me: failed program was:" >&5
105451 sed 's/^/| /' conftest.$ac_ext >&5
105453 glibcxx_cv_func___builtin_fabsf_use=no
105455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105456 ac_ext=c
105457 ac_cpp='$CPP $CPPFLAGS'
105458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105466 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
105467 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
105468 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
105469 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
105470 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
105471 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
105472 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
105473 echo $ECHO_N "(cached) $ECHO_C" >&6
105476 if test x$gcc_no_link = xyes; then
105477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105479 { (exit 1); exit 1; }; }
105481 cat >conftest.$ac_ext <<_ACEOF
105482 /* confdefs.h. */
105483 _ACEOF
105484 cat confdefs.h >>conftest.$ac_ext
105485 cat >>conftest.$ac_ext <<_ACEOF
105486 /* end confdefs.h. */
105487 #include <math.h>
105489 main ()
105491 __builtin_fabsf(0);
105493 return 0;
105495 _ACEOF
105496 rm -f conftest.$ac_objext conftest$ac_exeext
105497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105498 (eval $ac_link) 2>conftest.er1
105499 ac_status=$?
105500 grep -v '^ *+' conftest.er1 >conftest.err
105501 rm -f conftest.er1
105502 cat conftest.err >&5
105503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105504 (exit $ac_status); } &&
105505 { ac_try='test -z "$ac_c_werror_flag"
105506 || test ! -s conftest.err'
105507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105508 (eval $ac_try) 2>&5
105509 ac_status=$?
105510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105511 (exit $ac_status); }; } &&
105512 { ac_try='test -s conftest$ac_exeext'
105513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105514 (eval $ac_try) 2>&5
105515 ac_status=$?
105516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105517 (exit $ac_status); }; }; then
105518 glibcxx_cv_func___builtin_fabsf_link=yes
105520 echo "$as_me: failed program was:" >&5
105521 sed 's/^/| /' conftest.$ac_ext >&5
105523 glibcxx_cv_func___builtin_fabsf_link=no
105525 rm -f conftest.err conftest.$ac_objext \
105526 conftest$ac_exeext conftest.$ac_ext
105531 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
105532 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
105534 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
105536 cat >>confdefs.h <<\_ACEOF
105537 #define HAVE___BUILTIN_FABSF 1
105538 _ACEOF
105545 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
105546 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
105547 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
105548 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
105549 echo $ECHO_N "(cached) $ECHO_C" >&6
105554 ac_ext=cc
105555 ac_cpp='$CXXCPP $CPPFLAGS'
105556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105560 cat >conftest.$ac_ext <<_ACEOF
105561 /* confdefs.h. */
105562 _ACEOF
105563 cat confdefs.h >>conftest.$ac_ext
105564 cat >>conftest.$ac_ext <<_ACEOF
105565 /* end confdefs.h. */
105566 #include <math.h>
105568 main ()
105570 __builtin_fabs(0);
105572 return 0;
105574 _ACEOF
105575 rm -f conftest.$ac_objext
105576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105577 (eval $ac_compile) 2>conftest.er1
105578 ac_status=$?
105579 grep -v '^ *+' conftest.er1 >conftest.err
105580 rm -f conftest.er1
105581 cat conftest.err >&5
105582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105583 (exit $ac_status); } &&
105584 { ac_try='test -z "$ac_cxx_werror_flag"
105585 || test ! -s conftest.err'
105586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105587 (eval $ac_try) 2>&5
105588 ac_status=$?
105589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105590 (exit $ac_status); }; } &&
105591 { ac_try='test -s conftest.$ac_objext'
105592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105593 (eval $ac_try) 2>&5
105594 ac_status=$?
105595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105596 (exit $ac_status); }; }; then
105597 glibcxx_cv_func___builtin_fabs_use=yes
105599 echo "$as_me: failed program was:" >&5
105600 sed 's/^/| /' conftest.$ac_ext >&5
105602 glibcxx_cv_func___builtin_fabs_use=no
105604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105605 ac_ext=c
105606 ac_cpp='$CPP $CPPFLAGS'
105607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105615 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
105616 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
105617 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
105618 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
105619 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
105620 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
105621 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
105622 echo $ECHO_N "(cached) $ECHO_C" >&6
105625 if test x$gcc_no_link = xyes; then
105626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105628 { (exit 1); exit 1; }; }
105630 cat >conftest.$ac_ext <<_ACEOF
105631 /* confdefs.h. */
105632 _ACEOF
105633 cat confdefs.h >>conftest.$ac_ext
105634 cat >>conftest.$ac_ext <<_ACEOF
105635 /* end confdefs.h. */
105636 #include <math.h>
105638 main ()
105640 __builtin_fabs(0);
105642 return 0;
105644 _ACEOF
105645 rm -f conftest.$ac_objext conftest$ac_exeext
105646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105647 (eval $ac_link) 2>conftest.er1
105648 ac_status=$?
105649 grep -v '^ *+' conftest.er1 >conftest.err
105650 rm -f conftest.er1
105651 cat conftest.err >&5
105652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105653 (exit $ac_status); } &&
105654 { ac_try='test -z "$ac_c_werror_flag"
105655 || test ! -s conftest.err'
105656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105657 (eval $ac_try) 2>&5
105658 ac_status=$?
105659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105660 (exit $ac_status); }; } &&
105661 { ac_try='test -s conftest$ac_exeext'
105662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105663 (eval $ac_try) 2>&5
105664 ac_status=$?
105665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105666 (exit $ac_status); }; }; then
105667 glibcxx_cv_func___builtin_fabs_link=yes
105669 echo "$as_me: failed program was:" >&5
105670 sed 's/^/| /' conftest.$ac_ext >&5
105672 glibcxx_cv_func___builtin_fabs_link=no
105674 rm -f conftest.err conftest.$ac_objext \
105675 conftest$ac_exeext conftest.$ac_ext
105680 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
105681 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
105683 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
105685 cat >>confdefs.h <<\_ACEOF
105686 #define HAVE___BUILTIN_FABS 1
105687 _ACEOF
105694 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
105695 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
105696 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
105697 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
105698 echo $ECHO_N "(cached) $ECHO_C" >&6
105703 ac_ext=cc
105704 ac_cpp='$CXXCPP $CPPFLAGS'
105705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105709 cat >conftest.$ac_ext <<_ACEOF
105710 /* confdefs.h. */
105711 _ACEOF
105712 cat confdefs.h >>conftest.$ac_ext
105713 cat >>conftest.$ac_ext <<_ACEOF
105714 /* end confdefs.h. */
105715 #include <math.h>
105717 main ()
105719 __builtin_fabsl(0);
105721 return 0;
105723 _ACEOF
105724 rm -f conftest.$ac_objext
105725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105726 (eval $ac_compile) 2>conftest.er1
105727 ac_status=$?
105728 grep -v '^ *+' conftest.er1 >conftest.err
105729 rm -f conftest.er1
105730 cat conftest.err >&5
105731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105732 (exit $ac_status); } &&
105733 { ac_try='test -z "$ac_cxx_werror_flag"
105734 || test ! -s conftest.err'
105735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105736 (eval $ac_try) 2>&5
105737 ac_status=$?
105738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105739 (exit $ac_status); }; } &&
105740 { ac_try='test -s conftest.$ac_objext'
105741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105742 (eval $ac_try) 2>&5
105743 ac_status=$?
105744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105745 (exit $ac_status); }; }; then
105746 glibcxx_cv_func___builtin_fabsl_use=yes
105748 echo "$as_me: failed program was:" >&5
105749 sed 's/^/| /' conftest.$ac_ext >&5
105751 glibcxx_cv_func___builtin_fabsl_use=no
105753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105754 ac_ext=c
105755 ac_cpp='$CPP $CPPFLAGS'
105756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105764 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
105765 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
105766 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
105767 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
105768 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
105769 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
105770 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
105771 echo $ECHO_N "(cached) $ECHO_C" >&6
105774 if test x$gcc_no_link = xyes; then
105775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105777 { (exit 1); exit 1; }; }
105779 cat >conftest.$ac_ext <<_ACEOF
105780 /* confdefs.h. */
105781 _ACEOF
105782 cat confdefs.h >>conftest.$ac_ext
105783 cat >>conftest.$ac_ext <<_ACEOF
105784 /* end confdefs.h. */
105785 #include <math.h>
105787 main ()
105789 __builtin_fabsl(0);
105791 return 0;
105793 _ACEOF
105794 rm -f conftest.$ac_objext conftest$ac_exeext
105795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105796 (eval $ac_link) 2>conftest.er1
105797 ac_status=$?
105798 grep -v '^ *+' conftest.er1 >conftest.err
105799 rm -f conftest.er1
105800 cat conftest.err >&5
105801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105802 (exit $ac_status); } &&
105803 { ac_try='test -z "$ac_c_werror_flag"
105804 || test ! -s conftest.err'
105805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105806 (eval $ac_try) 2>&5
105807 ac_status=$?
105808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105809 (exit $ac_status); }; } &&
105810 { ac_try='test -s conftest$ac_exeext'
105811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105812 (eval $ac_try) 2>&5
105813 ac_status=$?
105814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105815 (exit $ac_status); }; }; then
105816 glibcxx_cv_func___builtin_fabsl_link=yes
105818 echo "$as_me: failed program was:" >&5
105819 sed 's/^/| /' conftest.$ac_ext >&5
105821 glibcxx_cv_func___builtin_fabsl_link=no
105823 rm -f conftest.err conftest.$ac_objext \
105824 conftest$ac_exeext conftest.$ac_ext
105829 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
105830 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
105832 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
105834 cat >>confdefs.h <<\_ACEOF
105835 #define HAVE___BUILTIN_FABSL 1
105836 _ACEOF
105843 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
105844 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
105845 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
105846 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
105847 echo $ECHO_N "(cached) $ECHO_C" >&6
105852 ac_ext=cc
105853 ac_cpp='$CXXCPP $CPPFLAGS'
105854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105858 cat >conftest.$ac_ext <<_ACEOF
105859 /* confdefs.h. */
105860 _ACEOF
105861 cat confdefs.h >>conftest.$ac_ext
105862 cat >>conftest.$ac_ext <<_ACEOF
105863 /* end confdefs.h. */
105864 #include <math.h>
105866 main ()
105868 __builtin_labs(0);
105870 return 0;
105872 _ACEOF
105873 rm -f conftest.$ac_objext
105874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105875 (eval $ac_compile) 2>conftest.er1
105876 ac_status=$?
105877 grep -v '^ *+' conftest.er1 >conftest.err
105878 rm -f conftest.er1
105879 cat conftest.err >&5
105880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105881 (exit $ac_status); } &&
105882 { ac_try='test -z "$ac_cxx_werror_flag"
105883 || test ! -s conftest.err'
105884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105885 (eval $ac_try) 2>&5
105886 ac_status=$?
105887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105888 (exit $ac_status); }; } &&
105889 { ac_try='test -s conftest.$ac_objext'
105890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105891 (eval $ac_try) 2>&5
105892 ac_status=$?
105893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105894 (exit $ac_status); }; }; then
105895 glibcxx_cv_func___builtin_labs_use=yes
105897 echo "$as_me: failed program was:" >&5
105898 sed 's/^/| /' conftest.$ac_ext >&5
105900 glibcxx_cv_func___builtin_labs_use=no
105902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105903 ac_ext=c
105904 ac_cpp='$CPP $CPPFLAGS'
105905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105913 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
105914 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
105915 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
105916 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
105917 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
105918 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
105919 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
105920 echo $ECHO_N "(cached) $ECHO_C" >&6
105923 if test x$gcc_no_link = xyes; then
105924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105926 { (exit 1); exit 1; }; }
105928 cat >conftest.$ac_ext <<_ACEOF
105929 /* confdefs.h. */
105930 _ACEOF
105931 cat confdefs.h >>conftest.$ac_ext
105932 cat >>conftest.$ac_ext <<_ACEOF
105933 /* end confdefs.h. */
105934 #include <math.h>
105936 main ()
105938 __builtin_labs(0);
105940 return 0;
105942 _ACEOF
105943 rm -f conftest.$ac_objext conftest$ac_exeext
105944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105945 (eval $ac_link) 2>conftest.er1
105946 ac_status=$?
105947 grep -v '^ *+' conftest.er1 >conftest.err
105948 rm -f conftest.er1
105949 cat conftest.err >&5
105950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105951 (exit $ac_status); } &&
105952 { ac_try='test -z "$ac_c_werror_flag"
105953 || test ! -s conftest.err'
105954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105955 (eval $ac_try) 2>&5
105956 ac_status=$?
105957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105958 (exit $ac_status); }; } &&
105959 { ac_try='test -s conftest$ac_exeext'
105960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105961 (eval $ac_try) 2>&5
105962 ac_status=$?
105963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105964 (exit $ac_status); }; }; then
105965 glibcxx_cv_func___builtin_labs_link=yes
105967 echo "$as_me: failed program was:" >&5
105968 sed 's/^/| /' conftest.$ac_ext >&5
105970 glibcxx_cv_func___builtin_labs_link=no
105972 rm -f conftest.err conftest.$ac_objext \
105973 conftest$ac_exeext conftest.$ac_ext
105978 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
105979 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
105981 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
105983 cat >>confdefs.h <<\_ACEOF
105984 #define HAVE___BUILTIN_LABS 1
105985 _ACEOF
105993 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
105994 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
105995 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
105996 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
105997 echo $ECHO_N "(cached) $ECHO_C" >&6
106002 ac_ext=cc
106003 ac_cpp='$CXXCPP $CPPFLAGS'
106004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106008 cat >conftest.$ac_ext <<_ACEOF
106009 /* confdefs.h. */
106010 _ACEOF
106011 cat confdefs.h >>conftest.$ac_ext
106012 cat >>conftest.$ac_ext <<_ACEOF
106013 /* end confdefs.h. */
106014 #include <math.h>
106016 main ()
106018 __builtin_sqrtf(0);
106020 return 0;
106022 _ACEOF
106023 rm -f conftest.$ac_objext
106024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106025 (eval $ac_compile) 2>conftest.er1
106026 ac_status=$?
106027 grep -v '^ *+' conftest.er1 >conftest.err
106028 rm -f conftest.er1
106029 cat conftest.err >&5
106030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106031 (exit $ac_status); } &&
106032 { ac_try='test -z "$ac_cxx_werror_flag"
106033 || test ! -s conftest.err'
106034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106035 (eval $ac_try) 2>&5
106036 ac_status=$?
106037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106038 (exit $ac_status); }; } &&
106039 { ac_try='test -s conftest.$ac_objext'
106040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106041 (eval $ac_try) 2>&5
106042 ac_status=$?
106043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106044 (exit $ac_status); }; }; then
106045 glibcxx_cv_func___builtin_sqrtf_use=yes
106047 echo "$as_me: failed program was:" >&5
106048 sed 's/^/| /' conftest.$ac_ext >&5
106050 glibcxx_cv_func___builtin_sqrtf_use=no
106052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106053 ac_ext=c
106054 ac_cpp='$CPP $CPPFLAGS'
106055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106063 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
106064 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
106065 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
106066 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
106067 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
106068 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
106069 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
106070 echo $ECHO_N "(cached) $ECHO_C" >&6
106073 if test x$gcc_no_link = xyes; then
106074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106076 { (exit 1); exit 1; }; }
106078 cat >conftest.$ac_ext <<_ACEOF
106079 /* confdefs.h. */
106080 _ACEOF
106081 cat confdefs.h >>conftest.$ac_ext
106082 cat >>conftest.$ac_ext <<_ACEOF
106083 /* end confdefs.h. */
106084 #include <math.h>
106086 main ()
106088 __builtin_sqrtf(0);
106090 return 0;
106092 _ACEOF
106093 rm -f conftest.$ac_objext conftest$ac_exeext
106094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106095 (eval $ac_link) 2>conftest.er1
106096 ac_status=$?
106097 grep -v '^ *+' conftest.er1 >conftest.err
106098 rm -f conftest.er1
106099 cat conftest.err >&5
106100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106101 (exit $ac_status); } &&
106102 { ac_try='test -z "$ac_c_werror_flag"
106103 || test ! -s conftest.err'
106104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106105 (eval $ac_try) 2>&5
106106 ac_status=$?
106107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106108 (exit $ac_status); }; } &&
106109 { ac_try='test -s conftest$ac_exeext'
106110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106111 (eval $ac_try) 2>&5
106112 ac_status=$?
106113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106114 (exit $ac_status); }; }; then
106115 glibcxx_cv_func___builtin_sqrtf_link=yes
106117 echo "$as_me: failed program was:" >&5
106118 sed 's/^/| /' conftest.$ac_ext >&5
106120 glibcxx_cv_func___builtin_sqrtf_link=no
106122 rm -f conftest.err conftest.$ac_objext \
106123 conftest$ac_exeext conftest.$ac_ext
106128 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
106129 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
106131 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
106133 cat >>confdefs.h <<\_ACEOF
106134 #define HAVE___BUILTIN_SQRTF 1
106135 _ACEOF
106142 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
106143 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
106144 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
106145 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
106146 echo $ECHO_N "(cached) $ECHO_C" >&6
106151 ac_ext=cc
106152 ac_cpp='$CXXCPP $CPPFLAGS'
106153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106157 cat >conftest.$ac_ext <<_ACEOF
106158 /* confdefs.h. */
106159 _ACEOF
106160 cat confdefs.h >>conftest.$ac_ext
106161 cat >>conftest.$ac_ext <<_ACEOF
106162 /* end confdefs.h. */
106163 #include <math.h>
106165 main ()
106167 __builtin_sqrt(0);
106169 return 0;
106171 _ACEOF
106172 rm -f conftest.$ac_objext
106173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106174 (eval $ac_compile) 2>conftest.er1
106175 ac_status=$?
106176 grep -v '^ *+' conftest.er1 >conftest.err
106177 rm -f conftest.er1
106178 cat conftest.err >&5
106179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106180 (exit $ac_status); } &&
106181 { ac_try='test -z "$ac_cxx_werror_flag"
106182 || test ! -s conftest.err'
106183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106184 (eval $ac_try) 2>&5
106185 ac_status=$?
106186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106187 (exit $ac_status); }; } &&
106188 { ac_try='test -s conftest.$ac_objext'
106189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106190 (eval $ac_try) 2>&5
106191 ac_status=$?
106192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106193 (exit $ac_status); }; }; then
106194 glibcxx_cv_func___builtin_sqrt_use=yes
106196 echo "$as_me: failed program was:" >&5
106197 sed 's/^/| /' conftest.$ac_ext >&5
106199 glibcxx_cv_func___builtin_sqrt_use=no
106201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106202 ac_ext=c
106203 ac_cpp='$CPP $CPPFLAGS'
106204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106212 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
106213 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
106214 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
106215 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
106216 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
106217 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
106218 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
106219 echo $ECHO_N "(cached) $ECHO_C" >&6
106222 if test x$gcc_no_link = xyes; then
106223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106225 { (exit 1); exit 1; }; }
106227 cat >conftest.$ac_ext <<_ACEOF
106228 /* confdefs.h. */
106229 _ACEOF
106230 cat confdefs.h >>conftest.$ac_ext
106231 cat >>conftest.$ac_ext <<_ACEOF
106232 /* end confdefs.h. */
106233 #include <math.h>
106235 main ()
106237 __builtin_sqrt(0);
106239 return 0;
106241 _ACEOF
106242 rm -f conftest.$ac_objext conftest$ac_exeext
106243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106244 (eval $ac_link) 2>conftest.er1
106245 ac_status=$?
106246 grep -v '^ *+' conftest.er1 >conftest.err
106247 rm -f conftest.er1
106248 cat conftest.err >&5
106249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106250 (exit $ac_status); } &&
106251 { ac_try='test -z "$ac_c_werror_flag"
106252 || test ! -s conftest.err'
106253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106254 (eval $ac_try) 2>&5
106255 ac_status=$?
106256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106257 (exit $ac_status); }; } &&
106258 { ac_try='test -s conftest$ac_exeext'
106259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106260 (eval $ac_try) 2>&5
106261 ac_status=$?
106262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106263 (exit $ac_status); }; }; then
106264 glibcxx_cv_func___builtin_sqrt_link=yes
106266 echo "$as_me: failed program was:" >&5
106267 sed 's/^/| /' conftest.$ac_ext >&5
106269 glibcxx_cv_func___builtin_sqrt_link=no
106271 rm -f conftest.err conftest.$ac_objext \
106272 conftest$ac_exeext conftest.$ac_ext
106277 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
106278 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
106280 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
106282 cat >>confdefs.h <<\_ACEOF
106283 #define HAVE___BUILTIN_SQRT 1
106284 _ACEOF
106291 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
106292 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
106293 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
106294 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
106295 echo $ECHO_N "(cached) $ECHO_C" >&6
106300 ac_ext=cc
106301 ac_cpp='$CXXCPP $CPPFLAGS'
106302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106306 cat >conftest.$ac_ext <<_ACEOF
106307 /* confdefs.h. */
106308 _ACEOF
106309 cat confdefs.h >>conftest.$ac_ext
106310 cat >>conftest.$ac_ext <<_ACEOF
106311 /* end confdefs.h. */
106312 #include <math.h>
106314 main ()
106316 __builtin_sqrtl(0);
106318 return 0;
106320 _ACEOF
106321 rm -f conftest.$ac_objext
106322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106323 (eval $ac_compile) 2>conftest.er1
106324 ac_status=$?
106325 grep -v '^ *+' conftest.er1 >conftest.err
106326 rm -f conftest.er1
106327 cat conftest.err >&5
106328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106329 (exit $ac_status); } &&
106330 { ac_try='test -z "$ac_cxx_werror_flag"
106331 || test ! -s conftest.err'
106332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106333 (eval $ac_try) 2>&5
106334 ac_status=$?
106335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106336 (exit $ac_status); }; } &&
106337 { ac_try='test -s conftest.$ac_objext'
106338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106339 (eval $ac_try) 2>&5
106340 ac_status=$?
106341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106342 (exit $ac_status); }; }; then
106343 glibcxx_cv_func___builtin_sqrtl_use=yes
106345 echo "$as_me: failed program was:" >&5
106346 sed 's/^/| /' conftest.$ac_ext >&5
106348 glibcxx_cv_func___builtin_sqrtl_use=no
106350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106351 ac_ext=c
106352 ac_cpp='$CPP $CPPFLAGS'
106353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106361 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
106362 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
106363 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
106364 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
106365 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
106366 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
106367 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
106368 echo $ECHO_N "(cached) $ECHO_C" >&6
106371 if test x$gcc_no_link = xyes; then
106372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106374 { (exit 1); exit 1; }; }
106376 cat >conftest.$ac_ext <<_ACEOF
106377 /* confdefs.h. */
106378 _ACEOF
106379 cat confdefs.h >>conftest.$ac_ext
106380 cat >>conftest.$ac_ext <<_ACEOF
106381 /* end confdefs.h. */
106382 #include <math.h>
106384 main ()
106386 __builtin_sqrtl(0);
106388 return 0;
106390 _ACEOF
106391 rm -f conftest.$ac_objext conftest$ac_exeext
106392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106393 (eval $ac_link) 2>conftest.er1
106394 ac_status=$?
106395 grep -v '^ *+' conftest.er1 >conftest.err
106396 rm -f conftest.er1
106397 cat conftest.err >&5
106398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106399 (exit $ac_status); } &&
106400 { ac_try='test -z "$ac_c_werror_flag"
106401 || test ! -s conftest.err'
106402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106403 (eval $ac_try) 2>&5
106404 ac_status=$?
106405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106406 (exit $ac_status); }; } &&
106407 { ac_try='test -s conftest$ac_exeext'
106408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106409 (eval $ac_try) 2>&5
106410 ac_status=$?
106411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106412 (exit $ac_status); }; }; then
106413 glibcxx_cv_func___builtin_sqrtl_link=yes
106415 echo "$as_me: failed program was:" >&5
106416 sed 's/^/| /' conftest.$ac_ext >&5
106418 glibcxx_cv_func___builtin_sqrtl_link=no
106420 rm -f conftest.err conftest.$ac_objext \
106421 conftest$ac_exeext conftest.$ac_ext
106426 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
106427 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
106429 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
106431 cat >>confdefs.h <<\_ACEOF
106432 #define HAVE___BUILTIN_SQRTL 1
106433 _ACEOF
106441 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
106442 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
106443 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
106444 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
106445 echo $ECHO_N "(cached) $ECHO_C" >&6
106450 ac_ext=cc
106451 ac_cpp='$CXXCPP $CPPFLAGS'
106452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106456 cat >conftest.$ac_ext <<_ACEOF
106457 /* confdefs.h. */
106458 _ACEOF
106459 cat confdefs.h >>conftest.$ac_ext
106460 cat >>conftest.$ac_ext <<_ACEOF
106461 /* end confdefs.h. */
106462 #include <math.h>
106464 main ()
106466 __builtin_sinf(0);
106468 return 0;
106470 _ACEOF
106471 rm -f conftest.$ac_objext
106472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106473 (eval $ac_compile) 2>conftest.er1
106474 ac_status=$?
106475 grep -v '^ *+' conftest.er1 >conftest.err
106476 rm -f conftest.er1
106477 cat conftest.err >&5
106478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106479 (exit $ac_status); } &&
106480 { ac_try='test -z "$ac_cxx_werror_flag"
106481 || test ! -s conftest.err'
106482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106483 (eval $ac_try) 2>&5
106484 ac_status=$?
106485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106486 (exit $ac_status); }; } &&
106487 { ac_try='test -s conftest.$ac_objext'
106488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106489 (eval $ac_try) 2>&5
106490 ac_status=$?
106491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106492 (exit $ac_status); }; }; then
106493 glibcxx_cv_func___builtin_sinf_use=yes
106495 echo "$as_me: failed program was:" >&5
106496 sed 's/^/| /' conftest.$ac_ext >&5
106498 glibcxx_cv_func___builtin_sinf_use=no
106500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106501 ac_ext=c
106502 ac_cpp='$CPP $CPPFLAGS'
106503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106511 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
106512 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
106513 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
106514 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
106515 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
106516 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
106517 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
106518 echo $ECHO_N "(cached) $ECHO_C" >&6
106521 if test x$gcc_no_link = xyes; then
106522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106524 { (exit 1); exit 1; }; }
106526 cat >conftest.$ac_ext <<_ACEOF
106527 /* confdefs.h. */
106528 _ACEOF
106529 cat confdefs.h >>conftest.$ac_ext
106530 cat >>conftest.$ac_ext <<_ACEOF
106531 /* end confdefs.h. */
106532 #include <math.h>
106534 main ()
106536 __builtin_sinf(0);
106538 return 0;
106540 _ACEOF
106541 rm -f conftest.$ac_objext conftest$ac_exeext
106542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106543 (eval $ac_link) 2>conftest.er1
106544 ac_status=$?
106545 grep -v '^ *+' conftest.er1 >conftest.err
106546 rm -f conftest.er1
106547 cat conftest.err >&5
106548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106549 (exit $ac_status); } &&
106550 { ac_try='test -z "$ac_c_werror_flag"
106551 || test ! -s conftest.err'
106552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106553 (eval $ac_try) 2>&5
106554 ac_status=$?
106555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106556 (exit $ac_status); }; } &&
106557 { ac_try='test -s conftest$ac_exeext'
106558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106559 (eval $ac_try) 2>&5
106560 ac_status=$?
106561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106562 (exit $ac_status); }; }; then
106563 glibcxx_cv_func___builtin_sinf_link=yes
106565 echo "$as_me: failed program was:" >&5
106566 sed 's/^/| /' conftest.$ac_ext >&5
106568 glibcxx_cv_func___builtin_sinf_link=no
106570 rm -f conftest.err conftest.$ac_objext \
106571 conftest$ac_exeext conftest.$ac_ext
106576 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
106577 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
106579 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
106581 cat >>confdefs.h <<\_ACEOF
106582 #define HAVE___BUILTIN_SINF 1
106583 _ACEOF
106590 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
106591 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
106592 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
106593 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
106594 echo $ECHO_N "(cached) $ECHO_C" >&6
106599 ac_ext=cc
106600 ac_cpp='$CXXCPP $CPPFLAGS'
106601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106605 cat >conftest.$ac_ext <<_ACEOF
106606 /* confdefs.h. */
106607 _ACEOF
106608 cat confdefs.h >>conftest.$ac_ext
106609 cat >>conftest.$ac_ext <<_ACEOF
106610 /* end confdefs.h. */
106611 #include <math.h>
106613 main ()
106615 __builtin_sin(0);
106617 return 0;
106619 _ACEOF
106620 rm -f conftest.$ac_objext
106621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106622 (eval $ac_compile) 2>conftest.er1
106623 ac_status=$?
106624 grep -v '^ *+' conftest.er1 >conftest.err
106625 rm -f conftest.er1
106626 cat conftest.err >&5
106627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106628 (exit $ac_status); } &&
106629 { ac_try='test -z "$ac_cxx_werror_flag"
106630 || test ! -s conftest.err'
106631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106632 (eval $ac_try) 2>&5
106633 ac_status=$?
106634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106635 (exit $ac_status); }; } &&
106636 { ac_try='test -s conftest.$ac_objext'
106637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106638 (eval $ac_try) 2>&5
106639 ac_status=$?
106640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106641 (exit $ac_status); }; }; then
106642 glibcxx_cv_func___builtin_sin_use=yes
106644 echo "$as_me: failed program was:" >&5
106645 sed 's/^/| /' conftest.$ac_ext >&5
106647 glibcxx_cv_func___builtin_sin_use=no
106649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106650 ac_ext=c
106651 ac_cpp='$CPP $CPPFLAGS'
106652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106660 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
106661 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
106662 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
106663 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
106664 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
106665 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
106666 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
106667 echo $ECHO_N "(cached) $ECHO_C" >&6
106670 if test x$gcc_no_link = xyes; then
106671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106673 { (exit 1); exit 1; }; }
106675 cat >conftest.$ac_ext <<_ACEOF
106676 /* confdefs.h. */
106677 _ACEOF
106678 cat confdefs.h >>conftest.$ac_ext
106679 cat >>conftest.$ac_ext <<_ACEOF
106680 /* end confdefs.h. */
106681 #include <math.h>
106683 main ()
106685 __builtin_sin(0);
106687 return 0;
106689 _ACEOF
106690 rm -f conftest.$ac_objext conftest$ac_exeext
106691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106692 (eval $ac_link) 2>conftest.er1
106693 ac_status=$?
106694 grep -v '^ *+' conftest.er1 >conftest.err
106695 rm -f conftest.er1
106696 cat conftest.err >&5
106697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106698 (exit $ac_status); } &&
106699 { ac_try='test -z "$ac_c_werror_flag"
106700 || test ! -s conftest.err'
106701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106702 (eval $ac_try) 2>&5
106703 ac_status=$?
106704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106705 (exit $ac_status); }; } &&
106706 { ac_try='test -s conftest$ac_exeext'
106707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106708 (eval $ac_try) 2>&5
106709 ac_status=$?
106710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106711 (exit $ac_status); }; }; then
106712 glibcxx_cv_func___builtin_sin_link=yes
106714 echo "$as_me: failed program was:" >&5
106715 sed 's/^/| /' conftest.$ac_ext >&5
106717 glibcxx_cv_func___builtin_sin_link=no
106719 rm -f conftest.err conftest.$ac_objext \
106720 conftest$ac_exeext conftest.$ac_ext
106725 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
106726 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
106728 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
106730 cat >>confdefs.h <<\_ACEOF
106731 #define HAVE___BUILTIN_SIN 1
106732 _ACEOF
106739 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
106740 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
106741 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
106742 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
106743 echo $ECHO_N "(cached) $ECHO_C" >&6
106748 ac_ext=cc
106749 ac_cpp='$CXXCPP $CPPFLAGS'
106750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106754 cat >conftest.$ac_ext <<_ACEOF
106755 /* confdefs.h. */
106756 _ACEOF
106757 cat confdefs.h >>conftest.$ac_ext
106758 cat >>conftest.$ac_ext <<_ACEOF
106759 /* end confdefs.h. */
106760 #include <math.h>
106762 main ()
106764 __builtin_sinl(0);
106766 return 0;
106768 _ACEOF
106769 rm -f conftest.$ac_objext
106770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106771 (eval $ac_compile) 2>conftest.er1
106772 ac_status=$?
106773 grep -v '^ *+' conftest.er1 >conftest.err
106774 rm -f conftest.er1
106775 cat conftest.err >&5
106776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106777 (exit $ac_status); } &&
106778 { ac_try='test -z "$ac_cxx_werror_flag"
106779 || test ! -s conftest.err'
106780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106781 (eval $ac_try) 2>&5
106782 ac_status=$?
106783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106784 (exit $ac_status); }; } &&
106785 { ac_try='test -s conftest.$ac_objext'
106786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106787 (eval $ac_try) 2>&5
106788 ac_status=$?
106789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106790 (exit $ac_status); }; }; then
106791 glibcxx_cv_func___builtin_sinl_use=yes
106793 echo "$as_me: failed program was:" >&5
106794 sed 's/^/| /' conftest.$ac_ext >&5
106796 glibcxx_cv_func___builtin_sinl_use=no
106798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106799 ac_ext=c
106800 ac_cpp='$CPP $CPPFLAGS'
106801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106809 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
106810 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
106811 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
106812 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
106813 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
106814 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
106815 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
106816 echo $ECHO_N "(cached) $ECHO_C" >&6
106819 if test x$gcc_no_link = xyes; then
106820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106822 { (exit 1); exit 1; }; }
106824 cat >conftest.$ac_ext <<_ACEOF
106825 /* confdefs.h. */
106826 _ACEOF
106827 cat confdefs.h >>conftest.$ac_ext
106828 cat >>conftest.$ac_ext <<_ACEOF
106829 /* end confdefs.h. */
106830 #include <math.h>
106832 main ()
106834 __builtin_sinl(0);
106836 return 0;
106838 _ACEOF
106839 rm -f conftest.$ac_objext conftest$ac_exeext
106840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106841 (eval $ac_link) 2>conftest.er1
106842 ac_status=$?
106843 grep -v '^ *+' conftest.er1 >conftest.err
106844 rm -f conftest.er1
106845 cat conftest.err >&5
106846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106847 (exit $ac_status); } &&
106848 { ac_try='test -z "$ac_c_werror_flag"
106849 || test ! -s conftest.err'
106850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106851 (eval $ac_try) 2>&5
106852 ac_status=$?
106853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106854 (exit $ac_status); }; } &&
106855 { ac_try='test -s conftest$ac_exeext'
106856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106857 (eval $ac_try) 2>&5
106858 ac_status=$?
106859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106860 (exit $ac_status); }; }; then
106861 glibcxx_cv_func___builtin_sinl_link=yes
106863 echo "$as_me: failed program was:" >&5
106864 sed 's/^/| /' conftest.$ac_ext >&5
106866 glibcxx_cv_func___builtin_sinl_link=no
106868 rm -f conftest.err conftest.$ac_objext \
106869 conftest$ac_exeext conftest.$ac_ext
106874 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
106875 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
106877 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
106879 cat >>confdefs.h <<\_ACEOF
106880 #define HAVE___BUILTIN_SINL 1
106881 _ACEOF
106889 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
106890 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
106891 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
106892 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
106893 echo $ECHO_N "(cached) $ECHO_C" >&6
106898 ac_ext=cc
106899 ac_cpp='$CXXCPP $CPPFLAGS'
106900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106904 cat >conftest.$ac_ext <<_ACEOF
106905 /* confdefs.h. */
106906 _ACEOF
106907 cat confdefs.h >>conftest.$ac_ext
106908 cat >>conftest.$ac_ext <<_ACEOF
106909 /* end confdefs.h. */
106910 #include <math.h>
106912 main ()
106914 __builtin_cosf(0);
106916 return 0;
106918 _ACEOF
106919 rm -f conftest.$ac_objext
106920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106921 (eval $ac_compile) 2>conftest.er1
106922 ac_status=$?
106923 grep -v '^ *+' conftest.er1 >conftest.err
106924 rm -f conftest.er1
106925 cat conftest.err >&5
106926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106927 (exit $ac_status); } &&
106928 { ac_try='test -z "$ac_cxx_werror_flag"
106929 || test ! -s conftest.err'
106930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106931 (eval $ac_try) 2>&5
106932 ac_status=$?
106933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106934 (exit $ac_status); }; } &&
106935 { ac_try='test -s conftest.$ac_objext'
106936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106937 (eval $ac_try) 2>&5
106938 ac_status=$?
106939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106940 (exit $ac_status); }; }; then
106941 glibcxx_cv_func___builtin_cosf_use=yes
106943 echo "$as_me: failed program was:" >&5
106944 sed 's/^/| /' conftest.$ac_ext >&5
106946 glibcxx_cv_func___builtin_cosf_use=no
106948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106949 ac_ext=c
106950 ac_cpp='$CPP $CPPFLAGS'
106951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106959 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
106960 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
106961 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
106962 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
106963 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
106964 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
106965 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
106966 echo $ECHO_N "(cached) $ECHO_C" >&6
106969 if test x$gcc_no_link = xyes; then
106970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106972 { (exit 1); exit 1; }; }
106974 cat >conftest.$ac_ext <<_ACEOF
106975 /* confdefs.h. */
106976 _ACEOF
106977 cat confdefs.h >>conftest.$ac_ext
106978 cat >>conftest.$ac_ext <<_ACEOF
106979 /* end confdefs.h. */
106980 #include <math.h>
106982 main ()
106984 __builtin_cosf(0);
106986 return 0;
106988 _ACEOF
106989 rm -f conftest.$ac_objext conftest$ac_exeext
106990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106991 (eval $ac_link) 2>conftest.er1
106992 ac_status=$?
106993 grep -v '^ *+' conftest.er1 >conftest.err
106994 rm -f conftest.er1
106995 cat conftest.err >&5
106996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106997 (exit $ac_status); } &&
106998 { ac_try='test -z "$ac_c_werror_flag"
106999 || test ! -s conftest.err'
107000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107001 (eval $ac_try) 2>&5
107002 ac_status=$?
107003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107004 (exit $ac_status); }; } &&
107005 { ac_try='test -s conftest$ac_exeext'
107006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107007 (eval $ac_try) 2>&5
107008 ac_status=$?
107009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107010 (exit $ac_status); }; }; then
107011 glibcxx_cv_func___builtin_cosf_link=yes
107013 echo "$as_me: failed program was:" >&5
107014 sed 's/^/| /' conftest.$ac_ext >&5
107016 glibcxx_cv_func___builtin_cosf_link=no
107018 rm -f conftest.err conftest.$ac_objext \
107019 conftest$ac_exeext conftest.$ac_ext
107024 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
107025 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
107027 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
107029 cat >>confdefs.h <<\_ACEOF
107030 #define HAVE___BUILTIN_COSF 1
107031 _ACEOF
107038 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
107039 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
107040 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
107041 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
107042 echo $ECHO_N "(cached) $ECHO_C" >&6
107047 ac_ext=cc
107048 ac_cpp='$CXXCPP $CPPFLAGS'
107049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107053 cat >conftest.$ac_ext <<_ACEOF
107054 /* confdefs.h. */
107055 _ACEOF
107056 cat confdefs.h >>conftest.$ac_ext
107057 cat >>conftest.$ac_ext <<_ACEOF
107058 /* end confdefs.h. */
107059 #include <math.h>
107061 main ()
107063 __builtin_cos(0);
107065 return 0;
107067 _ACEOF
107068 rm -f conftest.$ac_objext
107069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107070 (eval $ac_compile) 2>conftest.er1
107071 ac_status=$?
107072 grep -v '^ *+' conftest.er1 >conftest.err
107073 rm -f conftest.er1
107074 cat conftest.err >&5
107075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107076 (exit $ac_status); } &&
107077 { ac_try='test -z "$ac_cxx_werror_flag"
107078 || test ! -s conftest.err'
107079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107080 (eval $ac_try) 2>&5
107081 ac_status=$?
107082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107083 (exit $ac_status); }; } &&
107084 { ac_try='test -s conftest.$ac_objext'
107085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107086 (eval $ac_try) 2>&5
107087 ac_status=$?
107088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107089 (exit $ac_status); }; }; then
107090 glibcxx_cv_func___builtin_cos_use=yes
107092 echo "$as_me: failed program was:" >&5
107093 sed 's/^/| /' conftest.$ac_ext >&5
107095 glibcxx_cv_func___builtin_cos_use=no
107097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107098 ac_ext=c
107099 ac_cpp='$CPP $CPPFLAGS'
107100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107108 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
107109 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
107110 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
107111 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
107112 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
107113 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
107114 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
107115 echo $ECHO_N "(cached) $ECHO_C" >&6
107118 if test x$gcc_no_link = xyes; then
107119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107121 { (exit 1); exit 1; }; }
107123 cat >conftest.$ac_ext <<_ACEOF
107124 /* confdefs.h. */
107125 _ACEOF
107126 cat confdefs.h >>conftest.$ac_ext
107127 cat >>conftest.$ac_ext <<_ACEOF
107128 /* end confdefs.h. */
107129 #include <math.h>
107131 main ()
107133 __builtin_cos(0);
107135 return 0;
107137 _ACEOF
107138 rm -f conftest.$ac_objext conftest$ac_exeext
107139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107140 (eval $ac_link) 2>conftest.er1
107141 ac_status=$?
107142 grep -v '^ *+' conftest.er1 >conftest.err
107143 rm -f conftest.er1
107144 cat conftest.err >&5
107145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107146 (exit $ac_status); } &&
107147 { ac_try='test -z "$ac_c_werror_flag"
107148 || test ! -s conftest.err'
107149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107150 (eval $ac_try) 2>&5
107151 ac_status=$?
107152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107153 (exit $ac_status); }; } &&
107154 { ac_try='test -s conftest$ac_exeext'
107155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107156 (eval $ac_try) 2>&5
107157 ac_status=$?
107158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107159 (exit $ac_status); }; }; then
107160 glibcxx_cv_func___builtin_cos_link=yes
107162 echo "$as_me: failed program was:" >&5
107163 sed 's/^/| /' conftest.$ac_ext >&5
107165 glibcxx_cv_func___builtin_cos_link=no
107167 rm -f conftest.err conftest.$ac_objext \
107168 conftest$ac_exeext conftest.$ac_ext
107173 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
107174 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
107176 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
107178 cat >>confdefs.h <<\_ACEOF
107179 #define HAVE___BUILTIN_COS 1
107180 _ACEOF
107187 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
107188 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
107189 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
107190 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
107191 echo $ECHO_N "(cached) $ECHO_C" >&6
107196 ac_ext=cc
107197 ac_cpp='$CXXCPP $CPPFLAGS'
107198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107202 cat >conftest.$ac_ext <<_ACEOF
107203 /* confdefs.h. */
107204 _ACEOF
107205 cat confdefs.h >>conftest.$ac_ext
107206 cat >>conftest.$ac_ext <<_ACEOF
107207 /* end confdefs.h. */
107208 #include <math.h>
107210 main ()
107212 __builtin_cosl(0);
107214 return 0;
107216 _ACEOF
107217 rm -f conftest.$ac_objext
107218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107219 (eval $ac_compile) 2>conftest.er1
107220 ac_status=$?
107221 grep -v '^ *+' conftest.er1 >conftest.err
107222 rm -f conftest.er1
107223 cat conftest.err >&5
107224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107225 (exit $ac_status); } &&
107226 { ac_try='test -z "$ac_cxx_werror_flag"
107227 || test ! -s conftest.err'
107228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107229 (eval $ac_try) 2>&5
107230 ac_status=$?
107231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107232 (exit $ac_status); }; } &&
107233 { ac_try='test -s conftest.$ac_objext'
107234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107235 (eval $ac_try) 2>&5
107236 ac_status=$?
107237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107238 (exit $ac_status); }; }; then
107239 glibcxx_cv_func___builtin_cosl_use=yes
107241 echo "$as_me: failed program was:" >&5
107242 sed 's/^/| /' conftest.$ac_ext >&5
107244 glibcxx_cv_func___builtin_cosl_use=no
107246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107247 ac_ext=c
107248 ac_cpp='$CPP $CPPFLAGS'
107249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107257 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
107258 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
107259 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
107260 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
107261 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
107262 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
107263 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
107264 echo $ECHO_N "(cached) $ECHO_C" >&6
107267 if test x$gcc_no_link = xyes; then
107268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107270 { (exit 1); exit 1; }; }
107272 cat >conftest.$ac_ext <<_ACEOF
107273 /* confdefs.h. */
107274 _ACEOF
107275 cat confdefs.h >>conftest.$ac_ext
107276 cat >>conftest.$ac_ext <<_ACEOF
107277 /* end confdefs.h. */
107278 #include <math.h>
107280 main ()
107282 __builtin_cosl(0);
107284 return 0;
107286 _ACEOF
107287 rm -f conftest.$ac_objext conftest$ac_exeext
107288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107289 (eval $ac_link) 2>conftest.er1
107290 ac_status=$?
107291 grep -v '^ *+' conftest.er1 >conftest.err
107292 rm -f conftest.er1
107293 cat conftest.err >&5
107294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107295 (exit $ac_status); } &&
107296 { ac_try='test -z "$ac_c_werror_flag"
107297 || test ! -s conftest.err'
107298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107299 (eval $ac_try) 2>&5
107300 ac_status=$?
107301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107302 (exit $ac_status); }; } &&
107303 { ac_try='test -s conftest$ac_exeext'
107304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107305 (eval $ac_try) 2>&5
107306 ac_status=$?
107307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107308 (exit $ac_status); }; }; then
107309 glibcxx_cv_func___builtin_cosl_link=yes
107311 echo "$as_me: failed program was:" >&5
107312 sed 's/^/| /' conftest.$ac_ext >&5
107314 glibcxx_cv_func___builtin_cosl_link=no
107316 rm -f conftest.err conftest.$ac_objext \
107317 conftest$ac_exeext conftest.$ac_ext
107322 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
107323 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
107325 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
107327 cat >>confdefs.h <<\_ACEOF
107328 #define HAVE___BUILTIN_COSL 1
107329 _ACEOF
107338 echo "$as_me:$LINENO: checking for main in -lm" >&5
107339 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
107340 if test "${ac_cv_lib_m_main+set}" = set; then
107341 echo $ECHO_N "(cached) $ECHO_C" >&6
107343 ac_check_lib_save_LIBS=$LIBS
107344 LIBS="-lm $LIBS"
107345 if test x$gcc_no_link = xyes; then
107346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107348 { (exit 1); exit 1; }; }
107350 cat >conftest.$ac_ext <<_ACEOF
107351 /* confdefs.h. */
107352 _ACEOF
107353 cat confdefs.h >>conftest.$ac_ext
107354 cat >>conftest.$ac_ext <<_ACEOF
107355 /* end confdefs.h. */
107359 main ()
107361 main ();
107363 return 0;
107365 _ACEOF
107366 rm -f conftest.$ac_objext conftest$ac_exeext
107367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107368 (eval $ac_link) 2>conftest.er1
107369 ac_status=$?
107370 grep -v '^ *+' conftest.er1 >conftest.err
107371 rm -f conftest.er1
107372 cat conftest.err >&5
107373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107374 (exit $ac_status); } &&
107375 { ac_try='test -z "$ac_c_werror_flag"
107376 || test ! -s conftest.err'
107377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107378 (eval $ac_try) 2>&5
107379 ac_status=$?
107380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107381 (exit $ac_status); }; } &&
107382 { ac_try='test -s conftest$ac_exeext'
107383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107384 (eval $ac_try) 2>&5
107385 ac_status=$?
107386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107387 (exit $ac_status); }; }; then
107388 ac_cv_lib_m_main=yes
107390 echo "$as_me: failed program was:" >&5
107391 sed 's/^/| /' conftest.$ac_ext >&5
107393 ac_cv_lib_m_main=no
107395 rm -f conftest.err conftest.$ac_objext \
107396 conftest$ac_exeext conftest.$ac_ext
107397 LIBS=$ac_check_lib_save_LIBS
107399 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
107400 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
107401 if test $ac_cv_lib_m_main = yes; then
107402 cat >>confdefs.h <<_ACEOF
107403 #define HAVE_LIBM 1
107404 _ACEOF
107406 LIBS="-lm $LIBS"
107411 for ac_func in copysignf
107413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107414 echo "$as_me:$LINENO: checking for $ac_func" >&5
107415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107416 if eval "test \"\${$as_ac_var+set}\" = set"; then
107417 echo $ECHO_N "(cached) $ECHO_C" >&6
107419 if test x$gcc_no_link = xyes; then
107420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107422 { (exit 1); exit 1; }; }
107424 cat >conftest.$ac_ext <<_ACEOF
107425 /* confdefs.h. */
107426 _ACEOF
107427 cat confdefs.h >>conftest.$ac_ext
107428 cat >>conftest.$ac_ext <<_ACEOF
107429 /* end confdefs.h. */
107430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107432 #define $ac_func innocuous_$ac_func
107434 /* System header to define __stub macros and hopefully few prototypes,
107435 which can conflict with char $ac_func (); below.
107436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107437 <limits.h> exists even on freestanding compilers. */
107439 #ifdef __STDC__
107440 # include <limits.h>
107441 #else
107442 # include <assert.h>
107443 #endif
107445 #undef $ac_func
107447 /* Override any gcc2 internal prototype to avoid an error. */
107448 #ifdef __cplusplus
107449 extern "C"
107451 #endif
107452 /* We use char because int might match the return type of a gcc2
107453 builtin and then its argument prototype would still apply. */
107454 char $ac_func ();
107455 /* The GNU C library defines this for functions which it implements
107456 to always fail with ENOSYS. Some functions are actually named
107457 something starting with __ and the normal name is an alias. */
107458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107459 choke me
107460 #else
107461 char (*f) () = $ac_func;
107462 #endif
107463 #ifdef __cplusplus
107465 #endif
107468 main ()
107470 return f != $ac_func;
107472 return 0;
107474 _ACEOF
107475 rm -f conftest.$ac_objext conftest$ac_exeext
107476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107477 (eval $ac_link) 2>conftest.er1
107478 ac_status=$?
107479 grep -v '^ *+' conftest.er1 >conftest.err
107480 rm -f conftest.er1
107481 cat conftest.err >&5
107482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107483 (exit $ac_status); } &&
107484 { ac_try='test -z "$ac_c_werror_flag"
107485 || test ! -s conftest.err'
107486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107487 (eval $ac_try) 2>&5
107488 ac_status=$?
107489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107490 (exit $ac_status); }; } &&
107491 { ac_try='test -s conftest$ac_exeext'
107492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107493 (eval $ac_try) 2>&5
107494 ac_status=$?
107495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107496 (exit $ac_status); }; }; then
107497 eval "$as_ac_var=yes"
107499 echo "$as_me: failed program was:" >&5
107500 sed 's/^/| /' conftest.$ac_ext >&5
107502 eval "$as_ac_var=no"
107504 rm -f conftest.err conftest.$ac_objext \
107505 conftest$ac_exeext conftest.$ac_ext
107507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107509 if test `eval echo '${'$as_ac_var'}'` = yes; then
107510 cat >>confdefs.h <<_ACEOF
107511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107512 _ACEOF
107515 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
107521 for ac_func in __signbit
107523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107524 echo "$as_me:$LINENO: checking for $ac_func" >&5
107525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107526 if eval "test \"\${$as_ac_var+set}\" = set"; then
107527 echo $ECHO_N "(cached) $ECHO_C" >&6
107529 if test x$gcc_no_link = xyes; then
107530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107532 { (exit 1); exit 1; }; }
107534 cat >conftest.$ac_ext <<_ACEOF
107535 /* confdefs.h. */
107536 _ACEOF
107537 cat confdefs.h >>conftest.$ac_ext
107538 cat >>conftest.$ac_ext <<_ACEOF
107539 /* end confdefs.h. */
107540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107542 #define $ac_func innocuous_$ac_func
107544 /* System header to define __stub macros and hopefully few prototypes,
107545 which can conflict with char $ac_func (); below.
107546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107547 <limits.h> exists even on freestanding compilers. */
107549 #ifdef __STDC__
107550 # include <limits.h>
107551 #else
107552 # include <assert.h>
107553 #endif
107555 #undef $ac_func
107557 /* Override any gcc2 internal prototype to avoid an error. */
107558 #ifdef __cplusplus
107559 extern "C"
107561 #endif
107562 /* We use char because int might match the return type of a gcc2
107563 builtin and then its argument prototype would still apply. */
107564 char $ac_func ();
107565 /* The GNU C library defines this for functions which it implements
107566 to always fail with ENOSYS. Some functions are actually named
107567 something starting with __ and the normal name is an alias. */
107568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107569 choke me
107570 #else
107571 char (*f) () = $ac_func;
107572 #endif
107573 #ifdef __cplusplus
107575 #endif
107578 main ()
107580 return f != $ac_func;
107582 return 0;
107584 _ACEOF
107585 rm -f conftest.$ac_objext conftest$ac_exeext
107586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107587 (eval $ac_link) 2>conftest.er1
107588 ac_status=$?
107589 grep -v '^ *+' conftest.er1 >conftest.err
107590 rm -f conftest.er1
107591 cat conftest.err >&5
107592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107593 (exit $ac_status); } &&
107594 { ac_try='test -z "$ac_c_werror_flag"
107595 || test ! -s conftest.err'
107596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107597 (eval $ac_try) 2>&5
107598 ac_status=$?
107599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107600 (exit $ac_status); }; } &&
107601 { ac_try='test -s conftest$ac_exeext'
107602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107603 (eval $ac_try) 2>&5
107604 ac_status=$?
107605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107606 (exit $ac_status); }; }; then
107607 eval "$as_ac_var=yes"
107609 echo "$as_me: failed program was:" >&5
107610 sed 's/^/| /' conftest.$ac_ext >&5
107612 eval "$as_ac_var=no"
107614 rm -f conftest.err conftest.$ac_objext \
107615 conftest$ac_exeext conftest.$ac_ext
107617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107619 if test `eval echo '${'$as_ac_var'}'` = yes; then
107620 cat >>confdefs.h <<_ACEOF
107621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107622 _ACEOF
107625 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
107631 for ac_func in __signbitf
107633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107634 echo "$as_me:$LINENO: checking for $ac_func" >&5
107635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107636 if eval "test \"\${$as_ac_var+set}\" = set"; then
107637 echo $ECHO_N "(cached) $ECHO_C" >&6
107639 if test x$gcc_no_link = xyes; then
107640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107642 { (exit 1); exit 1; }; }
107644 cat >conftest.$ac_ext <<_ACEOF
107645 /* confdefs.h. */
107646 _ACEOF
107647 cat confdefs.h >>conftest.$ac_ext
107648 cat >>conftest.$ac_ext <<_ACEOF
107649 /* end confdefs.h. */
107650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107652 #define $ac_func innocuous_$ac_func
107654 /* System header to define __stub macros and hopefully few prototypes,
107655 which can conflict with char $ac_func (); below.
107656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107657 <limits.h> exists even on freestanding compilers. */
107659 #ifdef __STDC__
107660 # include <limits.h>
107661 #else
107662 # include <assert.h>
107663 #endif
107665 #undef $ac_func
107667 /* Override any gcc2 internal prototype to avoid an error. */
107668 #ifdef __cplusplus
107669 extern "C"
107671 #endif
107672 /* We use char because int might match the return type of a gcc2
107673 builtin and then its argument prototype would still apply. */
107674 char $ac_func ();
107675 /* The GNU C library defines this for functions which it implements
107676 to always fail with ENOSYS. Some functions are actually named
107677 something starting with __ and the normal name is an alias. */
107678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107679 choke me
107680 #else
107681 char (*f) () = $ac_func;
107682 #endif
107683 #ifdef __cplusplus
107685 #endif
107688 main ()
107690 return f != $ac_func;
107692 return 0;
107694 _ACEOF
107695 rm -f conftest.$ac_objext conftest$ac_exeext
107696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107697 (eval $ac_link) 2>conftest.er1
107698 ac_status=$?
107699 grep -v '^ *+' conftest.er1 >conftest.err
107700 rm -f conftest.er1
107701 cat conftest.err >&5
107702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107703 (exit $ac_status); } &&
107704 { ac_try='test -z "$ac_c_werror_flag"
107705 || test ! -s conftest.err'
107706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107707 (eval $ac_try) 2>&5
107708 ac_status=$?
107709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107710 (exit $ac_status); }; } &&
107711 { ac_try='test -s conftest$ac_exeext'
107712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107713 (eval $ac_try) 2>&5
107714 ac_status=$?
107715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107716 (exit $ac_status); }; }; then
107717 eval "$as_ac_var=yes"
107719 echo "$as_me: failed program was:" >&5
107720 sed 's/^/| /' conftest.$ac_ext >&5
107722 eval "$as_ac_var=no"
107724 rm -f conftest.err conftest.$ac_objext \
107725 conftest$ac_exeext conftest.$ac_ext
107727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107729 if test `eval echo '${'$as_ac_var'}'` = yes; then
107730 cat >>confdefs.h <<_ACEOF
107731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107732 _ACEOF
107735 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
107740 if test x$ac_cv_func_copysignl = x"yes"; then
107742 for ac_func in __signbitl
107744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107745 echo "$as_me:$LINENO: checking for $ac_func" >&5
107746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107747 if eval "test \"\${$as_ac_var+set}\" = set"; then
107748 echo $ECHO_N "(cached) $ECHO_C" >&6
107750 if test x$gcc_no_link = xyes; then
107751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107753 { (exit 1); exit 1; }; }
107755 cat >conftest.$ac_ext <<_ACEOF
107756 /* confdefs.h. */
107757 _ACEOF
107758 cat confdefs.h >>conftest.$ac_ext
107759 cat >>conftest.$ac_ext <<_ACEOF
107760 /* end confdefs.h. */
107761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107763 #define $ac_func innocuous_$ac_func
107765 /* System header to define __stub macros and hopefully few prototypes,
107766 which can conflict with char $ac_func (); below.
107767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107768 <limits.h> exists even on freestanding compilers. */
107770 #ifdef __STDC__
107771 # include <limits.h>
107772 #else
107773 # include <assert.h>
107774 #endif
107776 #undef $ac_func
107778 /* Override any gcc2 internal prototype to avoid an error. */
107779 #ifdef __cplusplus
107780 extern "C"
107782 #endif
107783 /* We use char because int might match the return type of a gcc2
107784 builtin and then its argument prototype would still apply. */
107785 char $ac_func ();
107786 /* The GNU C library defines this for functions which it implements
107787 to always fail with ENOSYS. Some functions are actually named
107788 something starting with __ and the normal name is an alias. */
107789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107790 choke me
107791 #else
107792 char (*f) () = $ac_func;
107793 #endif
107794 #ifdef __cplusplus
107796 #endif
107799 main ()
107801 return f != $ac_func;
107803 return 0;
107805 _ACEOF
107806 rm -f conftest.$ac_objext conftest$ac_exeext
107807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107808 (eval $ac_link) 2>conftest.er1
107809 ac_status=$?
107810 grep -v '^ *+' conftest.er1 >conftest.err
107811 rm -f conftest.er1
107812 cat conftest.err >&5
107813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107814 (exit $ac_status); } &&
107815 { ac_try='test -z "$ac_c_werror_flag"
107816 || test ! -s conftest.err'
107817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107818 (eval $ac_try) 2>&5
107819 ac_status=$?
107820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107821 (exit $ac_status); }; } &&
107822 { ac_try='test -s conftest$ac_exeext'
107823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107824 (eval $ac_try) 2>&5
107825 ac_status=$?
107826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107827 (exit $ac_status); }; }; then
107828 eval "$as_ac_var=yes"
107830 echo "$as_me: failed program was:" >&5
107831 sed 's/^/| /' conftest.$ac_ext >&5
107833 eval "$as_ac_var=no"
107835 rm -f conftest.err conftest.$ac_objext \
107836 conftest$ac_exeext conftest.$ac_ext
107838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107840 if test `eval echo '${'$as_ac_var'}'` = yes; then
107841 cat >>confdefs.h <<_ACEOF
107842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107843 _ACEOF
107846 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
107852 # Used in libmath/Makefile.am.
107853 if test -n "$LIBMATHOBJS"; then
107854 need_libmath=yes
107859 ac_test_CXXFLAGS="${CXXFLAGS+set}"
107860 ac_save_CXXFLAGS="$CXXFLAGS"
107861 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
107864 echo "$as_me:$LINENO: checking for strtold declaration" >&5
107865 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
107866 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
107867 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
107868 echo $ECHO_N "(cached) $ECHO_C" >&6
107873 ac_ext=cc
107874 ac_cpp='$CXXCPP $CPPFLAGS'
107875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107879 cat >conftest.$ac_ext <<_ACEOF
107880 /* confdefs.h. */
107881 _ACEOF
107882 cat confdefs.h >>conftest.$ac_ext
107883 cat >>conftest.$ac_ext <<_ACEOF
107884 /* end confdefs.h. */
107885 #include <stdlib.h>
107887 main ()
107889 strtold(0, 0);
107891 return 0;
107893 _ACEOF
107894 rm -f conftest.$ac_objext
107895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107896 (eval $ac_compile) 2>conftest.er1
107897 ac_status=$?
107898 grep -v '^ *+' conftest.er1 >conftest.err
107899 rm -f conftest.er1
107900 cat conftest.err >&5
107901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107902 (exit $ac_status); } &&
107903 { ac_try='test -z "$ac_cxx_werror_flag"
107904 || test ! -s conftest.err'
107905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107906 (eval $ac_try) 2>&5
107907 ac_status=$?
107908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107909 (exit $ac_status); }; } &&
107910 { ac_try='test -s conftest.$ac_objext'
107911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107912 (eval $ac_try) 2>&5
107913 ac_status=$?
107914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107915 (exit $ac_status); }; }; then
107916 glibcxx_cv_func_strtold_use=yes
107918 echo "$as_me: failed program was:" >&5
107919 sed 's/^/| /' conftest.$ac_ext >&5
107921 glibcxx_cv_func_strtold_use=no
107923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107924 ac_ext=c
107925 ac_cpp='$CPP $CPPFLAGS'
107926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107934 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
107935 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
107936 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
107938 for ac_func in strtold
107940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107941 echo "$as_me:$LINENO: checking for $ac_func" >&5
107942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107943 if eval "test \"\${$as_ac_var+set}\" = set"; then
107944 echo $ECHO_N "(cached) $ECHO_C" >&6
107946 if test x$gcc_no_link = xyes; then
107947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107949 { (exit 1); exit 1; }; }
107951 cat >conftest.$ac_ext <<_ACEOF
107952 /* confdefs.h. */
107953 _ACEOF
107954 cat confdefs.h >>conftest.$ac_ext
107955 cat >>conftest.$ac_ext <<_ACEOF
107956 /* end confdefs.h. */
107957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107959 #define $ac_func innocuous_$ac_func
107961 /* System header to define __stub macros and hopefully few prototypes,
107962 which can conflict with char $ac_func (); below.
107963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107964 <limits.h> exists even on freestanding compilers. */
107966 #ifdef __STDC__
107967 # include <limits.h>
107968 #else
107969 # include <assert.h>
107970 #endif
107972 #undef $ac_func
107974 /* Override any gcc2 internal prototype to avoid an error. */
107975 #ifdef __cplusplus
107976 extern "C"
107978 #endif
107979 /* We use char because int might match the return type of a gcc2
107980 builtin and then its argument prototype would still apply. */
107981 char $ac_func ();
107982 /* The GNU C library defines this for functions which it implements
107983 to always fail with ENOSYS. Some functions are actually named
107984 something starting with __ and the normal name is an alias. */
107985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107986 choke me
107987 #else
107988 char (*f) () = $ac_func;
107989 #endif
107990 #ifdef __cplusplus
107992 #endif
107995 main ()
107997 return f != $ac_func;
107999 return 0;
108001 _ACEOF
108002 rm -f conftest.$ac_objext conftest$ac_exeext
108003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108004 (eval $ac_link) 2>conftest.er1
108005 ac_status=$?
108006 grep -v '^ *+' conftest.er1 >conftest.err
108007 rm -f conftest.er1
108008 cat conftest.err >&5
108009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108010 (exit $ac_status); } &&
108011 { ac_try='test -z "$ac_c_werror_flag"
108012 || test ! -s conftest.err'
108013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108014 (eval $ac_try) 2>&5
108015 ac_status=$?
108016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108017 (exit $ac_status); }; } &&
108018 { ac_try='test -s conftest$ac_exeext'
108019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108020 (eval $ac_try) 2>&5
108021 ac_status=$?
108022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108023 (exit $ac_status); }; }; then
108024 eval "$as_ac_var=yes"
108026 echo "$as_me: failed program was:" >&5
108027 sed 's/^/| /' conftest.$ac_ext >&5
108029 eval "$as_ac_var=no"
108031 rm -f conftest.err conftest.$ac_objext \
108032 conftest$ac_exeext conftest.$ac_ext
108034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108036 if test `eval echo '${'$as_ac_var'}'` = yes; then
108037 cat >>confdefs.h <<_ACEOF
108038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108039 _ACEOF
108050 echo "$as_me:$LINENO: checking for strtof declaration" >&5
108051 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
108052 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
108053 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
108054 echo $ECHO_N "(cached) $ECHO_C" >&6
108059 ac_ext=cc
108060 ac_cpp='$CXXCPP $CPPFLAGS'
108061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108065 cat >conftest.$ac_ext <<_ACEOF
108066 /* confdefs.h. */
108067 _ACEOF
108068 cat confdefs.h >>conftest.$ac_ext
108069 cat >>conftest.$ac_ext <<_ACEOF
108070 /* end confdefs.h. */
108071 #include <stdlib.h>
108073 main ()
108075 strtof(0, 0);
108077 return 0;
108079 _ACEOF
108080 rm -f conftest.$ac_objext
108081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108082 (eval $ac_compile) 2>conftest.er1
108083 ac_status=$?
108084 grep -v '^ *+' conftest.er1 >conftest.err
108085 rm -f conftest.er1
108086 cat conftest.err >&5
108087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108088 (exit $ac_status); } &&
108089 { ac_try='test -z "$ac_cxx_werror_flag"
108090 || test ! -s conftest.err'
108091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108092 (eval $ac_try) 2>&5
108093 ac_status=$?
108094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108095 (exit $ac_status); }; } &&
108096 { ac_try='test -s conftest.$ac_objext'
108097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108098 (eval $ac_try) 2>&5
108099 ac_status=$?
108100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108101 (exit $ac_status); }; }; then
108102 glibcxx_cv_func_strtof_use=yes
108104 echo "$as_me: failed program was:" >&5
108105 sed 's/^/| /' conftest.$ac_ext >&5
108107 glibcxx_cv_func_strtof_use=no
108109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108110 ac_ext=c
108111 ac_cpp='$CPP $CPPFLAGS'
108112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108120 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
108121 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
108122 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
108124 for ac_func in strtof
108126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108127 echo "$as_me:$LINENO: checking for $ac_func" >&5
108128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108129 if eval "test \"\${$as_ac_var+set}\" = set"; then
108130 echo $ECHO_N "(cached) $ECHO_C" >&6
108132 if test x$gcc_no_link = xyes; then
108133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108135 { (exit 1); exit 1; }; }
108137 cat >conftest.$ac_ext <<_ACEOF
108138 /* confdefs.h. */
108139 _ACEOF
108140 cat confdefs.h >>conftest.$ac_ext
108141 cat >>conftest.$ac_ext <<_ACEOF
108142 /* end confdefs.h. */
108143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108145 #define $ac_func innocuous_$ac_func
108147 /* System header to define __stub macros and hopefully few prototypes,
108148 which can conflict with char $ac_func (); below.
108149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108150 <limits.h> exists even on freestanding compilers. */
108152 #ifdef __STDC__
108153 # include <limits.h>
108154 #else
108155 # include <assert.h>
108156 #endif
108158 #undef $ac_func
108160 /* Override any gcc2 internal prototype to avoid an error. */
108161 #ifdef __cplusplus
108162 extern "C"
108164 #endif
108165 /* We use char because int might match the return type of a gcc2
108166 builtin and then its argument prototype would still apply. */
108167 char $ac_func ();
108168 /* The GNU C library defines this for functions which it implements
108169 to always fail with ENOSYS. Some functions are actually named
108170 something starting with __ and the normal name is an alias. */
108171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108172 choke me
108173 #else
108174 char (*f) () = $ac_func;
108175 #endif
108176 #ifdef __cplusplus
108178 #endif
108181 main ()
108183 return f != $ac_func;
108185 return 0;
108187 _ACEOF
108188 rm -f conftest.$ac_objext conftest$ac_exeext
108189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108190 (eval $ac_link) 2>conftest.er1
108191 ac_status=$?
108192 grep -v '^ *+' conftest.er1 >conftest.err
108193 rm -f conftest.er1
108194 cat conftest.err >&5
108195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108196 (exit $ac_status); } &&
108197 { ac_try='test -z "$ac_c_werror_flag"
108198 || test ! -s conftest.err'
108199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108200 (eval $ac_try) 2>&5
108201 ac_status=$?
108202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108203 (exit $ac_status); }; } &&
108204 { ac_try='test -s conftest$ac_exeext'
108205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108206 (eval $ac_try) 2>&5
108207 ac_status=$?
108208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108209 (exit $ac_status); }; }; then
108210 eval "$as_ac_var=yes"
108212 echo "$as_me: failed program was:" >&5
108213 sed 's/^/| /' conftest.$ac_ext >&5
108215 eval "$as_ac_var=no"
108217 rm -f conftest.err conftest.$ac_objext \
108218 conftest$ac_exeext conftest.$ac_ext
108220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108222 if test `eval echo '${'$as_ac_var'}'` = yes; then
108223 cat >>confdefs.h <<_ACEOF
108224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108225 _ACEOF
108236 CXXFLAGS="$ac_save_CXXFLAGS"
108239 # For LFS.
108240 cat >>confdefs.h <<\_ACEOF
108241 #define HAVE_INT64_T 1
108242 _ACEOF
108247 ac_ext=cc
108248 ac_cpp='$CXXCPP $CPPFLAGS'
108249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108253 ac_save_CXXFLAGS="$CXXFLAGS"
108254 CXXFLAGS="$CXXFLAGS -fno-exceptions"
108255 echo "$as_me:$LINENO: checking for LFS support" >&5
108256 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
108257 if test "${glibcxx_cv_LFS+set}" = set; then
108258 echo $ECHO_N "(cached) $ECHO_C" >&6
108261 if test x$gcc_no_link = xyes; then
108262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108264 { (exit 1); exit 1; }; }
108266 cat >conftest.$ac_ext <<_ACEOF
108267 /* confdefs.h. */
108268 _ACEOF
108269 cat confdefs.h >>conftest.$ac_ext
108270 cat >>conftest.$ac_ext <<_ACEOF
108271 /* end confdefs.h. */
108272 #include <unistd.h>
108273 #include <stdio.h>
108274 #include <sys/stat.h>
108277 main ()
108279 FILE* fp;
108280 fopen64("t", "w");
108281 fseeko64(fp, 0, SEEK_CUR);
108282 ftello64(fp);
108283 lseek64(1, 0, SEEK_CUR);
108284 struct stat64 buf;
108285 fstat64(1, &buf);
108287 return 0;
108289 _ACEOF
108290 rm -f conftest.$ac_objext conftest$ac_exeext
108291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108292 (eval $ac_link) 2>conftest.er1
108293 ac_status=$?
108294 grep -v '^ *+' conftest.er1 >conftest.err
108295 rm -f conftest.er1
108296 cat conftest.err >&5
108297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108298 (exit $ac_status); } &&
108299 { ac_try='test -z "$ac_cxx_werror_flag"
108300 || test ! -s conftest.err'
108301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108302 (eval $ac_try) 2>&5
108303 ac_status=$?
108304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108305 (exit $ac_status); }; } &&
108306 { ac_try='test -s conftest$ac_exeext'
108307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108308 (eval $ac_try) 2>&5
108309 ac_status=$?
108310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108311 (exit $ac_status); }; }; then
108312 glibcxx_cv_LFS=yes
108314 echo "$as_me: failed program was:" >&5
108315 sed 's/^/| /' conftest.$ac_ext >&5
108317 glibcxx_cv_LFS=no
108319 rm -f conftest.err conftest.$ac_objext \
108320 conftest$ac_exeext conftest.$ac_ext
108324 if test $glibcxx_cv_LFS = yes; then
108326 cat >>confdefs.h <<\_ACEOF
108327 #define _GLIBCXX_USE_LFS 1
108328 _ACEOF
108331 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
108332 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
108333 CXXFLAGS="$ac_save_CXXFLAGS"
108334 ac_ext=c
108335 ac_cpp='$CPP $CPPFLAGS'
108336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108342 # For showmanyc_helper().
108345 for ac_header in sys/ioctl.h sys/filio.h
108347 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108348 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108349 echo "$as_me:$LINENO: checking for $ac_header" >&5
108350 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108352 echo $ECHO_N "(cached) $ECHO_C" >&6
108354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108355 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108357 # Is the header compilable?
108358 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108359 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108360 cat >conftest.$ac_ext <<_ACEOF
108361 /* confdefs.h. */
108362 _ACEOF
108363 cat confdefs.h >>conftest.$ac_ext
108364 cat >>conftest.$ac_ext <<_ACEOF
108365 /* end confdefs.h. */
108366 $ac_includes_default
108367 #include <$ac_header>
108368 _ACEOF
108369 rm -f conftest.$ac_objext
108370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108371 (eval $ac_compile) 2>conftest.er1
108372 ac_status=$?
108373 grep -v '^ *+' conftest.er1 >conftest.err
108374 rm -f conftest.er1
108375 cat conftest.err >&5
108376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108377 (exit $ac_status); } &&
108378 { ac_try='test -z "$ac_c_werror_flag"
108379 || test ! -s conftest.err'
108380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108381 (eval $ac_try) 2>&5
108382 ac_status=$?
108383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108384 (exit $ac_status); }; } &&
108385 { ac_try='test -s conftest.$ac_objext'
108386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108387 (eval $ac_try) 2>&5
108388 ac_status=$?
108389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108390 (exit $ac_status); }; }; then
108391 ac_header_compiler=yes
108393 echo "$as_me: failed program was:" >&5
108394 sed 's/^/| /' conftest.$ac_ext >&5
108396 ac_header_compiler=no
108398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108399 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108400 echo "${ECHO_T}$ac_header_compiler" >&6
108402 # Is the header present?
108403 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108404 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108405 cat >conftest.$ac_ext <<_ACEOF
108406 /* confdefs.h. */
108407 _ACEOF
108408 cat confdefs.h >>conftest.$ac_ext
108409 cat >>conftest.$ac_ext <<_ACEOF
108410 /* end confdefs.h. */
108411 #include <$ac_header>
108412 _ACEOF
108413 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108414 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108415 ac_status=$?
108416 grep -v '^ *+' conftest.er1 >conftest.err
108417 rm -f conftest.er1
108418 cat conftest.err >&5
108419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108420 (exit $ac_status); } >/dev/null; then
108421 if test -s conftest.err; then
108422 ac_cpp_err=$ac_c_preproc_warn_flag
108423 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108425 ac_cpp_err=
108428 ac_cpp_err=yes
108430 if test -z "$ac_cpp_err"; then
108431 ac_header_preproc=yes
108433 echo "$as_me: failed program was:" >&5
108434 sed 's/^/| /' conftest.$ac_ext >&5
108436 ac_header_preproc=no
108438 rm -f conftest.err conftest.$ac_ext
108439 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108440 echo "${ECHO_T}$ac_header_preproc" >&6
108442 # So? What about this header?
108443 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108444 yes:no: )
108445 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108446 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108447 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108448 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108449 ac_header_preproc=yes
108451 no:yes:* )
108452 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108453 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108454 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108455 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108456 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108457 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108458 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108459 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108460 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108461 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108462 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108463 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108465 cat <<\_ASBOX
108466 ## ----------------------------------------- ##
108467 ## Report this to the package-unused lists. ##
108468 ## ----------------------------------------- ##
108469 _ASBOX
108471 sed "s/^/$as_me: WARNING: /" >&2
108474 echo "$as_me:$LINENO: checking for $ac_header" >&5
108475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108477 echo $ECHO_N "(cached) $ECHO_C" >&6
108479 eval "$as_ac_Header=\$ac_header_preproc"
108481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108482 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108485 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108486 cat >>confdefs.h <<_ACEOF
108487 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108488 _ACEOF
108495 echo "$as_me:$LINENO: checking for poll" >&5
108496 echo $ECHO_N "checking for poll... $ECHO_C" >&6
108497 if test "${glibcxx_cv_POLL+set}" = set; then
108498 echo $ECHO_N "(cached) $ECHO_C" >&6
108501 if test x$gcc_no_link = xyes; then
108502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108504 { (exit 1); exit 1; }; }
108506 cat >conftest.$ac_ext <<_ACEOF
108507 /* confdefs.h. */
108508 _ACEOF
108509 cat confdefs.h >>conftest.$ac_ext
108510 cat >>conftest.$ac_ext <<_ACEOF
108511 /* end confdefs.h. */
108512 #include <poll.h>
108514 main ()
108516 struct pollfd pfd[1];
108517 pfd[0].events = POLLIN;
108518 poll(pfd, 1, 0);
108520 return 0;
108522 _ACEOF
108523 rm -f conftest.$ac_objext conftest$ac_exeext
108524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108525 (eval $ac_link) 2>conftest.er1
108526 ac_status=$?
108527 grep -v '^ *+' conftest.er1 >conftest.err
108528 rm -f conftest.er1
108529 cat conftest.err >&5
108530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108531 (exit $ac_status); } &&
108532 { ac_try='test -z "$ac_c_werror_flag"
108533 || test ! -s conftest.err'
108534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108535 (eval $ac_try) 2>&5
108536 ac_status=$?
108537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108538 (exit $ac_status); }; } &&
108539 { ac_try='test -s conftest$ac_exeext'
108540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108541 (eval $ac_try) 2>&5
108542 ac_status=$?
108543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108544 (exit $ac_status); }; }; then
108545 glibcxx_cv_POLL=yes
108547 echo "$as_me: failed program was:" >&5
108548 sed 's/^/| /' conftest.$ac_ext >&5
108550 glibcxx_cv_POLL=no
108552 rm -f conftest.err conftest.$ac_objext \
108553 conftest$ac_exeext conftest.$ac_ext
108557 if test $glibcxx_cv_POLL = yes; then
108559 cat >>confdefs.h <<\_ACEOF
108560 #define HAVE_POLL 1
108561 _ACEOF
108564 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
108565 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
108568 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
108569 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
108570 if test "${glibcxx_cv_S_ISREG+set}" = set; then
108571 echo $ECHO_N "(cached) $ECHO_C" >&6
108574 if test x$gcc_no_link = xyes; then
108575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108577 { (exit 1); exit 1; }; }
108579 cat >conftest.$ac_ext <<_ACEOF
108580 /* confdefs.h. */
108581 _ACEOF
108582 cat confdefs.h >>conftest.$ac_ext
108583 cat >>conftest.$ac_ext <<_ACEOF
108584 /* end confdefs.h. */
108585 #include <sys/stat.h>
108587 main ()
108589 struct stat buffer;
108590 fstat(0, &buffer);
108591 S_ISREG(buffer.st_mode);
108593 return 0;
108595 _ACEOF
108596 rm -f conftest.$ac_objext conftest$ac_exeext
108597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108598 (eval $ac_link) 2>conftest.er1
108599 ac_status=$?
108600 grep -v '^ *+' conftest.er1 >conftest.err
108601 rm -f conftest.er1
108602 cat conftest.err >&5
108603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108604 (exit $ac_status); } &&
108605 { ac_try='test -z "$ac_c_werror_flag"
108606 || test ! -s conftest.err'
108607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108608 (eval $ac_try) 2>&5
108609 ac_status=$?
108610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108611 (exit $ac_status); }; } &&
108612 { ac_try='test -s conftest$ac_exeext'
108613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108614 (eval $ac_try) 2>&5
108615 ac_status=$?
108616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108617 (exit $ac_status); }; }; then
108618 glibcxx_cv_S_ISREG=yes
108620 echo "$as_me: failed program was:" >&5
108621 sed 's/^/| /' conftest.$ac_ext >&5
108623 glibcxx_cv_S_ISREG=no
108625 rm -f conftest.err conftest.$ac_objext \
108626 conftest$ac_exeext conftest.$ac_ext
108630 if test "${glibcxx_cv_S_IFREG+set}" = set; then
108631 echo $ECHO_N "(cached) $ECHO_C" >&6
108634 if test x$gcc_no_link = xyes; then
108635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108637 { (exit 1); exit 1; }; }
108639 cat >conftest.$ac_ext <<_ACEOF
108640 /* confdefs.h. */
108641 _ACEOF
108642 cat confdefs.h >>conftest.$ac_ext
108643 cat >>conftest.$ac_ext <<_ACEOF
108644 /* end confdefs.h. */
108645 #include <sys/stat.h>
108647 main ()
108649 struct stat buffer;
108650 fstat(0, &buffer);
108651 S_IFREG & buffer.st_mode;
108653 return 0;
108655 _ACEOF
108656 rm -f conftest.$ac_objext conftest$ac_exeext
108657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108658 (eval $ac_link) 2>conftest.er1
108659 ac_status=$?
108660 grep -v '^ *+' conftest.er1 >conftest.err
108661 rm -f conftest.er1
108662 cat conftest.err >&5
108663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108664 (exit $ac_status); } &&
108665 { ac_try='test -z "$ac_c_werror_flag"
108666 || test ! -s conftest.err'
108667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108668 (eval $ac_try) 2>&5
108669 ac_status=$?
108670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108671 (exit $ac_status); }; } &&
108672 { ac_try='test -s conftest$ac_exeext'
108673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108674 (eval $ac_try) 2>&5
108675 ac_status=$?
108676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108677 (exit $ac_status); }; }; then
108678 glibcxx_cv_S_IFREG=yes
108680 echo "$as_me: failed program was:" >&5
108681 sed 's/^/| /' conftest.$ac_ext >&5
108683 glibcxx_cv_S_IFREG=no
108685 rm -f conftest.err conftest.$ac_objext \
108686 conftest$ac_exeext conftest.$ac_ext
108690 res=no
108691 if test $glibcxx_cv_S_ISREG = yes; then
108693 cat >>confdefs.h <<\_ACEOF
108694 #define HAVE_S_ISREG 1
108695 _ACEOF
108697 res=S_ISREG
108698 elif test $glibcxx_cv_S_IFREG = yes; then
108700 cat >>confdefs.h <<\_ACEOF
108701 #define HAVE_S_IFREG 1
108702 _ACEOF
108704 res=S_IFREG
108706 echo "$as_me:$LINENO: result: $res" >&5
108707 echo "${ECHO_T}$res" >&6
108710 # For xsputn_2().
108712 for ac_header in sys/uio.h
108714 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108716 echo "$as_me:$LINENO: checking for $ac_header" >&5
108717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108719 echo $ECHO_N "(cached) $ECHO_C" >&6
108721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108724 # Is the header compilable?
108725 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108726 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108727 cat >conftest.$ac_ext <<_ACEOF
108728 /* confdefs.h. */
108729 _ACEOF
108730 cat confdefs.h >>conftest.$ac_ext
108731 cat >>conftest.$ac_ext <<_ACEOF
108732 /* end confdefs.h. */
108733 $ac_includes_default
108734 #include <$ac_header>
108735 _ACEOF
108736 rm -f conftest.$ac_objext
108737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108738 (eval $ac_compile) 2>conftest.er1
108739 ac_status=$?
108740 grep -v '^ *+' conftest.er1 >conftest.err
108741 rm -f conftest.er1
108742 cat conftest.err >&5
108743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108744 (exit $ac_status); } &&
108745 { ac_try='test -z "$ac_c_werror_flag"
108746 || test ! -s conftest.err'
108747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108748 (eval $ac_try) 2>&5
108749 ac_status=$?
108750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108751 (exit $ac_status); }; } &&
108752 { ac_try='test -s conftest.$ac_objext'
108753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108754 (eval $ac_try) 2>&5
108755 ac_status=$?
108756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108757 (exit $ac_status); }; }; then
108758 ac_header_compiler=yes
108760 echo "$as_me: failed program was:" >&5
108761 sed 's/^/| /' conftest.$ac_ext >&5
108763 ac_header_compiler=no
108765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108766 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108767 echo "${ECHO_T}$ac_header_compiler" >&6
108769 # Is the header present?
108770 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108771 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108772 cat >conftest.$ac_ext <<_ACEOF
108773 /* confdefs.h. */
108774 _ACEOF
108775 cat confdefs.h >>conftest.$ac_ext
108776 cat >>conftest.$ac_ext <<_ACEOF
108777 /* end confdefs.h. */
108778 #include <$ac_header>
108779 _ACEOF
108780 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108781 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108782 ac_status=$?
108783 grep -v '^ *+' conftest.er1 >conftest.err
108784 rm -f conftest.er1
108785 cat conftest.err >&5
108786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108787 (exit $ac_status); } >/dev/null; then
108788 if test -s conftest.err; then
108789 ac_cpp_err=$ac_c_preproc_warn_flag
108790 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108792 ac_cpp_err=
108795 ac_cpp_err=yes
108797 if test -z "$ac_cpp_err"; then
108798 ac_header_preproc=yes
108800 echo "$as_me: failed program was:" >&5
108801 sed 's/^/| /' conftest.$ac_ext >&5
108803 ac_header_preproc=no
108805 rm -f conftest.err conftest.$ac_ext
108806 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108807 echo "${ECHO_T}$ac_header_preproc" >&6
108809 # So? What about this header?
108810 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108811 yes:no: )
108812 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108813 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108814 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108815 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108816 ac_header_preproc=yes
108818 no:yes:* )
108819 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108820 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108821 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108822 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108823 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108824 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108825 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108826 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108827 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108828 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108829 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108830 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108832 cat <<\_ASBOX
108833 ## ----------------------------------------- ##
108834 ## Report this to the package-unused lists. ##
108835 ## ----------------------------------------- ##
108836 _ASBOX
108838 sed "s/^/$as_me: WARNING: /" >&2
108841 echo "$as_me:$LINENO: checking for $ac_header" >&5
108842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108844 echo $ECHO_N "(cached) $ECHO_C" >&6
108846 eval "$as_ac_Header=\$ac_header_preproc"
108848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108852 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108853 cat >>confdefs.h <<_ACEOF
108854 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108855 _ACEOF
108862 echo "$as_me:$LINENO: checking for writev" >&5
108863 echo $ECHO_N "checking for writev... $ECHO_C" >&6
108864 if test "${glibcxx_cv_WRITEV+set}" = set; then
108865 echo $ECHO_N "(cached) $ECHO_C" >&6
108868 if test x$gcc_no_link = xyes; then
108869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108871 { (exit 1); exit 1; }; }
108873 cat >conftest.$ac_ext <<_ACEOF
108874 /* confdefs.h. */
108875 _ACEOF
108876 cat confdefs.h >>conftest.$ac_ext
108877 cat >>conftest.$ac_ext <<_ACEOF
108878 /* end confdefs.h. */
108879 #include <sys/uio.h>
108881 main ()
108883 struct iovec iov[2];
108884 writev(0, iov, 0);
108886 return 0;
108888 _ACEOF
108889 rm -f conftest.$ac_objext conftest$ac_exeext
108890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108891 (eval $ac_link) 2>conftest.er1
108892 ac_status=$?
108893 grep -v '^ *+' conftest.er1 >conftest.err
108894 rm -f conftest.er1
108895 cat conftest.err >&5
108896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108897 (exit $ac_status); } &&
108898 { ac_try='test -z "$ac_c_werror_flag"
108899 || test ! -s conftest.err'
108900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108901 (eval $ac_try) 2>&5
108902 ac_status=$?
108903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108904 (exit $ac_status); }; } &&
108905 { ac_try='test -s conftest$ac_exeext'
108906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108907 (eval $ac_try) 2>&5
108908 ac_status=$?
108909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108910 (exit $ac_status); }; }; then
108911 glibcxx_cv_WRITEV=yes
108913 echo "$as_me: failed program was:" >&5
108914 sed 's/^/| /' conftest.$ac_ext >&5
108916 glibcxx_cv_WRITEV=no
108918 rm -f conftest.err conftest.$ac_objext \
108919 conftest$ac_exeext conftest.$ac_ext
108923 if test $glibcxx_cv_WRITEV = yes; then
108925 cat >>confdefs.h <<\_ACEOF
108926 #define HAVE_WRITEV 1
108927 _ACEOF
108930 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
108931 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
108934 # For C99 support to TR1.
108939 ac_ext=cc
108940 ac_cpp='$CXXCPP $CPPFLAGS'
108941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108946 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
108947 # undefined and fake C99 facilities may be spuriously enabled.
108948 ac_save_CXXFLAGS="$CXXFLAGS"
108949 CXXFLAGS="$CXXFLAGS -std=c++98"
108951 # Check for the existence of <complex.h> complex math functions used
108952 # by tr1/complex.
108954 for ac_header in complex.h
108956 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108958 echo "$as_me:$LINENO: checking for $ac_header" >&5
108959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108961 echo $ECHO_N "(cached) $ECHO_C" >&6
108963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108966 # Is the header compilable?
108967 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108968 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108969 cat >conftest.$ac_ext <<_ACEOF
108970 /* confdefs.h. */
108971 _ACEOF
108972 cat confdefs.h >>conftest.$ac_ext
108973 cat >>conftest.$ac_ext <<_ACEOF
108974 /* end confdefs.h. */
108975 $ac_includes_default
108976 #include <$ac_header>
108977 _ACEOF
108978 rm -f conftest.$ac_objext
108979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108980 (eval $ac_compile) 2>conftest.er1
108981 ac_status=$?
108982 grep -v '^ *+' conftest.er1 >conftest.err
108983 rm -f conftest.er1
108984 cat conftest.err >&5
108985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108986 (exit $ac_status); } &&
108987 { ac_try='test -z "$ac_cxx_werror_flag"
108988 || test ! -s conftest.err'
108989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108990 (eval $ac_try) 2>&5
108991 ac_status=$?
108992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108993 (exit $ac_status); }; } &&
108994 { ac_try='test -s conftest.$ac_objext'
108995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108996 (eval $ac_try) 2>&5
108997 ac_status=$?
108998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108999 (exit $ac_status); }; }; then
109000 ac_header_compiler=yes
109002 echo "$as_me: failed program was:" >&5
109003 sed 's/^/| /' conftest.$ac_ext >&5
109005 ac_header_compiler=no
109007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109008 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109009 echo "${ECHO_T}$ac_header_compiler" >&6
109011 # Is the header present?
109012 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109013 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109014 cat >conftest.$ac_ext <<_ACEOF
109015 /* confdefs.h. */
109016 _ACEOF
109017 cat confdefs.h >>conftest.$ac_ext
109018 cat >>conftest.$ac_ext <<_ACEOF
109019 /* end confdefs.h. */
109020 #include <$ac_header>
109021 _ACEOF
109022 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109023 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109024 ac_status=$?
109025 grep -v '^ *+' conftest.er1 >conftest.err
109026 rm -f conftest.er1
109027 cat conftest.err >&5
109028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109029 (exit $ac_status); } >/dev/null; then
109030 if test -s conftest.err; then
109031 ac_cpp_err=$ac_cxx_preproc_warn_flag
109032 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109034 ac_cpp_err=
109037 ac_cpp_err=yes
109039 if test -z "$ac_cpp_err"; then
109040 ac_header_preproc=yes
109042 echo "$as_me: failed program was:" >&5
109043 sed 's/^/| /' conftest.$ac_ext >&5
109045 ac_header_preproc=no
109047 rm -f conftest.err conftest.$ac_ext
109048 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109049 echo "${ECHO_T}$ac_header_preproc" >&6
109051 # So? What about this header?
109052 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109053 yes:no: )
109054 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109055 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109057 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109058 ac_header_preproc=yes
109060 no:yes:* )
109061 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109062 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109063 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109064 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109065 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109066 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109067 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109068 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109070 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109071 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109072 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109074 cat <<\_ASBOX
109075 ## ----------------------------------------- ##
109076 ## Report this to the package-unused lists. ##
109077 ## ----------------------------------------- ##
109078 _ASBOX
109080 sed "s/^/$as_me: WARNING: /" >&2
109083 echo "$as_me:$LINENO: checking for $ac_header" >&5
109084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109086 echo $ECHO_N "(cached) $ECHO_C" >&6
109088 eval "$as_ac_Header=\$ac_header_preproc"
109090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109091 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109094 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109095 cat >>confdefs.h <<_ACEOF
109096 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109097 _ACEOF
109098 ac_has_complex_h=yes
109100 ac_has_complex_h=no
109105 ac_c99_complex_tr1=no;
109106 if test x"$ac_has_complex_h" = x"yes"; then
109107 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
109108 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
109109 cat >conftest.$ac_ext <<_ACEOF
109110 /* confdefs.h. */
109111 _ACEOF
109112 cat confdefs.h >>conftest.$ac_ext
109113 cat >>conftest.$ac_ext <<_ACEOF
109114 /* end confdefs.h. */
109115 #include <complex.h>
109117 main ()
109119 typedef __complex__ float float_type; float_type tmpf;
109120 cacosf(tmpf);
109121 casinf(tmpf);
109122 catanf(tmpf);
109123 cacoshf(tmpf);
109124 casinhf(tmpf);
109125 catanhf(tmpf);
109126 typedef __complex__ double double_type; double_type tmpd;
109127 cacos(tmpd);
109128 casin(tmpd);
109129 catan(tmpd);
109130 cacosh(tmpd);
109131 casinh(tmpd);
109132 catanh(tmpd);
109133 typedef __complex__ long double ld_type; ld_type tmpld;
109134 cacosl(tmpld);
109135 casinl(tmpld);
109136 catanl(tmpld);
109137 cacoshl(tmpld);
109138 casinhl(tmpld);
109139 catanhl(tmpld);
109142 return 0;
109144 _ACEOF
109145 rm -f conftest.$ac_objext
109146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109147 (eval $ac_compile) 2>conftest.er1
109148 ac_status=$?
109149 grep -v '^ *+' conftest.er1 >conftest.err
109150 rm -f conftest.er1
109151 cat conftest.err >&5
109152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109153 (exit $ac_status); } &&
109154 { ac_try='test -z "$ac_cxx_werror_flag"
109155 || test ! -s conftest.err'
109156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109157 (eval $ac_try) 2>&5
109158 ac_status=$?
109159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109160 (exit $ac_status); }; } &&
109161 { ac_try='test -s conftest.$ac_objext'
109162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109163 (eval $ac_try) 2>&5
109164 ac_status=$?
109165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109166 (exit $ac_status); }; }; then
109167 ac_c99_complex_tr1=yes
109169 echo "$as_me: failed program was:" >&5
109170 sed 's/^/| /' conftest.$ac_ext >&5
109172 ac_c99_complex_tr1=no
109174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109176 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
109177 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
109178 if test x"$ac_c99_complex_tr1" = x"yes"; then
109180 cat >>confdefs.h <<\_ACEOF
109181 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
109182 _ACEOF
109186 # Check for the existence of <ctype.h> functions.
109187 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
109188 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
109189 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
109190 echo $ECHO_N "(cached) $ECHO_C" >&6
109193 cat >conftest.$ac_ext <<_ACEOF
109194 /* confdefs.h. */
109195 _ACEOF
109196 cat confdefs.h >>conftest.$ac_ext
109197 cat >>conftest.$ac_ext <<_ACEOF
109198 /* end confdefs.h. */
109199 #include <ctype.h>
109201 main ()
109203 int ch;
109204 int ret;
109205 ret = isblank(ch);
109208 return 0;
109210 _ACEOF
109211 rm -f conftest.$ac_objext
109212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109213 (eval $ac_compile) 2>conftest.er1
109214 ac_status=$?
109215 grep -v '^ *+' conftest.er1 >conftest.err
109216 rm -f conftest.er1
109217 cat conftest.err >&5
109218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109219 (exit $ac_status); } &&
109220 { ac_try='test -z "$ac_cxx_werror_flag"
109221 || test ! -s conftest.err'
109222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109223 (eval $ac_try) 2>&5
109224 ac_status=$?
109225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109226 (exit $ac_status); }; } &&
109227 { ac_try='test -s conftest.$ac_objext'
109228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109229 (eval $ac_try) 2>&5
109230 ac_status=$?
109231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109232 (exit $ac_status); }; }; then
109233 glibcxx_cv_c99_ctype_tr1=yes
109235 echo "$as_me: failed program was:" >&5
109236 sed 's/^/| /' conftest.$ac_ext >&5
109238 glibcxx_cv_c99_ctype_tr1=no
109240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109244 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
109245 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
109246 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
109248 cat >>confdefs.h <<\_ACEOF
109249 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
109250 _ACEOF
109254 # Check for the existence of <fenv.h> functions.
109256 for ac_header in fenv.h
109258 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109260 echo "$as_me:$LINENO: checking for $ac_header" >&5
109261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109263 echo $ECHO_N "(cached) $ECHO_C" >&6
109265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109268 # Is the header compilable?
109269 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109270 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109271 cat >conftest.$ac_ext <<_ACEOF
109272 /* confdefs.h. */
109273 _ACEOF
109274 cat confdefs.h >>conftest.$ac_ext
109275 cat >>conftest.$ac_ext <<_ACEOF
109276 /* end confdefs.h. */
109277 $ac_includes_default
109278 #include <$ac_header>
109279 _ACEOF
109280 rm -f conftest.$ac_objext
109281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109282 (eval $ac_compile) 2>conftest.er1
109283 ac_status=$?
109284 grep -v '^ *+' conftest.er1 >conftest.err
109285 rm -f conftest.er1
109286 cat conftest.err >&5
109287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109288 (exit $ac_status); } &&
109289 { ac_try='test -z "$ac_cxx_werror_flag"
109290 || test ! -s conftest.err'
109291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109292 (eval $ac_try) 2>&5
109293 ac_status=$?
109294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109295 (exit $ac_status); }; } &&
109296 { ac_try='test -s conftest.$ac_objext'
109297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109298 (eval $ac_try) 2>&5
109299 ac_status=$?
109300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109301 (exit $ac_status); }; }; then
109302 ac_header_compiler=yes
109304 echo "$as_me: failed program was:" >&5
109305 sed 's/^/| /' conftest.$ac_ext >&5
109307 ac_header_compiler=no
109309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109310 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109311 echo "${ECHO_T}$ac_header_compiler" >&6
109313 # Is the header present?
109314 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109315 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109316 cat >conftest.$ac_ext <<_ACEOF
109317 /* confdefs.h. */
109318 _ACEOF
109319 cat confdefs.h >>conftest.$ac_ext
109320 cat >>conftest.$ac_ext <<_ACEOF
109321 /* end confdefs.h. */
109322 #include <$ac_header>
109323 _ACEOF
109324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109325 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109326 ac_status=$?
109327 grep -v '^ *+' conftest.er1 >conftest.err
109328 rm -f conftest.er1
109329 cat conftest.err >&5
109330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109331 (exit $ac_status); } >/dev/null; then
109332 if test -s conftest.err; then
109333 ac_cpp_err=$ac_cxx_preproc_warn_flag
109334 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109336 ac_cpp_err=
109339 ac_cpp_err=yes
109341 if test -z "$ac_cpp_err"; then
109342 ac_header_preproc=yes
109344 echo "$as_me: failed program was:" >&5
109345 sed 's/^/| /' conftest.$ac_ext >&5
109347 ac_header_preproc=no
109349 rm -f conftest.err conftest.$ac_ext
109350 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109351 echo "${ECHO_T}$ac_header_preproc" >&6
109353 # So? What about this header?
109354 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109355 yes:no: )
109356 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109357 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109359 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109360 ac_header_preproc=yes
109362 no:yes:* )
109363 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109364 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109365 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109366 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109367 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109368 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109369 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109370 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109371 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109372 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109373 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109374 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109376 cat <<\_ASBOX
109377 ## ----------------------------------------- ##
109378 ## Report this to the package-unused lists. ##
109379 ## ----------------------------------------- ##
109380 _ASBOX
109382 sed "s/^/$as_me: WARNING: /" >&2
109385 echo "$as_me:$LINENO: checking for $ac_header" >&5
109386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109388 echo $ECHO_N "(cached) $ECHO_C" >&6
109390 eval "$as_ac_Header=\$ac_header_preproc"
109392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109396 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109397 cat >>confdefs.h <<_ACEOF
109398 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109399 _ACEOF
109400 ac_has_fenv_h=yes
109402 ac_has_fenv_h=no
109407 ac_c99_fenv_tr1=no;
109408 if test x"$ac_has_fenv_h" = x"yes"; then
109409 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
109410 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
109411 cat >conftest.$ac_ext <<_ACEOF
109412 /* confdefs.h. */
109413 _ACEOF
109414 cat confdefs.h >>conftest.$ac_ext
109415 cat >>conftest.$ac_ext <<_ACEOF
109416 /* end confdefs.h. */
109417 #include <fenv.h>
109419 main ()
109421 int except, mode;
109422 fexcept_t* pflag;
109423 fenv_t* penv;
109424 int ret;
109425 ret = feclearexcept(except);
109426 ret = fegetexceptflag(pflag, except);
109427 ret = feraiseexcept(except);
109428 ret = fesetexceptflag(pflag, except);
109429 ret = fetestexcept(except);
109430 ret = fegetround();
109431 ret = fesetround(mode);
109432 ret = fegetenv(penv);
109433 ret = feholdexcept(penv);
109434 ret = fesetenv(penv);
109435 ret = feupdateenv(penv);
109438 return 0;
109440 _ACEOF
109441 rm -f conftest.$ac_objext
109442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109443 (eval $ac_compile) 2>conftest.er1
109444 ac_status=$?
109445 grep -v '^ *+' conftest.er1 >conftest.err
109446 rm -f conftest.er1
109447 cat conftest.err >&5
109448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109449 (exit $ac_status); } &&
109450 { ac_try='test -z "$ac_cxx_werror_flag"
109451 || test ! -s conftest.err'
109452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109453 (eval $ac_try) 2>&5
109454 ac_status=$?
109455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109456 (exit $ac_status); }; } &&
109457 { ac_try='test -s conftest.$ac_objext'
109458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109459 (eval $ac_try) 2>&5
109460 ac_status=$?
109461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109462 (exit $ac_status); }; }; then
109463 ac_c99_fenv_tr1=yes
109465 echo "$as_me: failed program was:" >&5
109466 sed 's/^/| /' conftest.$ac_ext >&5
109468 ac_c99_fenv_tr1=no
109470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109472 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
109473 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
109474 if test x"$ac_c99_fenv_tr1" = x"yes"; then
109476 cat >>confdefs.h <<\_ACEOF
109477 #define _GLIBCXX_USE_C99_FENV_TR1 1
109478 _ACEOF
109482 # Check for the existence of <stdint.h> types.
109483 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
109484 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
109485 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
109486 echo $ECHO_N "(cached) $ECHO_C" >&6
109489 cat >conftest.$ac_ext <<_ACEOF
109490 /* confdefs.h. */
109491 _ACEOF
109492 cat confdefs.h >>conftest.$ac_ext
109493 cat >>conftest.$ac_ext <<_ACEOF
109494 /* end confdefs.h. */
109495 #include <stdint.h>
109497 main ()
109499 typedef int8_t my_int8_t;
109500 typedef int16_t my_int16_t;
109501 typedef int32_t my_int32_t;
109502 typedef int64_t my_int64_t;
109503 typedef int_fast8_t my_int_fast8_t;
109504 typedef int_fast16_t my_int_fast16_t;
109505 typedef int_fast32_t my_int_fast32_t;
109506 typedef int_fast64_t my_int_fast64_t;
109507 typedef int_least8_t my_int_least8_t;
109508 typedef int_least16_t my_int_least16_t;
109509 typedef int_least32_t my_int_least32_t;
109510 typedef int_least64_t my_int_least64_t;
109511 typedef intmax_t my_intmax_t;
109512 typedef intptr_t my_intptr_t;
109513 typedef uint8_t my_uint8_t;
109514 typedef uint16_t my_uint16_t;
109515 typedef uint32_t my_uint32_t;
109516 typedef uint64_t my_uint64_t;
109517 typedef uint_fast8_t my_uint_fast8_t;
109518 typedef uint_fast16_t my_uint_fast16_t;
109519 typedef uint_fast32_t my_uint_fast32_t;
109520 typedef uint_fast64_t my_uint_fast64_t;
109521 typedef uint_least8_t my_uint_least8_t;
109522 typedef uint_least16_t my_uint_least16_t;
109523 typedef uint_least32_t my_uint_least32_t;
109524 typedef uint_least64_t my_uint_least64_t;
109525 typedef uintmax_t my_uintmax_t;
109526 typedef uintptr_t my_uintptr_t;
109529 return 0;
109531 _ACEOF
109532 rm -f conftest.$ac_objext
109533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109534 (eval $ac_compile) 2>conftest.er1
109535 ac_status=$?
109536 grep -v '^ *+' conftest.er1 >conftest.err
109537 rm -f conftest.er1
109538 cat conftest.err >&5
109539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109540 (exit $ac_status); } &&
109541 { ac_try='test -z "$ac_cxx_werror_flag"
109542 || test ! -s conftest.err'
109543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109544 (eval $ac_try) 2>&5
109545 ac_status=$?
109546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109547 (exit $ac_status); }; } &&
109548 { ac_try='test -s conftest.$ac_objext'
109549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109550 (eval $ac_try) 2>&5
109551 ac_status=$?
109552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109553 (exit $ac_status); }; }; then
109554 glibcxx_cv_c99_stdint_tr1=yes
109556 echo "$as_me: failed program was:" >&5
109557 sed 's/^/| /' conftest.$ac_ext >&5
109559 glibcxx_cv_c99_stdint_tr1=no
109561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109565 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
109566 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
109567 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
109569 cat >>confdefs.h <<\_ACEOF
109570 #define _GLIBCXX_USE_C99_STDINT_TR1 1
109571 _ACEOF
109575 # Check for the existence of <math.h> functions.
109576 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
109577 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
109578 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
109579 echo $ECHO_N "(cached) $ECHO_C" >&6
109582 cat >conftest.$ac_ext <<_ACEOF
109583 /* confdefs.h. */
109584 _ACEOF
109585 cat confdefs.h >>conftest.$ac_ext
109586 cat >>conftest.$ac_ext <<_ACEOF
109587 /* end confdefs.h. */
109588 #include <math.h>
109590 main ()
109592 typedef double_t my_double_t;
109593 typedef float_t my_float_t;
109594 acosh(0.0);
109595 acoshf(0.0f);
109596 acoshl(0.0l);
109597 asinh(0.0);
109598 asinhf(0.0f);
109599 asinhl(0.0l);
109600 atanh(0.0);
109601 atanhf(0.0f);
109602 atanhl(0.0l);
109603 cbrt(0.0);
109604 cbrtf(0.0f);
109605 cbrtl(0.0l);
109606 copysign(0.0, 0.0);
109607 copysignf(0.0f, 0.0f);
109608 copysignl(0.0l, 0.0l);
109609 erf(0.0);
109610 erff(0.0f);
109611 erfl(0.0l);
109612 erfc(0.0);
109613 erfcf(0.0f);
109614 erfcl(0.0l);
109615 exp2(0.0);
109616 exp2f(0.0f);
109617 exp2l(0.0l);
109618 expm1(0.0);
109619 expm1f(0.0f);
109620 expm1l(0.0l);
109621 fdim(0.0, 0.0);
109622 fdimf(0.0f, 0.0f);
109623 fdiml(0.0l, 0.0l);
109624 fma(0.0, 0.0, 0.0);
109625 fmaf(0.0f, 0.0f, 0.0f);
109626 fmal(0.0l, 0.0l, 0.0l);
109627 fmax(0.0, 0.0);
109628 fmaxf(0.0f, 0.0f);
109629 fmaxl(0.0l, 0.0l);
109630 fmin(0.0, 0.0);
109631 fminf(0.0f, 0.0f);
109632 fminl(0.0l, 0.0l);
109633 hypot(0.0, 0.0);
109634 hypotf(0.0f, 0.0f);
109635 hypotl(0.0l, 0.0l);
109636 ilogb(0.0);
109637 ilogbf(0.0f);
109638 ilogbl(0.0l);
109639 lgamma(0.0);
109640 lgammaf(0.0f);
109641 lgammal(0.0l);
109642 llrint(0.0);
109643 llrintf(0.0f);
109644 llrintl(0.0l);
109645 llround(0.0);
109646 llroundf(0.0f);
109647 llroundl(0.0l);
109648 log1p(0.0);
109649 log1pf(0.0f);
109650 log1pl(0.0l);
109651 log2(0.0);
109652 log2f(0.0f);
109653 log2l(0.0l);
109654 logb(0.0);
109655 logbf(0.0f);
109656 logbl(0.0l);
109657 lrint(0.0);
109658 lrintf(0.0f);
109659 lrintl(0.0l);
109660 lround(0.0);
109661 lroundf(0.0f);
109662 lroundl(0.0l);
109663 nan(0);
109664 nanf(0);
109665 nanl(0);
109666 nearbyint(0.0);
109667 nearbyintf(0.0f);
109668 nearbyintl(0.0l);
109669 nextafter(0.0, 0.0);
109670 nextafterf(0.0f, 0.0f);
109671 nextafterl(0.0l, 0.0l);
109672 nexttoward(0.0, 0.0);
109673 nexttowardf(0.0f, 0.0f);
109674 nexttowardl(0.0l, 0.0l);
109675 remainder(0.0, 0.0);
109676 remainderf(0.0f, 0.0f);
109677 remainderl(0.0l, 0.0l);
109678 remquo(0.0, 0.0, 0);
109679 remquo(0.0f, 0.0f, 0);
109680 remquo(0.0l, 0.0l, 0);
109681 rint(0.0);
109682 rintf(0.0f);
109683 rintl(0.0l);
109684 round(0.0);
109685 roundf(0.0f);
109686 roundl(0.0l);
109687 scalbln(0.0, 0l);
109688 scalblnf(0.0f, 0l);
109689 scalblnl(0.0l, 0l);
109690 scalbn(0.0, 0);
109691 scalbnf(0.0f, 0);
109692 scalbnl(0.0l, 0);
109693 tgamma(0.0);
109694 tgammaf(0.0f);
109695 tgammal(0.0l);
109696 trunc(0.0);
109697 truncf(0.0f);
109698 truncl(0.0l);
109701 return 0;
109703 _ACEOF
109704 rm -f conftest.$ac_objext
109705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109706 (eval $ac_compile) 2>conftest.er1
109707 ac_status=$?
109708 grep -v '^ *+' conftest.er1 >conftest.err
109709 rm -f conftest.er1
109710 cat conftest.err >&5
109711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109712 (exit $ac_status); } &&
109713 { ac_try='test -z "$ac_cxx_werror_flag"
109714 || test ! -s conftest.err'
109715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109716 (eval $ac_try) 2>&5
109717 ac_status=$?
109718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109719 (exit $ac_status); }; } &&
109720 { ac_try='test -s conftest.$ac_objext'
109721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109722 (eval $ac_try) 2>&5
109723 ac_status=$?
109724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109725 (exit $ac_status); }; }; then
109726 glibcxx_cv_c99_math_tr1=yes
109728 echo "$as_me: failed program was:" >&5
109729 sed 's/^/| /' conftest.$ac_ext >&5
109731 glibcxx_cv_c99_math_tr1=no
109733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109737 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
109738 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
109739 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
109741 cat >>confdefs.h <<\_ACEOF
109742 #define _GLIBCXX_USE_C99_MATH_TR1 1
109743 _ACEOF
109747 # Check for the existence of <inttypes.h> functions (NB: doesn't make
109748 # sense if the previous check fails, per C99, 7.8/1).
109749 ac_c99_inttypes_tr1=no;
109750 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
109751 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
109752 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
109753 cat >conftest.$ac_ext <<_ACEOF
109754 /* confdefs.h. */
109755 _ACEOF
109756 cat confdefs.h >>conftest.$ac_ext
109757 cat >>conftest.$ac_ext <<_ACEOF
109758 /* end confdefs.h. */
109759 #include <inttypes.h>
109761 main ()
109763 intmax_t i, numer, denom, base;
109764 const char* s;
109765 char** endptr;
109766 intmax_t ret = imaxabs(i);
109767 imaxdiv_t dret = imaxdiv(numer, denom);
109768 ret = strtoimax(s, endptr, base);
109769 uintmax_t uret = strtoumax(s, endptr, base);
109772 return 0;
109774 _ACEOF
109775 rm -f conftest.$ac_objext
109776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109777 (eval $ac_compile) 2>conftest.er1
109778 ac_status=$?
109779 grep -v '^ *+' conftest.er1 >conftest.err
109780 rm -f conftest.er1
109781 cat conftest.err >&5
109782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109783 (exit $ac_status); } &&
109784 { ac_try='test -z "$ac_cxx_werror_flag"
109785 || test ! -s conftest.err'
109786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109787 (eval $ac_try) 2>&5
109788 ac_status=$?
109789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109790 (exit $ac_status); }; } &&
109791 { ac_try='test -s conftest.$ac_objext'
109792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109793 (eval $ac_try) 2>&5
109794 ac_status=$?
109795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109796 (exit $ac_status); }; }; then
109797 ac_c99_inttypes_tr1=yes
109799 echo "$as_me: failed program was:" >&5
109800 sed 's/^/| /' conftest.$ac_ext >&5
109802 ac_c99_inttypes_tr1=no
109804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109806 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
109807 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
109808 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
109810 cat >>confdefs.h <<\_ACEOF
109811 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
109812 _ACEOF
109816 # Check for the existence of the <stdbool.h> header.
109818 for ac_header in stdbool.h
109820 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109822 echo "$as_me:$LINENO: checking for $ac_header" >&5
109823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109825 echo $ECHO_N "(cached) $ECHO_C" >&6
109827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109828 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109830 # Is the header compilable?
109831 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109832 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109833 cat >conftest.$ac_ext <<_ACEOF
109834 /* confdefs.h. */
109835 _ACEOF
109836 cat confdefs.h >>conftest.$ac_ext
109837 cat >>conftest.$ac_ext <<_ACEOF
109838 /* end confdefs.h. */
109839 $ac_includes_default
109840 #include <$ac_header>
109841 _ACEOF
109842 rm -f conftest.$ac_objext
109843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109844 (eval $ac_compile) 2>conftest.er1
109845 ac_status=$?
109846 grep -v '^ *+' conftest.er1 >conftest.err
109847 rm -f conftest.er1
109848 cat conftest.err >&5
109849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109850 (exit $ac_status); } &&
109851 { ac_try='test -z "$ac_cxx_werror_flag"
109852 || test ! -s conftest.err'
109853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109854 (eval $ac_try) 2>&5
109855 ac_status=$?
109856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109857 (exit $ac_status); }; } &&
109858 { ac_try='test -s conftest.$ac_objext'
109859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109860 (eval $ac_try) 2>&5
109861 ac_status=$?
109862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109863 (exit $ac_status); }; }; then
109864 ac_header_compiler=yes
109866 echo "$as_me: failed program was:" >&5
109867 sed 's/^/| /' conftest.$ac_ext >&5
109869 ac_header_compiler=no
109871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109872 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109873 echo "${ECHO_T}$ac_header_compiler" >&6
109875 # Is the header present?
109876 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109877 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109878 cat >conftest.$ac_ext <<_ACEOF
109879 /* confdefs.h. */
109880 _ACEOF
109881 cat confdefs.h >>conftest.$ac_ext
109882 cat >>conftest.$ac_ext <<_ACEOF
109883 /* end confdefs.h. */
109884 #include <$ac_header>
109885 _ACEOF
109886 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109887 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109888 ac_status=$?
109889 grep -v '^ *+' conftest.er1 >conftest.err
109890 rm -f conftest.er1
109891 cat conftest.err >&5
109892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109893 (exit $ac_status); } >/dev/null; then
109894 if test -s conftest.err; then
109895 ac_cpp_err=$ac_cxx_preproc_warn_flag
109896 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109898 ac_cpp_err=
109901 ac_cpp_err=yes
109903 if test -z "$ac_cpp_err"; then
109904 ac_header_preproc=yes
109906 echo "$as_me: failed program was:" >&5
109907 sed 's/^/| /' conftest.$ac_ext >&5
109909 ac_header_preproc=no
109911 rm -f conftest.err conftest.$ac_ext
109912 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109913 echo "${ECHO_T}$ac_header_preproc" >&6
109915 # So? What about this header?
109916 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109917 yes:no: )
109918 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109919 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109920 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109921 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109922 ac_header_preproc=yes
109924 no:yes:* )
109925 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109926 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109927 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109928 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109929 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109930 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109931 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109932 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109933 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109934 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109935 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109936 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109938 cat <<\_ASBOX
109939 ## ----------------------------------------- ##
109940 ## Report this to the package-unused lists. ##
109941 ## ----------------------------------------- ##
109942 _ASBOX
109944 sed "s/^/$as_me: WARNING: /" >&2
109947 echo "$as_me:$LINENO: checking for $ac_header" >&5
109948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109950 echo $ECHO_N "(cached) $ECHO_C" >&6
109952 eval "$as_ac_Header=\$ac_header_preproc"
109954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109955 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109958 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109959 cat >>confdefs.h <<_ACEOF
109960 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109961 _ACEOF
109968 CXXFLAGS="$ac_save_CXXFLAGS"
109969 ac_ext=c
109970 ac_cpp='$CPP $CPPFLAGS'
109971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109977 # Check for sigsetjmp
109978 cat >conftest.$ac_ext <<_ACEOF
109979 /* confdefs.h. */
109980 _ACEOF
109981 cat confdefs.h >>conftest.$ac_ext
109982 cat >>conftest.$ac_ext <<_ACEOF
109983 /* end confdefs.h. */
109984 #include <setjmp.h>
109986 main ()
109988 sigjmp_buf env;
109989 while (! sigsetjmp (env, 1))
109990 siglongjmp (env, 1);
109993 return 0;
109995 _ACEOF
109996 rm -f conftest.$ac_objext
109997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109998 (eval $ac_compile) 2>conftest.er1
109999 ac_status=$?
110000 grep -v '^ *+' conftest.er1 >conftest.err
110001 rm -f conftest.er1
110002 cat conftest.err >&5
110003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110004 (exit $ac_status); } &&
110005 { ac_try='test -z "$ac_c_werror_flag"
110006 || test ! -s conftest.err'
110007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110008 (eval $ac_try) 2>&5
110009 ac_status=$?
110010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110011 (exit $ac_status); }; } &&
110012 { ac_try='test -s conftest.$ac_objext'
110013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110014 (eval $ac_try) 2>&5
110015 ac_status=$?
110016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110017 (exit $ac_status); }; }; then
110019 cat >>confdefs.h <<\_ACEOF
110020 #define HAVE_SIGSETJMP 1
110021 _ACEOF
110024 echo "$as_me: failed program was:" >&5
110025 sed 's/^/| /' conftest.$ac_ext >&5
110028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110030 *-mingw32*)
110034 for ac_header in sys/types.h locale.h float.h
110036 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110037 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110038 echo "$as_me:$LINENO: checking for $ac_header" >&5
110039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110041 echo $ECHO_N "(cached) $ECHO_C" >&6
110043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110046 # Is the header compilable?
110047 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110048 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110049 cat >conftest.$ac_ext <<_ACEOF
110050 /* confdefs.h. */
110051 _ACEOF
110052 cat confdefs.h >>conftest.$ac_ext
110053 cat >>conftest.$ac_ext <<_ACEOF
110054 /* end confdefs.h. */
110055 $ac_includes_default
110056 #include <$ac_header>
110057 _ACEOF
110058 rm -f conftest.$ac_objext
110059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110060 (eval $ac_compile) 2>conftest.er1
110061 ac_status=$?
110062 grep -v '^ *+' conftest.er1 >conftest.err
110063 rm -f conftest.er1
110064 cat conftest.err >&5
110065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110066 (exit $ac_status); } &&
110067 { ac_try='test -z "$ac_c_werror_flag"
110068 || test ! -s conftest.err'
110069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110070 (eval $ac_try) 2>&5
110071 ac_status=$?
110072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110073 (exit $ac_status); }; } &&
110074 { ac_try='test -s conftest.$ac_objext'
110075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110076 (eval $ac_try) 2>&5
110077 ac_status=$?
110078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110079 (exit $ac_status); }; }; then
110080 ac_header_compiler=yes
110082 echo "$as_me: failed program was:" >&5
110083 sed 's/^/| /' conftest.$ac_ext >&5
110085 ac_header_compiler=no
110087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110088 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110089 echo "${ECHO_T}$ac_header_compiler" >&6
110091 # Is the header present?
110092 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110093 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110094 cat >conftest.$ac_ext <<_ACEOF
110095 /* confdefs.h. */
110096 _ACEOF
110097 cat confdefs.h >>conftest.$ac_ext
110098 cat >>conftest.$ac_ext <<_ACEOF
110099 /* end confdefs.h. */
110100 #include <$ac_header>
110101 _ACEOF
110102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110103 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110104 ac_status=$?
110105 grep -v '^ *+' conftest.er1 >conftest.err
110106 rm -f conftest.er1
110107 cat conftest.err >&5
110108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110109 (exit $ac_status); } >/dev/null; then
110110 if test -s conftest.err; then
110111 ac_cpp_err=$ac_c_preproc_warn_flag
110112 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110114 ac_cpp_err=
110117 ac_cpp_err=yes
110119 if test -z "$ac_cpp_err"; then
110120 ac_header_preproc=yes
110122 echo "$as_me: failed program was:" >&5
110123 sed 's/^/| /' conftest.$ac_ext >&5
110125 ac_header_preproc=no
110127 rm -f conftest.err conftest.$ac_ext
110128 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110129 echo "${ECHO_T}$ac_header_preproc" >&6
110131 # So? What about this header?
110132 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110133 yes:no: )
110134 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110135 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110136 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110137 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110138 ac_header_preproc=yes
110140 no:yes:* )
110141 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110142 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110143 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
110144 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
110145 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110146 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110147 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
110148 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
110149 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110150 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110151 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110152 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110154 cat <<\_ASBOX
110155 ## ----------------------------------------- ##
110156 ## Report this to the package-unused lists. ##
110157 ## ----------------------------------------- ##
110158 _ASBOX
110160 sed "s/^/$as_me: WARNING: /" >&2
110163 echo "$as_me:$LINENO: checking for $ac_header" >&5
110164 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110166 echo $ECHO_N "(cached) $ECHO_C" >&6
110168 eval "$as_ac_Header=\$ac_header_preproc"
110170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110174 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110175 cat >>confdefs.h <<_ACEOF
110176 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110177 _ACEOF
110183 cat >>confdefs.h <<\_ACEOF
110184 #define HAVE_STRTOF 1
110185 _ACEOF
110187 cat >>confdefs.h <<\_ACEOF
110188 #define HAVE_STRTOLD 1
110189 _ACEOF
110192 # If we're not using GNU ld, then there's no point in even trying these
110193 # tests. Check for that first. We should have already tested for gld
110194 # by now (in libtool), but require it now just to be safe...
110195 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
110196 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
110200 # The name set by libtool depends on the version of libtool. Shame on us
110201 # for depending on an impl detail, but c'est la vie. Older versions used
110202 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
110203 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
110204 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
110205 # set (hence we're using an older libtool), then set it.
110206 if test x${with_gnu_ld+set} != xset; then
110207 if test x${ac_cv_prog_gnu_ld+set} != xset; then
110208 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
110209 with_gnu_ld=no
110211 with_gnu_ld=$ac_cv_prog_gnu_ld
110215 # Start by getting the version number. I think the libtool test already
110216 # does some of this, but throws away the result.
110217 glibcxx_ld_is_gold=no
110218 if test x"$with_gnu_ld" = x"yes"; then
110219 echo "$as_me:$LINENO: checking for ld version" >&5
110220 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
110222 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
110223 glibcxx_ld_is_gold=yes
110225 ldver=`$LD --version 2>/dev/null | head -1 | \
110226 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
110228 glibcxx_gnu_ld_version=`echo $ldver | \
110229 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
110230 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
110231 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
110234 # Set --gc-sections.
110235 glibcxx_have_gc_sections=no
110236 if test "$glibcxx_ld_is_gold" = "yes"; then
110237 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
110238 glibcxx_have_gc_sections=yes
110241 glibcxx_gcsections_min_ld=21602
110242 if test x"$with_gnu_ld" = x"yes" &&
110243 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
110244 glibcxx_have_gc_sections=yes
110247 if test "$glibcxx_have_gc_sections" = "yes"; then
110248 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
110249 # NB: This flag only works reliably after 2.16.1. Configure tests
110250 # for this are difficult, so hard wire a value that should work.
110252 ac_test_CFLAGS="${CFLAGS+set}"
110253 ac_save_CFLAGS="$CFLAGS"
110254 CFLAGS='-Wl,--gc-sections'
110256 # Check for -Wl,--gc-sections
110257 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
110258 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
110259 if test x$gcc_no_link = xyes; then
110260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110262 { (exit 1); exit 1; }; }
110264 cat >conftest.$ac_ext <<_ACEOF
110265 /* confdefs.h. */
110266 _ACEOF
110267 cat confdefs.h >>conftest.$ac_ext
110268 cat >>conftest.$ac_ext <<_ACEOF
110269 /* end confdefs.h. */
110270 int one(void) { return 1; }
110271 int two(void) { return 2; }
110274 main ()
110276 two();
110278 return 0;
110280 _ACEOF
110281 rm -f conftest.$ac_objext conftest$ac_exeext
110282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110283 (eval $ac_link) 2>conftest.er1
110284 ac_status=$?
110285 grep -v '^ *+' conftest.er1 >conftest.err
110286 rm -f conftest.er1
110287 cat conftest.err >&5
110288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110289 (exit $ac_status); } &&
110290 { ac_try='test -z "$ac_c_werror_flag"
110291 || test ! -s conftest.err'
110292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110293 (eval $ac_try) 2>&5
110294 ac_status=$?
110295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110296 (exit $ac_status); }; } &&
110297 { ac_try='test -s conftest$ac_exeext'
110298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110299 (eval $ac_try) 2>&5
110300 ac_status=$?
110301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110302 (exit $ac_status); }; }; then
110303 ac_gcsections=yes
110305 echo "$as_me: failed program was:" >&5
110306 sed 's/^/| /' conftest.$ac_ext >&5
110308 ac_gcsections=no
110310 rm -f conftest.err conftest.$ac_objext \
110311 conftest$ac_exeext conftest.$ac_ext
110312 if test "$ac_gcsections" = "yes"; then
110313 rm -f conftest.c
110314 touch conftest.c
110315 if $CC -c conftest.c; then
110316 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
110317 grep "Warning: gc-sections option ignored" > /dev/null; then
110318 ac_gcsections=no
110321 rm -f conftest.c conftest.o conftest
110323 if test "$ac_gcsections" = "yes"; then
110324 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
110326 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
110327 echo "${ECHO_T}$ac_gcsections" >&6
110329 if test "$ac_test_CFLAGS" = set; then
110330 CFLAGS="$ac_save_CFLAGS"
110332 # this is the suspicious part
110333 CFLAGS=''
110337 # Set -z,relro.
110338 # Note this is only for shared objects.
110339 ac_ld_relro=no
110340 if test x"$with_gnu_ld" = x"yes"; then
110341 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
110342 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
110343 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
110344 if test -n "$cxx_z_relo"; then
110345 OPT_LDFLAGS="-Wl,-z,relro"
110346 ac_ld_relro=yes
110348 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
110349 echo "${ECHO_T}$ac_ld_relro" >&6
110352 # Set linker optimization flags.
110353 if test x"$with_gnu_ld" = x"yes"; then
110354 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
110362 echo "$as_me:$LINENO: checking for main in -lm" >&5
110363 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
110364 if test "${ac_cv_lib_m_main+set}" = set; then
110365 echo $ECHO_N "(cached) $ECHO_C" >&6
110367 ac_check_lib_save_LIBS=$LIBS
110368 LIBS="-lm $LIBS"
110369 if test x$gcc_no_link = xyes; then
110370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110372 { (exit 1); exit 1; }; }
110374 cat >conftest.$ac_ext <<_ACEOF
110375 /* confdefs.h. */
110376 _ACEOF
110377 cat confdefs.h >>conftest.$ac_ext
110378 cat >>conftest.$ac_ext <<_ACEOF
110379 /* end confdefs.h. */
110383 main ()
110385 main ();
110387 return 0;
110389 _ACEOF
110390 rm -f conftest.$ac_objext conftest$ac_exeext
110391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110392 (eval $ac_link) 2>conftest.er1
110393 ac_status=$?
110394 grep -v '^ *+' conftest.er1 >conftest.err
110395 rm -f conftest.er1
110396 cat conftest.err >&5
110397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110398 (exit $ac_status); } &&
110399 { ac_try='test -z "$ac_c_werror_flag"
110400 || test ! -s conftest.err'
110401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110402 (eval $ac_try) 2>&5
110403 ac_status=$?
110404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110405 (exit $ac_status); }; } &&
110406 { ac_try='test -s conftest$ac_exeext'
110407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110408 (eval $ac_try) 2>&5
110409 ac_status=$?
110410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110411 (exit $ac_status); }; }; then
110412 ac_cv_lib_m_main=yes
110414 echo "$as_me: failed program was:" >&5
110415 sed 's/^/| /' conftest.$ac_ext >&5
110417 ac_cv_lib_m_main=no
110419 rm -f conftest.err conftest.$ac_objext \
110420 conftest$ac_exeext conftest.$ac_ext
110421 LIBS=$ac_check_lib_save_LIBS
110423 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
110424 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
110425 if test $ac_cv_lib_m_main = yes; then
110426 cat >>confdefs.h <<_ACEOF
110427 #define HAVE_LIBM 1
110428 _ACEOF
110430 LIBS="-lm $LIBS"
110435 for ac_func in copysignf
110437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110438 echo "$as_me:$LINENO: checking for $ac_func" >&5
110439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110440 if eval "test \"\${$as_ac_var+set}\" = set"; then
110441 echo $ECHO_N "(cached) $ECHO_C" >&6
110443 if test x$gcc_no_link = xyes; then
110444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110446 { (exit 1); exit 1; }; }
110448 cat >conftest.$ac_ext <<_ACEOF
110449 /* confdefs.h. */
110450 _ACEOF
110451 cat confdefs.h >>conftest.$ac_ext
110452 cat >>conftest.$ac_ext <<_ACEOF
110453 /* end confdefs.h. */
110454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110456 #define $ac_func innocuous_$ac_func
110458 /* System header to define __stub macros and hopefully few prototypes,
110459 which can conflict with char $ac_func (); below.
110460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110461 <limits.h> exists even on freestanding compilers. */
110463 #ifdef __STDC__
110464 # include <limits.h>
110465 #else
110466 # include <assert.h>
110467 #endif
110469 #undef $ac_func
110471 /* Override any gcc2 internal prototype to avoid an error. */
110472 #ifdef __cplusplus
110473 extern "C"
110475 #endif
110476 /* We use char because int might match the return type of a gcc2
110477 builtin and then its argument prototype would still apply. */
110478 char $ac_func ();
110479 /* The GNU C library defines this for functions which it implements
110480 to always fail with ENOSYS. Some functions are actually named
110481 something starting with __ and the normal name is an alias. */
110482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110483 choke me
110484 #else
110485 char (*f) () = $ac_func;
110486 #endif
110487 #ifdef __cplusplus
110489 #endif
110492 main ()
110494 return f != $ac_func;
110496 return 0;
110498 _ACEOF
110499 rm -f conftest.$ac_objext conftest$ac_exeext
110500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110501 (eval $ac_link) 2>conftest.er1
110502 ac_status=$?
110503 grep -v '^ *+' conftest.er1 >conftest.err
110504 rm -f conftest.er1
110505 cat conftest.err >&5
110506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110507 (exit $ac_status); } &&
110508 { ac_try='test -z "$ac_c_werror_flag"
110509 || test ! -s conftest.err'
110510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110511 (eval $ac_try) 2>&5
110512 ac_status=$?
110513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110514 (exit $ac_status); }; } &&
110515 { ac_try='test -s conftest$ac_exeext'
110516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110517 (eval $ac_try) 2>&5
110518 ac_status=$?
110519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110520 (exit $ac_status); }; }; then
110521 eval "$as_ac_var=yes"
110523 echo "$as_me: failed program was:" >&5
110524 sed 's/^/| /' conftest.$ac_ext >&5
110526 eval "$as_ac_var=no"
110528 rm -f conftest.err conftest.$ac_objext \
110529 conftest$ac_exeext conftest.$ac_ext
110531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110533 if test `eval echo '${'$as_ac_var'}'` = yes; then
110534 cat >>confdefs.h <<_ACEOF
110535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110536 _ACEOF
110539 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
110545 for ac_func in __signbit
110547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110548 echo "$as_me:$LINENO: checking for $ac_func" >&5
110549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110550 if eval "test \"\${$as_ac_var+set}\" = set"; then
110551 echo $ECHO_N "(cached) $ECHO_C" >&6
110553 if test x$gcc_no_link = xyes; then
110554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110556 { (exit 1); exit 1; }; }
110558 cat >conftest.$ac_ext <<_ACEOF
110559 /* confdefs.h. */
110560 _ACEOF
110561 cat confdefs.h >>conftest.$ac_ext
110562 cat >>conftest.$ac_ext <<_ACEOF
110563 /* end confdefs.h. */
110564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110566 #define $ac_func innocuous_$ac_func
110568 /* System header to define __stub macros and hopefully few prototypes,
110569 which can conflict with char $ac_func (); below.
110570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110571 <limits.h> exists even on freestanding compilers. */
110573 #ifdef __STDC__
110574 # include <limits.h>
110575 #else
110576 # include <assert.h>
110577 #endif
110579 #undef $ac_func
110581 /* Override any gcc2 internal prototype to avoid an error. */
110582 #ifdef __cplusplus
110583 extern "C"
110585 #endif
110586 /* We use char because int might match the return type of a gcc2
110587 builtin and then its argument prototype would still apply. */
110588 char $ac_func ();
110589 /* The GNU C library defines this for functions which it implements
110590 to always fail with ENOSYS. Some functions are actually named
110591 something starting with __ and the normal name is an alias. */
110592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110593 choke me
110594 #else
110595 char (*f) () = $ac_func;
110596 #endif
110597 #ifdef __cplusplus
110599 #endif
110602 main ()
110604 return f != $ac_func;
110606 return 0;
110608 _ACEOF
110609 rm -f conftest.$ac_objext conftest$ac_exeext
110610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110611 (eval $ac_link) 2>conftest.er1
110612 ac_status=$?
110613 grep -v '^ *+' conftest.er1 >conftest.err
110614 rm -f conftest.er1
110615 cat conftest.err >&5
110616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110617 (exit $ac_status); } &&
110618 { ac_try='test -z "$ac_c_werror_flag"
110619 || test ! -s conftest.err'
110620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110621 (eval $ac_try) 2>&5
110622 ac_status=$?
110623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110624 (exit $ac_status); }; } &&
110625 { ac_try='test -s conftest$ac_exeext'
110626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110627 (eval $ac_try) 2>&5
110628 ac_status=$?
110629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110630 (exit $ac_status); }; }; then
110631 eval "$as_ac_var=yes"
110633 echo "$as_me: failed program was:" >&5
110634 sed 's/^/| /' conftest.$ac_ext >&5
110636 eval "$as_ac_var=no"
110638 rm -f conftest.err conftest.$ac_objext \
110639 conftest$ac_exeext conftest.$ac_ext
110641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110643 if test `eval echo '${'$as_ac_var'}'` = yes; then
110644 cat >>confdefs.h <<_ACEOF
110645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110646 _ACEOF
110649 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
110655 for ac_func in __signbitf
110657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110658 echo "$as_me:$LINENO: checking for $ac_func" >&5
110659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110660 if eval "test \"\${$as_ac_var+set}\" = set"; then
110661 echo $ECHO_N "(cached) $ECHO_C" >&6
110663 if test x$gcc_no_link = xyes; then
110664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110666 { (exit 1); exit 1; }; }
110668 cat >conftest.$ac_ext <<_ACEOF
110669 /* confdefs.h. */
110670 _ACEOF
110671 cat confdefs.h >>conftest.$ac_ext
110672 cat >>conftest.$ac_ext <<_ACEOF
110673 /* end confdefs.h. */
110674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110676 #define $ac_func innocuous_$ac_func
110678 /* System header to define __stub macros and hopefully few prototypes,
110679 which can conflict with char $ac_func (); below.
110680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110681 <limits.h> exists even on freestanding compilers. */
110683 #ifdef __STDC__
110684 # include <limits.h>
110685 #else
110686 # include <assert.h>
110687 #endif
110689 #undef $ac_func
110691 /* Override any gcc2 internal prototype to avoid an error. */
110692 #ifdef __cplusplus
110693 extern "C"
110695 #endif
110696 /* We use char because int might match the return type of a gcc2
110697 builtin and then its argument prototype would still apply. */
110698 char $ac_func ();
110699 /* The GNU C library defines this for functions which it implements
110700 to always fail with ENOSYS. Some functions are actually named
110701 something starting with __ and the normal name is an alias. */
110702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110703 choke me
110704 #else
110705 char (*f) () = $ac_func;
110706 #endif
110707 #ifdef __cplusplus
110709 #endif
110712 main ()
110714 return f != $ac_func;
110716 return 0;
110718 _ACEOF
110719 rm -f conftest.$ac_objext conftest$ac_exeext
110720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110721 (eval $ac_link) 2>conftest.er1
110722 ac_status=$?
110723 grep -v '^ *+' conftest.er1 >conftest.err
110724 rm -f conftest.er1
110725 cat conftest.err >&5
110726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110727 (exit $ac_status); } &&
110728 { ac_try='test -z "$ac_c_werror_flag"
110729 || test ! -s conftest.err'
110730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110731 (eval $ac_try) 2>&5
110732 ac_status=$?
110733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110734 (exit $ac_status); }; } &&
110735 { ac_try='test -s conftest$ac_exeext'
110736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110737 (eval $ac_try) 2>&5
110738 ac_status=$?
110739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110740 (exit $ac_status); }; }; then
110741 eval "$as_ac_var=yes"
110743 echo "$as_me: failed program was:" >&5
110744 sed 's/^/| /' conftest.$ac_ext >&5
110746 eval "$as_ac_var=no"
110748 rm -f conftest.err conftest.$ac_objext \
110749 conftest$ac_exeext conftest.$ac_ext
110751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110753 if test `eval echo '${'$as_ac_var'}'` = yes; then
110754 cat >>confdefs.h <<_ACEOF
110755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110756 _ACEOF
110759 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
110764 if test x$ac_cv_func_copysignl = x"yes"; then
110766 for ac_func in __signbitl
110768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110769 echo "$as_me:$LINENO: checking for $ac_func" >&5
110770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110771 if eval "test \"\${$as_ac_var+set}\" = set"; then
110772 echo $ECHO_N "(cached) $ECHO_C" >&6
110774 if test x$gcc_no_link = xyes; then
110775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110777 { (exit 1); exit 1; }; }
110779 cat >conftest.$ac_ext <<_ACEOF
110780 /* confdefs.h. */
110781 _ACEOF
110782 cat confdefs.h >>conftest.$ac_ext
110783 cat >>conftest.$ac_ext <<_ACEOF
110784 /* end confdefs.h. */
110785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110787 #define $ac_func innocuous_$ac_func
110789 /* System header to define __stub macros and hopefully few prototypes,
110790 which can conflict with char $ac_func (); below.
110791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110792 <limits.h> exists even on freestanding compilers. */
110794 #ifdef __STDC__
110795 # include <limits.h>
110796 #else
110797 # include <assert.h>
110798 #endif
110800 #undef $ac_func
110802 /* Override any gcc2 internal prototype to avoid an error. */
110803 #ifdef __cplusplus
110804 extern "C"
110806 #endif
110807 /* We use char because int might match the return type of a gcc2
110808 builtin and then its argument prototype would still apply. */
110809 char $ac_func ();
110810 /* The GNU C library defines this for functions which it implements
110811 to always fail with ENOSYS. Some functions are actually named
110812 something starting with __ and the normal name is an alias. */
110813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110814 choke me
110815 #else
110816 char (*f) () = $ac_func;
110817 #endif
110818 #ifdef __cplusplus
110820 #endif
110823 main ()
110825 return f != $ac_func;
110827 return 0;
110829 _ACEOF
110830 rm -f conftest.$ac_objext conftest$ac_exeext
110831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110832 (eval $ac_link) 2>conftest.er1
110833 ac_status=$?
110834 grep -v '^ *+' conftest.er1 >conftest.err
110835 rm -f conftest.er1
110836 cat conftest.err >&5
110837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110838 (exit $ac_status); } &&
110839 { ac_try='test -z "$ac_c_werror_flag"
110840 || test ! -s conftest.err'
110841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110842 (eval $ac_try) 2>&5
110843 ac_status=$?
110844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110845 (exit $ac_status); }; } &&
110846 { ac_try='test -s conftest$ac_exeext'
110847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110848 (eval $ac_try) 2>&5
110849 ac_status=$?
110850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110851 (exit $ac_status); }; }; then
110852 eval "$as_ac_var=yes"
110854 echo "$as_me: failed program was:" >&5
110855 sed 's/^/| /' conftest.$ac_ext >&5
110857 eval "$as_ac_var=no"
110859 rm -f conftest.err conftest.$ac_objext \
110860 conftest$ac_exeext conftest.$ac_ext
110862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110864 if test `eval echo '${'$as_ac_var'}'` = yes; then
110865 cat >>confdefs.h <<_ACEOF
110866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110867 _ACEOF
110870 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
110876 # Used in libmath/Makefile.am.
110877 if test -n "$LIBMATHOBJS"; then
110878 need_libmath=yes
110883 *-netbsd*)
110896 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
110897 machine/endian.h machine/param.h sys/machine.h sys/types.h \
110898 fp.h locale.h float.h inttypes.h
110900 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110902 echo "$as_me:$LINENO: checking for $ac_header" >&5
110903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110905 echo $ECHO_N "(cached) $ECHO_C" >&6
110907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110910 # Is the header compilable?
110911 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110912 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110913 cat >conftest.$ac_ext <<_ACEOF
110914 /* confdefs.h. */
110915 _ACEOF
110916 cat confdefs.h >>conftest.$ac_ext
110917 cat >>conftest.$ac_ext <<_ACEOF
110918 /* end confdefs.h. */
110919 $ac_includes_default
110920 #include <$ac_header>
110921 _ACEOF
110922 rm -f conftest.$ac_objext
110923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110924 (eval $ac_compile) 2>conftest.er1
110925 ac_status=$?
110926 grep -v '^ *+' conftest.er1 >conftest.err
110927 rm -f conftest.er1
110928 cat conftest.err >&5
110929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110930 (exit $ac_status); } &&
110931 { ac_try='test -z "$ac_c_werror_flag"
110932 || test ! -s conftest.err'
110933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110934 (eval $ac_try) 2>&5
110935 ac_status=$?
110936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110937 (exit $ac_status); }; } &&
110938 { ac_try='test -s conftest.$ac_objext'
110939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110940 (eval $ac_try) 2>&5
110941 ac_status=$?
110942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110943 (exit $ac_status); }; }; then
110944 ac_header_compiler=yes
110946 echo "$as_me: failed program was:" >&5
110947 sed 's/^/| /' conftest.$ac_ext >&5
110949 ac_header_compiler=no
110951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110952 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110953 echo "${ECHO_T}$ac_header_compiler" >&6
110955 # Is the header present?
110956 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110957 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110958 cat >conftest.$ac_ext <<_ACEOF
110959 /* confdefs.h. */
110960 _ACEOF
110961 cat confdefs.h >>conftest.$ac_ext
110962 cat >>conftest.$ac_ext <<_ACEOF
110963 /* end confdefs.h. */
110964 #include <$ac_header>
110965 _ACEOF
110966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110967 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110968 ac_status=$?
110969 grep -v '^ *+' conftest.er1 >conftest.err
110970 rm -f conftest.er1
110971 cat conftest.err >&5
110972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110973 (exit $ac_status); } >/dev/null; then
110974 if test -s conftest.err; then
110975 ac_cpp_err=$ac_c_preproc_warn_flag
110976 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110978 ac_cpp_err=
110981 ac_cpp_err=yes
110983 if test -z "$ac_cpp_err"; then
110984 ac_header_preproc=yes
110986 echo "$as_me: failed program was:" >&5
110987 sed 's/^/| /' conftest.$ac_ext >&5
110989 ac_header_preproc=no
110991 rm -f conftest.err conftest.$ac_ext
110992 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110993 echo "${ECHO_T}$ac_header_preproc" >&6
110995 # So? What about this header?
110996 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110997 yes:no: )
110998 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110999 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111001 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111002 ac_header_preproc=yes
111004 no:yes:* )
111005 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111006 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111007 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
111008 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
111009 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111010 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111011 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
111012 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
111013 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111014 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111015 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111016 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111018 cat <<\_ASBOX
111019 ## ----------------------------------------- ##
111020 ## Report this to the package-unused lists. ##
111021 ## ----------------------------------------- ##
111022 _ASBOX
111024 sed "s/^/$as_me: WARNING: /" >&2
111027 echo "$as_me:$LINENO: checking for $ac_header" >&5
111028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111030 echo $ECHO_N "(cached) $ECHO_C" >&6
111032 eval "$as_ac_Header=\$ac_header_preproc"
111034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111035 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111038 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111039 cat >>confdefs.h <<_ACEOF
111040 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111041 _ACEOF
111047 SECTION_FLAGS='-ffunction-sections -fdata-sections'
111050 # If we're not using GNU ld, then there's no point in even trying these
111051 # tests. Check for that first. We should have already tested for gld
111052 # by now (in libtool), but require it now just to be safe...
111053 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
111054 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
111058 # The name set by libtool depends on the version of libtool. Shame on us
111059 # for depending on an impl detail, but c'est la vie. Older versions used
111060 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
111061 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
111062 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
111063 # set (hence we're using an older libtool), then set it.
111064 if test x${with_gnu_ld+set} != xset; then
111065 if test x${ac_cv_prog_gnu_ld+set} != xset; then
111066 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
111067 with_gnu_ld=no
111069 with_gnu_ld=$ac_cv_prog_gnu_ld
111073 # Start by getting the version number. I think the libtool test already
111074 # does some of this, but throws away the result.
111075 glibcxx_ld_is_gold=no
111076 if test x"$with_gnu_ld" = x"yes"; then
111077 echo "$as_me:$LINENO: checking for ld version" >&5
111078 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
111080 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
111081 glibcxx_ld_is_gold=yes
111083 ldver=`$LD --version 2>/dev/null | head -1 | \
111084 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
111086 glibcxx_gnu_ld_version=`echo $ldver | \
111087 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
111088 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
111089 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
111092 # Set --gc-sections.
111093 glibcxx_have_gc_sections=no
111094 if test "$glibcxx_ld_is_gold" = "yes"; then
111095 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
111096 glibcxx_have_gc_sections=yes
111099 glibcxx_gcsections_min_ld=21602
111100 if test x"$with_gnu_ld" = x"yes" &&
111101 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
111102 glibcxx_have_gc_sections=yes
111105 if test "$glibcxx_have_gc_sections" = "yes"; then
111106 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
111107 # NB: This flag only works reliably after 2.16.1. Configure tests
111108 # for this are difficult, so hard wire a value that should work.
111110 ac_test_CFLAGS="${CFLAGS+set}"
111111 ac_save_CFLAGS="$CFLAGS"
111112 CFLAGS='-Wl,--gc-sections'
111114 # Check for -Wl,--gc-sections
111115 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
111116 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
111117 if test x$gcc_no_link = xyes; then
111118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111120 { (exit 1); exit 1; }; }
111122 cat >conftest.$ac_ext <<_ACEOF
111123 /* confdefs.h. */
111124 _ACEOF
111125 cat confdefs.h >>conftest.$ac_ext
111126 cat >>conftest.$ac_ext <<_ACEOF
111127 /* end confdefs.h. */
111128 int one(void) { return 1; }
111129 int two(void) { return 2; }
111132 main ()
111134 two();
111136 return 0;
111138 _ACEOF
111139 rm -f conftest.$ac_objext conftest$ac_exeext
111140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111141 (eval $ac_link) 2>conftest.er1
111142 ac_status=$?
111143 grep -v '^ *+' conftest.er1 >conftest.err
111144 rm -f conftest.er1
111145 cat conftest.err >&5
111146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111147 (exit $ac_status); } &&
111148 { ac_try='test -z "$ac_c_werror_flag"
111149 || test ! -s conftest.err'
111150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111151 (eval $ac_try) 2>&5
111152 ac_status=$?
111153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111154 (exit $ac_status); }; } &&
111155 { ac_try='test -s conftest$ac_exeext'
111156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111157 (eval $ac_try) 2>&5
111158 ac_status=$?
111159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111160 (exit $ac_status); }; }; then
111161 ac_gcsections=yes
111163 echo "$as_me: failed program was:" >&5
111164 sed 's/^/| /' conftest.$ac_ext >&5
111166 ac_gcsections=no
111168 rm -f conftest.err conftest.$ac_objext \
111169 conftest$ac_exeext conftest.$ac_ext
111170 if test "$ac_gcsections" = "yes"; then
111171 rm -f conftest.c
111172 touch conftest.c
111173 if $CC -c conftest.c; then
111174 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
111175 grep "Warning: gc-sections option ignored" > /dev/null; then
111176 ac_gcsections=no
111179 rm -f conftest.c conftest.o conftest
111181 if test "$ac_gcsections" = "yes"; then
111182 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
111184 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
111185 echo "${ECHO_T}$ac_gcsections" >&6
111187 if test "$ac_test_CFLAGS" = set; then
111188 CFLAGS="$ac_save_CFLAGS"
111190 # this is the suspicious part
111191 CFLAGS=''
111195 # Set -z,relro.
111196 # Note this is only for shared objects.
111197 ac_ld_relro=no
111198 if test x"$with_gnu_ld" = x"yes"; then
111199 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
111200 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
111201 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
111202 if test -n "$cxx_z_relo"; then
111203 OPT_LDFLAGS="-Wl,-z,relro"
111204 ac_ld_relro=yes
111206 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
111207 echo "${ECHO_T}$ac_ld_relro" >&6
111210 # Set linker optimization flags.
111211 if test x"$with_gnu_ld" = x"yes"; then
111212 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
111220 echo "$as_me:$LINENO: checking for main in -lm" >&5
111221 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
111222 if test "${ac_cv_lib_m_main+set}" = set; then
111223 echo $ECHO_N "(cached) $ECHO_C" >&6
111225 ac_check_lib_save_LIBS=$LIBS
111226 LIBS="-lm $LIBS"
111227 if test x$gcc_no_link = xyes; then
111228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111230 { (exit 1); exit 1; }; }
111232 cat >conftest.$ac_ext <<_ACEOF
111233 /* confdefs.h. */
111234 _ACEOF
111235 cat confdefs.h >>conftest.$ac_ext
111236 cat >>conftest.$ac_ext <<_ACEOF
111237 /* end confdefs.h. */
111241 main ()
111243 main ();
111245 return 0;
111247 _ACEOF
111248 rm -f conftest.$ac_objext conftest$ac_exeext
111249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111250 (eval $ac_link) 2>conftest.er1
111251 ac_status=$?
111252 grep -v '^ *+' conftest.er1 >conftest.err
111253 rm -f conftest.er1
111254 cat conftest.err >&5
111255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111256 (exit $ac_status); } &&
111257 { ac_try='test -z "$ac_c_werror_flag"
111258 || test ! -s conftest.err'
111259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111260 (eval $ac_try) 2>&5
111261 ac_status=$?
111262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111263 (exit $ac_status); }; } &&
111264 { ac_try='test -s conftest$ac_exeext'
111265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111266 (eval $ac_try) 2>&5
111267 ac_status=$?
111268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111269 (exit $ac_status); }; }; then
111270 ac_cv_lib_m_main=yes
111272 echo "$as_me: failed program was:" >&5
111273 sed 's/^/| /' conftest.$ac_ext >&5
111275 ac_cv_lib_m_main=no
111277 rm -f conftest.err conftest.$ac_objext \
111278 conftest$ac_exeext conftest.$ac_ext
111279 LIBS=$ac_check_lib_save_LIBS
111281 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
111282 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
111283 if test $ac_cv_lib_m_main = yes; then
111284 cat >>confdefs.h <<_ACEOF
111285 #define HAVE_LIBM 1
111286 _ACEOF
111288 LIBS="-lm $LIBS"
111293 for ac_func in copysignf
111295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111296 echo "$as_me:$LINENO: checking for $ac_func" >&5
111297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111298 if eval "test \"\${$as_ac_var+set}\" = set"; then
111299 echo $ECHO_N "(cached) $ECHO_C" >&6
111301 if test x$gcc_no_link = xyes; then
111302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111304 { (exit 1); exit 1; }; }
111306 cat >conftest.$ac_ext <<_ACEOF
111307 /* confdefs.h. */
111308 _ACEOF
111309 cat confdefs.h >>conftest.$ac_ext
111310 cat >>conftest.$ac_ext <<_ACEOF
111311 /* end confdefs.h. */
111312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111314 #define $ac_func innocuous_$ac_func
111316 /* System header to define __stub macros and hopefully few prototypes,
111317 which can conflict with char $ac_func (); below.
111318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111319 <limits.h> exists even on freestanding compilers. */
111321 #ifdef __STDC__
111322 # include <limits.h>
111323 #else
111324 # include <assert.h>
111325 #endif
111327 #undef $ac_func
111329 /* Override any gcc2 internal prototype to avoid an error. */
111330 #ifdef __cplusplus
111331 extern "C"
111333 #endif
111334 /* We use char because int might match the return type of a gcc2
111335 builtin and then its argument prototype would still apply. */
111336 char $ac_func ();
111337 /* The GNU C library defines this for functions which it implements
111338 to always fail with ENOSYS. Some functions are actually named
111339 something starting with __ and the normal name is an alias. */
111340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111341 choke me
111342 #else
111343 char (*f) () = $ac_func;
111344 #endif
111345 #ifdef __cplusplus
111347 #endif
111350 main ()
111352 return f != $ac_func;
111354 return 0;
111356 _ACEOF
111357 rm -f conftest.$ac_objext conftest$ac_exeext
111358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111359 (eval $ac_link) 2>conftest.er1
111360 ac_status=$?
111361 grep -v '^ *+' conftest.er1 >conftest.err
111362 rm -f conftest.er1
111363 cat conftest.err >&5
111364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111365 (exit $ac_status); } &&
111366 { ac_try='test -z "$ac_c_werror_flag"
111367 || test ! -s conftest.err'
111368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111369 (eval $ac_try) 2>&5
111370 ac_status=$?
111371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111372 (exit $ac_status); }; } &&
111373 { ac_try='test -s conftest$ac_exeext'
111374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111375 (eval $ac_try) 2>&5
111376 ac_status=$?
111377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111378 (exit $ac_status); }; }; then
111379 eval "$as_ac_var=yes"
111381 echo "$as_me: failed program was:" >&5
111382 sed 's/^/| /' conftest.$ac_ext >&5
111384 eval "$as_ac_var=no"
111386 rm -f conftest.err conftest.$ac_objext \
111387 conftest$ac_exeext conftest.$ac_ext
111389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111391 if test `eval echo '${'$as_ac_var'}'` = yes; then
111392 cat >>confdefs.h <<_ACEOF
111393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111394 _ACEOF
111397 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
111403 for ac_func in __signbit
111405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111406 echo "$as_me:$LINENO: checking for $ac_func" >&5
111407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111408 if eval "test \"\${$as_ac_var+set}\" = set"; then
111409 echo $ECHO_N "(cached) $ECHO_C" >&6
111411 if test x$gcc_no_link = xyes; then
111412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111414 { (exit 1); exit 1; }; }
111416 cat >conftest.$ac_ext <<_ACEOF
111417 /* confdefs.h. */
111418 _ACEOF
111419 cat confdefs.h >>conftest.$ac_ext
111420 cat >>conftest.$ac_ext <<_ACEOF
111421 /* end confdefs.h. */
111422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111424 #define $ac_func innocuous_$ac_func
111426 /* System header to define __stub macros and hopefully few prototypes,
111427 which can conflict with char $ac_func (); below.
111428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111429 <limits.h> exists even on freestanding compilers. */
111431 #ifdef __STDC__
111432 # include <limits.h>
111433 #else
111434 # include <assert.h>
111435 #endif
111437 #undef $ac_func
111439 /* Override any gcc2 internal prototype to avoid an error. */
111440 #ifdef __cplusplus
111441 extern "C"
111443 #endif
111444 /* We use char because int might match the return type of a gcc2
111445 builtin and then its argument prototype would still apply. */
111446 char $ac_func ();
111447 /* The GNU C library defines this for functions which it implements
111448 to always fail with ENOSYS. Some functions are actually named
111449 something starting with __ and the normal name is an alias. */
111450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111451 choke me
111452 #else
111453 char (*f) () = $ac_func;
111454 #endif
111455 #ifdef __cplusplus
111457 #endif
111460 main ()
111462 return f != $ac_func;
111464 return 0;
111466 _ACEOF
111467 rm -f conftest.$ac_objext conftest$ac_exeext
111468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111469 (eval $ac_link) 2>conftest.er1
111470 ac_status=$?
111471 grep -v '^ *+' conftest.er1 >conftest.err
111472 rm -f conftest.er1
111473 cat conftest.err >&5
111474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111475 (exit $ac_status); } &&
111476 { ac_try='test -z "$ac_c_werror_flag"
111477 || test ! -s conftest.err'
111478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111479 (eval $ac_try) 2>&5
111480 ac_status=$?
111481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111482 (exit $ac_status); }; } &&
111483 { ac_try='test -s conftest$ac_exeext'
111484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111485 (eval $ac_try) 2>&5
111486 ac_status=$?
111487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111488 (exit $ac_status); }; }; then
111489 eval "$as_ac_var=yes"
111491 echo "$as_me: failed program was:" >&5
111492 sed 's/^/| /' conftest.$ac_ext >&5
111494 eval "$as_ac_var=no"
111496 rm -f conftest.err conftest.$ac_objext \
111497 conftest$ac_exeext conftest.$ac_ext
111499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111501 if test `eval echo '${'$as_ac_var'}'` = yes; then
111502 cat >>confdefs.h <<_ACEOF
111503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111504 _ACEOF
111507 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
111513 for ac_func in __signbitf
111515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111516 echo "$as_me:$LINENO: checking for $ac_func" >&5
111517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111518 if eval "test \"\${$as_ac_var+set}\" = set"; then
111519 echo $ECHO_N "(cached) $ECHO_C" >&6
111521 if test x$gcc_no_link = xyes; then
111522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111524 { (exit 1); exit 1; }; }
111526 cat >conftest.$ac_ext <<_ACEOF
111527 /* confdefs.h. */
111528 _ACEOF
111529 cat confdefs.h >>conftest.$ac_ext
111530 cat >>conftest.$ac_ext <<_ACEOF
111531 /* end confdefs.h. */
111532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111534 #define $ac_func innocuous_$ac_func
111536 /* System header to define __stub macros and hopefully few prototypes,
111537 which can conflict with char $ac_func (); below.
111538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111539 <limits.h> exists even on freestanding compilers. */
111541 #ifdef __STDC__
111542 # include <limits.h>
111543 #else
111544 # include <assert.h>
111545 #endif
111547 #undef $ac_func
111549 /* Override any gcc2 internal prototype to avoid an error. */
111550 #ifdef __cplusplus
111551 extern "C"
111553 #endif
111554 /* We use char because int might match the return type of a gcc2
111555 builtin and then its argument prototype would still apply. */
111556 char $ac_func ();
111557 /* The GNU C library defines this for functions which it implements
111558 to always fail with ENOSYS. Some functions are actually named
111559 something starting with __ and the normal name is an alias. */
111560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111561 choke me
111562 #else
111563 char (*f) () = $ac_func;
111564 #endif
111565 #ifdef __cplusplus
111567 #endif
111570 main ()
111572 return f != $ac_func;
111574 return 0;
111576 _ACEOF
111577 rm -f conftest.$ac_objext conftest$ac_exeext
111578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111579 (eval $ac_link) 2>conftest.er1
111580 ac_status=$?
111581 grep -v '^ *+' conftest.er1 >conftest.err
111582 rm -f conftest.er1
111583 cat conftest.err >&5
111584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111585 (exit $ac_status); } &&
111586 { ac_try='test -z "$ac_c_werror_flag"
111587 || test ! -s conftest.err'
111588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111589 (eval $ac_try) 2>&5
111590 ac_status=$?
111591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111592 (exit $ac_status); }; } &&
111593 { ac_try='test -s conftest$ac_exeext'
111594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111595 (eval $ac_try) 2>&5
111596 ac_status=$?
111597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111598 (exit $ac_status); }; }; then
111599 eval "$as_ac_var=yes"
111601 echo "$as_me: failed program was:" >&5
111602 sed 's/^/| /' conftest.$ac_ext >&5
111604 eval "$as_ac_var=no"
111606 rm -f conftest.err conftest.$ac_objext \
111607 conftest$ac_exeext conftest.$ac_ext
111609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111611 if test `eval echo '${'$as_ac_var'}'` = yes; then
111612 cat >>confdefs.h <<_ACEOF
111613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111614 _ACEOF
111617 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
111622 if test x$ac_cv_func_copysignl = x"yes"; then
111624 for ac_func in __signbitl
111626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111627 echo "$as_me:$LINENO: checking for $ac_func" >&5
111628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111629 if eval "test \"\${$as_ac_var+set}\" = set"; then
111630 echo $ECHO_N "(cached) $ECHO_C" >&6
111632 if test x$gcc_no_link = xyes; then
111633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111635 { (exit 1); exit 1; }; }
111637 cat >conftest.$ac_ext <<_ACEOF
111638 /* confdefs.h. */
111639 _ACEOF
111640 cat confdefs.h >>conftest.$ac_ext
111641 cat >>conftest.$ac_ext <<_ACEOF
111642 /* end confdefs.h. */
111643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111645 #define $ac_func innocuous_$ac_func
111647 /* System header to define __stub macros and hopefully few prototypes,
111648 which can conflict with char $ac_func (); below.
111649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111650 <limits.h> exists even on freestanding compilers. */
111652 #ifdef __STDC__
111653 # include <limits.h>
111654 #else
111655 # include <assert.h>
111656 #endif
111658 #undef $ac_func
111660 /* Override any gcc2 internal prototype to avoid an error. */
111661 #ifdef __cplusplus
111662 extern "C"
111664 #endif
111665 /* We use char because int might match the return type of a gcc2
111666 builtin and then its argument prototype would still apply. */
111667 char $ac_func ();
111668 /* The GNU C library defines this for functions which it implements
111669 to always fail with ENOSYS. Some functions are actually named
111670 something starting with __ and the normal name is an alias. */
111671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111672 choke me
111673 #else
111674 char (*f) () = $ac_func;
111675 #endif
111676 #ifdef __cplusplus
111678 #endif
111681 main ()
111683 return f != $ac_func;
111685 return 0;
111687 _ACEOF
111688 rm -f conftest.$ac_objext conftest$ac_exeext
111689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111690 (eval $ac_link) 2>conftest.er1
111691 ac_status=$?
111692 grep -v '^ *+' conftest.er1 >conftest.err
111693 rm -f conftest.er1
111694 cat conftest.err >&5
111695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111696 (exit $ac_status); } &&
111697 { ac_try='test -z "$ac_c_werror_flag"
111698 || test ! -s conftest.err'
111699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111700 (eval $ac_try) 2>&5
111701 ac_status=$?
111702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111703 (exit $ac_status); }; } &&
111704 { ac_try='test -s conftest$ac_exeext'
111705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111706 (eval $ac_try) 2>&5
111707 ac_status=$?
111708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111709 (exit $ac_status); }; }; then
111710 eval "$as_ac_var=yes"
111712 echo "$as_me: failed program was:" >&5
111713 sed 's/^/| /' conftest.$ac_ext >&5
111715 eval "$as_ac_var=no"
111717 rm -f conftest.err conftest.$ac_objext \
111718 conftest$ac_exeext conftest.$ac_ext
111720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111722 if test `eval echo '${'$as_ac_var'}'` = yes; then
111723 cat >>confdefs.h <<_ACEOF
111724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111725 _ACEOF
111728 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
111734 # Used in libmath/Makefile.am.
111735 if test -n "$LIBMATHOBJS"; then
111736 need_libmath=yes
111740 cat >>confdefs.h <<\_ACEOF
111741 #define HAVE_COPYSIGN 1
111742 _ACEOF
111744 cat >>confdefs.h <<\_ACEOF
111745 #define HAVE_COPYSIGNF 1
111746 _ACEOF
111748 cat >>confdefs.h <<\_ACEOF
111749 #define HAVE_FINITEF 1
111750 _ACEOF
111752 cat >>confdefs.h <<\_ACEOF
111753 #define HAVE_FINITE 1
111754 _ACEOF
111756 cat >>confdefs.h <<\_ACEOF
111757 #define HAVE_FREXPF 1
111758 _ACEOF
111760 cat >>confdefs.h <<\_ACEOF
111761 #define HAVE_HYPOTF 1
111762 _ACEOF
111764 cat >>confdefs.h <<\_ACEOF
111765 #define HAVE_ISINF 1
111766 _ACEOF
111768 cat >>confdefs.h <<\_ACEOF
111769 #define HAVE_ISINFF 1
111770 _ACEOF
111772 cat >>confdefs.h <<\_ACEOF
111773 #define HAVE_ISNAN 1
111774 _ACEOF
111776 cat >>confdefs.h <<\_ACEOF
111777 #define HAVE_ISNANF 1
111778 _ACEOF
111780 if test x"long_double_math_on_this_cpu" = x"yes"; then
111781 cat >>confdefs.h <<\_ACEOF
111782 #define HAVE_FINITEL 1
111783 _ACEOF
111785 cat >>confdefs.h <<\_ACEOF
111786 #define HAVE_ISINFL 1
111787 _ACEOF
111789 cat >>confdefs.h <<\_ACEOF
111790 #define HAVE_ISNANL 1
111791 _ACEOF
111795 *-netware)
111804 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
111805 sys/types.h locale.h float.h inttypes.h
111807 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111809 echo "$as_me:$LINENO: checking for $ac_header" >&5
111810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111812 echo $ECHO_N "(cached) $ECHO_C" >&6
111814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111817 # Is the header compilable?
111818 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111819 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111820 cat >conftest.$ac_ext <<_ACEOF
111821 /* confdefs.h. */
111822 _ACEOF
111823 cat confdefs.h >>conftest.$ac_ext
111824 cat >>conftest.$ac_ext <<_ACEOF
111825 /* end confdefs.h. */
111826 $ac_includes_default
111827 #include <$ac_header>
111828 _ACEOF
111829 rm -f conftest.$ac_objext
111830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111831 (eval $ac_compile) 2>conftest.er1
111832 ac_status=$?
111833 grep -v '^ *+' conftest.er1 >conftest.err
111834 rm -f conftest.er1
111835 cat conftest.err >&5
111836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111837 (exit $ac_status); } &&
111838 { ac_try='test -z "$ac_c_werror_flag"
111839 || test ! -s conftest.err'
111840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111841 (eval $ac_try) 2>&5
111842 ac_status=$?
111843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111844 (exit $ac_status); }; } &&
111845 { ac_try='test -s conftest.$ac_objext'
111846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111847 (eval $ac_try) 2>&5
111848 ac_status=$?
111849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111850 (exit $ac_status); }; }; then
111851 ac_header_compiler=yes
111853 echo "$as_me: failed program was:" >&5
111854 sed 's/^/| /' conftest.$ac_ext >&5
111856 ac_header_compiler=no
111858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111860 echo "${ECHO_T}$ac_header_compiler" >&6
111862 # Is the header present?
111863 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111864 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111865 cat >conftest.$ac_ext <<_ACEOF
111866 /* confdefs.h. */
111867 _ACEOF
111868 cat confdefs.h >>conftest.$ac_ext
111869 cat >>conftest.$ac_ext <<_ACEOF
111870 /* end confdefs.h. */
111871 #include <$ac_header>
111872 _ACEOF
111873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111874 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111875 ac_status=$?
111876 grep -v '^ *+' conftest.er1 >conftest.err
111877 rm -f conftest.er1
111878 cat conftest.err >&5
111879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111880 (exit $ac_status); } >/dev/null; then
111881 if test -s conftest.err; then
111882 ac_cpp_err=$ac_c_preproc_warn_flag
111883 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111885 ac_cpp_err=
111888 ac_cpp_err=yes
111890 if test -z "$ac_cpp_err"; then
111891 ac_header_preproc=yes
111893 echo "$as_me: failed program was:" >&5
111894 sed 's/^/| /' conftest.$ac_ext >&5
111896 ac_header_preproc=no
111898 rm -f conftest.err conftest.$ac_ext
111899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111900 echo "${ECHO_T}$ac_header_preproc" >&6
111902 # So? What about this header?
111903 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111904 yes:no: )
111905 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111906 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111908 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111909 ac_header_preproc=yes
111911 no:yes:* )
111912 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111913 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111914 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
111915 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
111916 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111917 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111918 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
111919 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
111920 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111921 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111922 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111923 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111925 cat <<\_ASBOX
111926 ## ----------------------------------------- ##
111927 ## Report this to the package-unused lists. ##
111928 ## ----------------------------------------- ##
111929 _ASBOX
111931 sed "s/^/$as_me: WARNING: /" >&2
111934 echo "$as_me:$LINENO: checking for $ac_header" >&5
111935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111937 echo $ECHO_N "(cached) $ECHO_C" >&6
111939 eval "$as_ac_Header=\$ac_header_preproc"
111941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111946 cat >>confdefs.h <<_ACEOF
111947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111948 _ACEOF
111954 SECTION_FLAGS='-ffunction-sections -fdata-sections'
111957 # If we're not using GNU ld, then there's no point in even trying these
111958 # tests. Check for that first. We should have already tested for gld
111959 # by now (in libtool), but require it now just to be safe...
111960 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
111961 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
111965 # The name set by libtool depends on the version of libtool. Shame on us
111966 # for depending on an impl detail, but c'est la vie. Older versions used
111967 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
111968 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
111969 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
111970 # set (hence we're using an older libtool), then set it.
111971 if test x${with_gnu_ld+set} != xset; then
111972 if test x${ac_cv_prog_gnu_ld+set} != xset; then
111973 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
111974 with_gnu_ld=no
111976 with_gnu_ld=$ac_cv_prog_gnu_ld
111980 # Start by getting the version number. I think the libtool test already
111981 # does some of this, but throws away the result.
111982 glibcxx_ld_is_gold=no
111983 if test x"$with_gnu_ld" = x"yes"; then
111984 echo "$as_me:$LINENO: checking for ld version" >&5
111985 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
111987 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
111988 glibcxx_ld_is_gold=yes
111990 ldver=`$LD --version 2>/dev/null | head -1 | \
111991 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
111993 glibcxx_gnu_ld_version=`echo $ldver | \
111994 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
111995 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
111996 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
111999 # Set --gc-sections.
112000 glibcxx_have_gc_sections=no
112001 if test "$glibcxx_ld_is_gold" = "yes"; then
112002 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
112003 glibcxx_have_gc_sections=yes
112006 glibcxx_gcsections_min_ld=21602
112007 if test x"$with_gnu_ld" = x"yes" &&
112008 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112009 glibcxx_have_gc_sections=yes
112012 if test "$glibcxx_have_gc_sections" = "yes"; then
112013 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
112014 # NB: This flag only works reliably after 2.16.1. Configure tests
112015 # for this are difficult, so hard wire a value that should work.
112017 ac_test_CFLAGS="${CFLAGS+set}"
112018 ac_save_CFLAGS="$CFLAGS"
112019 CFLAGS='-Wl,--gc-sections'
112021 # Check for -Wl,--gc-sections
112022 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112023 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112024 if test x$gcc_no_link = xyes; then
112025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112027 { (exit 1); exit 1; }; }
112029 cat >conftest.$ac_ext <<_ACEOF
112030 /* confdefs.h. */
112031 _ACEOF
112032 cat confdefs.h >>conftest.$ac_ext
112033 cat >>conftest.$ac_ext <<_ACEOF
112034 /* end confdefs.h. */
112035 int one(void) { return 1; }
112036 int two(void) { return 2; }
112039 main ()
112041 two();
112043 return 0;
112045 _ACEOF
112046 rm -f conftest.$ac_objext conftest$ac_exeext
112047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112048 (eval $ac_link) 2>conftest.er1
112049 ac_status=$?
112050 grep -v '^ *+' conftest.er1 >conftest.err
112051 rm -f conftest.er1
112052 cat conftest.err >&5
112053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112054 (exit $ac_status); } &&
112055 { ac_try='test -z "$ac_c_werror_flag"
112056 || test ! -s conftest.err'
112057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112058 (eval $ac_try) 2>&5
112059 ac_status=$?
112060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112061 (exit $ac_status); }; } &&
112062 { ac_try='test -s conftest$ac_exeext'
112063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112064 (eval $ac_try) 2>&5
112065 ac_status=$?
112066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112067 (exit $ac_status); }; }; then
112068 ac_gcsections=yes
112070 echo "$as_me: failed program was:" >&5
112071 sed 's/^/| /' conftest.$ac_ext >&5
112073 ac_gcsections=no
112075 rm -f conftest.err conftest.$ac_objext \
112076 conftest$ac_exeext conftest.$ac_ext
112077 if test "$ac_gcsections" = "yes"; then
112078 rm -f conftest.c
112079 touch conftest.c
112080 if $CC -c conftest.c; then
112081 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112082 grep "Warning: gc-sections option ignored" > /dev/null; then
112083 ac_gcsections=no
112086 rm -f conftest.c conftest.o conftest
112088 if test "$ac_gcsections" = "yes"; then
112089 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112091 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112092 echo "${ECHO_T}$ac_gcsections" >&6
112094 if test "$ac_test_CFLAGS" = set; then
112095 CFLAGS="$ac_save_CFLAGS"
112097 # this is the suspicious part
112098 CFLAGS=''
112102 # Set -z,relro.
112103 # Note this is only for shared objects.
112104 ac_ld_relro=no
112105 if test x"$with_gnu_ld" = x"yes"; then
112106 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112107 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112108 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112109 if test -n "$cxx_z_relo"; then
112110 OPT_LDFLAGS="-Wl,-z,relro"
112111 ac_ld_relro=yes
112113 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112114 echo "${ECHO_T}$ac_ld_relro" >&6
112117 # Set linker optimization flags.
112118 if test x"$with_gnu_ld" = x"yes"; then
112119 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112127 echo "$as_me:$LINENO: checking for main in -lm" >&5
112128 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
112129 if test "${ac_cv_lib_m_main+set}" = set; then
112130 echo $ECHO_N "(cached) $ECHO_C" >&6
112132 ac_check_lib_save_LIBS=$LIBS
112133 LIBS="-lm $LIBS"
112134 if test x$gcc_no_link = xyes; then
112135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112137 { (exit 1); exit 1; }; }
112139 cat >conftest.$ac_ext <<_ACEOF
112140 /* confdefs.h. */
112141 _ACEOF
112142 cat confdefs.h >>conftest.$ac_ext
112143 cat >>conftest.$ac_ext <<_ACEOF
112144 /* end confdefs.h. */
112148 main ()
112150 main ();
112152 return 0;
112154 _ACEOF
112155 rm -f conftest.$ac_objext conftest$ac_exeext
112156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112157 (eval $ac_link) 2>conftest.er1
112158 ac_status=$?
112159 grep -v '^ *+' conftest.er1 >conftest.err
112160 rm -f conftest.er1
112161 cat conftest.err >&5
112162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112163 (exit $ac_status); } &&
112164 { ac_try='test -z "$ac_c_werror_flag"
112165 || test ! -s conftest.err'
112166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112167 (eval $ac_try) 2>&5
112168 ac_status=$?
112169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112170 (exit $ac_status); }; } &&
112171 { ac_try='test -s conftest$ac_exeext'
112172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112173 (eval $ac_try) 2>&5
112174 ac_status=$?
112175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112176 (exit $ac_status); }; }; then
112177 ac_cv_lib_m_main=yes
112179 echo "$as_me: failed program was:" >&5
112180 sed 's/^/| /' conftest.$ac_ext >&5
112182 ac_cv_lib_m_main=no
112184 rm -f conftest.err conftest.$ac_objext \
112185 conftest$ac_exeext conftest.$ac_ext
112186 LIBS=$ac_check_lib_save_LIBS
112188 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
112189 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
112190 if test $ac_cv_lib_m_main = yes; then
112191 cat >>confdefs.h <<_ACEOF
112192 #define HAVE_LIBM 1
112193 _ACEOF
112195 LIBS="-lm $LIBS"
112200 for ac_func in copysignf
112202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112203 echo "$as_me:$LINENO: checking for $ac_func" >&5
112204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112205 if eval "test \"\${$as_ac_var+set}\" = set"; then
112206 echo $ECHO_N "(cached) $ECHO_C" >&6
112208 if test x$gcc_no_link = xyes; then
112209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112211 { (exit 1); exit 1; }; }
112213 cat >conftest.$ac_ext <<_ACEOF
112214 /* confdefs.h. */
112215 _ACEOF
112216 cat confdefs.h >>conftest.$ac_ext
112217 cat >>conftest.$ac_ext <<_ACEOF
112218 /* end confdefs.h. */
112219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112221 #define $ac_func innocuous_$ac_func
112223 /* System header to define __stub macros and hopefully few prototypes,
112224 which can conflict with char $ac_func (); below.
112225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112226 <limits.h> exists even on freestanding compilers. */
112228 #ifdef __STDC__
112229 # include <limits.h>
112230 #else
112231 # include <assert.h>
112232 #endif
112234 #undef $ac_func
112236 /* Override any gcc2 internal prototype to avoid an error. */
112237 #ifdef __cplusplus
112238 extern "C"
112240 #endif
112241 /* We use char because int might match the return type of a gcc2
112242 builtin and then its argument prototype would still apply. */
112243 char $ac_func ();
112244 /* The GNU C library defines this for functions which it implements
112245 to always fail with ENOSYS. Some functions are actually named
112246 something starting with __ and the normal name is an alias. */
112247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112248 choke me
112249 #else
112250 char (*f) () = $ac_func;
112251 #endif
112252 #ifdef __cplusplus
112254 #endif
112257 main ()
112259 return f != $ac_func;
112261 return 0;
112263 _ACEOF
112264 rm -f conftest.$ac_objext conftest$ac_exeext
112265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112266 (eval $ac_link) 2>conftest.er1
112267 ac_status=$?
112268 grep -v '^ *+' conftest.er1 >conftest.err
112269 rm -f conftest.er1
112270 cat conftest.err >&5
112271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112272 (exit $ac_status); } &&
112273 { ac_try='test -z "$ac_c_werror_flag"
112274 || test ! -s conftest.err'
112275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112276 (eval $ac_try) 2>&5
112277 ac_status=$?
112278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112279 (exit $ac_status); }; } &&
112280 { ac_try='test -s conftest$ac_exeext'
112281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112282 (eval $ac_try) 2>&5
112283 ac_status=$?
112284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112285 (exit $ac_status); }; }; then
112286 eval "$as_ac_var=yes"
112288 echo "$as_me: failed program was:" >&5
112289 sed 's/^/| /' conftest.$ac_ext >&5
112291 eval "$as_ac_var=no"
112293 rm -f conftest.err conftest.$ac_objext \
112294 conftest$ac_exeext conftest.$ac_ext
112296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112298 if test `eval echo '${'$as_ac_var'}'` = yes; then
112299 cat >>confdefs.h <<_ACEOF
112300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112301 _ACEOF
112304 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
112310 for ac_func in __signbit
112312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112313 echo "$as_me:$LINENO: checking for $ac_func" >&5
112314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112315 if eval "test \"\${$as_ac_var+set}\" = set"; then
112316 echo $ECHO_N "(cached) $ECHO_C" >&6
112318 if test x$gcc_no_link = xyes; then
112319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112321 { (exit 1); exit 1; }; }
112323 cat >conftest.$ac_ext <<_ACEOF
112324 /* confdefs.h. */
112325 _ACEOF
112326 cat confdefs.h >>conftest.$ac_ext
112327 cat >>conftest.$ac_ext <<_ACEOF
112328 /* end confdefs.h. */
112329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112331 #define $ac_func innocuous_$ac_func
112333 /* System header to define __stub macros and hopefully few prototypes,
112334 which can conflict with char $ac_func (); below.
112335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112336 <limits.h> exists even on freestanding compilers. */
112338 #ifdef __STDC__
112339 # include <limits.h>
112340 #else
112341 # include <assert.h>
112342 #endif
112344 #undef $ac_func
112346 /* Override any gcc2 internal prototype to avoid an error. */
112347 #ifdef __cplusplus
112348 extern "C"
112350 #endif
112351 /* We use char because int might match the return type of a gcc2
112352 builtin and then its argument prototype would still apply. */
112353 char $ac_func ();
112354 /* The GNU C library defines this for functions which it implements
112355 to always fail with ENOSYS. Some functions are actually named
112356 something starting with __ and the normal name is an alias. */
112357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112358 choke me
112359 #else
112360 char (*f) () = $ac_func;
112361 #endif
112362 #ifdef __cplusplus
112364 #endif
112367 main ()
112369 return f != $ac_func;
112371 return 0;
112373 _ACEOF
112374 rm -f conftest.$ac_objext conftest$ac_exeext
112375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112376 (eval $ac_link) 2>conftest.er1
112377 ac_status=$?
112378 grep -v '^ *+' conftest.er1 >conftest.err
112379 rm -f conftest.er1
112380 cat conftest.err >&5
112381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112382 (exit $ac_status); } &&
112383 { ac_try='test -z "$ac_c_werror_flag"
112384 || test ! -s conftest.err'
112385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112386 (eval $ac_try) 2>&5
112387 ac_status=$?
112388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112389 (exit $ac_status); }; } &&
112390 { ac_try='test -s conftest$ac_exeext'
112391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112392 (eval $ac_try) 2>&5
112393 ac_status=$?
112394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112395 (exit $ac_status); }; }; then
112396 eval "$as_ac_var=yes"
112398 echo "$as_me: failed program was:" >&5
112399 sed 's/^/| /' conftest.$ac_ext >&5
112401 eval "$as_ac_var=no"
112403 rm -f conftest.err conftest.$ac_objext \
112404 conftest$ac_exeext conftest.$ac_ext
112406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112408 if test `eval echo '${'$as_ac_var'}'` = yes; then
112409 cat >>confdefs.h <<_ACEOF
112410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112411 _ACEOF
112414 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
112420 for ac_func in __signbitf
112422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112423 echo "$as_me:$LINENO: checking for $ac_func" >&5
112424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112425 if eval "test \"\${$as_ac_var+set}\" = set"; then
112426 echo $ECHO_N "(cached) $ECHO_C" >&6
112428 if test x$gcc_no_link = xyes; then
112429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112431 { (exit 1); exit 1; }; }
112433 cat >conftest.$ac_ext <<_ACEOF
112434 /* confdefs.h. */
112435 _ACEOF
112436 cat confdefs.h >>conftest.$ac_ext
112437 cat >>conftest.$ac_ext <<_ACEOF
112438 /* end confdefs.h. */
112439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112441 #define $ac_func innocuous_$ac_func
112443 /* System header to define __stub macros and hopefully few prototypes,
112444 which can conflict with char $ac_func (); below.
112445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112446 <limits.h> exists even on freestanding compilers. */
112448 #ifdef __STDC__
112449 # include <limits.h>
112450 #else
112451 # include <assert.h>
112452 #endif
112454 #undef $ac_func
112456 /* Override any gcc2 internal prototype to avoid an error. */
112457 #ifdef __cplusplus
112458 extern "C"
112460 #endif
112461 /* We use char because int might match the return type of a gcc2
112462 builtin and then its argument prototype would still apply. */
112463 char $ac_func ();
112464 /* The GNU C library defines this for functions which it implements
112465 to always fail with ENOSYS. Some functions are actually named
112466 something starting with __ and the normal name is an alias. */
112467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112468 choke me
112469 #else
112470 char (*f) () = $ac_func;
112471 #endif
112472 #ifdef __cplusplus
112474 #endif
112477 main ()
112479 return f != $ac_func;
112481 return 0;
112483 _ACEOF
112484 rm -f conftest.$ac_objext conftest$ac_exeext
112485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112486 (eval $ac_link) 2>conftest.er1
112487 ac_status=$?
112488 grep -v '^ *+' conftest.er1 >conftest.err
112489 rm -f conftest.er1
112490 cat conftest.err >&5
112491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112492 (exit $ac_status); } &&
112493 { ac_try='test -z "$ac_c_werror_flag"
112494 || test ! -s conftest.err'
112495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112496 (eval $ac_try) 2>&5
112497 ac_status=$?
112498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112499 (exit $ac_status); }; } &&
112500 { ac_try='test -s conftest$ac_exeext'
112501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112502 (eval $ac_try) 2>&5
112503 ac_status=$?
112504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112505 (exit $ac_status); }; }; then
112506 eval "$as_ac_var=yes"
112508 echo "$as_me: failed program was:" >&5
112509 sed 's/^/| /' conftest.$ac_ext >&5
112511 eval "$as_ac_var=no"
112513 rm -f conftest.err conftest.$ac_objext \
112514 conftest$ac_exeext conftest.$ac_ext
112516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112518 if test `eval echo '${'$as_ac_var'}'` = yes; then
112519 cat >>confdefs.h <<_ACEOF
112520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112521 _ACEOF
112524 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
112529 if test x$ac_cv_func_copysignl = x"yes"; then
112531 for ac_func in __signbitl
112533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112534 echo "$as_me:$LINENO: checking for $ac_func" >&5
112535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112536 if eval "test \"\${$as_ac_var+set}\" = set"; then
112537 echo $ECHO_N "(cached) $ECHO_C" >&6
112539 if test x$gcc_no_link = xyes; then
112540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112542 { (exit 1); exit 1; }; }
112544 cat >conftest.$ac_ext <<_ACEOF
112545 /* confdefs.h. */
112546 _ACEOF
112547 cat confdefs.h >>conftest.$ac_ext
112548 cat >>conftest.$ac_ext <<_ACEOF
112549 /* end confdefs.h. */
112550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112552 #define $ac_func innocuous_$ac_func
112554 /* System header to define __stub macros and hopefully few prototypes,
112555 which can conflict with char $ac_func (); below.
112556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112557 <limits.h> exists even on freestanding compilers. */
112559 #ifdef __STDC__
112560 # include <limits.h>
112561 #else
112562 # include <assert.h>
112563 #endif
112565 #undef $ac_func
112567 /* Override any gcc2 internal prototype to avoid an error. */
112568 #ifdef __cplusplus
112569 extern "C"
112571 #endif
112572 /* We use char because int might match the return type of a gcc2
112573 builtin and then its argument prototype would still apply. */
112574 char $ac_func ();
112575 /* The GNU C library defines this for functions which it implements
112576 to always fail with ENOSYS. Some functions are actually named
112577 something starting with __ and the normal name is an alias. */
112578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112579 choke me
112580 #else
112581 char (*f) () = $ac_func;
112582 #endif
112583 #ifdef __cplusplus
112585 #endif
112588 main ()
112590 return f != $ac_func;
112592 return 0;
112594 _ACEOF
112595 rm -f conftest.$ac_objext conftest$ac_exeext
112596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112597 (eval $ac_link) 2>conftest.er1
112598 ac_status=$?
112599 grep -v '^ *+' conftest.er1 >conftest.err
112600 rm -f conftest.er1
112601 cat conftest.err >&5
112602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112603 (exit $ac_status); } &&
112604 { ac_try='test -z "$ac_c_werror_flag"
112605 || test ! -s conftest.err'
112606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112607 (eval $ac_try) 2>&5
112608 ac_status=$?
112609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112610 (exit $ac_status); }; } &&
112611 { ac_try='test -s conftest$ac_exeext'
112612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112613 (eval $ac_try) 2>&5
112614 ac_status=$?
112615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112616 (exit $ac_status); }; }; then
112617 eval "$as_ac_var=yes"
112619 echo "$as_me: failed program was:" >&5
112620 sed 's/^/| /' conftest.$ac_ext >&5
112622 eval "$as_ac_var=no"
112624 rm -f conftest.err conftest.$ac_objext \
112625 conftest$ac_exeext conftest.$ac_ext
112627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112629 if test `eval echo '${'$as_ac_var'}'` = yes; then
112630 cat >>confdefs.h <<_ACEOF
112631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112632 _ACEOF
112635 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
112641 # Used in libmath/Makefile.am.
112642 if test -n "$LIBMATHOBJS"; then
112643 need_libmath=yes
112647 cat >>confdefs.h <<\_ACEOF
112648 #define HAVE_HYPOT 1
112649 _ACEOF
112651 cat >>confdefs.h <<\_ACEOF
112652 #define HAVE_ISINF 1
112653 _ACEOF
112655 cat >>confdefs.h <<\_ACEOF
112656 #define HAVE_ISNAN 1
112657 _ACEOF
112660 # For showmanyc_helper().
112663 for ac_header in sys/ioctl.h sys/filio.h
112665 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
112666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112667 echo "$as_me:$LINENO: checking for $ac_header" >&5
112668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112670 echo $ECHO_N "(cached) $ECHO_C" >&6
112672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112675 # Is the header compilable?
112676 echo "$as_me:$LINENO: checking $ac_header usability" >&5
112677 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
112678 cat >conftest.$ac_ext <<_ACEOF
112679 /* confdefs.h. */
112680 _ACEOF
112681 cat confdefs.h >>conftest.$ac_ext
112682 cat >>conftest.$ac_ext <<_ACEOF
112683 /* end confdefs.h. */
112684 $ac_includes_default
112685 #include <$ac_header>
112686 _ACEOF
112687 rm -f conftest.$ac_objext
112688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112689 (eval $ac_compile) 2>conftest.er1
112690 ac_status=$?
112691 grep -v '^ *+' conftest.er1 >conftest.err
112692 rm -f conftest.er1
112693 cat conftest.err >&5
112694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112695 (exit $ac_status); } &&
112696 { ac_try='test -z "$ac_c_werror_flag"
112697 || test ! -s conftest.err'
112698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112699 (eval $ac_try) 2>&5
112700 ac_status=$?
112701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112702 (exit $ac_status); }; } &&
112703 { ac_try='test -s conftest.$ac_objext'
112704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112705 (eval $ac_try) 2>&5
112706 ac_status=$?
112707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112708 (exit $ac_status); }; }; then
112709 ac_header_compiler=yes
112711 echo "$as_me: failed program was:" >&5
112712 sed 's/^/| /' conftest.$ac_ext >&5
112714 ac_header_compiler=no
112716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112718 echo "${ECHO_T}$ac_header_compiler" >&6
112720 # Is the header present?
112721 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112722 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112723 cat >conftest.$ac_ext <<_ACEOF
112724 /* confdefs.h. */
112725 _ACEOF
112726 cat confdefs.h >>conftest.$ac_ext
112727 cat >>conftest.$ac_ext <<_ACEOF
112728 /* end confdefs.h. */
112729 #include <$ac_header>
112730 _ACEOF
112731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112732 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112733 ac_status=$?
112734 grep -v '^ *+' conftest.er1 >conftest.err
112735 rm -f conftest.er1
112736 cat conftest.err >&5
112737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112738 (exit $ac_status); } >/dev/null; then
112739 if test -s conftest.err; then
112740 ac_cpp_err=$ac_c_preproc_warn_flag
112741 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112743 ac_cpp_err=
112746 ac_cpp_err=yes
112748 if test -z "$ac_cpp_err"; then
112749 ac_header_preproc=yes
112751 echo "$as_me: failed program was:" >&5
112752 sed 's/^/| /' conftest.$ac_ext >&5
112754 ac_header_preproc=no
112756 rm -f conftest.err conftest.$ac_ext
112757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112758 echo "${ECHO_T}$ac_header_preproc" >&6
112760 # So? What about this header?
112761 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112762 yes:no: )
112763 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112764 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112766 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112767 ac_header_preproc=yes
112769 no:yes:* )
112770 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112771 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112772 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
112773 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
112774 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112775 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112776 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
112777 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
112778 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112779 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112780 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112781 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112783 cat <<\_ASBOX
112784 ## ----------------------------------------- ##
112785 ## Report this to the package-unused lists. ##
112786 ## ----------------------------------------- ##
112787 _ASBOX
112789 sed "s/^/$as_me: WARNING: /" >&2
112792 echo "$as_me:$LINENO: checking for $ac_header" >&5
112793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112795 echo $ECHO_N "(cached) $ECHO_C" >&6
112797 eval "$as_ac_Header=\$ac_header_preproc"
112799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112803 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112804 cat >>confdefs.h <<_ACEOF
112805 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112806 _ACEOF
112813 echo "$as_me:$LINENO: checking for poll" >&5
112814 echo $ECHO_N "checking for poll... $ECHO_C" >&6
112815 if test "${glibcxx_cv_POLL+set}" = set; then
112816 echo $ECHO_N "(cached) $ECHO_C" >&6
112819 if test x$gcc_no_link = xyes; then
112820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112822 { (exit 1); exit 1; }; }
112824 cat >conftest.$ac_ext <<_ACEOF
112825 /* confdefs.h. */
112826 _ACEOF
112827 cat confdefs.h >>conftest.$ac_ext
112828 cat >>conftest.$ac_ext <<_ACEOF
112829 /* end confdefs.h. */
112830 #include <poll.h>
112832 main ()
112834 struct pollfd pfd[1];
112835 pfd[0].events = POLLIN;
112836 poll(pfd, 1, 0);
112838 return 0;
112840 _ACEOF
112841 rm -f conftest.$ac_objext conftest$ac_exeext
112842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112843 (eval $ac_link) 2>conftest.er1
112844 ac_status=$?
112845 grep -v '^ *+' conftest.er1 >conftest.err
112846 rm -f conftest.er1
112847 cat conftest.err >&5
112848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112849 (exit $ac_status); } &&
112850 { ac_try='test -z "$ac_c_werror_flag"
112851 || test ! -s conftest.err'
112852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112853 (eval $ac_try) 2>&5
112854 ac_status=$?
112855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112856 (exit $ac_status); }; } &&
112857 { ac_try='test -s conftest$ac_exeext'
112858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112859 (eval $ac_try) 2>&5
112860 ac_status=$?
112861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112862 (exit $ac_status); }; }; then
112863 glibcxx_cv_POLL=yes
112865 echo "$as_me: failed program was:" >&5
112866 sed 's/^/| /' conftest.$ac_ext >&5
112868 glibcxx_cv_POLL=no
112870 rm -f conftest.err conftest.$ac_objext \
112871 conftest$ac_exeext conftest.$ac_ext
112875 if test $glibcxx_cv_POLL = yes; then
112877 cat >>confdefs.h <<\_ACEOF
112878 #define HAVE_POLL 1
112879 _ACEOF
112882 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
112883 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
112886 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
112887 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
112888 if test "${glibcxx_cv_S_ISREG+set}" = set; then
112889 echo $ECHO_N "(cached) $ECHO_C" >&6
112892 if test x$gcc_no_link = xyes; then
112893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112895 { (exit 1); exit 1; }; }
112897 cat >conftest.$ac_ext <<_ACEOF
112898 /* confdefs.h. */
112899 _ACEOF
112900 cat confdefs.h >>conftest.$ac_ext
112901 cat >>conftest.$ac_ext <<_ACEOF
112902 /* end confdefs.h. */
112903 #include <sys/stat.h>
112905 main ()
112907 struct stat buffer;
112908 fstat(0, &buffer);
112909 S_ISREG(buffer.st_mode);
112911 return 0;
112913 _ACEOF
112914 rm -f conftest.$ac_objext conftest$ac_exeext
112915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112916 (eval $ac_link) 2>conftest.er1
112917 ac_status=$?
112918 grep -v '^ *+' conftest.er1 >conftest.err
112919 rm -f conftest.er1
112920 cat conftest.err >&5
112921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112922 (exit $ac_status); } &&
112923 { ac_try='test -z "$ac_c_werror_flag"
112924 || test ! -s conftest.err'
112925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112926 (eval $ac_try) 2>&5
112927 ac_status=$?
112928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112929 (exit $ac_status); }; } &&
112930 { ac_try='test -s conftest$ac_exeext'
112931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112932 (eval $ac_try) 2>&5
112933 ac_status=$?
112934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112935 (exit $ac_status); }; }; then
112936 glibcxx_cv_S_ISREG=yes
112938 echo "$as_me: failed program was:" >&5
112939 sed 's/^/| /' conftest.$ac_ext >&5
112941 glibcxx_cv_S_ISREG=no
112943 rm -f conftest.err conftest.$ac_objext \
112944 conftest$ac_exeext conftest.$ac_ext
112948 if test "${glibcxx_cv_S_IFREG+set}" = set; then
112949 echo $ECHO_N "(cached) $ECHO_C" >&6
112952 if test x$gcc_no_link = xyes; then
112953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112955 { (exit 1); exit 1; }; }
112957 cat >conftest.$ac_ext <<_ACEOF
112958 /* confdefs.h. */
112959 _ACEOF
112960 cat confdefs.h >>conftest.$ac_ext
112961 cat >>conftest.$ac_ext <<_ACEOF
112962 /* end confdefs.h. */
112963 #include <sys/stat.h>
112965 main ()
112967 struct stat buffer;
112968 fstat(0, &buffer);
112969 S_IFREG & buffer.st_mode;
112971 return 0;
112973 _ACEOF
112974 rm -f conftest.$ac_objext conftest$ac_exeext
112975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112976 (eval $ac_link) 2>conftest.er1
112977 ac_status=$?
112978 grep -v '^ *+' conftest.er1 >conftest.err
112979 rm -f conftest.er1
112980 cat conftest.err >&5
112981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112982 (exit $ac_status); } &&
112983 { ac_try='test -z "$ac_c_werror_flag"
112984 || test ! -s conftest.err'
112985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112986 (eval $ac_try) 2>&5
112987 ac_status=$?
112988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112989 (exit $ac_status); }; } &&
112990 { ac_try='test -s conftest$ac_exeext'
112991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112992 (eval $ac_try) 2>&5
112993 ac_status=$?
112994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112995 (exit $ac_status); }; }; then
112996 glibcxx_cv_S_IFREG=yes
112998 echo "$as_me: failed program was:" >&5
112999 sed 's/^/| /' conftest.$ac_ext >&5
113001 glibcxx_cv_S_IFREG=no
113003 rm -f conftest.err conftest.$ac_objext \
113004 conftest$ac_exeext conftest.$ac_ext
113008 res=no
113009 if test $glibcxx_cv_S_ISREG = yes; then
113011 cat >>confdefs.h <<\_ACEOF
113012 #define HAVE_S_ISREG 1
113013 _ACEOF
113015 res=S_ISREG
113016 elif test $glibcxx_cv_S_IFREG = yes; then
113018 cat >>confdefs.h <<\_ACEOF
113019 #define HAVE_S_IFREG 1
113020 _ACEOF
113022 res=S_IFREG
113024 echo "$as_me:$LINENO: result: $res" >&5
113025 echo "${ECHO_T}$res" >&6
113028 # For xsputn_2().
113030 for ac_header in sys/uio.h
113032 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
113033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113034 echo "$as_me:$LINENO: checking for $ac_header" >&5
113035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113037 echo $ECHO_N "(cached) $ECHO_C" >&6
113039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113042 # Is the header compilable?
113043 echo "$as_me:$LINENO: checking $ac_header usability" >&5
113044 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
113045 cat >conftest.$ac_ext <<_ACEOF
113046 /* confdefs.h. */
113047 _ACEOF
113048 cat confdefs.h >>conftest.$ac_ext
113049 cat >>conftest.$ac_ext <<_ACEOF
113050 /* end confdefs.h. */
113051 $ac_includes_default
113052 #include <$ac_header>
113053 _ACEOF
113054 rm -f conftest.$ac_objext
113055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113056 (eval $ac_compile) 2>conftest.er1
113057 ac_status=$?
113058 grep -v '^ *+' conftest.er1 >conftest.err
113059 rm -f conftest.er1
113060 cat conftest.err >&5
113061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113062 (exit $ac_status); } &&
113063 { ac_try='test -z "$ac_c_werror_flag"
113064 || test ! -s conftest.err'
113065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113066 (eval $ac_try) 2>&5
113067 ac_status=$?
113068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113069 (exit $ac_status); }; } &&
113070 { ac_try='test -s conftest.$ac_objext'
113071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113072 (eval $ac_try) 2>&5
113073 ac_status=$?
113074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113075 (exit $ac_status); }; }; then
113076 ac_header_compiler=yes
113078 echo "$as_me: failed program was:" >&5
113079 sed 's/^/| /' conftest.$ac_ext >&5
113081 ac_header_compiler=no
113083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113084 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
113085 echo "${ECHO_T}$ac_header_compiler" >&6
113087 # Is the header present?
113088 echo "$as_me:$LINENO: checking $ac_header presence" >&5
113089 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
113090 cat >conftest.$ac_ext <<_ACEOF
113091 /* confdefs.h. */
113092 _ACEOF
113093 cat confdefs.h >>conftest.$ac_ext
113094 cat >>conftest.$ac_ext <<_ACEOF
113095 /* end confdefs.h. */
113096 #include <$ac_header>
113097 _ACEOF
113098 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
113099 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
113100 ac_status=$?
113101 grep -v '^ *+' conftest.er1 >conftest.err
113102 rm -f conftest.er1
113103 cat conftest.err >&5
113104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113105 (exit $ac_status); } >/dev/null; then
113106 if test -s conftest.err; then
113107 ac_cpp_err=$ac_c_preproc_warn_flag
113108 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
113110 ac_cpp_err=
113113 ac_cpp_err=yes
113115 if test -z "$ac_cpp_err"; then
113116 ac_header_preproc=yes
113118 echo "$as_me: failed program was:" >&5
113119 sed 's/^/| /' conftest.$ac_ext >&5
113121 ac_header_preproc=no
113123 rm -f conftest.err conftest.$ac_ext
113124 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
113125 echo "${ECHO_T}$ac_header_preproc" >&6
113127 # So? What about this header?
113128 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
113129 yes:no: )
113130 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
113131 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
113132 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
113133 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
113134 ac_header_preproc=yes
113136 no:yes:* )
113137 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
113138 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
113139 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
113140 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
113141 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
113142 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
113143 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
113144 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
113145 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
113146 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
113147 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
113148 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
113150 cat <<\_ASBOX
113151 ## ----------------------------------------- ##
113152 ## Report this to the package-unused lists. ##
113153 ## ----------------------------------------- ##
113154 _ASBOX
113156 sed "s/^/$as_me: WARNING: /" >&2
113159 echo "$as_me:$LINENO: checking for $ac_header" >&5
113160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113162 echo $ECHO_N "(cached) $ECHO_C" >&6
113164 eval "$as_ac_Header=\$ac_header_preproc"
113166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113167 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113170 if test `eval echo '${'$as_ac_Header'}'` = yes; then
113171 cat >>confdefs.h <<_ACEOF
113172 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
113173 _ACEOF
113180 echo "$as_me:$LINENO: checking for writev" >&5
113181 echo $ECHO_N "checking for writev... $ECHO_C" >&6
113182 if test "${glibcxx_cv_WRITEV+set}" = set; then
113183 echo $ECHO_N "(cached) $ECHO_C" >&6
113186 if test x$gcc_no_link = xyes; then
113187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113189 { (exit 1); exit 1; }; }
113191 cat >conftest.$ac_ext <<_ACEOF
113192 /* confdefs.h. */
113193 _ACEOF
113194 cat confdefs.h >>conftest.$ac_ext
113195 cat >>conftest.$ac_ext <<_ACEOF
113196 /* end confdefs.h. */
113197 #include <sys/uio.h>
113199 main ()
113201 struct iovec iov[2];
113202 writev(0, iov, 0);
113204 return 0;
113206 _ACEOF
113207 rm -f conftest.$ac_objext conftest$ac_exeext
113208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113209 (eval $ac_link) 2>conftest.er1
113210 ac_status=$?
113211 grep -v '^ *+' conftest.er1 >conftest.err
113212 rm -f conftest.er1
113213 cat conftest.err >&5
113214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113215 (exit $ac_status); } &&
113216 { ac_try='test -z "$ac_c_werror_flag"
113217 || test ! -s conftest.err'
113218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113219 (eval $ac_try) 2>&5
113220 ac_status=$?
113221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113222 (exit $ac_status); }; } &&
113223 { ac_try='test -s conftest$ac_exeext'
113224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113225 (eval $ac_try) 2>&5
113226 ac_status=$?
113227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113228 (exit $ac_status); }; }; then
113229 glibcxx_cv_WRITEV=yes
113231 echo "$as_me: failed program was:" >&5
113232 sed 's/^/| /' conftest.$ac_ext >&5
113234 glibcxx_cv_WRITEV=no
113236 rm -f conftest.err conftest.$ac_objext \
113237 conftest$ac_exeext conftest.$ac_ext
113241 if test $glibcxx_cv_WRITEV = yes; then
113243 cat >>confdefs.h <<\_ACEOF
113244 #define HAVE_WRITEV 1
113245 _ACEOF
113248 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
113249 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
113252 *-qnx6.1* | *-qnx6.2*)
113253 SECTION_FLAGS='-ffunction-sections -fdata-sections'
113256 # If we're not using GNU ld, then there's no point in even trying these
113257 # tests. Check for that first. We should have already tested for gld
113258 # by now (in libtool), but require it now just to be safe...
113259 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
113260 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
113264 # The name set by libtool depends on the version of libtool. Shame on us
113265 # for depending on an impl detail, but c'est la vie. Older versions used
113266 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113267 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113268 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
113269 # set (hence we're using an older libtool), then set it.
113270 if test x${with_gnu_ld+set} != xset; then
113271 if test x${ac_cv_prog_gnu_ld+set} != xset; then
113272 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
113273 with_gnu_ld=no
113275 with_gnu_ld=$ac_cv_prog_gnu_ld
113279 # Start by getting the version number. I think the libtool test already
113280 # does some of this, but throws away the result.
113281 glibcxx_ld_is_gold=no
113282 if test x"$with_gnu_ld" = x"yes"; then
113283 echo "$as_me:$LINENO: checking for ld version" >&5
113284 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113286 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
113287 glibcxx_ld_is_gold=yes
113289 ldver=`$LD --version 2>/dev/null | head -1 | \
113290 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
113292 glibcxx_gnu_ld_version=`echo $ldver | \
113293 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113294 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113295 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113298 # Set --gc-sections.
113299 glibcxx_have_gc_sections=no
113300 if test "$glibcxx_ld_is_gold" = "yes"; then
113301 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
113302 glibcxx_have_gc_sections=yes
113305 glibcxx_gcsections_min_ld=21602
113306 if test x"$with_gnu_ld" = x"yes" &&
113307 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113308 glibcxx_have_gc_sections=yes
113311 if test "$glibcxx_have_gc_sections" = "yes"; then
113312 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
113313 # NB: This flag only works reliably after 2.16.1. Configure tests
113314 # for this are difficult, so hard wire a value that should work.
113316 ac_test_CFLAGS="${CFLAGS+set}"
113317 ac_save_CFLAGS="$CFLAGS"
113318 CFLAGS='-Wl,--gc-sections'
113320 # Check for -Wl,--gc-sections
113321 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113322 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113323 if test x$gcc_no_link = xyes; then
113324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113326 { (exit 1); exit 1; }; }
113328 cat >conftest.$ac_ext <<_ACEOF
113329 /* confdefs.h. */
113330 _ACEOF
113331 cat confdefs.h >>conftest.$ac_ext
113332 cat >>conftest.$ac_ext <<_ACEOF
113333 /* end confdefs.h. */
113334 int one(void) { return 1; }
113335 int two(void) { return 2; }
113338 main ()
113340 two();
113342 return 0;
113344 _ACEOF
113345 rm -f conftest.$ac_objext conftest$ac_exeext
113346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113347 (eval $ac_link) 2>conftest.er1
113348 ac_status=$?
113349 grep -v '^ *+' conftest.er1 >conftest.err
113350 rm -f conftest.er1
113351 cat conftest.err >&5
113352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113353 (exit $ac_status); } &&
113354 { ac_try='test -z "$ac_c_werror_flag"
113355 || test ! -s conftest.err'
113356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113357 (eval $ac_try) 2>&5
113358 ac_status=$?
113359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113360 (exit $ac_status); }; } &&
113361 { ac_try='test -s conftest$ac_exeext'
113362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113363 (eval $ac_try) 2>&5
113364 ac_status=$?
113365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113366 (exit $ac_status); }; }; then
113367 ac_gcsections=yes
113369 echo "$as_me: failed program was:" >&5
113370 sed 's/^/| /' conftest.$ac_ext >&5
113372 ac_gcsections=no
113374 rm -f conftest.err conftest.$ac_objext \
113375 conftest$ac_exeext conftest.$ac_ext
113376 if test "$ac_gcsections" = "yes"; then
113377 rm -f conftest.c
113378 touch conftest.c
113379 if $CC -c conftest.c; then
113380 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113381 grep "Warning: gc-sections option ignored" > /dev/null; then
113382 ac_gcsections=no
113385 rm -f conftest.c conftest.o conftest
113387 if test "$ac_gcsections" = "yes"; then
113388 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113390 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113391 echo "${ECHO_T}$ac_gcsections" >&6
113393 if test "$ac_test_CFLAGS" = set; then
113394 CFLAGS="$ac_save_CFLAGS"
113396 # this is the suspicious part
113397 CFLAGS=''
113401 # Set -z,relro.
113402 # Note this is only for shared objects.
113403 ac_ld_relro=no
113404 if test x"$with_gnu_ld" = x"yes"; then
113405 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113406 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113407 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113408 if test -n "$cxx_z_relo"; then
113409 OPT_LDFLAGS="-Wl,-z,relro"
113410 ac_ld_relro=yes
113412 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113413 echo "${ECHO_T}$ac_ld_relro" >&6
113416 # Set linker optimization flags.
113417 if test x"$with_gnu_ld" = x"yes"; then
113418 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113426 echo "$as_me:$LINENO: checking for main in -lm" >&5
113427 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
113428 if test "${ac_cv_lib_m_main+set}" = set; then
113429 echo $ECHO_N "(cached) $ECHO_C" >&6
113431 ac_check_lib_save_LIBS=$LIBS
113432 LIBS="-lm $LIBS"
113433 if test x$gcc_no_link = xyes; then
113434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113436 { (exit 1); exit 1; }; }
113438 cat >conftest.$ac_ext <<_ACEOF
113439 /* confdefs.h. */
113440 _ACEOF
113441 cat confdefs.h >>conftest.$ac_ext
113442 cat >>conftest.$ac_ext <<_ACEOF
113443 /* end confdefs.h. */
113447 main ()
113449 main ();
113451 return 0;
113453 _ACEOF
113454 rm -f conftest.$ac_objext conftest$ac_exeext
113455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113456 (eval $ac_link) 2>conftest.er1
113457 ac_status=$?
113458 grep -v '^ *+' conftest.er1 >conftest.err
113459 rm -f conftest.er1
113460 cat conftest.err >&5
113461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113462 (exit $ac_status); } &&
113463 { ac_try='test -z "$ac_c_werror_flag"
113464 || test ! -s conftest.err'
113465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113466 (eval $ac_try) 2>&5
113467 ac_status=$?
113468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113469 (exit $ac_status); }; } &&
113470 { ac_try='test -s conftest$ac_exeext'
113471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113472 (eval $ac_try) 2>&5
113473 ac_status=$?
113474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113475 (exit $ac_status); }; }; then
113476 ac_cv_lib_m_main=yes
113478 echo "$as_me: failed program was:" >&5
113479 sed 's/^/| /' conftest.$ac_ext >&5
113481 ac_cv_lib_m_main=no
113483 rm -f conftest.err conftest.$ac_objext \
113484 conftest$ac_exeext conftest.$ac_ext
113485 LIBS=$ac_check_lib_save_LIBS
113487 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
113488 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
113489 if test $ac_cv_lib_m_main = yes; then
113490 cat >>confdefs.h <<_ACEOF
113491 #define HAVE_LIBM 1
113492 _ACEOF
113494 LIBS="-lm $LIBS"
113499 for ac_func in copysignf
113501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113502 echo "$as_me:$LINENO: checking for $ac_func" >&5
113503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113504 if eval "test \"\${$as_ac_var+set}\" = set"; then
113505 echo $ECHO_N "(cached) $ECHO_C" >&6
113507 if test x$gcc_no_link = xyes; then
113508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113510 { (exit 1); exit 1; }; }
113512 cat >conftest.$ac_ext <<_ACEOF
113513 /* confdefs.h. */
113514 _ACEOF
113515 cat confdefs.h >>conftest.$ac_ext
113516 cat >>conftest.$ac_ext <<_ACEOF
113517 /* end confdefs.h. */
113518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113520 #define $ac_func innocuous_$ac_func
113522 /* System header to define __stub macros and hopefully few prototypes,
113523 which can conflict with char $ac_func (); below.
113524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113525 <limits.h> exists even on freestanding compilers. */
113527 #ifdef __STDC__
113528 # include <limits.h>
113529 #else
113530 # include <assert.h>
113531 #endif
113533 #undef $ac_func
113535 /* Override any gcc2 internal prototype to avoid an error. */
113536 #ifdef __cplusplus
113537 extern "C"
113539 #endif
113540 /* We use char because int might match the return type of a gcc2
113541 builtin and then its argument prototype would still apply. */
113542 char $ac_func ();
113543 /* The GNU C library defines this for functions which it implements
113544 to always fail with ENOSYS. Some functions are actually named
113545 something starting with __ and the normal name is an alias. */
113546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113547 choke me
113548 #else
113549 char (*f) () = $ac_func;
113550 #endif
113551 #ifdef __cplusplus
113553 #endif
113556 main ()
113558 return f != $ac_func;
113560 return 0;
113562 _ACEOF
113563 rm -f conftest.$ac_objext conftest$ac_exeext
113564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113565 (eval $ac_link) 2>conftest.er1
113566 ac_status=$?
113567 grep -v '^ *+' conftest.er1 >conftest.err
113568 rm -f conftest.er1
113569 cat conftest.err >&5
113570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113571 (exit $ac_status); } &&
113572 { ac_try='test -z "$ac_c_werror_flag"
113573 || test ! -s conftest.err'
113574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113575 (eval $ac_try) 2>&5
113576 ac_status=$?
113577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113578 (exit $ac_status); }; } &&
113579 { ac_try='test -s conftest$ac_exeext'
113580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113581 (eval $ac_try) 2>&5
113582 ac_status=$?
113583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113584 (exit $ac_status); }; }; then
113585 eval "$as_ac_var=yes"
113587 echo "$as_me: failed program was:" >&5
113588 sed 's/^/| /' conftest.$ac_ext >&5
113590 eval "$as_ac_var=no"
113592 rm -f conftest.err conftest.$ac_objext \
113593 conftest$ac_exeext conftest.$ac_ext
113595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113597 if test `eval echo '${'$as_ac_var'}'` = yes; then
113598 cat >>confdefs.h <<_ACEOF
113599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113600 _ACEOF
113603 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
113609 for ac_func in __signbit
113611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113612 echo "$as_me:$LINENO: checking for $ac_func" >&5
113613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113614 if eval "test \"\${$as_ac_var+set}\" = set"; then
113615 echo $ECHO_N "(cached) $ECHO_C" >&6
113617 if test x$gcc_no_link = xyes; then
113618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113620 { (exit 1); exit 1; }; }
113622 cat >conftest.$ac_ext <<_ACEOF
113623 /* confdefs.h. */
113624 _ACEOF
113625 cat confdefs.h >>conftest.$ac_ext
113626 cat >>conftest.$ac_ext <<_ACEOF
113627 /* end confdefs.h. */
113628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113630 #define $ac_func innocuous_$ac_func
113632 /* System header to define __stub macros and hopefully few prototypes,
113633 which can conflict with char $ac_func (); below.
113634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113635 <limits.h> exists even on freestanding compilers. */
113637 #ifdef __STDC__
113638 # include <limits.h>
113639 #else
113640 # include <assert.h>
113641 #endif
113643 #undef $ac_func
113645 /* Override any gcc2 internal prototype to avoid an error. */
113646 #ifdef __cplusplus
113647 extern "C"
113649 #endif
113650 /* We use char because int might match the return type of a gcc2
113651 builtin and then its argument prototype would still apply. */
113652 char $ac_func ();
113653 /* The GNU C library defines this for functions which it implements
113654 to always fail with ENOSYS. Some functions are actually named
113655 something starting with __ and the normal name is an alias. */
113656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113657 choke me
113658 #else
113659 char (*f) () = $ac_func;
113660 #endif
113661 #ifdef __cplusplus
113663 #endif
113666 main ()
113668 return f != $ac_func;
113670 return 0;
113672 _ACEOF
113673 rm -f conftest.$ac_objext conftest$ac_exeext
113674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113675 (eval $ac_link) 2>conftest.er1
113676 ac_status=$?
113677 grep -v '^ *+' conftest.er1 >conftest.err
113678 rm -f conftest.er1
113679 cat conftest.err >&5
113680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113681 (exit $ac_status); } &&
113682 { ac_try='test -z "$ac_c_werror_flag"
113683 || test ! -s conftest.err'
113684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113685 (eval $ac_try) 2>&5
113686 ac_status=$?
113687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113688 (exit $ac_status); }; } &&
113689 { ac_try='test -s conftest$ac_exeext'
113690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113691 (eval $ac_try) 2>&5
113692 ac_status=$?
113693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113694 (exit $ac_status); }; }; then
113695 eval "$as_ac_var=yes"
113697 echo "$as_me: failed program was:" >&5
113698 sed 's/^/| /' conftest.$ac_ext >&5
113700 eval "$as_ac_var=no"
113702 rm -f conftest.err conftest.$ac_objext \
113703 conftest$ac_exeext conftest.$ac_ext
113705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113707 if test `eval echo '${'$as_ac_var'}'` = yes; then
113708 cat >>confdefs.h <<_ACEOF
113709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113710 _ACEOF
113713 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
113719 for ac_func in __signbitf
113721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113722 echo "$as_me:$LINENO: checking for $ac_func" >&5
113723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113724 if eval "test \"\${$as_ac_var+set}\" = set"; then
113725 echo $ECHO_N "(cached) $ECHO_C" >&6
113727 if test x$gcc_no_link = xyes; then
113728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113730 { (exit 1); exit 1; }; }
113732 cat >conftest.$ac_ext <<_ACEOF
113733 /* confdefs.h. */
113734 _ACEOF
113735 cat confdefs.h >>conftest.$ac_ext
113736 cat >>conftest.$ac_ext <<_ACEOF
113737 /* end confdefs.h. */
113738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113740 #define $ac_func innocuous_$ac_func
113742 /* System header to define __stub macros and hopefully few prototypes,
113743 which can conflict with char $ac_func (); below.
113744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113745 <limits.h> exists even on freestanding compilers. */
113747 #ifdef __STDC__
113748 # include <limits.h>
113749 #else
113750 # include <assert.h>
113751 #endif
113753 #undef $ac_func
113755 /* Override any gcc2 internal prototype to avoid an error. */
113756 #ifdef __cplusplus
113757 extern "C"
113759 #endif
113760 /* We use char because int might match the return type of a gcc2
113761 builtin and then its argument prototype would still apply. */
113762 char $ac_func ();
113763 /* The GNU C library defines this for functions which it implements
113764 to always fail with ENOSYS. Some functions are actually named
113765 something starting with __ and the normal name is an alias. */
113766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113767 choke me
113768 #else
113769 char (*f) () = $ac_func;
113770 #endif
113771 #ifdef __cplusplus
113773 #endif
113776 main ()
113778 return f != $ac_func;
113780 return 0;
113782 _ACEOF
113783 rm -f conftest.$ac_objext conftest$ac_exeext
113784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113785 (eval $ac_link) 2>conftest.er1
113786 ac_status=$?
113787 grep -v '^ *+' conftest.er1 >conftest.err
113788 rm -f conftest.er1
113789 cat conftest.err >&5
113790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113791 (exit $ac_status); } &&
113792 { ac_try='test -z "$ac_c_werror_flag"
113793 || test ! -s conftest.err'
113794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113795 (eval $ac_try) 2>&5
113796 ac_status=$?
113797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113798 (exit $ac_status); }; } &&
113799 { ac_try='test -s conftest$ac_exeext'
113800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113801 (eval $ac_try) 2>&5
113802 ac_status=$?
113803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113804 (exit $ac_status); }; }; then
113805 eval "$as_ac_var=yes"
113807 echo "$as_me: failed program was:" >&5
113808 sed 's/^/| /' conftest.$ac_ext >&5
113810 eval "$as_ac_var=no"
113812 rm -f conftest.err conftest.$ac_objext \
113813 conftest$ac_exeext conftest.$ac_ext
113815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113817 if test `eval echo '${'$as_ac_var'}'` = yes; then
113818 cat >>confdefs.h <<_ACEOF
113819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113820 _ACEOF
113823 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
113828 if test x$ac_cv_func_copysignl = x"yes"; then
113830 for ac_func in __signbitl
113832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113833 echo "$as_me:$LINENO: checking for $ac_func" >&5
113834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113835 if eval "test \"\${$as_ac_var+set}\" = set"; then
113836 echo $ECHO_N "(cached) $ECHO_C" >&6
113838 if test x$gcc_no_link = xyes; then
113839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113841 { (exit 1); exit 1; }; }
113843 cat >conftest.$ac_ext <<_ACEOF
113844 /* confdefs.h. */
113845 _ACEOF
113846 cat confdefs.h >>conftest.$ac_ext
113847 cat >>conftest.$ac_ext <<_ACEOF
113848 /* end confdefs.h. */
113849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113851 #define $ac_func innocuous_$ac_func
113853 /* System header to define __stub macros and hopefully few prototypes,
113854 which can conflict with char $ac_func (); below.
113855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113856 <limits.h> exists even on freestanding compilers. */
113858 #ifdef __STDC__
113859 # include <limits.h>
113860 #else
113861 # include <assert.h>
113862 #endif
113864 #undef $ac_func
113866 /* Override any gcc2 internal prototype to avoid an error. */
113867 #ifdef __cplusplus
113868 extern "C"
113870 #endif
113871 /* We use char because int might match the return type of a gcc2
113872 builtin and then its argument prototype would still apply. */
113873 char $ac_func ();
113874 /* The GNU C library defines this for functions which it implements
113875 to always fail with ENOSYS. Some functions are actually named
113876 something starting with __ and the normal name is an alias. */
113877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113878 choke me
113879 #else
113880 char (*f) () = $ac_func;
113881 #endif
113882 #ifdef __cplusplus
113884 #endif
113887 main ()
113889 return f != $ac_func;
113891 return 0;
113893 _ACEOF
113894 rm -f conftest.$ac_objext conftest$ac_exeext
113895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113896 (eval $ac_link) 2>conftest.er1
113897 ac_status=$?
113898 grep -v '^ *+' conftest.er1 >conftest.err
113899 rm -f conftest.er1
113900 cat conftest.err >&5
113901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113902 (exit $ac_status); } &&
113903 { ac_try='test -z "$ac_c_werror_flag"
113904 || test ! -s conftest.err'
113905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113906 (eval $ac_try) 2>&5
113907 ac_status=$?
113908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113909 (exit $ac_status); }; } &&
113910 { ac_try='test -s conftest$ac_exeext'
113911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113912 (eval $ac_try) 2>&5
113913 ac_status=$?
113914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113915 (exit $ac_status); }; }; then
113916 eval "$as_ac_var=yes"
113918 echo "$as_me: failed program was:" >&5
113919 sed 's/^/| /' conftest.$ac_ext >&5
113921 eval "$as_ac_var=no"
113923 rm -f conftest.err conftest.$ac_objext \
113924 conftest$ac_exeext conftest.$ac_ext
113926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113928 if test `eval echo '${'$as_ac_var'}'` = yes; then
113929 cat >>confdefs.h <<_ACEOF
113930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113931 _ACEOF
113934 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
113940 # Used in libmath/Makefile.am.
113941 if test -n "$LIBMATHOBJS"; then
113942 need_libmath=yes
113946 cat >>confdefs.h <<\_ACEOF
113947 #define HAVE_COSF 1
113948 _ACEOF
113950 cat >>confdefs.h <<\_ACEOF
113951 #define HAVE_COSL 1
113952 _ACEOF
113954 cat >>confdefs.h <<\_ACEOF
113955 #define HAVE_COSHF 1
113956 _ACEOF
113958 cat >>confdefs.h <<\_ACEOF
113959 #define HAVE_COSHL 1
113960 _ACEOF
113962 cat >>confdefs.h <<\_ACEOF
113963 #define HAVE_LOGF 1
113964 _ACEOF
113966 cat >>confdefs.h <<\_ACEOF
113967 #define HAVE_LOGL 1
113968 _ACEOF
113970 cat >>confdefs.h <<\_ACEOF
113971 #define HAVE_LOG10F 1
113972 _ACEOF
113974 cat >>confdefs.h <<\_ACEOF
113975 #define HAVE_LOG10L 1
113976 _ACEOF
113978 cat >>confdefs.h <<\_ACEOF
113979 #define HAVE_SINF 1
113980 _ACEOF
113982 cat >>confdefs.h <<\_ACEOF
113983 #define HAVE_SINL 1
113984 _ACEOF
113986 cat >>confdefs.h <<\_ACEOF
113987 #define HAVE_SINHF 1
113988 _ACEOF
113990 cat >>confdefs.h <<\_ACEOF
113991 #define HAVE_SINHL 1
113992 _ACEOF
113995 *-solaris*)
113996 case "$target" in
113997 # *-solaris2.5)
113998 # os_include_dir="os/solaris/solaris2.5"
114000 # *-solaris2.6)
114001 # os_include_dir="os/solaris/solaris2.6"
114003 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
114005 # If we're not using GNU ld, then there's no point in even trying these
114006 # tests. Check for that first. We should have already tested for gld
114007 # by now (in libtool), but require it now just to be safe...
114008 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
114009 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
114013 # The name set by libtool depends on the version of libtool. Shame on us
114014 # for depending on an impl detail, but c'est la vie. Older versions used
114015 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
114016 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
114017 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
114018 # set (hence we're using an older libtool), then set it.
114019 if test x${with_gnu_ld+set} != xset; then
114020 if test x${ac_cv_prog_gnu_ld+set} != xset; then
114021 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
114022 with_gnu_ld=no
114024 with_gnu_ld=$ac_cv_prog_gnu_ld
114028 # Start by getting the version number. I think the libtool test already
114029 # does some of this, but throws away the result.
114030 glibcxx_ld_is_gold=no
114031 if test x"$with_gnu_ld" = x"yes"; then
114032 echo "$as_me:$LINENO: checking for ld version" >&5
114033 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
114035 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
114036 glibcxx_ld_is_gold=yes
114038 ldver=`$LD --version 2>/dev/null | head -1 | \
114039 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
114041 glibcxx_gnu_ld_version=`echo $ldver | \
114042 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
114043 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
114044 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
114047 # Set --gc-sections.
114048 glibcxx_have_gc_sections=no
114049 if test "$glibcxx_ld_is_gold" = "yes"; then
114050 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
114051 glibcxx_have_gc_sections=yes
114054 glibcxx_gcsections_min_ld=21602
114055 if test x"$with_gnu_ld" = x"yes" &&
114056 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
114057 glibcxx_have_gc_sections=yes
114060 if test "$glibcxx_have_gc_sections" = "yes"; then
114061 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
114062 # NB: This flag only works reliably after 2.16.1. Configure tests
114063 # for this are difficult, so hard wire a value that should work.
114065 ac_test_CFLAGS="${CFLAGS+set}"
114066 ac_save_CFLAGS="$CFLAGS"
114067 CFLAGS='-Wl,--gc-sections'
114069 # Check for -Wl,--gc-sections
114070 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
114071 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
114072 if test x$gcc_no_link = xyes; then
114073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114075 { (exit 1); exit 1; }; }
114077 cat >conftest.$ac_ext <<_ACEOF
114078 /* confdefs.h. */
114079 _ACEOF
114080 cat confdefs.h >>conftest.$ac_ext
114081 cat >>conftest.$ac_ext <<_ACEOF
114082 /* end confdefs.h. */
114083 int one(void) { return 1; }
114084 int two(void) { return 2; }
114087 main ()
114089 two();
114091 return 0;
114093 _ACEOF
114094 rm -f conftest.$ac_objext conftest$ac_exeext
114095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114096 (eval $ac_link) 2>conftest.er1
114097 ac_status=$?
114098 grep -v '^ *+' conftest.er1 >conftest.err
114099 rm -f conftest.er1
114100 cat conftest.err >&5
114101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114102 (exit $ac_status); } &&
114103 { ac_try='test -z "$ac_c_werror_flag"
114104 || test ! -s conftest.err'
114105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114106 (eval $ac_try) 2>&5
114107 ac_status=$?
114108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114109 (exit $ac_status); }; } &&
114110 { ac_try='test -s conftest$ac_exeext'
114111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114112 (eval $ac_try) 2>&5
114113 ac_status=$?
114114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114115 (exit $ac_status); }; }; then
114116 ac_gcsections=yes
114118 echo "$as_me: failed program was:" >&5
114119 sed 's/^/| /' conftest.$ac_ext >&5
114121 ac_gcsections=no
114123 rm -f conftest.err conftest.$ac_objext \
114124 conftest$ac_exeext conftest.$ac_ext
114125 if test "$ac_gcsections" = "yes"; then
114126 rm -f conftest.c
114127 touch conftest.c
114128 if $CC -c conftest.c; then
114129 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
114130 grep "Warning: gc-sections option ignored" > /dev/null; then
114131 ac_gcsections=no
114134 rm -f conftest.c conftest.o conftest
114136 if test "$ac_gcsections" = "yes"; then
114137 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
114139 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
114140 echo "${ECHO_T}$ac_gcsections" >&6
114142 if test "$ac_test_CFLAGS" = set; then
114143 CFLAGS="$ac_save_CFLAGS"
114145 # this is the suspicious part
114146 CFLAGS=''
114150 # Set -z,relro.
114151 # Note this is only for shared objects.
114152 ac_ld_relro=no
114153 if test x"$with_gnu_ld" = x"yes"; then
114154 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
114155 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
114156 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
114157 if test -n "$cxx_z_relo"; then
114158 OPT_LDFLAGS="-Wl,-z,relro"
114159 ac_ld_relro=yes
114161 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
114162 echo "${ECHO_T}$ac_ld_relro" >&6
114165 # Set linker optimization flags.
114166 if test x"$with_gnu_ld" = x"yes"; then
114167 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
114173 cat >>confdefs.h <<\_ACEOF
114174 #define HAVE_GETPAGESIZE 1
114175 _ACEOF
114177 cat >>confdefs.h <<\_ACEOF
114178 #define HAVE_SIGSETJMP 1
114179 _ACEOF
114181 cat >>confdefs.h <<\_ACEOF
114182 #define HAVE_MBSTATE_T 1
114183 _ACEOF
114185 cat >>confdefs.h <<\_ACEOF
114186 #define HAVE_POLL 1
114187 _ACEOF
114189 cat >>confdefs.h <<\_ACEOF
114190 #define HAVE_S_ISREG 1
114191 _ACEOF
114193 cat >>confdefs.h <<\_ACEOF
114194 #define HAVE_LC_MESSAGES 1
114195 _ACEOF
114197 cat >>confdefs.h <<\_ACEOF
114198 #define HAVE_FINITE 1
114199 _ACEOF
114201 cat >>confdefs.h <<\_ACEOF
114202 #define HAVE_FPCLASS 1
114203 _ACEOF
114205 cat >>confdefs.h <<\_ACEOF
114206 #define HAVE_GETPAGESIZE 1
114207 _ACEOF
114209 # All of the dependencies for wide character support are here, so
114210 # turn it on.
114211 cat >>confdefs.h <<\_ACEOF
114212 #define _GLIBCXX_USE_WCHAR_T 1
114213 _ACEOF
114215 # Are these tested for even when cross?
114216 cat >>confdefs.h <<\_ACEOF
114217 #define HAVE_FLOAT_H 1
114218 _ACEOF
114220 cat >>confdefs.h <<\_ACEOF
114221 #define HAVE_IEEEFP_H 1
114222 _ACEOF
114224 cat >>confdefs.h <<\_ACEOF
114225 #define HAVE_INTTYPES_H 1
114226 _ACEOF
114228 cat >>confdefs.h <<\_ACEOF
114229 #define HAVE_LOCALE_H 1
114230 _ACEOF
114232 cat >>confdefs.h <<\_ACEOF
114233 #define HAVE_NAN_H 1
114234 _ACEOF
114236 cat >>confdefs.h <<\_ACEOF
114237 #define HAVE_SYS_FILIO_H 1
114238 _ACEOF
114240 cat >>confdefs.h <<\_ACEOF
114241 #define HAVE_SYS_IOCTL_H 1
114242 _ACEOF
114244 cat >>confdefs.h <<\_ACEOF
114245 #define HAVE_SYS_ISA_DEFS_H 1
114246 _ACEOF
114248 cat >>confdefs.h <<\_ACEOF
114249 #define HAVE_SYS_RESOURCE_H 1
114250 _ACEOF
114252 cat >>confdefs.h <<\_ACEOF
114253 #define HAVE_SYS_TIME_H 1
114254 _ACEOF
114256 cat >>confdefs.h <<\_ACEOF
114257 #define HAVE_SYS_TYPES_H 1
114258 _ACEOF
114260 cat >>confdefs.h <<\_ACEOF
114261 #define HAVE_UNISTD_H 1
114262 _ACEOF
114264 cat >>confdefs.h <<\_ACEOF
114265 #define HAVE_WCHAR_H 1
114266 _ACEOF
114268 cat >>confdefs.h <<\_ACEOF
114269 #define HAVE_WCTYPE_H 1
114270 _ACEOF
114272 cat >>confdefs.h <<\_ACEOF
114273 #define HAVE_LIBM 1
114274 _ACEOF
114278 case "$target" in
114279 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
114280 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
114281 cat >>confdefs.h <<\_ACEOF
114282 #define HAVE___BUILTIN_ABS 1
114283 _ACEOF
114285 cat >>confdefs.h <<\_ACEOF
114286 #define HAVE___BUILTIN_LABS 1
114287 _ACEOF
114289 cat >>confdefs.h <<\_ACEOF
114290 #define HAVE___BUILTIN_FABS 1
114291 _ACEOF
114293 cat >>confdefs.h <<\_ACEOF
114294 #define HAVE___BUILTIN_FABSF 1
114295 _ACEOF
114297 cat >>confdefs.h <<\_ACEOF
114298 #define HAVE___BUILTIN_FABSL 1
114299 _ACEOF
114301 cat >>confdefs.h <<\_ACEOF
114302 #define HAVE___BUILTIN_COS 1
114303 _ACEOF
114305 cat >>confdefs.h <<\_ACEOF
114306 #define HAVE___BUILTIN_COSF 1
114307 _ACEOF
114309 cat >>confdefs.h <<\_ACEOF
114310 #define HAVE___BUILTIN_SIN 1
114311 _ACEOF
114313 cat >>confdefs.h <<\_ACEOF
114314 #define HAVE___BUILTIN_SINF 1
114315 _ACEOF
114319 case "$target" in
114320 *-*-solaris2.10)
114321 # These two C99 functions are present only in Solaris >= 10
114322 cat >>confdefs.h <<\_ACEOF
114323 #define HAVE_STRTOF 1
114324 _ACEOF
114326 cat >>confdefs.h <<\_ACEOF
114327 #define HAVE_STRTOLD 1
114328 _ACEOF
114332 cat >>confdefs.h <<\_ACEOF
114333 #define HAVE_MMAP 1
114334 _ACEOF
114336 cat >>confdefs.h <<\_ACEOF
114337 #define HAVE_COPYSIGN 1
114338 _ACEOF
114340 cat >>confdefs.h <<\_ACEOF
114341 #define HAVE_ISNAN 1
114342 _ACEOF
114344 cat >>confdefs.h <<\_ACEOF
114345 #define HAVE_ISNANF 1
114346 _ACEOF
114348 cat >>confdefs.h <<\_ACEOF
114349 #define HAVE_MODFF 1
114350 _ACEOF
114352 cat >>confdefs.h <<\_ACEOF
114353 #define HAVE_HYPOT 1
114354 _ACEOF
114357 *-tpf)
114366 for ac_header in nan.h endian.h machine/endian.h \
114367 sys/param.h sys/types.h locale.h float.h inttypes.h
114369 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
114370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114371 echo "$as_me:$LINENO: checking for $ac_header" >&5
114372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114374 echo $ECHO_N "(cached) $ECHO_C" >&6
114376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114379 # Is the header compilable?
114380 echo "$as_me:$LINENO: checking $ac_header usability" >&5
114381 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
114382 cat >conftest.$ac_ext <<_ACEOF
114383 /* confdefs.h. */
114384 _ACEOF
114385 cat confdefs.h >>conftest.$ac_ext
114386 cat >>conftest.$ac_ext <<_ACEOF
114387 /* end confdefs.h. */
114388 $ac_includes_default
114389 #include <$ac_header>
114390 _ACEOF
114391 rm -f conftest.$ac_objext
114392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114393 (eval $ac_compile) 2>conftest.er1
114394 ac_status=$?
114395 grep -v '^ *+' conftest.er1 >conftest.err
114396 rm -f conftest.er1
114397 cat conftest.err >&5
114398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114399 (exit $ac_status); } &&
114400 { ac_try='test -z "$ac_c_werror_flag"
114401 || test ! -s conftest.err'
114402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114403 (eval $ac_try) 2>&5
114404 ac_status=$?
114405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114406 (exit $ac_status); }; } &&
114407 { ac_try='test -s conftest.$ac_objext'
114408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114409 (eval $ac_try) 2>&5
114410 ac_status=$?
114411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114412 (exit $ac_status); }; }; then
114413 ac_header_compiler=yes
114415 echo "$as_me: failed program was:" >&5
114416 sed 's/^/| /' conftest.$ac_ext >&5
114418 ac_header_compiler=no
114420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114421 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
114422 echo "${ECHO_T}$ac_header_compiler" >&6
114424 # Is the header present?
114425 echo "$as_me:$LINENO: checking $ac_header presence" >&5
114426 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
114427 cat >conftest.$ac_ext <<_ACEOF
114428 /* confdefs.h. */
114429 _ACEOF
114430 cat confdefs.h >>conftest.$ac_ext
114431 cat >>conftest.$ac_ext <<_ACEOF
114432 /* end confdefs.h. */
114433 #include <$ac_header>
114434 _ACEOF
114435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
114436 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
114437 ac_status=$?
114438 grep -v '^ *+' conftest.er1 >conftest.err
114439 rm -f conftest.er1
114440 cat conftest.err >&5
114441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114442 (exit $ac_status); } >/dev/null; then
114443 if test -s conftest.err; then
114444 ac_cpp_err=$ac_c_preproc_warn_flag
114445 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
114447 ac_cpp_err=
114450 ac_cpp_err=yes
114452 if test -z "$ac_cpp_err"; then
114453 ac_header_preproc=yes
114455 echo "$as_me: failed program was:" >&5
114456 sed 's/^/| /' conftest.$ac_ext >&5
114458 ac_header_preproc=no
114460 rm -f conftest.err conftest.$ac_ext
114461 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
114462 echo "${ECHO_T}$ac_header_preproc" >&6
114464 # So? What about this header?
114465 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
114466 yes:no: )
114467 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
114468 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
114469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
114470 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
114471 ac_header_preproc=yes
114473 no:yes:* )
114474 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
114475 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
114476 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
114477 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
114478 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
114479 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
114480 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
114481 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
114482 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
114483 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
114484 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
114485 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
114487 cat <<\_ASBOX
114488 ## ----------------------------------------- ##
114489 ## Report this to the package-unused lists. ##
114490 ## ----------------------------------------- ##
114491 _ASBOX
114493 sed "s/^/$as_me: WARNING: /" >&2
114496 echo "$as_me:$LINENO: checking for $ac_header" >&5
114497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114499 echo $ECHO_N "(cached) $ECHO_C" >&6
114501 eval "$as_ac_Header=\$ac_header_preproc"
114503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
114508 cat >>confdefs.h <<_ACEOF
114509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
114510 _ACEOF
114516 SECTION_FLAGS='-ffunction-sections -fdata-sections'
114519 # If we're not using GNU ld, then there's no point in even trying these
114520 # tests. Check for that first. We should have already tested for gld
114521 # by now (in libtool), but require it now just to be safe...
114522 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
114523 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
114527 # The name set by libtool depends on the version of libtool. Shame on us
114528 # for depending on an impl detail, but c'est la vie. Older versions used
114529 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
114530 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
114531 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
114532 # set (hence we're using an older libtool), then set it.
114533 if test x${with_gnu_ld+set} != xset; then
114534 if test x${ac_cv_prog_gnu_ld+set} != xset; then
114535 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
114536 with_gnu_ld=no
114538 with_gnu_ld=$ac_cv_prog_gnu_ld
114542 # Start by getting the version number. I think the libtool test already
114543 # does some of this, but throws away the result.
114544 glibcxx_ld_is_gold=no
114545 if test x"$with_gnu_ld" = x"yes"; then
114546 echo "$as_me:$LINENO: checking for ld version" >&5
114547 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
114549 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
114550 glibcxx_ld_is_gold=yes
114552 ldver=`$LD --version 2>/dev/null | head -1 | \
114553 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
114555 glibcxx_gnu_ld_version=`echo $ldver | \
114556 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
114557 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
114558 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
114561 # Set --gc-sections.
114562 glibcxx_have_gc_sections=no
114563 if test "$glibcxx_ld_is_gold" = "yes"; then
114564 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
114565 glibcxx_have_gc_sections=yes
114568 glibcxx_gcsections_min_ld=21602
114569 if test x"$with_gnu_ld" = x"yes" &&
114570 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
114571 glibcxx_have_gc_sections=yes
114574 if test "$glibcxx_have_gc_sections" = "yes"; then
114575 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
114576 # NB: This flag only works reliably after 2.16.1. Configure tests
114577 # for this are difficult, so hard wire a value that should work.
114579 ac_test_CFLAGS="${CFLAGS+set}"
114580 ac_save_CFLAGS="$CFLAGS"
114581 CFLAGS='-Wl,--gc-sections'
114583 # Check for -Wl,--gc-sections
114584 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
114585 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
114586 if test x$gcc_no_link = xyes; then
114587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114589 { (exit 1); exit 1; }; }
114591 cat >conftest.$ac_ext <<_ACEOF
114592 /* confdefs.h. */
114593 _ACEOF
114594 cat confdefs.h >>conftest.$ac_ext
114595 cat >>conftest.$ac_ext <<_ACEOF
114596 /* end confdefs.h. */
114597 int one(void) { return 1; }
114598 int two(void) { return 2; }
114601 main ()
114603 two();
114605 return 0;
114607 _ACEOF
114608 rm -f conftest.$ac_objext conftest$ac_exeext
114609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114610 (eval $ac_link) 2>conftest.er1
114611 ac_status=$?
114612 grep -v '^ *+' conftest.er1 >conftest.err
114613 rm -f conftest.er1
114614 cat conftest.err >&5
114615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114616 (exit $ac_status); } &&
114617 { ac_try='test -z "$ac_c_werror_flag"
114618 || test ! -s conftest.err'
114619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114620 (eval $ac_try) 2>&5
114621 ac_status=$?
114622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114623 (exit $ac_status); }; } &&
114624 { ac_try='test -s conftest$ac_exeext'
114625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114626 (eval $ac_try) 2>&5
114627 ac_status=$?
114628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114629 (exit $ac_status); }; }; then
114630 ac_gcsections=yes
114632 echo "$as_me: failed program was:" >&5
114633 sed 's/^/| /' conftest.$ac_ext >&5
114635 ac_gcsections=no
114637 rm -f conftest.err conftest.$ac_objext \
114638 conftest$ac_exeext conftest.$ac_ext
114639 if test "$ac_gcsections" = "yes"; then
114640 rm -f conftest.c
114641 touch conftest.c
114642 if $CC -c conftest.c; then
114643 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
114644 grep "Warning: gc-sections option ignored" > /dev/null; then
114645 ac_gcsections=no
114648 rm -f conftest.c conftest.o conftest
114650 if test "$ac_gcsections" = "yes"; then
114651 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
114653 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
114654 echo "${ECHO_T}$ac_gcsections" >&6
114656 if test "$ac_test_CFLAGS" = set; then
114657 CFLAGS="$ac_save_CFLAGS"
114659 # this is the suspicious part
114660 CFLAGS=''
114664 # Set -z,relro.
114665 # Note this is only for shared objects.
114666 ac_ld_relro=no
114667 if test x"$with_gnu_ld" = x"yes"; then
114668 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
114669 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
114670 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
114671 if test -n "$cxx_z_relo"; then
114672 OPT_LDFLAGS="-Wl,-z,relro"
114673 ac_ld_relro=yes
114675 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
114676 echo "${ECHO_T}$ac_ld_relro" >&6
114679 # Set linker optimization flags.
114680 if test x"$with_gnu_ld" = x"yes"; then
114681 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
114689 echo "$as_me:$LINENO: checking for main in -lm" >&5
114690 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
114691 if test "${ac_cv_lib_m_main+set}" = set; then
114692 echo $ECHO_N "(cached) $ECHO_C" >&6
114694 ac_check_lib_save_LIBS=$LIBS
114695 LIBS="-lm $LIBS"
114696 if test x$gcc_no_link = xyes; then
114697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114699 { (exit 1); exit 1; }; }
114701 cat >conftest.$ac_ext <<_ACEOF
114702 /* confdefs.h. */
114703 _ACEOF
114704 cat confdefs.h >>conftest.$ac_ext
114705 cat >>conftest.$ac_ext <<_ACEOF
114706 /* end confdefs.h. */
114710 main ()
114712 main ();
114714 return 0;
114716 _ACEOF
114717 rm -f conftest.$ac_objext conftest$ac_exeext
114718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114719 (eval $ac_link) 2>conftest.er1
114720 ac_status=$?
114721 grep -v '^ *+' conftest.er1 >conftest.err
114722 rm -f conftest.er1
114723 cat conftest.err >&5
114724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114725 (exit $ac_status); } &&
114726 { ac_try='test -z "$ac_c_werror_flag"
114727 || test ! -s conftest.err'
114728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114729 (eval $ac_try) 2>&5
114730 ac_status=$?
114731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114732 (exit $ac_status); }; } &&
114733 { ac_try='test -s conftest$ac_exeext'
114734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114735 (eval $ac_try) 2>&5
114736 ac_status=$?
114737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114738 (exit $ac_status); }; }; then
114739 ac_cv_lib_m_main=yes
114741 echo "$as_me: failed program was:" >&5
114742 sed 's/^/| /' conftest.$ac_ext >&5
114744 ac_cv_lib_m_main=no
114746 rm -f conftest.err conftest.$ac_objext \
114747 conftest$ac_exeext conftest.$ac_ext
114748 LIBS=$ac_check_lib_save_LIBS
114750 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
114751 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
114752 if test $ac_cv_lib_m_main = yes; then
114753 cat >>confdefs.h <<_ACEOF
114754 #define HAVE_LIBM 1
114755 _ACEOF
114757 LIBS="-lm $LIBS"
114762 for ac_func in copysignf
114764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114765 echo "$as_me:$LINENO: checking for $ac_func" >&5
114766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114767 if eval "test \"\${$as_ac_var+set}\" = set"; then
114768 echo $ECHO_N "(cached) $ECHO_C" >&6
114770 if test x$gcc_no_link = xyes; then
114771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114773 { (exit 1); exit 1; }; }
114775 cat >conftest.$ac_ext <<_ACEOF
114776 /* confdefs.h. */
114777 _ACEOF
114778 cat confdefs.h >>conftest.$ac_ext
114779 cat >>conftest.$ac_ext <<_ACEOF
114780 /* end confdefs.h. */
114781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114783 #define $ac_func innocuous_$ac_func
114785 /* System header to define __stub macros and hopefully few prototypes,
114786 which can conflict with char $ac_func (); below.
114787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114788 <limits.h> exists even on freestanding compilers. */
114790 #ifdef __STDC__
114791 # include <limits.h>
114792 #else
114793 # include <assert.h>
114794 #endif
114796 #undef $ac_func
114798 /* Override any gcc2 internal prototype to avoid an error. */
114799 #ifdef __cplusplus
114800 extern "C"
114802 #endif
114803 /* We use char because int might match the return type of a gcc2
114804 builtin and then its argument prototype would still apply. */
114805 char $ac_func ();
114806 /* The GNU C library defines this for functions which it implements
114807 to always fail with ENOSYS. Some functions are actually named
114808 something starting with __ and the normal name is an alias. */
114809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114810 choke me
114811 #else
114812 char (*f) () = $ac_func;
114813 #endif
114814 #ifdef __cplusplus
114816 #endif
114819 main ()
114821 return f != $ac_func;
114823 return 0;
114825 _ACEOF
114826 rm -f conftest.$ac_objext conftest$ac_exeext
114827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114828 (eval $ac_link) 2>conftest.er1
114829 ac_status=$?
114830 grep -v '^ *+' conftest.er1 >conftest.err
114831 rm -f conftest.er1
114832 cat conftest.err >&5
114833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114834 (exit $ac_status); } &&
114835 { ac_try='test -z "$ac_c_werror_flag"
114836 || test ! -s conftest.err'
114837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114838 (eval $ac_try) 2>&5
114839 ac_status=$?
114840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114841 (exit $ac_status); }; } &&
114842 { ac_try='test -s conftest$ac_exeext'
114843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114844 (eval $ac_try) 2>&5
114845 ac_status=$?
114846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114847 (exit $ac_status); }; }; then
114848 eval "$as_ac_var=yes"
114850 echo "$as_me: failed program was:" >&5
114851 sed 's/^/| /' conftest.$ac_ext >&5
114853 eval "$as_ac_var=no"
114855 rm -f conftest.err conftest.$ac_objext \
114856 conftest$ac_exeext conftest.$ac_ext
114858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114860 if test `eval echo '${'$as_ac_var'}'` = yes; then
114861 cat >>confdefs.h <<_ACEOF
114862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114863 _ACEOF
114866 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
114872 for ac_func in __signbit
114874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114875 echo "$as_me:$LINENO: checking for $ac_func" >&5
114876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114877 if eval "test \"\${$as_ac_var+set}\" = set"; then
114878 echo $ECHO_N "(cached) $ECHO_C" >&6
114880 if test x$gcc_no_link = xyes; then
114881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114883 { (exit 1); exit 1; }; }
114885 cat >conftest.$ac_ext <<_ACEOF
114886 /* confdefs.h. */
114887 _ACEOF
114888 cat confdefs.h >>conftest.$ac_ext
114889 cat >>conftest.$ac_ext <<_ACEOF
114890 /* end confdefs.h. */
114891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114893 #define $ac_func innocuous_$ac_func
114895 /* System header to define __stub macros and hopefully few prototypes,
114896 which can conflict with char $ac_func (); below.
114897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114898 <limits.h> exists even on freestanding compilers. */
114900 #ifdef __STDC__
114901 # include <limits.h>
114902 #else
114903 # include <assert.h>
114904 #endif
114906 #undef $ac_func
114908 /* Override any gcc2 internal prototype to avoid an error. */
114909 #ifdef __cplusplus
114910 extern "C"
114912 #endif
114913 /* We use char because int might match the return type of a gcc2
114914 builtin and then its argument prototype would still apply. */
114915 char $ac_func ();
114916 /* The GNU C library defines this for functions which it implements
114917 to always fail with ENOSYS. Some functions are actually named
114918 something starting with __ and the normal name is an alias. */
114919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114920 choke me
114921 #else
114922 char (*f) () = $ac_func;
114923 #endif
114924 #ifdef __cplusplus
114926 #endif
114929 main ()
114931 return f != $ac_func;
114933 return 0;
114935 _ACEOF
114936 rm -f conftest.$ac_objext conftest$ac_exeext
114937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114938 (eval $ac_link) 2>conftest.er1
114939 ac_status=$?
114940 grep -v '^ *+' conftest.er1 >conftest.err
114941 rm -f conftest.er1
114942 cat conftest.err >&5
114943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114944 (exit $ac_status); } &&
114945 { ac_try='test -z "$ac_c_werror_flag"
114946 || test ! -s conftest.err'
114947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114948 (eval $ac_try) 2>&5
114949 ac_status=$?
114950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114951 (exit $ac_status); }; } &&
114952 { ac_try='test -s conftest$ac_exeext'
114953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114954 (eval $ac_try) 2>&5
114955 ac_status=$?
114956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114957 (exit $ac_status); }; }; then
114958 eval "$as_ac_var=yes"
114960 echo "$as_me: failed program was:" >&5
114961 sed 's/^/| /' conftest.$ac_ext >&5
114963 eval "$as_ac_var=no"
114965 rm -f conftest.err conftest.$ac_objext \
114966 conftest$ac_exeext conftest.$ac_ext
114968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114970 if test `eval echo '${'$as_ac_var'}'` = yes; then
114971 cat >>confdefs.h <<_ACEOF
114972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114973 _ACEOF
114976 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
114982 for ac_func in __signbitf
114984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114985 echo "$as_me:$LINENO: checking for $ac_func" >&5
114986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114987 if eval "test \"\${$as_ac_var+set}\" = set"; then
114988 echo $ECHO_N "(cached) $ECHO_C" >&6
114990 if test x$gcc_no_link = xyes; then
114991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114993 { (exit 1); exit 1; }; }
114995 cat >conftest.$ac_ext <<_ACEOF
114996 /* confdefs.h. */
114997 _ACEOF
114998 cat confdefs.h >>conftest.$ac_ext
114999 cat >>conftest.$ac_ext <<_ACEOF
115000 /* end confdefs.h. */
115001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115003 #define $ac_func innocuous_$ac_func
115005 /* System header to define __stub macros and hopefully few prototypes,
115006 which can conflict with char $ac_func (); below.
115007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115008 <limits.h> exists even on freestanding compilers. */
115010 #ifdef __STDC__
115011 # include <limits.h>
115012 #else
115013 # include <assert.h>
115014 #endif
115016 #undef $ac_func
115018 /* Override any gcc2 internal prototype to avoid an error. */
115019 #ifdef __cplusplus
115020 extern "C"
115022 #endif
115023 /* We use char because int might match the return type of a gcc2
115024 builtin and then its argument prototype would still apply. */
115025 char $ac_func ();
115026 /* The GNU C library defines this for functions which it implements
115027 to always fail with ENOSYS. Some functions are actually named
115028 something starting with __ and the normal name is an alias. */
115029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115030 choke me
115031 #else
115032 char (*f) () = $ac_func;
115033 #endif
115034 #ifdef __cplusplus
115036 #endif
115039 main ()
115041 return f != $ac_func;
115043 return 0;
115045 _ACEOF
115046 rm -f conftest.$ac_objext conftest$ac_exeext
115047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115048 (eval $ac_link) 2>conftest.er1
115049 ac_status=$?
115050 grep -v '^ *+' conftest.er1 >conftest.err
115051 rm -f conftest.er1
115052 cat conftest.err >&5
115053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115054 (exit $ac_status); } &&
115055 { ac_try='test -z "$ac_c_werror_flag"
115056 || test ! -s conftest.err'
115057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115058 (eval $ac_try) 2>&5
115059 ac_status=$?
115060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115061 (exit $ac_status); }; } &&
115062 { ac_try='test -s conftest$ac_exeext'
115063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115064 (eval $ac_try) 2>&5
115065 ac_status=$?
115066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115067 (exit $ac_status); }; }; then
115068 eval "$as_ac_var=yes"
115070 echo "$as_me: failed program was:" >&5
115071 sed 's/^/| /' conftest.$ac_ext >&5
115073 eval "$as_ac_var=no"
115075 rm -f conftest.err conftest.$ac_objext \
115076 conftest$ac_exeext conftest.$ac_ext
115078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115080 if test `eval echo '${'$as_ac_var'}'` = yes; then
115081 cat >>confdefs.h <<_ACEOF
115082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115083 _ACEOF
115086 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
115091 if test x$ac_cv_func_copysignl = x"yes"; then
115093 for ac_func in __signbitl
115095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115096 echo "$as_me:$LINENO: checking for $ac_func" >&5
115097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115098 if eval "test \"\${$as_ac_var+set}\" = set"; then
115099 echo $ECHO_N "(cached) $ECHO_C" >&6
115101 if test x$gcc_no_link = xyes; then
115102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115104 { (exit 1); exit 1; }; }
115106 cat >conftest.$ac_ext <<_ACEOF
115107 /* confdefs.h. */
115108 _ACEOF
115109 cat confdefs.h >>conftest.$ac_ext
115110 cat >>conftest.$ac_ext <<_ACEOF
115111 /* end confdefs.h. */
115112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115114 #define $ac_func innocuous_$ac_func
115116 /* System header to define __stub macros and hopefully few prototypes,
115117 which can conflict with char $ac_func (); below.
115118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115119 <limits.h> exists even on freestanding compilers. */
115121 #ifdef __STDC__
115122 # include <limits.h>
115123 #else
115124 # include <assert.h>
115125 #endif
115127 #undef $ac_func
115129 /* Override any gcc2 internal prototype to avoid an error. */
115130 #ifdef __cplusplus
115131 extern "C"
115133 #endif
115134 /* We use char because int might match the return type of a gcc2
115135 builtin and then its argument prototype would still apply. */
115136 char $ac_func ();
115137 /* The GNU C library defines this for functions which it implements
115138 to always fail with ENOSYS. Some functions are actually named
115139 something starting with __ and the normal name is an alias. */
115140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115141 choke me
115142 #else
115143 char (*f) () = $ac_func;
115144 #endif
115145 #ifdef __cplusplus
115147 #endif
115150 main ()
115152 return f != $ac_func;
115154 return 0;
115156 _ACEOF
115157 rm -f conftest.$ac_objext conftest$ac_exeext
115158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115159 (eval $ac_link) 2>conftest.er1
115160 ac_status=$?
115161 grep -v '^ *+' conftest.er1 >conftest.err
115162 rm -f conftest.er1
115163 cat conftest.err >&5
115164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115165 (exit $ac_status); } &&
115166 { ac_try='test -z "$ac_c_werror_flag"
115167 || test ! -s conftest.err'
115168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115169 (eval $ac_try) 2>&5
115170 ac_status=$?
115171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115172 (exit $ac_status); }; } &&
115173 { ac_try='test -s conftest$ac_exeext'
115174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115175 (eval $ac_try) 2>&5
115176 ac_status=$?
115177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115178 (exit $ac_status); }; }; then
115179 eval "$as_ac_var=yes"
115181 echo "$as_me: failed program was:" >&5
115182 sed 's/^/| /' conftest.$ac_ext >&5
115184 eval "$as_ac_var=no"
115186 rm -f conftest.err conftest.$ac_objext \
115187 conftest$ac_exeext conftest.$ac_ext
115189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115191 if test `eval echo '${'$as_ac_var'}'` = yes; then
115192 cat >>confdefs.h <<_ACEOF
115193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115194 _ACEOF
115197 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
115203 # Used in libmath/Makefile.am.
115204 if test -n "$LIBMATHOBJS"; then
115205 need_libmath=yes
115209 cat >>confdefs.h <<\_ACEOF
115210 #define HAVE_COPYSIGN 1
115211 _ACEOF
115213 cat >>confdefs.h <<\_ACEOF
115214 #define HAVE_COPYSIGNF 1
115215 _ACEOF
115217 cat >>confdefs.h <<\_ACEOF
115218 #define HAVE_FINITE 1
115219 _ACEOF
115221 cat >>confdefs.h <<\_ACEOF
115222 #define HAVE_FINITEF 1
115223 _ACEOF
115225 cat >>confdefs.h <<\_ACEOF
115226 #define HAVE_FREXPF 1
115227 _ACEOF
115229 cat >>confdefs.h <<\_ACEOF
115230 #define HAVE_HYPOTF 1
115231 _ACEOF
115233 cat >>confdefs.h <<\_ACEOF
115234 #define HAVE_ISINF 1
115235 _ACEOF
115237 cat >>confdefs.h <<\_ACEOF
115238 #define HAVE_ISINFF 1
115239 _ACEOF
115241 cat >>confdefs.h <<\_ACEOF
115242 #define HAVE_ISNAN 1
115243 _ACEOF
115245 cat >>confdefs.h <<\_ACEOF
115246 #define HAVE_ISNANF 1
115247 _ACEOF
115249 cat >>confdefs.h <<\_ACEOF
115250 #define HAVE_SINCOS 1
115251 _ACEOF
115253 cat >>confdefs.h <<\_ACEOF
115254 #define HAVE_SINCOSF 1
115255 _ACEOF
115257 if test x"long_double_math_on_this_cpu" = x"yes"; then
115258 cat >>confdefs.h <<\_ACEOF
115259 #define HAVE_FINITEL 1
115260 _ACEOF
115262 cat >>confdefs.h <<\_ACEOF
115263 #define HAVE_HYPOTL 1
115264 _ACEOF
115266 cat >>confdefs.h <<\_ACEOF
115267 #define HAVE_ISINFL 1
115268 _ACEOF
115270 cat >>confdefs.h <<\_ACEOF
115271 #define HAVE_ISNANL 1
115272 _ACEOF
115276 *-vxworks)
115277 cat >>confdefs.h <<\_ACEOF
115278 #define HAVE_MMAP 1
115279 _ACEOF
115281 cat >>confdefs.h <<\_ACEOF
115282 #define HAVE_ACOSF 1
115283 _ACEOF
115285 cat >>confdefs.h <<\_ACEOF
115286 #define HAVE_ASINF 1
115287 _ACEOF
115289 cat >>confdefs.h <<\_ACEOF
115290 #define HAVE_ATAN2F 1
115291 _ACEOF
115293 cat >>confdefs.h <<\_ACEOF
115294 #define HAVE_ATANF 1
115295 _ACEOF
115297 cat >>confdefs.h <<\_ACEOF
115298 #define HAVE_CEILF 1
115299 _ACEOF
115301 cat >>confdefs.h <<\_ACEOF
115302 #define HAVE_COSF 1
115303 _ACEOF
115305 cat >>confdefs.h <<\_ACEOF
115306 #define HAVE_COSHF 1
115307 _ACEOF
115309 cat >>confdefs.h <<\_ACEOF
115310 #define HAVE_EXPF 1
115311 _ACEOF
115313 cat >>confdefs.h <<\_ACEOF
115314 #define HAVE_FABSF 1
115315 _ACEOF
115317 cat >>confdefs.h <<\_ACEOF
115318 #define HAVE_FLOORF 1
115319 _ACEOF
115321 cat >>confdefs.h <<\_ACEOF
115322 #define HAVE_FMODF 1
115323 _ACEOF
115325 cat >>confdefs.h <<\_ACEOF
115326 #define HAVE_HYPOT 1
115327 _ACEOF
115329 cat >>confdefs.h <<\_ACEOF
115330 #define HAVE_LOG10F 1
115331 _ACEOF
115333 cat >>confdefs.h <<\_ACEOF
115334 #define HAVE_LOGF 1
115335 _ACEOF
115337 cat >>confdefs.h <<\_ACEOF
115338 #define HAVE_POWF 1
115339 _ACEOF
115341 cat >>confdefs.h <<\_ACEOF
115342 #define HAVE_SINF 1
115343 _ACEOF
115345 cat >>confdefs.h <<\_ACEOF
115346 #define HAVE_SINHF 1
115347 _ACEOF
115349 cat >>confdefs.h <<\_ACEOF
115350 #define HAVE_SQRTF 1
115351 _ACEOF
115353 cat >>confdefs.h <<\_ACEOF
115354 #define HAVE_TANF 1
115355 _ACEOF
115357 cat >>confdefs.h <<\_ACEOF
115358 #define HAVE_TANHF 1
115359 _ACEOF
115362 *-windiss*)
115363 cat >>confdefs.h <<\_ACEOF
115364 #define HAVE_ACOSF 1
115365 _ACEOF
115367 cat >>confdefs.h <<\_ACEOF
115368 #define HAVE_ACOSL 1
115369 _ACEOF
115371 cat >>confdefs.h <<\_ACEOF
115372 #define HAVE_ASINF 1
115373 _ACEOF
115375 cat >>confdefs.h <<\_ACEOF
115376 #define HAVE_ASINL 1
115377 _ACEOF
115379 cat >>confdefs.h <<\_ACEOF
115380 #define HAVE_ATAN2F 1
115381 _ACEOF
115383 cat >>confdefs.h <<\_ACEOF
115384 #define HAVE_ATAN2L 1
115385 _ACEOF
115387 cat >>confdefs.h <<\_ACEOF
115388 #define HAVE_ATANF 1
115389 _ACEOF
115391 cat >>confdefs.h <<\_ACEOF
115392 #define HAVE_ATANL 1
115393 _ACEOF
115395 cat >>confdefs.h <<\_ACEOF
115396 #define HAVE_CEILF 1
115397 _ACEOF
115399 cat >>confdefs.h <<\_ACEOF
115400 #define HAVE_CEILL 1
115401 _ACEOF
115403 cat >>confdefs.h <<\_ACEOF
115404 #define HAVE_COPYSIGN 1
115405 _ACEOF
115407 cat >>confdefs.h <<\_ACEOF
115408 #define HAVE_COPYSIGNF 1
115409 _ACEOF
115411 cat >>confdefs.h <<\_ACEOF
115412 #define HAVE_COSF 1
115413 _ACEOF
115415 cat >>confdefs.h <<\_ACEOF
115416 #define HAVE_COSL 1
115417 _ACEOF
115419 cat >>confdefs.h <<\_ACEOF
115420 #define HAVE_COSHF 1
115421 _ACEOF
115423 cat >>confdefs.h <<\_ACEOF
115424 #define HAVE_COSHL 1
115425 _ACEOF
115427 cat >>confdefs.h <<\_ACEOF
115428 #define HAVE_EXPF 1
115429 _ACEOF
115431 cat >>confdefs.h <<\_ACEOF
115432 #define HAVE_EXPL 1
115433 _ACEOF
115435 cat >>confdefs.h <<\_ACEOF
115436 #define HAVE_FABSF 1
115437 _ACEOF
115439 cat >>confdefs.h <<\_ACEOF
115440 #define HAVE_FABSL 1
115441 _ACEOF
115443 cat >>confdefs.h <<\_ACEOF
115444 #define HAVE_FLOORF 1
115445 _ACEOF
115447 cat >>confdefs.h <<\_ACEOF
115448 #define HAVE_FLOORL 1
115449 _ACEOF
115451 cat >>confdefs.h <<\_ACEOF
115452 #define HAVE_FMODF 1
115453 _ACEOF
115455 cat >>confdefs.h <<\_ACEOF
115456 #define HAVE_FMODL 1
115457 _ACEOF
115459 cat >>confdefs.h <<\_ACEOF
115460 #define HAVE_FREXPF 1
115461 _ACEOF
115463 cat >>confdefs.h <<\_ACEOF
115464 #define HAVE_FREXPL 1
115465 _ACEOF
115467 cat >>confdefs.h <<\_ACEOF
115468 #define HAVE_LDEXPF 1
115469 _ACEOF
115471 cat >>confdefs.h <<\_ACEOF
115472 #define HAVE_LDEXPL 1
115473 _ACEOF
115475 cat >>confdefs.h <<\_ACEOF
115476 #define HAVE_LOG10F 1
115477 _ACEOF
115479 cat >>confdefs.h <<\_ACEOF
115480 #define HAVE_LOG10L 1
115481 _ACEOF
115483 cat >>confdefs.h <<\_ACEOF
115484 #define HAVE_LOGF 1
115485 _ACEOF
115487 cat >>confdefs.h <<\_ACEOF
115488 #define HAVE_MODFF 1
115489 _ACEOF
115491 cat >>confdefs.h <<\_ACEOF
115492 #define HAVE_MODFL 1
115493 _ACEOF
115495 cat >>confdefs.h <<\_ACEOF
115496 #define HAVE_POWF 1
115497 _ACEOF
115499 cat >>confdefs.h <<\_ACEOF
115500 #define HAVE_POWL 1
115501 _ACEOF
115503 cat >>confdefs.h <<\_ACEOF
115504 #define HAVE_SINF 1
115505 _ACEOF
115507 cat >>confdefs.h <<\_ACEOF
115508 #define HAVE_SINL 1
115509 _ACEOF
115511 cat >>confdefs.h <<\_ACEOF
115512 #define HAVE_SINHF 1
115513 _ACEOF
115515 cat >>confdefs.h <<\_ACEOF
115516 #define HAVE_SINHL 1
115517 _ACEOF
115519 cat >>confdefs.h <<\_ACEOF
115520 #define HAVE_SQRTF 1
115521 _ACEOF
115523 cat >>confdefs.h <<\_ACEOF
115524 #define HAVE_SQRTL 1
115525 _ACEOF
115527 cat >>confdefs.h <<\_ACEOF
115528 #define HAVE_TANF 1
115529 _ACEOF
115531 cat >>confdefs.h <<\_ACEOF
115532 #define HAVE_TANL 1
115533 _ACEOF
115535 cat >>confdefs.h <<\_ACEOF
115536 #define HAVE_TANHF 1
115537 _ACEOF
115539 cat >>confdefs.h <<\_ACEOF
115540 #define HAVE_TANHL 1
115541 _ACEOF
115545 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
115546 echo "$as_me: error: No support for this host/target combination." >&2;}
115547 { (exit 1); exit 1; }; }
115553 # At some point, we should differentiate between architectures
115554 # like x86, which have long double versions, and alpha/powerpc/etc.,
115555 # which don't. For the time being, punt.
115556 if test x"long_double_math_on_this_cpu" = x"yes"; then
115557 cat >>confdefs.h <<\_ACEOF
115558 #define HAVE_ACOSL 1
115559 _ACEOF
115561 cat >>confdefs.h <<\_ACEOF
115562 #define HAVE_ASINL 1
115563 _ACEOF
115565 cat >>confdefs.h <<\_ACEOF
115566 #define HAVE_ATAN2L 1
115567 _ACEOF
115569 cat >>confdefs.h <<\_ACEOF
115570 #define HAVE_ATANL 1
115571 _ACEOF
115573 cat >>confdefs.h <<\_ACEOF
115574 #define HAVE_CEILL 1
115575 _ACEOF
115577 cat >>confdefs.h <<\_ACEOF
115578 #define HAVE_COPYSIGNL 1
115579 _ACEOF
115581 cat >>confdefs.h <<\_ACEOF
115582 #define HAVE_COSL 1
115583 _ACEOF
115585 cat >>confdefs.h <<\_ACEOF
115586 #define HAVE_COSHL 1
115587 _ACEOF
115589 cat >>confdefs.h <<\_ACEOF
115590 #define HAVE_EXPL 1
115591 _ACEOF
115593 cat >>confdefs.h <<\_ACEOF
115594 #define HAVE_FABSL 1
115595 _ACEOF
115597 cat >>confdefs.h <<\_ACEOF
115598 #define HAVE_FLOORL 1
115599 _ACEOF
115601 cat >>confdefs.h <<\_ACEOF
115602 #define HAVE_FMODL 1
115603 _ACEOF
115605 cat >>confdefs.h <<\_ACEOF
115606 #define HAVE_FREXPL 1
115607 _ACEOF
115609 cat >>confdefs.h <<\_ACEOF
115610 #define HAVE_LDEXPL 1
115611 _ACEOF
115613 cat >>confdefs.h <<\_ACEOF
115614 #define HAVE_LOG10L 1
115615 _ACEOF
115617 cat >>confdefs.h <<\_ACEOF
115618 #define HAVE_LOGL 1
115619 _ACEOF
115621 cat >>confdefs.h <<\_ACEOF
115622 #define HAVE_MODFL 1
115623 _ACEOF
115625 cat >>confdefs.h <<\_ACEOF
115626 #define HAVE_POWL 1
115627 _ACEOF
115629 cat >>confdefs.h <<\_ACEOF
115630 #define HAVE_SINCOSL 1
115631 _ACEOF
115633 cat >>confdefs.h <<\_ACEOF
115634 #define HAVE_SINL 1
115635 _ACEOF
115637 cat >>confdefs.h <<\_ACEOF
115638 #define HAVE_SINHL 1
115639 _ACEOF
115641 cat >>confdefs.h <<\_ACEOF
115642 #define HAVE_SQRTL 1
115643 _ACEOF
115645 cat >>confdefs.h <<\_ACEOF
115646 #define HAVE_TANL 1
115647 _ACEOF
115649 cat >>confdefs.h <<\_ACEOF
115650 #define HAVE_TANHL 1
115651 _ACEOF
115655 # Assume we have _Unwind_GetIPInfo for cross-compiles.
115656 cat >>confdefs.h <<\_ACEOF
115657 #define HAVE_GETIPINFO 1
115658 _ACEOF
115662 # Check whether --enable-linux-futex or --disable-linux-futex was given.
115663 if test "${enable_linux_futex+set}" = set; then
115664 enableval="$enable_linux_futex"
115666 case "$enableval" in
115667 yes|no|default) ;;
115668 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
115669 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
115670 { (exit 1); exit 1; }; } ;;
115674 enable_linux_futex=default
115677 case "$target" in
115678 *-linux*)
115679 case "$enable_linux_futex" in
115680 default)
115681 # If headers don't have gettid/futex syscalls definition, then
115682 # default to no, otherwise there will be compile time failures.
115683 # Otherwise, default to yes. If we don't detect we are
115684 # compiled/linked against NPTL and not cross-compiling, check
115685 # if programs are run by default against NPTL and if not, issue
115686 # a warning.
115687 enable_linux_futex=no
115688 if test x$gcc_no_link = xyes; then
115689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115691 { (exit 1); exit 1; }; }
115693 cat >conftest.$ac_ext <<_ACEOF
115694 /* confdefs.h. */
115695 _ACEOF
115696 cat confdefs.h >>conftest.$ac_ext
115697 cat >>conftest.$ac_ext <<_ACEOF
115698 /* end confdefs.h. */
115699 #include <sys/syscall.h>
115700 int lk;
115702 main ()
115704 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
115706 return 0;
115708 _ACEOF
115709 rm -f conftest.$ac_objext conftest$ac_exeext
115710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115711 (eval $ac_link) 2>conftest.er1
115712 ac_status=$?
115713 grep -v '^ *+' conftest.er1 >conftest.err
115714 rm -f conftest.er1
115715 cat conftest.err >&5
115716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115717 (exit $ac_status); } &&
115718 { ac_try='test -z "$ac_c_werror_flag"
115719 || test ! -s conftest.err'
115720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115721 (eval $ac_try) 2>&5
115722 ac_status=$?
115723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115724 (exit $ac_status); }; } &&
115725 { ac_try='test -s conftest$ac_exeext'
115726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115727 (eval $ac_try) 2>&5
115728 ac_status=$?
115729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115730 (exit $ac_status); }; }; then
115731 save_LIBS="$LIBS"
115732 LIBS="-lpthread $LIBS"
115733 if test x$gcc_no_link = xyes; then
115734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115736 { (exit 1); exit 1; }; }
115738 cat >conftest.$ac_ext <<_ACEOF
115739 /* confdefs.h. */
115740 _ACEOF
115741 cat confdefs.h >>conftest.$ac_ext
115742 cat >>conftest.$ac_ext <<_ACEOF
115743 /* end confdefs.h. */
115744 #ifndef _GNU_SOURCE
115745 #define _GNU_SOURCE 1
115746 #endif
115747 #include <pthread.h>
115748 pthread_t th; void *status;
115750 main ()
115752 pthread_tryjoin_np (th, &status);
115754 return 0;
115756 _ACEOF
115757 rm -f conftest.$ac_objext conftest$ac_exeext
115758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115759 (eval $ac_link) 2>conftest.er1
115760 ac_status=$?
115761 grep -v '^ *+' conftest.er1 >conftest.err
115762 rm -f conftest.er1
115763 cat conftest.err >&5
115764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115765 (exit $ac_status); } &&
115766 { ac_try='test -z "$ac_c_werror_flag"
115767 || test ! -s conftest.err'
115768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115769 (eval $ac_try) 2>&5
115770 ac_status=$?
115771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115772 (exit $ac_status); }; } &&
115773 { ac_try='test -s conftest$ac_exeext'
115774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115775 (eval $ac_try) 2>&5
115776 ac_status=$?
115777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115778 (exit $ac_status); }; }; then
115779 enable_linux_futex=yes
115781 echo "$as_me: failed program was:" >&5
115782 sed 's/^/| /' conftest.$ac_ext >&5
115784 if test x$cross_compiling = xno; then
115785 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
115786 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
115787 { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
115788 If so, please configure with --disable-linux-futex" >&5
115789 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
115790 If so, please configure with --disable-linux-futex" >&2;}
115793 enable_linux_futex=yes
115795 rm -f conftest.err conftest.$ac_objext \
115796 conftest$ac_exeext conftest.$ac_ext
115797 LIBS="$save_LIBS"
115799 echo "$as_me: failed program was:" >&5
115800 sed 's/^/| /' conftest.$ac_ext >&5
115803 rm -f conftest.err conftest.$ac_objext \
115804 conftest$ac_exeext conftest.$ac_ext
115807 if test x$gcc_no_link = xyes; then
115808 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115810 { (exit 1); exit 1; }; }
115812 cat >conftest.$ac_ext <<_ACEOF
115813 /* confdefs.h. */
115814 _ACEOF
115815 cat confdefs.h >>conftest.$ac_ext
115816 cat >>conftest.$ac_ext <<_ACEOF
115817 /* end confdefs.h. */
115818 #include <sys/syscall.h>
115819 int lk;
115821 main ()
115823 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
115825 return 0;
115827 _ACEOF
115828 rm -f conftest.$ac_objext conftest$ac_exeext
115829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115830 (eval $ac_link) 2>conftest.er1
115831 ac_status=$?
115832 grep -v '^ *+' conftest.er1 >conftest.err
115833 rm -f conftest.er1
115834 cat conftest.err >&5
115835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115836 (exit $ac_status); } &&
115837 { ac_try='test -z "$ac_c_werror_flag"
115838 || test ! -s conftest.err'
115839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115840 (eval $ac_try) 2>&5
115841 ac_status=$?
115842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115843 (exit $ac_status); }; } &&
115844 { ac_try='test -s conftest$ac_exeext'
115845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115846 (eval $ac_try) 2>&5
115847 ac_status=$?
115848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115849 (exit $ac_status); }; }; then
115852 echo "$as_me: failed program was:" >&5
115853 sed 's/^/| /' conftest.$ac_ext >&5
115855 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
115856 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
115857 { (exit 1); exit 1; }; }
115859 rm -f conftest.err conftest.$ac_objext \
115860 conftest$ac_exeext conftest.$ac_ext
115865 enable_linux_futex=no
115868 if test x$enable_linux_futex = xyes; then
115870 cat >>confdefs.h <<\_ACEOF
115871 #define HAVE_LINUX_FUTEX 1
115872 _ACEOF
115879 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
115881 acx_cv_header_stdint=stddef.h
115882 acx_cv_header_stdint_kind="(already complete)"
115883 for i in stdint.h $inttype_headers; do
115884 unset ac_cv_type_uintptr_t
115885 unset ac_cv_type_uintmax_t
115886 unset ac_cv_type_int_least32_t
115887 unset ac_cv_type_int_fast32_t
115888 unset ac_cv_type_uint64_t
115889 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
115890 echo "$as_me:$LINENO: checking for uintmax_t" >&5
115891 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
115892 if test "${ac_cv_type_uintmax_t+set}" = set; then
115893 echo $ECHO_N "(cached) $ECHO_C" >&6
115895 cat >conftest.$ac_ext <<_ACEOF
115896 /* confdefs.h. */
115897 _ACEOF
115898 cat confdefs.h >>conftest.$ac_ext
115899 cat >>conftest.$ac_ext <<_ACEOF
115900 /* end confdefs.h. */
115901 #include <sys/types.h>
115902 #include <$i>
115905 main ()
115907 if ((uintmax_t *) 0)
115908 return 0;
115909 if (sizeof (uintmax_t))
115910 return 0;
115912 return 0;
115914 _ACEOF
115915 rm -f conftest.$ac_objext
115916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115917 (eval $ac_compile) 2>conftest.er1
115918 ac_status=$?
115919 grep -v '^ *+' conftest.er1 >conftest.err
115920 rm -f conftest.er1
115921 cat conftest.err >&5
115922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115923 (exit $ac_status); } &&
115924 { ac_try='test -z "$ac_c_werror_flag"
115925 || test ! -s conftest.err'
115926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115927 (eval $ac_try) 2>&5
115928 ac_status=$?
115929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115930 (exit $ac_status); }; } &&
115931 { ac_try='test -s conftest.$ac_objext'
115932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115933 (eval $ac_try) 2>&5
115934 ac_status=$?
115935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115936 (exit $ac_status); }; }; then
115937 ac_cv_type_uintmax_t=yes
115939 echo "$as_me: failed program was:" >&5
115940 sed 's/^/| /' conftest.$ac_ext >&5
115942 ac_cv_type_uintmax_t=no
115944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115946 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
115947 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
115948 if test $ac_cv_type_uintmax_t = yes; then
115949 acx_cv_header_stdint=$i
115951 continue
115954 echo "$as_me:$LINENO: checking for uintptr_t" >&5
115955 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
115956 if test "${ac_cv_type_uintptr_t+set}" = set; then
115957 echo $ECHO_N "(cached) $ECHO_C" >&6
115959 cat >conftest.$ac_ext <<_ACEOF
115960 /* confdefs.h. */
115961 _ACEOF
115962 cat confdefs.h >>conftest.$ac_ext
115963 cat >>conftest.$ac_ext <<_ACEOF
115964 /* end confdefs.h. */
115965 #include <sys/types.h>
115966 #include <$i>
115969 main ()
115971 if ((uintptr_t *) 0)
115972 return 0;
115973 if (sizeof (uintptr_t))
115974 return 0;
115976 return 0;
115978 _ACEOF
115979 rm -f conftest.$ac_objext
115980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115981 (eval $ac_compile) 2>conftest.er1
115982 ac_status=$?
115983 grep -v '^ *+' conftest.er1 >conftest.err
115984 rm -f conftest.er1
115985 cat conftest.err >&5
115986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115987 (exit $ac_status); } &&
115988 { ac_try='test -z "$ac_c_werror_flag"
115989 || test ! -s conftest.err'
115990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115991 (eval $ac_try) 2>&5
115992 ac_status=$?
115993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115994 (exit $ac_status); }; } &&
115995 { ac_try='test -s conftest.$ac_objext'
115996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115997 (eval $ac_try) 2>&5
115998 ac_status=$?
115999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116000 (exit $ac_status); }; }; then
116001 ac_cv_type_uintptr_t=yes
116003 echo "$as_me: failed program was:" >&5
116004 sed 's/^/| /' conftest.$ac_ext >&5
116006 ac_cv_type_uintptr_t=no
116008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116010 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
116011 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
116012 if test $ac_cv_type_uintptr_t = yes; then
116015 acx_cv_header_stdint_kind="(mostly complete)"
116018 echo "$as_me:$LINENO: checking for int_least32_t" >&5
116019 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
116020 if test "${ac_cv_type_int_least32_t+set}" = set; then
116021 echo $ECHO_N "(cached) $ECHO_C" >&6
116023 cat >conftest.$ac_ext <<_ACEOF
116024 /* confdefs.h. */
116025 _ACEOF
116026 cat confdefs.h >>conftest.$ac_ext
116027 cat >>conftest.$ac_ext <<_ACEOF
116028 /* end confdefs.h. */
116029 #include <sys/types.h>
116030 #include <$i>
116033 main ()
116035 if ((int_least32_t *) 0)
116036 return 0;
116037 if (sizeof (int_least32_t))
116038 return 0;
116040 return 0;
116042 _ACEOF
116043 rm -f conftest.$ac_objext
116044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116045 (eval $ac_compile) 2>conftest.er1
116046 ac_status=$?
116047 grep -v '^ *+' conftest.er1 >conftest.err
116048 rm -f conftest.er1
116049 cat conftest.err >&5
116050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116051 (exit $ac_status); } &&
116052 { ac_try='test -z "$ac_c_werror_flag"
116053 || test ! -s conftest.err'
116054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116055 (eval $ac_try) 2>&5
116056 ac_status=$?
116057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116058 (exit $ac_status); }; } &&
116059 { ac_try='test -s conftest.$ac_objext'
116060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116061 (eval $ac_try) 2>&5
116062 ac_status=$?
116063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116064 (exit $ac_status); }; }; then
116065 ac_cv_type_int_least32_t=yes
116067 echo "$as_me: failed program was:" >&5
116068 sed 's/^/| /' conftest.$ac_ext >&5
116070 ac_cv_type_int_least32_t=no
116072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116074 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
116075 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
116076 if test $ac_cv_type_int_least32_t = yes; then
116079 acx_cv_header_stdint_kind="(mostly complete)"
116082 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
116083 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
116084 if test "${ac_cv_type_int_fast32_t+set}" = set; then
116085 echo $ECHO_N "(cached) $ECHO_C" >&6
116087 cat >conftest.$ac_ext <<_ACEOF
116088 /* confdefs.h. */
116089 _ACEOF
116090 cat confdefs.h >>conftest.$ac_ext
116091 cat >>conftest.$ac_ext <<_ACEOF
116092 /* end confdefs.h. */
116093 #include <sys/types.h>
116094 #include <$i>
116097 main ()
116099 if ((int_fast32_t *) 0)
116100 return 0;
116101 if (sizeof (int_fast32_t))
116102 return 0;
116104 return 0;
116106 _ACEOF
116107 rm -f conftest.$ac_objext
116108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116109 (eval $ac_compile) 2>conftest.er1
116110 ac_status=$?
116111 grep -v '^ *+' conftest.er1 >conftest.err
116112 rm -f conftest.er1
116113 cat conftest.err >&5
116114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116115 (exit $ac_status); } &&
116116 { ac_try='test -z "$ac_c_werror_flag"
116117 || test ! -s conftest.err'
116118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116119 (eval $ac_try) 2>&5
116120 ac_status=$?
116121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116122 (exit $ac_status); }; } &&
116123 { ac_try='test -s conftest.$ac_objext'
116124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116125 (eval $ac_try) 2>&5
116126 ac_status=$?
116127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116128 (exit $ac_status); }; }; then
116129 ac_cv_type_int_fast32_t=yes
116131 echo "$as_me: failed program was:" >&5
116132 sed 's/^/| /' conftest.$ac_ext >&5
116134 ac_cv_type_int_fast32_t=no
116136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116138 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
116139 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
116140 if test $ac_cv_type_int_fast32_t = yes; then
116143 acx_cv_header_stdint_kind="(mostly complete)"
116146 echo "$as_me:$LINENO: checking for uint64_t" >&5
116147 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
116148 if test "${ac_cv_type_uint64_t+set}" = set; then
116149 echo $ECHO_N "(cached) $ECHO_C" >&6
116151 cat >conftest.$ac_ext <<_ACEOF
116152 /* confdefs.h. */
116153 _ACEOF
116154 cat confdefs.h >>conftest.$ac_ext
116155 cat >>conftest.$ac_ext <<_ACEOF
116156 /* end confdefs.h. */
116157 #include <sys/types.h>
116158 #include <$i>
116161 main ()
116163 if ((uint64_t *) 0)
116164 return 0;
116165 if (sizeof (uint64_t))
116166 return 0;
116168 return 0;
116170 _ACEOF
116171 rm -f conftest.$ac_objext
116172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116173 (eval $ac_compile) 2>conftest.er1
116174 ac_status=$?
116175 grep -v '^ *+' conftest.er1 >conftest.err
116176 rm -f conftest.er1
116177 cat conftest.err >&5
116178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116179 (exit $ac_status); } &&
116180 { ac_try='test -z "$ac_c_werror_flag"
116181 || test ! -s conftest.err'
116182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116183 (eval $ac_try) 2>&5
116184 ac_status=$?
116185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116186 (exit $ac_status); }; } &&
116187 { ac_try='test -s conftest.$ac_objext'
116188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116189 (eval $ac_try) 2>&5
116190 ac_status=$?
116191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116192 (exit $ac_status); }; }; then
116193 ac_cv_type_uint64_t=yes
116195 echo "$as_me: failed program was:" >&5
116196 sed 's/^/| /' conftest.$ac_ext >&5
116198 ac_cv_type_uint64_t=no
116200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116202 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
116203 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
116204 if test $ac_cv_type_uint64_t = yes; then
116207 acx_cv_header_stdint_kind="(lacks uint64_t)"
116210 break
116212 if test "$acx_cv_header_stdint" = stddef.h; then
116213 acx_cv_header_stdint_kind="(lacks uintmax_t)"
116214 for i in stdint.h $inttype_headers; do
116215 unset ac_cv_type_uintptr_t
116216 unset ac_cv_type_uint32_t
116217 unset ac_cv_type_uint64_t
116218 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
116219 echo "$as_me:$LINENO: checking for uint32_t" >&5
116220 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
116221 if test "${ac_cv_type_uint32_t+set}" = set; then
116222 echo $ECHO_N "(cached) $ECHO_C" >&6
116224 cat >conftest.$ac_ext <<_ACEOF
116225 /* confdefs.h. */
116226 _ACEOF
116227 cat confdefs.h >>conftest.$ac_ext
116228 cat >>conftest.$ac_ext <<_ACEOF
116229 /* end confdefs.h. */
116230 #include <sys/types.h>
116231 #include <$i>
116234 main ()
116236 if ((uint32_t *) 0)
116237 return 0;
116238 if (sizeof (uint32_t))
116239 return 0;
116241 return 0;
116243 _ACEOF
116244 rm -f conftest.$ac_objext
116245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116246 (eval $ac_compile) 2>conftest.er1
116247 ac_status=$?
116248 grep -v '^ *+' conftest.er1 >conftest.err
116249 rm -f conftest.er1
116250 cat conftest.err >&5
116251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116252 (exit $ac_status); } &&
116253 { ac_try='test -z "$ac_c_werror_flag"
116254 || test ! -s conftest.err'
116255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116256 (eval $ac_try) 2>&5
116257 ac_status=$?
116258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116259 (exit $ac_status); }; } &&
116260 { ac_try='test -s conftest.$ac_objext'
116261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116262 (eval $ac_try) 2>&5
116263 ac_status=$?
116264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116265 (exit $ac_status); }; }; then
116266 ac_cv_type_uint32_t=yes
116268 echo "$as_me: failed program was:" >&5
116269 sed 's/^/| /' conftest.$ac_ext >&5
116271 ac_cv_type_uint32_t=no
116273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116275 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
116276 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
116277 if test $ac_cv_type_uint32_t = yes; then
116278 acx_cv_header_stdint=$i
116280 continue
116283 echo "$as_me:$LINENO: checking for uint64_t" >&5
116284 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
116285 if test "${ac_cv_type_uint64_t+set}" = set; then
116286 echo $ECHO_N "(cached) $ECHO_C" >&6
116288 cat >conftest.$ac_ext <<_ACEOF
116289 /* confdefs.h. */
116290 _ACEOF
116291 cat confdefs.h >>conftest.$ac_ext
116292 cat >>conftest.$ac_ext <<_ACEOF
116293 /* end confdefs.h. */
116294 #include <sys/types.h>
116295 #include <$i>
116298 main ()
116300 if ((uint64_t *) 0)
116301 return 0;
116302 if (sizeof (uint64_t))
116303 return 0;
116305 return 0;
116307 _ACEOF
116308 rm -f conftest.$ac_objext
116309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116310 (eval $ac_compile) 2>conftest.er1
116311 ac_status=$?
116312 grep -v '^ *+' conftest.er1 >conftest.err
116313 rm -f conftest.er1
116314 cat conftest.err >&5
116315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116316 (exit $ac_status); } &&
116317 { ac_try='test -z "$ac_c_werror_flag"
116318 || test ! -s conftest.err'
116319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116320 (eval $ac_try) 2>&5
116321 ac_status=$?
116322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116323 (exit $ac_status); }; } &&
116324 { ac_try='test -s conftest.$ac_objext'
116325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116326 (eval $ac_try) 2>&5
116327 ac_status=$?
116328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116329 (exit $ac_status); }; }; then
116330 ac_cv_type_uint64_t=yes
116332 echo "$as_me: failed program was:" >&5
116333 sed 's/^/| /' conftest.$ac_ext >&5
116335 ac_cv_type_uint64_t=no
116337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116339 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
116340 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
116342 echo "$as_me:$LINENO: checking for uintptr_t" >&5
116343 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
116344 if test "${ac_cv_type_uintptr_t+set}" = set; then
116345 echo $ECHO_N "(cached) $ECHO_C" >&6
116347 cat >conftest.$ac_ext <<_ACEOF
116348 /* confdefs.h. */
116349 _ACEOF
116350 cat confdefs.h >>conftest.$ac_ext
116351 cat >>conftest.$ac_ext <<_ACEOF
116352 /* end confdefs.h. */
116353 #include <sys/types.h>
116354 #include <$i>
116357 main ()
116359 if ((uintptr_t *) 0)
116360 return 0;
116361 if (sizeof (uintptr_t))
116362 return 0;
116364 return 0;
116366 _ACEOF
116367 rm -f conftest.$ac_objext
116368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116369 (eval $ac_compile) 2>conftest.er1
116370 ac_status=$?
116371 grep -v '^ *+' conftest.er1 >conftest.err
116372 rm -f conftest.er1
116373 cat conftest.err >&5
116374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116375 (exit $ac_status); } &&
116376 { ac_try='test -z "$ac_c_werror_flag"
116377 || test ! -s conftest.err'
116378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116379 (eval $ac_try) 2>&5
116380 ac_status=$?
116381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116382 (exit $ac_status); }; } &&
116383 { ac_try='test -s conftest.$ac_objext'
116384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116385 (eval $ac_try) 2>&5
116386 ac_status=$?
116387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116388 (exit $ac_status); }; }; then
116389 ac_cv_type_uintptr_t=yes
116391 echo "$as_me: failed program was:" >&5
116392 sed 's/^/| /' conftest.$ac_ext >&5
116394 ac_cv_type_uintptr_t=no
116396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116398 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
116399 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
116401 break
116404 if test "$acx_cv_header_stdint" = stddef.h; then
116405 acx_cv_header_stdint_kind="(u_intXX_t style)"
116406 for i in sys/types.h $inttype_headers; do
116407 unset ac_cv_type_u_int32_t
116408 unset ac_cv_type_u_int64_t
116409 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
116410 echo "$as_me:$LINENO: checking for u_int32_t" >&5
116411 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
116412 if test "${ac_cv_type_u_int32_t+set}" = set; then
116413 echo $ECHO_N "(cached) $ECHO_C" >&6
116415 cat >conftest.$ac_ext <<_ACEOF
116416 /* confdefs.h. */
116417 _ACEOF
116418 cat confdefs.h >>conftest.$ac_ext
116419 cat >>conftest.$ac_ext <<_ACEOF
116420 /* end confdefs.h. */
116421 #include <sys/types.h>
116422 #include <$i>
116425 main ()
116427 if ((u_int32_t *) 0)
116428 return 0;
116429 if (sizeof (u_int32_t))
116430 return 0;
116432 return 0;
116434 _ACEOF
116435 rm -f conftest.$ac_objext
116436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116437 (eval $ac_compile) 2>conftest.er1
116438 ac_status=$?
116439 grep -v '^ *+' conftest.er1 >conftest.err
116440 rm -f conftest.er1
116441 cat conftest.err >&5
116442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116443 (exit $ac_status); } &&
116444 { ac_try='test -z "$ac_c_werror_flag"
116445 || test ! -s conftest.err'
116446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116447 (eval $ac_try) 2>&5
116448 ac_status=$?
116449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116450 (exit $ac_status); }; } &&
116451 { ac_try='test -s conftest.$ac_objext'
116452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116453 (eval $ac_try) 2>&5
116454 ac_status=$?
116455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116456 (exit $ac_status); }; }; then
116457 ac_cv_type_u_int32_t=yes
116459 echo "$as_me: failed program was:" >&5
116460 sed 's/^/| /' conftest.$ac_ext >&5
116462 ac_cv_type_u_int32_t=no
116464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116466 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
116467 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
116468 if test $ac_cv_type_u_int32_t = yes; then
116469 acx_cv_header_stdint=$i
116471 continue
116474 echo "$as_me:$LINENO: checking for u_int64_t" >&5
116475 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
116476 if test "${ac_cv_type_u_int64_t+set}" = set; then
116477 echo $ECHO_N "(cached) $ECHO_C" >&6
116479 cat >conftest.$ac_ext <<_ACEOF
116480 /* confdefs.h. */
116481 _ACEOF
116482 cat confdefs.h >>conftest.$ac_ext
116483 cat >>conftest.$ac_ext <<_ACEOF
116484 /* end confdefs.h. */
116485 #include <sys/types.h>
116486 #include <$i>
116489 main ()
116491 if ((u_int64_t *) 0)
116492 return 0;
116493 if (sizeof (u_int64_t))
116494 return 0;
116496 return 0;
116498 _ACEOF
116499 rm -f conftest.$ac_objext
116500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116501 (eval $ac_compile) 2>conftest.er1
116502 ac_status=$?
116503 grep -v '^ *+' conftest.er1 >conftest.err
116504 rm -f conftest.er1
116505 cat conftest.err >&5
116506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116507 (exit $ac_status); } &&
116508 { ac_try='test -z "$ac_c_werror_flag"
116509 || test ! -s conftest.err'
116510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116511 (eval $ac_try) 2>&5
116512 ac_status=$?
116513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116514 (exit $ac_status); }; } &&
116515 { ac_try='test -s conftest.$ac_objext'
116516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116517 (eval $ac_try) 2>&5
116518 ac_status=$?
116519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116520 (exit $ac_status); }; }; then
116521 ac_cv_type_u_int64_t=yes
116523 echo "$as_me: failed program was:" >&5
116524 sed 's/^/| /' conftest.$ac_ext >&5
116526 ac_cv_type_u_int64_t=no
116528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116530 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
116531 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
116533 break
116536 if test "$acx_cv_header_stdint" = stddef.h; then
116537 acx_cv_header_stdint_kind="(using manual detection)"
116540 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
116541 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
116542 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
116543 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
116544 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
116546 # ----------------- Summarize what we found so far
116548 echo "$as_me:$LINENO: checking what to include in include/gstdint.h" >&5
116549 echo $ECHO_N "checking what to include in include/gstdint.h... $ECHO_C" >&6
116551 case `$as_basename include/gstdint.h ||
116552 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
116553 Xinclude/gstdint.h : 'X\(//\)$' \| \
116554 Xinclude/gstdint.h : 'X\(/\)$' \| \
116555 . : '\(.\)' 2>/dev/null ||
116556 echo X/include/gstdint.h |
116557 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
116558 /^X\/\(\/\/\)$/{ s//\1/; q; }
116559 /^X\/\(\/\).*/{ s//\1/; q; }
116560 s/.*/./; q'` in
116561 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
116562 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
116563 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
116564 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
116565 *) ;;
116568 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
116569 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
116571 # ----------------- done included file, check C basic types --------
116573 # Lacking an uintptr_t? Test size of void *
116574 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
116575 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
116576 echo $ECHO_N "checking for void *... $ECHO_C" >&6
116577 if test "${ac_cv_type_void_p+set}" = set; then
116578 echo $ECHO_N "(cached) $ECHO_C" >&6
116580 cat >conftest.$ac_ext <<_ACEOF
116581 /* confdefs.h. */
116582 _ACEOF
116583 cat confdefs.h >>conftest.$ac_ext
116584 cat >>conftest.$ac_ext <<_ACEOF
116585 /* end confdefs.h. */
116586 $ac_includes_default
116588 main ()
116590 if ((void * *) 0)
116591 return 0;
116592 if (sizeof (void *))
116593 return 0;
116595 return 0;
116597 _ACEOF
116598 rm -f conftest.$ac_objext
116599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116600 (eval $ac_compile) 2>conftest.er1
116601 ac_status=$?
116602 grep -v '^ *+' conftest.er1 >conftest.err
116603 rm -f conftest.er1
116604 cat conftest.err >&5
116605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116606 (exit $ac_status); } &&
116607 { ac_try='test -z "$ac_c_werror_flag"
116608 || test ! -s conftest.err'
116609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116610 (eval $ac_try) 2>&5
116611 ac_status=$?
116612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116613 (exit $ac_status); }; } &&
116614 { ac_try='test -s conftest.$ac_objext'
116615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116616 (eval $ac_try) 2>&5
116617 ac_status=$?
116618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116619 (exit $ac_status); }; }; then
116620 ac_cv_type_void_p=yes
116622 echo "$as_me: failed program was:" >&5
116623 sed 's/^/| /' conftest.$ac_ext >&5
116625 ac_cv_type_void_p=no
116627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116629 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
116630 echo "${ECHO_T}$ac_cv_type_void_p" >&6
116632 echo "$as_me:$LINENO: checking size of void *" >&5
116633 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
116634 if test "${ac_cv_sizeof_void_p+set}" = set; then
116635 echo $ECHO_N "(cached) $ECHO_C" >&6
116637 if test "$ac_cv_type_void_p" = yes; then
116638 # The cast to unsigned long works around a bug in the HP C Compiler
116639 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
116640 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
116641 # This bug is HP SR number 8606223364.
116642 if test "$cross_compiling" = yes; then
116643 # Depending upon the size, compute the lo and hi bounds.
116644 cat >conftest.$ac_ext <<_ACEOF
116645 /* confdefs.h. */
116646 _ACEOF
116647 cat confdefs.h >>conftest.$ac_ext
116648 cat >>conftest.$ac_ext <<_ACEOF
116649 /* end confdefs.h. */
116650 $ac_includes_default
116652 main ()
116654 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
116655 test_array [0] = 0
116658 return 0;
116660 _ACEOF
116661 rm -f conftest.$ac_objext
116662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116663 (eval $ac_compile) 2>conftest.er1
116664 ac_status=$?
116665 grep -v '^ *+' conftest.er1 >conftest.err
116666 rm -f conftest.er1
116667 cat conftest.err >&5
116668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116669 (exit $ac_status); } &&
116670 { ac_try='test -z "$ac_c_werror_flag"
116671 || test ! -s conftest.err'
116672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116673 (eval $ac_try) 2>&5
116674 ac_status=$?
116675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116676 (exit $ac_status); }; } &&
116677 { ac_try='test -s conftest.$ac_objext'
116678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116679 (eval $ac_try) 2>&5
116680 ac_status=$?
116681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116682 (exit $ac_status); }; }; then
116683 ac_lo=0 ac_mid=0
116684 while :; do
116685 cat >conftest.$ac_ext <<_ACEOF
116686 /* confdefs.h. */
116687 _ACEOF
116688 cat confdefs.h >>conftest.$ac_ext
116689 cat >>conftest.$ac_ext <<_ACEOF
116690 /* end confdefs.h. */
116691 $ac_includes_default
116693 main ()
116695 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
116696 test_array [0] = 0
116699 return 0;
116701 _ACEOF
116702 rm -f conftest.$ac_objext
116703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116704 (eval $ac_compile) 2>conftest.er1
116705 ac_status=$?
116706 grep -v '^ *+' conftest.er1 >conftest.err
116707 rm -f conftest.er1
116708 cat conftest.err >&5
116709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116710 (exit $ac_status); } &&
116711 { ac_try='test -z "$ac_c_werror_flag"
116712 || test ! -s conftest.err'
116713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116714 (eval $ac_try) 2>&5
116715 ac_status=$?
116716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116717 (exit $ac_status); }; } &&
116718 { ac_try='test -s conftest.$ac_objext'
116719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116720 (eval $ac_try) 2>&5
116721 ac_status=$?
116722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116723 (exit $ac_status); }; }; then
116724 ac_hi=$ac_mid; break
116726 echo "$as_me: failed program was:" >&5
116727 sed 's/^/| /' conftest.$ac_ext >&5
116729 ac_lo=`expr $ac_mid + 1`
116730 if test $ac_lo -le $ac_mid; then
116731 ac_lo= ac_hi=
116732 break
116734 ac_mid=`expr 2 '*' $ac_mid + 1`
116736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116739 echo "$as_me: failed program was:" >&5
116740 sed 's/^/| /' conftest.$ac_ext >&5
116742 cat >conftest.$ac_ext <<_ACEOF
116743 /* confdefs.h. */
116744 _ACEOF
116745 cat confdefs.h >>conftest.$ac_ext
116746 cat >>conftest.$ac_ext <<_ACEOF
116747 /* end confdefs.h. */
116748 $ac_includes_default
116750 main ()
116752 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
116753 test_array [0] = 0
116756 return 0;
116758 _ACEOF
116759 rm -f conftest.$ac_objext
116760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116761 (eval $ac_compile) 2>conftest.er1
116762 ac_status=$?
116763 grep -v '^ *+' conftest.er1 >conftest.err
116764 rm -f conftest.er1
116765 cat conftest.err >&5
116766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116767 (exit $ac_status); } &&
116768 { ac_try='test -z "$ac_c_werror_flag"
116769 || test ! -s conftest.err'
116770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116771 (eval $ac_try) 2>&5
116772 ac_status=$?
116773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116774 (exit $ac_status); }; } &&
116775 { ac_try='test -s conftest.$ac_objext'
116776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116777 (eval $ac_try) 2>&5
116778 ac_status=$?
116779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116780 (exit $ac_status); }; }; then
116781 ac_hi=-1 ac_mid=-1
116782 while :; do
116783 cat >conftest.$ac_ext <<_ACEOF
116784 /* confdefs.h. */
116785 _ACEOF
116786 cat confdefs.h >>conftest.$ac_ext
116787 cat >>conftest.$ac_ext <<_ACEOF
116788 /* end confdefs.h. */
116789 $ac_includes_default
116791 main ()
116793 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
116794 test_array [0] = 0
116797 return 0;
116799 _ACEOF
116800 rm -f conftest.$ac_objext
116801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116802 (eval $ac_compile) 2>conftest.er1
116803 ac_status=$?
116804 grep -v '^ *+' conftest.er1 >conftest.err
116805 rm -f conftest.er1
116806 cat conftest.err >&5
116807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116808 (exit $ac_status); } &&
116809 { ac_try='test -z "$ac_c_werror_flag"
116810 || test ! -s conftest.err'
116811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116812 (eval $ac_try) 2>&5
116813 ac_status=$?
116814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116815 (exit $ac_status); }; } &&
116816 { ac_try='test -s conftest.$ac_objext'
116817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116818 (eval $ac_try) 2>&5
116819 ac_status=$?
116820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116821 (exit $ac_status); }; }; then
116822 ac_lo=$ac_mid; break
116824 echo "$as_me: failed program was:" >&5
116825 sed 's/^/| /' conftest.$ac_ext >&5
116827 ac_hi=`expr '(' $ac_mid ')' - 1`
116828 if test $ac_mid -le $ac_hi; then
116829 ac_lo= ac_hi=
116830 break
116832 ac_mid=`expr 2 '*' $ac_mid`
116834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116837 echo "$as_me: failed program was:" >&5
116838 sed 's/^/| /' conftest.$ac_ext >&5
116840 ac_lo= ac_hi=
116842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116845 # Binary search between lo and hi bounds.
116846 while test "x$ac_lo" != "x$ac_hi"; do
116847 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
116848 cat >conftest.$ac_ext <<_ACEOF
116849 /* confdefs.h. */
116850 _ACEOF
116851 cat confdefs.h >>conftest.$ac_ext
116852 cat >>conftest.$ac_ext <<_ACEOF
116853 /* end confdefs.h. */
116854 $ac_includes_default
116856 main ()
116858 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
116859 test_array [0] = 0
116862 return 0;
116864 _ACEOF
116865 rm -f conftest.$ac_objext
116866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116867 (eval $ac_compile) 2>conftest.er1
116868 ac_status=$?
116869 grep -v '^ *+' conftest.er1 >conftest.err
116870 rm -f conftest.er1
116871 cat conftest.err >&5
116872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116873 (exit $ac_status); } &&
116874 { ac_try='test -z "$ac_c_werror_flag"
116875 || test ! -s conftest.err'
116876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116877 (eval $ac_try) 2>&5
116878 ac_status=$?
116879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116880 (exit $ac_status); }; } &&
116881 { ac_try='test -s conftest.$ac_objext'
116882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116883 (eval $ac_try) 2>&5
116884 ac_status=$?
116885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116886 (exit $ac_status); }; }; then
116887 ac_hi=$ac_mid
116889 echo "$as_me: failed program was:" >&5
116890 sed 's/^/| /' conftest.$ac_ext >&5
116892 ac_lo=`expr '(' $ac_mid ')' + 1`
116894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116896 case $ac_lo in
116897 ?*) ac_cv_sizeof_void_p=$ac_lo;;
116898 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
116899 See \`config.log' for more details." >&5
116900 echo "$as_me: error: cannot compute sizeof (void *), 77
116901 See \`config.log' for more details." >&2;}
116902 { (exit 1); exit 1; }; } ;;
116905 if test "$cross_compiling" = yes; then
116906 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
116907 See \`config.log' for more details." >&5
116908 echo "$as_me: error: cannot run test program while cross compiling
116909 See \`config.log' for more details." >&2;}
116910 { (exit 1); exit 1; }; }
116912 cat >conftest.$ac_ext <<_ACEOF
116913 /* confdefs.h. */
116914 _ACEOF
116915 cat confdefs.h >>conftest.$ac_ext
116916 cat >>conftest.$ac_ext <<_ACEOF
116917 /* end confdefs.h. */
116918 $ac_includes_default
116919 long longval () { return (long) (sizeof (void *)); }
116920 unsigned long ulongval () { return (long) (sizeof (void *)); }
116921 #include <stdio.h>
116922 #include <stdlib.h>
116924 main ()
116927 FILE *f = fopen ("conftest.val", "w");
116928 if (! f)
116929 exit (1);
116930 if (((long) (sizeof (void *))) < 0)
116932 long i = longval ();
116933 if (i != ((long) (sizeof (void *))))
116934 exit (1);
116935 fprintf (f, "%ld\n", i);
116939 unsigned long i = ulongval ();
116940 if (i != ((long) (sizeof (void *))))
116941 exit (1);
116942 fprintf (f, "%lu\n", i);
116944 exit (ferror (f) || fclose (f) != 0);
116947 return 0;
116949 _ACEOF
116950 rm -f conftest$ac_exeext
116951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116952 (eval $ac_link) 2>&5
116953 ac_status=$?
116954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116955 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
116956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116957 (eval $ac_try) 2>&5
116958 ac_status=$?
116959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116960 (exit $ac_status); }; }; then
116961 ac_cv_sizeof_void_p=`cat conftest.val`
116963 echo "$as_me: program exited with status $ac_status" >&5
116964 echo "$as_me: failed program was:" >&5
116965 sed 's/^/| /' conftest.$ac_ext >&5
116967 ( exit $ac_status )
116968 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
116969 See \`config.log' for more details." >&5
116970 echo "$as_me: error: cannot compute sizeof (void *), 77
116971 See \`config.log' for more details." >&2;}
116972 { (exit 1); exit 1; }; }
116974 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
116977 rm -f conftest.val
116979 ac_cv_sizeof_void_p=0
116982 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
116983 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
116984 cat >>confdefs.h <<_ACEOF
116985 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
116986 _ACEOF
116991 # Lacking an uint64_t? Test size of long
116992 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
116993 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
116994 echo $ECHO_N "checking for long... $ECHO_C" >&6
116995 if test "${ac_cv_type_long+set}" = set; then
116996 echo $ECHO_N "(cached) $ECHO_C" >&6
116998 cat >conftest.$ac_ext <<_ACEOF
116999 /* confdefs.h. */
117000 _ACEOF
117001 cat confdefs.h >>conftest.$ac_ext
117002 cat >>conftest.$ac_ext <<_ACEOF
117003 /* end confdefs.h. */
117004 $ac_includes_default
117006 main ()
117008 if ((long *) 0)
117009 return 0;
117010 if (sizeof (long))
117011 return 0;
117013 return 0;
117015 _ACEOF
117016 rm -f conftest.$ac_objext
117017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117018 (eval $ac_compile) 2>conftest.er1
117019 ac_status=$?
117020 grep -v '^ *+' conftest.er1 >conftest.err
117021 rm -f conftest.er1
117022 cat conftest.err >&5
117023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117024 (exit $ac_status); } &&
117025 { ac_try='test -z "$ac_c_werror_flag"
117026 || test ! -s conftest.err'
117027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117028 (eval $ac_try) 2>&5
117029 ac_status=$?
117030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117031 (exit $ac_status); }; } &&
117032 { ac_try='test -s conftest.$ac_objext'
117033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117034 (eval $ac_try) 2>&5
117035 ac_status=$?
117036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117037 (exit $ac_status); }; }; then
117038 ac_cv_type_long=yes
117040 echo "$as_me: failed program was:" >&5
117041 sed 's/^/| /' conftest.$ac_ext >&5
117043 ac_cv_type_long=no
117045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117047 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
117048 echo "${ECHO_T}$ac_cv_type_long" >&6
117050 echo "$as_me:$LINENO: checking size of long" >&5
117051 echo $ECHO_N "checking size of long... $ECHO_C" >&6
117052 if test "${ac_cv_sizeof_long+set}" = set; then
117053 echo $ECHO_N "(cached) $ECHO_C" >&6
117055 if test "$ac_cv_type_long" = yes; then
117056 # The cast to unsigned long works around a bug in the HP C Compiler
117057 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
117058 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
117059 # This bug is HP SR number 8606223364.
117060 if test "$cross_compiling" = yes; then
117061 # Depending upon the size, compute the lo and hi bounds.
117062 cat >conftest.$ac_ext <<_ACEOF
117063 /* confdefs.h. */
117064 _ACEOF
117065 cat confdefs.h >>conftest.$ac_ext
117066 cat >>conftest.$ac_ext <<_ACEOF
117067 /* end confdefs.h. */
117068 $ac_includes_default
117070 main ()
117072 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
117073 test_array [0] = 0
117076 return 0;
117078 _ACEOF
117079 rm -f conftest.$ac_objext
117080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117081 (eval $ac_compile) 2>conftest.er1
117082 ac_status=$?
117083 grep -v '^ *+' conftest.er1 >conftest.err
117084 rm -f conftest.er1
117085 cat conftest.err >&5
117086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117087 (exit $ac_status); } &&
117088 { ac_try='test -z "$ac_c_werror_flag"
117089 || test ! -s conftest.err'
117090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117091 (eval $ac_try) 2>&5
117092 ac_status=$?
117093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117094 (exit $ac_status); }; } &&
117095 { ac_try='test -s conftest.$ac_objext'
117096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117097 (eval $ac_try) 2>&5
117098 ac_status=$?
117099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117100 (exit $ac_status); }; }; then
117101 ac_lo=0 ac_mid=0
117102 while :; do
117103 cat >conftest.$ac_ext <<_ACEOF
117104 /* confdefs.h. */
117105 _ACEOF
117106 cat confdefs.h >>conftest.$ac_ext
117107 cat >>conftest.$ac_ext <<_ACEOF
117108 /* end confdefs.h. */
117109 $ac_includes_default
117111 main ()
117113 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
117114 test_array [0] = 0
117117 return 0;
117119 _ACEOF
117120 rm -f conftest.$ac_objext
117121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117122 (eval $ac_compile) 2>conftest.er1
117123 ac_status=$?
117124 grep -v '^ *+' conftest.er1 >conftest.err
117125 rm -f conftest.er1
117126 cat conftest.err >&5
117127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117128 (exit $ac_status); } &&
117129 { ac_try='test -z "$ac_c_werror_flag"
117130 || test ! -s conftest.err'
117131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117132 (eval $ac_try) 2>&5
117133 ac_status=$?
117134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117135 (exit $ac_status); }; } &&
117136 { ac_try='test -s conftest.$ac_objext'
117137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117138 (eval $ac_try) 2>&5
117139 ac_status=$?
117140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117141 (exit $ac_status); }; }; then
117142 ac_hi=$ac_mid; break
117144 echo "$as_me: failed program was:" >&5
117145 sed 's/^/| /' conftest.$ac_ext >&5
117147 ac_lo=`expr $ac_mid + 1`
117148 if test $ac_lo -le $ac_mid; then
117149 ac_lo= ac_hi=
117150 break
117152 ac_mid=`expr 2 '*' $ac_mid + 1`
117154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117157 echo "$as_me: failed program was:" >&5
117158 sed 's/^/| /' conftest.$ac_ext >&5
117160 cat >conftest.$ac_ext <<_ACEOF
117161 /* confdefs.h. */
117162 _ACEOF
117163 cat confdefs.h >>conftest.$ac_ext
117164 cat >>conftest.$ac_ext <<_ACEOF
117165 /* end confdefs.h. */
117166 $ac_includes_default
117168 main ()
117170 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
117171 test_array [0] = 0
117174 return 0;
117176 _ACEOF
117177 rm -f conftest.$ac_objext
117178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117179 (eval $ac_compile) 2>conftest.er1
117180 ac_status=$?
117181 grep -v '^ *+' conftest.er1 >conftest.err
117182 rm -f conftest.er1
117183 cat conftest.err >&5
117184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117185 (exit $ac_status); } &&
117186 { ac_try='test -z "$ac_c_werror_flag"
117187 || test ! -s conftest.err'
117188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117189 (eval $ac_try) 2>&5
117190 ac_status=$?
117191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117192 (exit $ac_status); }; } &&
117193 { ac_try='test -s conftest.$ac_objext'
117194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117195 (eval $ac_try) 2>&5
117196 ac_status=$?
117197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117198 (exit $ac_status); }; }; then
117199 ac_hi=-1 ac_mid=-1
117200 while :; do
117201 cat >conftest.$ac_ext <<_ACEOF
117202 /* confdefs.h. */
117203 _ACEOF
117204 cat confdefs.h >>conftest.$ac_ext
117205 cat >>conftest.$ac_ext <<_ACEOF
117206 /* end confdefs.h. */
117207 $ac_includes_default
117209 main ()
117211 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
117212 test_array [0] = 0
117215 return 0;
117217 _ACEOF
117218 rm -f conftest.$ac_objext
117219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117220 (eval $ac_compile) 2>conftest.er1
117221 ac_status=$?
117222 grep -v '^ *+' conftest.er1 >conftest.err
117223 rm -f conftest.er1
117224 cat conftest.err >&5
117225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117226 (exit $ac_status); } &&
117227 { ac_try='test -z "$ac_c_werror_flag"
117228 || test ! -s conftest.err'
117229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117230 (eval $ac_try) 2>&5
117231 ac_status=$?
117232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117233 (exit $ac_status); }; } &&
117234 { ac_try='test -s conftest.$ac_objext'
117235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117236 (eval $ac_try) 2>&5
117237 ac_status=$?
117238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117239 (exit $ac_status); }; }; then
117240 ac_lo=$ac_mid; break
117242 echo "$as_me: failed program was:" >&5
117243 sed 's/^/| /' conftest.$ac_ext >&5
117245 ac_hi=`expr '(' $ac_mid ')' - 1`
117246 if test $ac_mid -le $ac_hi; then
117247 ac_lo= ac_hi=
117248 break
117250 ac_mid=`expr 2 '*' $ac_mid`
117252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117255 echo "$as_me: failed program was:" >&5
117256 sed 's/^/| /' conftest.$ac_ext >&5
117258 ac_lo= ac_hi=
117260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117263 # Binary search between lo and hi bounds.
117264 while test "x$ac_lo" != "x$ac_hi"; do
117265 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
117266 cat >conftest.$ac_ext <<_ACEOF
117267 /* confdefs.h. */
117268 _ACEOF
117269 cat confdefs.h >>conftest.$ac_ext
117270 cat >>conftest.$ac_ext <<_ACEOF
117271 /* end confdefs.h. */
117272 $ac_includes_default
117274 main ()
117276 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
117277 test_array [0] = 0
117280 return 0;
117282 _ACEOF
117283 rm -f conftest.$ac_objext
117284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117285 (eval $ac_compile) 2>conftest.er1
117286 ac_status=$?
117287 grep -v '^ *+' conftest.er1 >conftest.err
117288 rm -f conftest.er1
117289 cat conftest.err >&5
117290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117291 (exit $ac_status); } &&
117292 { ac_try='test -z "$ac_c_werror_flag"
117293 || test ! -s conftest.err'
117294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117295 (eval $ac_try) 2>&5
117296 ac_status=$?
117297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117298 (exit $ac_status); }; } &&
117299 { ac_try='test -s conftest.$ac_objext'
117300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117301 (eval $ac_try) 2>&5
117302 ac_status=$?
117303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117304 (exit $ac_status); }; }; then
117305 ac_hi=$ac_mid
117307 echo "$as_me: failed program was:" >&5
117308 sed 's/^/| /' conftest.$ac_ext >&5
117310 ac_lo=`expr '(' $ac_mid ')' + 1`
117312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117314 case $ac_lo in
117315 ?*) ac_cv_sizeof_long=$ac_lo;;
117316 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
117317 See \`config.log' for more details." >&5
117318 echo "$as_me: error: cannot compute sizeof (long), 77
117319 See \`config.log' for more details." >&2;}
117320 { (exit 1); exit 1; }; } ;;
117323 if test "$cross_compiling" = yes; then
117324 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
117325 See \`config.log' for more details." >&5
117326 echo "$as_me: error: cannot run test program while cross compiling
117327 See \`config.log' for more details." >&2;}
117328 { (exit 1); exit 1; }; }
117330 cat >conftest.$ac_ext <<_ACEOF
117331 /* confdefs.h. */
117332 _ACEOF
117333 cat confdefs.h >>conftest.$ac_ext
117334 cat >>conftest.$ac_ext <<_ACEOF
117335 /* end confdefs.h. */
117336 $ac_includes_default
117337 long longval () { return (long) (sizeof (long)); }
117338 unsigned long ulongval () { return (long) (sizeof (long)); }
117339 #include <stdio.h>
117340 #include <stdlib.h>
117342 main ()
117345 FILE *f = fopen ("conftest.val", "w");
117346 if (! f)
117347 exit (1);
117348 if (((long) (sizeof (long))) < 0)
117350 long i = longval ();
117351 if (i != ((long) (sizeof (long))))
117352 exit (1);
117353 fprintf (f, "%ld\n", i);
117357 unsigned long i = ulongval ();
117358 if (i != ((long) (sizeof (long))))
117359 exit (1);
117360 fprintf (f, "%lu\n", i);
117362 exit (ferror (f) || fclose (f) != 0);
117365 return 0;
117367 _ACEOF
117368 rm -f conftest$ac_exeext
117369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117370 (eval $ac_link) 2>&5
117371 ac_status=$?
117372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117373 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
117374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117375 (eval $ac_try) 2>&5
117376 ac_status=$?
117377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117378 (exit $ac_status); }; }; then
117379 ac_cv_sizeof_long=`cat conftest.val`
117381 echo "$as_me: program exited with status $ac_status" >&5
117382 echo "$as_me: failed program was:" >&5
117383 sed 's/^/| /' conftest.$ac_ext >&5
117385 ( exit $ac_status )
117386 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
117387 See \`config.log' for more details." >&5
117388 echo "$as_me: error: cannot compute sizeof (long), 77
117389 See \`config.log' for more details." >&2;}
117390 { (exit 1); exit 1; }; }
117392 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
117395 rm -f conftest.val
117397 ac_cv_sizeof_long=0
117400 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
117401 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
117402 cat >>confdefs.h <<_ACEOF
117403 #define SIZEOF_LONG $ac_cv_sizeof_long
117404 _ACEOF
117409 if test $acx_cv_header_stdint = stddef.h; then
117410 # Lacking a good header? Test size of everything and deduce all types.
117411 echo "$as_me:$LINENO: checking for int" >&5
117412 echo $ECHO_N "checking for int... $ECHO_C" >&6
117413 if test "${ac_cv_type_int+set}" = set; then
117414 echo $ECHO_N "(cached) $ECHO_C" >&6
117416 cat >conftest.$ac_ext <<_ACEOF
117417 /* confdefs.h. */
117418 _ACEOF
117419 cat confdefs.h >>conftest.$ac_ext
117420 cat >>conftest.$ac_ext <<_ACEOF
117421 /* end confdefs.h. */
117422 $ac_includes_default
117424 main ()
117426 if ((int *) 0)
117427 return 0;
117428 if (sizeof (int))
117429 return 0;
117431 return 0;
117433 _ACEOF
117434 rm -f conftest.$ac_objext
117435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117436 (eval $ac_compile) 2>conftest.er1
117437 ac_status=$?
117438 grep -v '^ *+' conftest.er1 >conftest.err
117439 rm -f conftest.er1
117440 cat conftest.err >&5
117441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117442 (exit $ac_status); } &&
117443 { ac_try='test -z "$ac_c_werror_flag"
117444 || test ! -s conftest.err'
117445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117446 (eval $ac_try) 2>&5
117447 ac_status=$?
117448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117449 (exit $ac_status); }; } &&
117450 { ac_try='test -s conftest.$ac_objext'
117451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117452 (eval $ac_try) 2>&5
117453 ac_status=$?
117454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117455 (exit $ac_status); }; }; then
117456 ac_cv_type_int=yes
117458 echo "$as_me: failed program was:" >&5
117459 sed 's/^/| /' conftest.$ac_ext >&5
117461 ac_cv_type_int=no
117463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117465 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
117466 echo "${ECHO_T}$ac_cv_type_int" >&6
117468 echo "$as_me:$LINENO: checking size of int" >&5
117469 echo $ECHO_N "checking size of int... $ECHO_C" >&6
117470 if test "${ac_cv_sizeof_int+set}" = set; then
117471 echo $ECHO_N "(cached) $ECHO_C" >&6
117473 if test "$ac_cv_type_int" = yes; then
117474 # The cast to unsigned long works around a bug in the HP C Compiler
117475 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
117476 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
117477 # This bug is HP SR number 8606223364.
117478 if test "$cross_compiling" = yes; then
117479 # Depending upon the size, compute the lo and hi bounds.
117480 cat >conftest.$ac_ext <<_ACEOF
117481 /* confdefs.h. */
117482 _ACEOF
117483 cat confdefs.h >>conftest.$ac_ext
117484 cat >>conftest.$ac_ext <<_ACEOF
117485 /* end confdefs.h. */
117486 $ac_includes_default
117488 main ()
117490 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
117491 test_array [0] = 0
117494 return 0;
117496 _ACEOF
117497 rm -f conftest.$ac_objext
117498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117499 (eval $ac_compile) 2>conftest.er1
117500 ac_status=$?
117501 grep -v '^ *+' conftest.er1 >conftest.err
117502 rm -f conftest.er1
117503 cat conftest.err >&5
117504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117505 (exit $ac_status); } &&
117506 { ac_try='test -z "$ac_c_werror_flag"
117507 || test ! -s conftest.err'
117508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117509 (eval $ac_try) 2>&5
117510 ac_status=$?
117511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117512 (exit $ac_status); }; } &&
117513 { ac_try='test -s conftest.$ac_objext'
117514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117515 (eval $ac_try) 2>&5
117516 ac_status=$?
117517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117518 (exit $ac_status); }; }; then
117519 ac_lo=0 ac_mid=0
117520 while :; do
117521 cat >conftest.$ac_ext <<_ACEOF
117522 /* confdefs.h. */
117523 _ACEOF
117524 cat confdefs.h >>conftest.$ac_ext
117525 cat >>conftest.$ac_ext <<_ACEOF
117526 /* end confdefs.h. */
117527 $ac_includes_default
117529 main ()
117531 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
117532 test_array [0] = 0
117535 return 0;
117537 _ACEOF
117538 rm -f conftest.$ac_objext
117539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117540 (eval $ac_compile) 2>conftest.er1
117541 ac_status=$?
117542 grep -v '^ *+' conftest.er1 >conftest.err
117543 rm -f conftest.er1
117544 cat conftest.err >&5
117545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117546 (exit $ac_status); } &&
117547 { ac_try='test -z "$ac_c_werror_flag"
117548 || test ! -s conftest.err'
117549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117550 (eval $ac_try) 2>&5
117551 ac_status=$?
117552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117553 (exit $ac_status); }; } &&
117554 { ac_try='test -s conftest.$ac_objext'
117555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117556 (eval $ac_try) 2>&5
117557 ac_status=$?
117558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117559 (exit $ac_status); }; }; then
117560 ac_hi=$ac_mid; break
117562 echo "$as_me: failed program was:" >&5
117563 sed 's/^/| /' conftest.$ac_ext >&5
117565 ac_lo=`expr $ac_mid + 1`
117566 if test $ac_lo -le $ac_mid; then
117567 ac_lo= ac_hi=
117568 break
117570 ac_mid=`expr 2 '*' $ac_mid + 1`
117572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117575 echo "$as_me: failed program was:" >&5
117576 sed 's/^/| /' conftest.$ac_ext >&5
117578 cat >conftest.$ac_ext <<_ACEOF
117579 /* confdefs.h. */
117580 _ACEOF
117581 cat confdefs.h >>conftest.$ac_ext
117582 cat >>conftest.$ac_ext <<_ACEOF
117583 /* end confdefs.h. */
117584 $ac_includes_default
117586 main ()
117588 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
117589 test_array [0] = 0
117592 return 0;
117594 _ACEOF
117595 rm -f conftest.$ac_objext
117596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117597 (eval $ac_compile) 2>conftest.er1
117598 ac_status=$?
117599 grep -v '^ *+' conftest.er1 >conftest.err
117600 rm -f conftest.er1
117601 cat conftest.err >&5
117602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117603 (exit $ac_status); } &&
117604 { ac_try='test -z "$ac_c_werror_flag"
117605 || test ! -s conftest.err'
117606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117607 (eval $ac_try) 2>&5
117608 ac_status=$?
117609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117610 (exit $ac_status); }; } &&
117611 { ac_try='test -s conftest.$ac_objext'
117612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117613 (eval $ac_try) 2>&5
117614 ac_status=$?
117615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117616 (exit $ac_status); }; }; then
117617 ac_hi=-1 ac_mid=-1
117618 while :; do
117619 cat >conftest.$ac_ext <<_ACEOF
117620 /* confdefs.h. */
117621 _ACEOF
117622 cat confdefs.h >>conftest.$ac_ext
117623 cat >>conftest.$ac_ext <<_ACEOF
117624 /* end confdefs.h. */
117625 $ac_includes_default
117627 main ()
117629 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
117630 test_array [0] = 0
117633 return 0;
117635 _ACEOF
117636 rm -f conftest.$ac_objext
117637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117638 (eval $ac_compile) 2>conftest.er1
117639 ac_status=$?
117640 grep -v '^ *+' conftest.er1 >conftest.err
117641 rm -f conftest.er1
117642 cat conftest.err >&5
117643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117644 (exit $ac_status); } &&
117645 { ac_try='test -z "$ac_c_werror_flag"
117646 || test ! -s conftest.err'
117647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117648 (eval $ac_try) 2>&5
117649 ac_status=$?
117650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117651 (exit $ac_status); }; } &&
117652 { ac_try='test -s conftest.$ac_objext'
117653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117654 (eval $ac_try) 2>&5
117655 ac_status=$?
117656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117657 (exit $ac_status); }; }; then
117658 ac_lo=$ac_mid; break
117660 echo "$as_me: failed program was:" >&5
117661 sed 's/^/| /' conftest.$ac_ext >&5
117663 ac_hi=`expr '(' $ac_mid ')' - 1`
117664 if test $ac_mid -le $ac_hi; then
117665 ac_lo= ac_hi=
117666 break
117668 ac_mid=`expr 2 '*' $ac_mid`
117670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117673 echo "$as_me: failed program was:" >&5
117674 sed 's/^/| /' conftest.$ac_ext >&5
117676 ac_lo= ac_hi=
117678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117681 # Binary search between lo and hi bounds.
117682 while test "x$ac_lo" != "x$ac_hi"; do
117683 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
117684 cat >conftest.$ac_ext <<_ACEOF
117685 /* confdefs.h. */
117686 _ACEOF
117687 cat confdefs.h >>conftest.$ac_ext
117688 cat >>conftest.$ac_ext <<_ACEOF
117689 /* end confdefs.h. */
117690 $ac_includes_default
117692 main ()
117694 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
117695 test_array [0] = 0
117698 return 0;
117700 _ACEOF
117701 rm -f conftest.$ac_objext
117702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117703 (eval $ac_compile) 2>conftest.er1
117704 ac_status=$?
117705 grep -v '^ *+' conftest.er1 >conftest.err
117706 rm -f conftest.er1
117707 cat conftest.err >&5
117708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117709 (exit $ac_status); } &&
117710 { ac_try='test -z "$ac_c_werror_flag"
117711 || test ! -s conftest.err'
117712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117713 (eval $ac_try) 2>&5
117714 ac_status=$?
117715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117716 (exit $ac_status); }; } &&
117717 { ac_try='test -s conftest.$ac_objext'
117718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117719 (eval $ac_try) 2>&5
117720 ac_status=$?
117721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117722 (exit $ac_status); }; }; then
117723 ac_hi=$ac_mid
117725 echo "$as_me: failed program was:" >&5
117726 sed 's/^/| /' conftest.$ac_ext >&5
117728 ac_lo=`expr '(' $ac_mid ')' + 1`
117730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117732 case $ac_lo in
117733 ?*) ac_cv_sizeof_int=$ac_lo;;
117734 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
117735 See \`config.log' for more details." >&5
117736 echo "$as_me: error: cannot compute sizeof (int), 77
117737 See \`config.log' for more details." >&2;}
117738 { (exit 1); exit 1; }; } ;;
117741 if test "$cross_compiling" = yes; then
117742 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
117743 See \`config.log' for more details." >&5
117744 echo "$as_me: error: cannot run test program while cross compiling
117745 See \`config.log' for more details." >&2;}
117746 { (exit 1); exit 1; }; }
117748 cat >conftest.$ac_ext <<_ACEOF
117749 /* confdefs.h. */
117750 _ACEOF
117751 cat confdefs.h >>conftest.$ac_ext
117752 cat >>conftest.$ac_ext <<_ACEOF
117753 /* end confdefs.h. */
117754 $ac_includes_default
117755 long longval () { return (long) (sizeof (int)); }
117756 unsigned long ulongval () { return (long) (sizeof (int)); }
117757 #include <stdio.h>
117758 #include <stdlib.h>
117760 main ()
117763 FILE *f = fopen ("conftest.val", "w");
117764 if (! f)
117765 exit (1);
117766 if (((long) (sizeof (int))) < 0)
117768 long i = longval ();
117769 if (i != ((long) (sizeof (int))))
117770 exit (1);
117771 fprintf (f, "%ld\n", i);
117775 unsigned long i = ulongval ();
117776 if (i != ((long) (sizeof (int))))
117777 exit (1);
117778 fprintf (f, "%lu\n", i);
117780 exit (ferror (f) || fclose (f) != 0);
117783 return 0;
117785 _ACEOF
117786 rm -f conftest$ac_exeext
117787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117788 (eval $ac_link) 2>&5
117789 ac_status=$?
117790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117791 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
117792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117793 (eval $ac_try) 2>&5
117794 ac_status=$?
117795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117796 (exit $ac_status); }; }; then
117797 ac_cv_sizeof_int=`cat conftest.val`
117799 echo "$as_me: program exited with status $ac_status" >&5
117800 echo "$as_me: failed program was:" >&5
117801 sed 's/^/| /' conftest.$ac_ext >&5
117803 ( exit $ac_status )
117804 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
117805 See \`config.log' for more details." >&5
117806 echo "$as_me: error: cannot compute sizeof (int), 77
117807 See \`config.log' for more details." >&2;}
117808 { (exit 1); exit 1; }; }
117810 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
117813 rm -f conftest.val
117815 ac_cv_sizeof_int=0
117818 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
117819 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
117820 cat >>confdefs.h <<_ACEOF
117821 #define SIZEOF_INT $ac_cv_sizeof_int
117822 _ACEOF
117825 echo "$as_me:$LINENO: checking for short" >&5
117826 echo $ECHO_N "checking for short... $ECHO_C" >&6
117827 if test "${ac_cv_type_short+set}" = set; then
117828 echo $ECHO_N "(cached) $ECHO_C" >&6
117830 cat >conftest.$ac_ext <<_ACEOF
117831 /* confdefs.h. */
117832 _ACEOF
117833 cat confdefs.h >>conftest.$ac_ext
117834 cat >>conftest.$ac_ext <<_ACEOF
117835 /* end confdefs.h. */
117836 $ac_includes_default
117838 main ()
117840 if ((short *) 0)
117841 return 0;
117842 if (sizeof (short))
117843 return 0;
117845 return 0;
117847 _ACEOF
117848 rm -f conftest.$ac_objext
117849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117850 (eval $ac_compile) 2>conftest.er1
117851 ac_status=$?
117852 grep -v '^ *+' conftest.er1 >conftest.err
117853 rm -f conftest.er1
117854 cat conftest.err >&5
117855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117856 (exit $ac_status); } &&
117857 { ac_try='test -z "$ac_c_werror_flag"
117858 || test ! -s conftest.err'
117859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117860 (eval $ac_try) 2>&5
117861 ac_status=$?
117862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117863 (exit $ac_status); }; } &&
117864 { ac_try='test -s conftest.$ac_objext'
117865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117866 (eval $ac_try) 2>&5
117867 ac_status=$?
117868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117869 (exit $ac_status); }; }; then
117870 ac_cv_type_short=yes
117872 echo "$as_me: failed program was:" >&5
117873 sed 's/^/| /' conftest.$ac_ext >&5
117875 ac_cv_type_short=no
117877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117879 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
117880 echo "${ECHO_T}$ac_cv_type_short" >&6
117882 echo "$as_me:$LINENO: checking size of short" >&5
117883 echo $ECHO_N "checking size of short... $ECHO_C" >&6
117884 if test "${ac_cv_sizeof_short+set}" = set; then
117885 echo $ECHO_N "(cached) $ECHO_C" >&6
117887 if test "$ac_cv_type_short" = yes; then
117888 # The cast to unsigned long works around a bug in the HP C Compiler
117889 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
117890 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
117891 # This bug is HP SR number 8606223364.
117892 if test "$cross_compiling" = yes; then
117893 # Depending upon the size, compute the lo and hi bounds.
117894 cat >conftest.$ac_ext <<_ACEOF
117895 /* confdefs.h. */
117896 _ACEOF
117897 cat confdefs.h >>conftest.$ac_ext
117898 cat >>conftest.$ac_ext <<_ACEOF
117899 /* end confdefs.h. */
117900 $ac_includes_default
117902 main ()
117904 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
117905 test_array [0] = 0
117908 return 0;
117910 _ACEOF
117911 rm -f conftest.$ac_objext
117912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117913 (eval $ac_compile) 2>conftest.er1
117914 ac_status=$?
117915 grep -v '^ *+' conftest.er1 >conftest.err
117916 rm -f conftest.er1
117917 cat conftest.err >&5
117918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117919 (exit $ac_status); } &&
117920 { ac_try='test -z "$ac_c_werror_flag"
117921 || test ! -s conftest.err'
117922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117923 (eval $ac_try) 2>&5
117924 ac_status=$?
117925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117926 (exit $ac_status); }; } &&
117927 { ac_try='test -s conftest.$ac_objext'
117928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117929 (eval $ac_try) 2>&5
117930 ac_status=$?
117931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117932 (exit $ac_status); }; }; then
117933 ac_lo=0 ac_mid=0
117934 while :; do
117935 cat >conftest.$ac_ext <<_ACEOF
117936 /* confdefs.h. */
117937 _ACEOF
117938 cat confdefs.h >>conftest.$ac_ext
117939 cat >>conftest.$ac_ext <<_ACEOF
117940 /* end confdefs.h. */
117941 $ac_includes_default
117943 main ()
117945 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
117946 test_array [0] = 0
117949 return 0;
117951 _ACEOF
117952 rm -f conftest.$ac_objext
117953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117954 (eval $ac_compile) 2>conftest.er1
117955 ac_status=$?
117956 grep -v '^ *+' conftest.er1 >conftest.err
117957 rm -f conftest.er1
117958 cat conftest.err >&5
117959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117960 (exit $ac_status); } &&
117961 { ac_try='test -z "$ac_c_werror_flag"
117962 || test ! -s conftest.err'
117963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117964 (eval $ac_try) 2>&5
117965 ac_status=$?
117966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117967 (exit $ac_status); }; } &&
117968 { ac_try='test -s conftest.$ac_objext'
117969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117970 (eval $ac_try) 2>&5
117971 ac_status=$?
117972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117973 (exit $ac_status); }; }; then
117974 ac_hi=$ac_mid; break
117976 echo "$as_me: failed program was:" >&5
117977 sed 's/^/| /' conftest.$ac_ext >&5
117979 ac_lo=`expr $ac_mid + 1`
117980 if test $ac_lo -le $ac_mid; then
117981 ac_lo= ac_hi=
117982 break
117984 ac_mid=`expr 2 '*' $ac_mid + 1`
117986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117989 echo "$as_me: failed program was:" >&5
117990 sed 's/^/| /' conftest.$ac_ext >&5
117992 cat >conftest.$ac_ext <<_ACEOF
117993 /* confdefs.h. */
117994 _ACEOF
117995 cat confdefs.h >>conftest.$ac_ext
117996 cat >>conftest.$ac_ext <<_ACEOF
117997 /* end confdefs.h. */
117998 $ac_includes_default
118000 main ()
118002 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
118003 test_array [0] = 0
118006 return 0;
118008 _ACEOF
118009 rm -f conftest.$ac_objext
118010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118011 (eval $ac_compile) 2>conftest.er1
118012 ac_status=$?
118013 grep -v '^ *+' conftest.er1 >conftest.err
118014 rm -f conftest.er1
118015 cat conftest.err >&5
118016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118017 (exit $ac_status); } &&
118018 { ac_try='test -z "$ac_c_werror_flag"
118019 || test ! -s conftest.err'
118020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118021 (eval $ac_try) 2>&5
118022 ac_status=$?
118023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118024 (exit $ac_status); }; } &&
118025 { ac_try='test -s conftest.$ac_objext'
118026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118027 (eval $ac_try) 2>&5
118028 ac_status=$?
118029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118030 (exit $ac_status); }; }; then
118031 ac_hi=-1 ac_mid=-1
118032 while :; do
118033 cat >conftest.$ac_ext <<_ACEOF
118034 /* confdefs.h. */
118035 _ACEOF
118036 cat confdefs.h >>conftest.$ac_ext
118037 cat >>conftest.$ac_ext <<_ACEOF
118038 /* end confdefs.h. */
118039 $ac_includes_default
118041 main ()
118043 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
118044 test_array [0] = 0
118047 return 0;
118049 _ACEOF
118050 rm -f conftest.$ac_objext
118051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118052 (eval $ac_compile) 2>conftest.er1
118053 ac_status=$?
118054 grep -v '^ *+' conftest.er1 >conftest.err
118055 rm -f conftest.er1
118056 cat conftest.err >&5
118057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118058 (exit $ac_status); } &&
118059 { ac_try='test -z "$ac_c_werror_flag"
118060 || test ! -s conftest.err'
118061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118062 (eval $ac_try) 2>&5
118063 ac_status=$?
118064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118065 (exit $ac_status); }; } &&
118066 { ac_try='test -s conftest.$ac_objext'
118067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118068 (eval $ac_try) 2>&5
118069 ac_status=$?
118070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118071 (exit $ac_status); }; }; then
118072 ac_lo=$ac_mid; break
118074 echo "$as_me: failed program was:" >&5
118075 sed 's/^/| /' conftest.$ac_ext >&5
118077 ac_hi=`expr '(' $ac_mid ')' - 1`
118078 if test $ac_mid -le $ac_hi; then
118079 ac_lo= ac_hi=
118080 break
118082 ac_mid=`expr 2 '*' $ac_mid`
118084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118087 echo "$as_me: failed program was:" >&5
118088 sed 's/^/| /' conftest.$ac_ext >&5
118090 ac_lo= ac_hi=
118092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118095 # Binary search between lo and hi bounds.
118096 while test "x$ac_lo" != "x$ac_hi"; do
118097 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118098 cat >conftest.$ac_ext <<_ACEOF
118099 /* confdefs.h. */
118100 _ACEOF
118101 cat confdefs.h >>conftest.$ac_ext
118102 cat >>conftest.$ac_ext <<_ACEOF
118103 /* end confdefs.h. */
118104 $ac_includes_default
118106 main ()
118108 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
118109 test_array [0] = 0
118112 return 0;
118114 _ACEOF
118115 rm -f conftest.$ac_objext
118116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118117 (eval $ac_compile) 2>conftest.er1
118118 ac_status=$?
118119 grep -v '^ *+' conftest.er1 >conftest.err
118120 rm -f conftest.er1
118121 cat conftest.err >&5
118122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118123 (exit $ac_status); } &&
118124 { ac_try='test -z "$ac_c_werror_flag"
118125 || test ! -s conftest.err'
118126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118127 (eval $ac_try) 2>&5
118128 ac_status=$?
118129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118130 (exit $ac_status); }; } &&
118131 { ac_try='test -s conftest.$ac_objext'
118132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118133 (eval $ac_try) 2>&5
118134 ac_status=$?
118135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118136 (exit $ac_status); }; }; then
118137 ac_hi=$ac_mid
118139 echo "$as_me: failed program was:" >&5
118140 sed 's/^/| /' conftest.$ac_ext >&5
118142 ac_lo=`expr '(' $ac_mid ')' + 1`
118144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118146 case $ac_lo in
118147 ?*) ac_cv_sizeof_short=$ac_lo;;
118148 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
118149 See \`config.log' for more details." >&5
118150 echo "$as_me: error: cannot compute sizeof (short), 77
118151 See \`config.log' for more details." >&2;}
118152 { (exit 1); exit 1; }; } ;;
118155 if test "$cross_compiling" = yes; then
118156 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
118157 See \`config.log' for more details." >&5
118158 echo "$as_me: error: cannot run test program while cross compiling
118159 See \`config.log' for more details." >&2;}
118160 { (exit 1); exit 1; }; }
118162 cat >conftest.$ac_ext <<_ACEOF
118163 /* confdefs.h. */
118164 _ACEOF
118165 cat confdefs.h >>conftest.$ac_ext
118166 cat >>conftest.$ac_ext <<_ACEOF
118167 /* end confdefs.h. */
118168 $ac_includes_default
118169 long longval () { return (long) (sizeof (short)); }
118170 unsigned long ulongval () { return (long) (sizeof (short)); }
118171 #include <stdio.h>
118172 #include <stdlib.h>
118174 main ()
118177 FILE *f = fopen ("conftest.val", "w");
118178 if (! f)
118179 exit (1);
118180 if (((long) (sizeof (short))) < 0)
118182 long i = longval ();
118183 if (i != ((long) (sizeof (short))))
118184 exit (1);
118185 fprintf (f, "%ld\n", i);
118189 unsigned long i = ulongval ();
118190 if (i != ((long) (sizeof (short))))
118191 exit (1);
118192 fprintf (f, "%lu\n", i);
118194 exit (ferror (f) || fclose (f) != 0);
118197 return 0;
118199 _ACEOF
118200 rm -f conftest$ac_exeext
118201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118202 (eval $ac_link) 2>&5
118203 ac_status=$?
118204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118205 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
118206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118207 (eval $ac_try) 2>&5
118208 ac_status=$?
118209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118210 (exit $ac_status); }; }; then
118211 ac_cv_sizeof_short=`cat conftest.val`
118213 echo "$as_me: program exited with status $ac_status" >&5
118214 echo "$as_me: failed program was:" >&5
118215 sed 's/^/| /' conftest.$ac_ext >&5
118217 ( exit $ac_status )
118218 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
118219 See \`config.log' for more details." >&5
118220 echo "$as_me: error: cannot compute sizeof (short), 77
118221 See \`config.log' for more details." >&2;}
118222 { (exit 1); exit 1; }; }
118224 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
118227 rm -f conftest.val
118229 ac_cv_sizeof_short=0
118232 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
118233 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
118234 cat >>confdefs.h <<_ACEOF
118235 #define SIZEOF_SHORT $ac_cv_sizeof_short
118236 _ACEOF
118239 echo "$as_me:$LINENO: checking for char" >&5
118240 echo $ECHO_N "checking for char... $ECHO_C" >&6
118241 if test "${ac_cv_type_char+set}" = set; then
118242 echo $ECHO_N "(cached) $ECHO_C" >&6
118244 cat >conftest.$ac_ext <<_ACEOF
118245 /* confdefs.h. */
118246 _ACEOF
118247 cat confdefs.h >>conftest.$ac_ext
118248 cat >>conftest.$ac_ext <<_ACEOF
118249 /* end confdefs.h. */
118250 $ac_includes_default
118252 main ()
118254 if ((char *) 0)
118255 return 0;
118256 if (sizeof (char))
118257 return 0;
118259 return 0;
118261 _ACEOF
118262 rm -f conftest.$ac_objext
118263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118264 (eval $ac_compile) 2>conftest.er1
118265 ac_status=$?
118266 grep -v '^ *+' conftest.er1 >conftest.err
118267 rm -f conftest.er1
118268 cat conftest.err >&5
118269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118270 (exit $ac_status); } &&
118271 { ac_try='test -z "$ac_c_werror_flag"
118272 || test ! -s conftest.err'
118273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118274 (eval $ac_try) 2>&5
118275 ac_status=$?
118276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118277 (exit $ac_status); }; } &&
118278 { ac_try='test -s conftest.$ac_objext'
118279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118280 (eval $ac_try) 2>&5
118281 ac_status=$?
118282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118283 (exit $ac_status); }; }; then
118284 ac_cv_type_char=yes
118286 echo "$as_me: failed program was:" >&5
118287 sed 's/^/| /' conftest.$ac_ext >&5
118289 ac_cv_type_char=no
118291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118293 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
118294 echo "${ECHO_T}$ac_cv_type_char" >&6
118296 echo "$as_me:$LINENO: checking size of char" >&5
118297 echo $ECHO_N "checking size of char... $ECHO_C" >&6
118298 if test "${ac_cv_sizeof_char+set}" = set; then
118299 echo $ECHO_N "(cached) $ECHO_C" >&6
118301 if test "$ac_cv_type_char" = yes; then
118302 # The cast to unsigned long works around a bug in the HP C Compiler
118303 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
118304 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
118305 # This bug is HP SR number 8606223364.
118306 if test "$cross_compiling" = yes; then
118307 # Depending upon the size, compute the lo and hi bounds.
118308 cat >conftest.$ac_ext <<_ACEOF
118309 /* confdefs.h. */
118310 _ACEOF
118311 cat confdefs.h >>conftest.$ac_ext
118312 cat >>conftest.$ac_ext <<_ACEOF
118313 /* end confdefs.h. */
118314 $ac_includes_default
118316 main ()
118318 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
118319 test_array [0] = 0
118322 return 0;
118324 _ACEOF
118325 rm -f conftest.$ac_objext
118326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118327 (eval $ac_compile) 2>conftest.er1
118328 ac_status=$?
118329 grep -v '^ *+' conftest.er1 >conftest.err
118330 rm -f conftest.er1
118331 cat conftest.err >&5
118332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118333 (exit $ac_status); } &&
118334 { ac_try='test -z "$ac_c_werror_flag"
118335 || test ! -s conftest.err'
118336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118337 (eval $ac_try) 2>&5
118338 ac_status=$?
118339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118340 (exit $ac_status); }; } &&
118341 { ac_try='test -s conftest.$ac_objext'
118342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118343 (eval $ac_try) 2>&5
118344 ac_status=$?
118345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118346 (exit $ac_status); }; }; then
118347 ac_lo=0 ac_mid=0
118348 while :; do
118349 cat >conftest.$ac_ext <<_ACEOF
118350 /* confdefs.h. */
118351 _ACEOF
118352 cat confdefs.h >>conftest.$ac_ext
118353 cat >>conftest.$ac_ext <<_ACEOF
118354 /* end confdefs.h. */
118355 $ac_includes_default
118357 main ()
118359 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
118360 test_array [0] = 0
118363 return 0;
118365 _ACEOF
118366 rm -f conftest.$ac_objext
118367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118368 (eval $ac_compile) 2>conftest.er1
118369 ac_status=$?
118370 grep -v '^ *+' conftest.er1 >conftest.err
118371 rm -f conftest.er1
118372 cat conftest.err >&5
118373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118374 (exit $ac_status); } &&
118375 { ac_try='test -z "$ac_c_werror_flag"
118376 || test ! -s conftest.err'
118377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118378 (eval $ac_try) 2>&5
118379 ac_status=$?
118380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118381 (exit $ac_status); }; } &&
118382 { ac_try='test -s conftest.$ac_objext'
118383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118384 (eval $ac_try) 2>&5
118385 ac_status=$?
118386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118387 (exit $ac_status); }; }; then
118388 ac_hi=$ac_mid; break
118390 echo "$as_me: failed program was:" >&5
118391 sed 's/^/| /' conftest.$ac_ext >&5
118393 ac_lo=`expr $ac_mid + 1`
118394 if test $ac_lo -le $ac_mid; then
118395 ac_lo= ac_hi=
118396 break
118398 ac_mid=`expr 2 '*' $ac_mid + 1`
118400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118403 echo "$as_me: failed program was:" >&5
118404 sed 's/^/| /' conftest.$ac_ext >&5
118406 cat >conftest.$ac_ext <<_ACEOF
118407 /* confdefs.h. */
118408 _ACEOF
118409 cat confdefs.h >>conftest.$ac_ext
118410 cat >>conftest.$ac_ext <<_ACEOF
118411 /* end confdefs.h. */
118412 $ac_includes_default
118414 main ()
118416 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
118417 test_array [0] = 0
118420 return 0;
118422 _ACEOF
118423 rm -f conftest.$ac_objext
118424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118425 (eval $ac_compile) 2>conftest.er1
118426 ac_status=$?
118427 grep -v '^ *+' conftest.er1 >conftest.err
118428 rm -f conftest.er1
118429 cat conftest.err >&5
118430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118431 (exit $ac_status); } &&
118432 { ac_try='test -z "$ac_c_werror_flag"
118433 || test ! -s conftest.err'
118434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118435 (eval $ac_try) 2>&5
118436 ac_status=$?
118437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118438 (exit $ac_status); }; } &&
118439 { ac_try='test -s conftest.$ac_objext'
118440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118441 (eval $ac_try) 2>&5
118442 ac_status=$?
118443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118444 (exit $ac_status); }; }; then
118445 ac_hi=-1 ac_mid=-1
118446 while :; do
118447 cat >conftest.$ac_ext <<_ACEOF
118448 /* confdefs.h. */
118449 _ACEOF
118450 cat confdefs.h >>conftest.$ac_ext
118451 cat >>conftest.$ac_ext <<_ACEOF
118452 /* end confdefs.h. */
118453 $ac_includes_default
118455 main ()
118457 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
118458 test_array [0] = 0
118461 return 0;
118463 _ACEOF
118464 rm -f conftest.$ac_objext
118465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118466 (eval $ac_compile) 2>conftest.er1
118467 ac_status=$?
118468 grep -v '^ *+' conftest.er1 >conftest.err
118469 rm -f conftest.er1
118470 cat conftest.err >&5
118471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118472 (exit $ac_status); } &&
118473 { ac_try='test -z "$ac_c_werror_flag"
118474 || test ! -s conftest.err'
118475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118476 (eval $ac_try) 2>&5
118477 ac_status=$?
118478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118479 (exit $ac_status); }; } &&
118480 { ac_try='test -s conftest.$ac_objext'
118481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118482 (eval $ac_try) 2>&5
118483 ac_status=$?
118484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118485 (exit $ac_status); }; }; then
118486 ac_lo=$ac_mid; break
118488 echo "$as_me: failed program was:" >&5
118489 sed 's/^/| /' conftest.$ac_ext >&5
118491 ac_hi=`expr '(' $ac_mid ')' - 1`
118492 if test $ac_mid -le $ac_hi; then
118493 ac_lo= ac_hi=
118494 break
118496 ac_mid=`expr 2 '*' $ac_mid`
118498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118501 echo "$as_me: failed program was:" >&5
118502 sed 's/^/| /' conftest.$ac_ext >&5
118504 ac_lo= ac_hi=
118506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118509 # Binary search between lo and hi bounds.
118510 while test "x$ac_lo" != "x$ac_hi"; do
118511 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118512 cat >conftest.$ac_ext <<_ACEOF
118513 /* confdefs.h. */
118514 _ACEOF
118515 cat confdefs.h >>conftest.$ac_ext
118516 cat >>conftest.$ac_ext <<_ACEOF
118517 /* end confdefs.h. */
118518 $ac_includes_default
118520 main ()
118522 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
118523 test_array [0] = 0
118526 return 0;
118528 _ACEOF
118529 rm -f conftest.$ac_objext
118530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118531 (eval $ac_compile) 2>conftest.er1
118532 ac_status=$?
118533 grep -v '^ *+' conftest.er1 >conftest.err
118534 rm -f conftest.er1
118535 cat conftest.err >&5
118536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118537 (exit $ac_status); } &&
118538 { ac_try='test -z "$ac_c_werror_flag"
118539 || test ! -s conftest.err'
118540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118541 (eval $ac_try) 2>&5
118542 ac_status=$?
118543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118544 (exit $ac_status); }; } &&
118545 { ac_try='test -s conftest.$ac_objext'
118546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118547 (eval $ac_try) 2>&5
118548 ac_status=$?
118549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118550 (exit $ac_status); }; }; then
118551 ac_hi=$ac_mid
118553 echo "$as_me: failed program was:" >&5
118554 sed 's/^/| /' conftest.$ac_ext >&5
118556 ac_lo=`expr '(' $ac_mid ')' + 1`
118558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118560 case $ac_lo in
118561 ?*) ac_cv_sizeof_char=$ac_lo;;
118562 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
118563 See \`config.log' for more details." >&5
118564 echo "$as_me: error: cannot compute sizeof (char), 77
118565 See \`config.log' for more details." >&2;}
118566 { (exit 1); exit 1; }; } ;;
118569 if test "$cross_compiling" = yes; then
118570 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
118571 See \`config.log' for more details." >&5
118572 echo "$as_me: error: cannot run test program while cross compiling
118573 See \`config.log' for more details." >&2;}
118574 { (exit 1); exit 1; }; }
118576 cat >conftest.$ac_ext <<_ACEOF
118577 /* confdefs.h. */
118578 _ACEOF
118579 cat confdefs.h >>conftest.$ac_ext
118580 cat >>conftest.$ac_ext <<_ACEOF
118581 /* end confdefs.h. */
118582 $ac_includes_default
118583 long longval () { return (long) (sizeof (char)); }
118584 unsigned long ulongval () { return (long) (sizeof (char)); }
118585 #include <stdio.h>
118586 #include <stdlib.h>
118588 main ()
118591 FILE *f = fopen ("conftest.val", "w");
118592 if (! f)
118593 exit (1);
118594 if (((long) (sizeof (char))) < 0)
118596 long i = longval ();
118597 if (i != ((long) (sizeof (char))))
118598 exit (1);
118599 fprintf (f, "%ld\n", i);
118603 unsigned long i = ulongval ();
118604 if (i != ((long) (sizeof (char))))
118605 exit (1);
118606 fprintf (f, "%lu\n", i);
118608 exit (ferror (f) || fclose (f) != 0);
118611 return 0;
118613 _ACEOF
118614 rm -f conftest$ac_exeext
118615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118616 (eval $ac_link) 2>&5
118617 ac_status=$?
118618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118619 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
118620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118621 (eval $ac_try) 2>&5
118622 ac_status=$?
118623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118624 (exit $ac_status); }; }; then
118625 ac_cv_sizeof_char=`cat conftest.val`
118627 echo "$as_me: program exited with status $ac_status" >&5
118628 echo "$as_me: failed program was:" >&5
118629 sed 's/^/| /' conftest.$ac_ext >&5
118631 ( exit $ac_status )
118632 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
118633 See \`config.log' for more details." >&5
118634 echo "$as_me: error: cannot compute sizeof (char), 77
118635 See \`config.log' for more details." >&2;}
118636 { (exit 1); exit 1; }; }
118638 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
118641 rm -f conftest.val
118643 ac_cv_sizeof_char=0
118646 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
118647 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
118648 cat >>confdefs.h <<_ACEOF
118649 #define SIZEOF_CHAR $ac_cv_sizeof_char
118650 _ACEOF
118654 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
118655 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
118656 case "$ac_cv_sizeof_char" in
118657 1) acx_cv_type_int8_t=char ;;
118658 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
118659 echo "$as_me: error: no 8-bit type" >&2;}
118660 { (exit please report a bug); exit please report a bug; }; }
118662 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
118663 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
118665 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
118666 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
118667 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
118668 2:*) acx_cv_type_int16_t=int ;;
118669 *:2) acx_cv_type_int16_t=short ;;
118670 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
118671 echo "$as_me: error: no 16-bit type" >&2;}
118672 { (exit please report a bug); exit please report a bug; }; }
118674 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
118675 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
118677 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
118678 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
118679 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
118680 4:*) acx_cv_type_int32_t=int ;;
118681 *:4) acx_cv_type_int32_t=long ;;
118682 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
118683 echo "$as_me: error: no 32-bit type" >&2;}
118684 { (exit please report a bug); exit please report a bug; }; }
118686 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
118687 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
118690 # These tests are here to make the output prettier
118692 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
118693 case "$ac_cv_sizeof_long" in
118694 8) acx_cv_type_int64_t=long ;;
118696 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
118697 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
118698 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
118699 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
118702 # Now we can use the above types
118704 if test "$ac_cv_type_uintptr_t" != yes; then
118705 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
118706 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
118707 case $ac_cv_sizeof_void_p in
118708 2) acx_cv_type_intptr_t=int16_t ;;
118709 4) acx_cv_type_intptr_t=int32_t ;;
118710 8) acx_cv_type_intptr_t=int64_t ;;
118711 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
118712 echo "$as_me: error: no equivalent for intptr_t" >&2;}
118713 { (exit please report a bug); exit please report a bug; }; }
118715 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
118716 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
118719 # ----------------- done all checks, emit header -------------
118720 ac_config_commands="$ac_config_commands include/gstdint.h"
118725 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
118728 # Check whether --enable-symvers or --disable-symvers was given.
118729 if test "${enable_symvers+set}" = set; then
118730 enableval="$enable_symvers"
118732 case "$enableval" in
118733 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
118734 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
118735 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
118736 { (exit 1); exit 1; }; } ;;
118740 enable_symvers=yes
118744 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
118745 # don't know enough about $LD to do tricks...
118748 # Turn a 'yes' into a suitable default.
118749 if test x$enable_symvers = xyes ; then
118750 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
118751 enable_symvers=no
118753 if test $with_gnu_ld = yes ; then
118754 enable_symvers=gnu
118756 case ${target_os} in
118757 darwin*)
118758 enable_symvers=darwin ;;
118760 enable_symvers=no ;;
118766 # Check to see if 'darwin' or 'darwin-export' can win.
118767 if test x$enable_symvers = xdarwin-export ; then
118768 enable_symvers=darwin
118771 # Check to see if 'gnu' can win.
118772 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
118773 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
118774 echo "$as_me:$LINENO: checking for shared libgcc" >&5
118775 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
118776 ac_save_CFLAGS="$CFLAGS"
118777 CFLAGS=' -lgcc_s'
118778 if test x$gcc_no_link = xyes; then
118779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
118780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
118781 { (exit 1); exit 1; }; }
118783 cat >conftest.$ac_ext <<_ACEOF
118784 /* confdefs.h. */
118785 _ACEOF
118786 cat confdefs.h >>conftest.$ac_ext
118787 cat >>conftest.$ac_ext <<_ACEOF
118788 /* end confdefs.h. */
118791 main ()
118793 return 0;
118795 return 0;
118797 _ACEOF
118798 rm -f conftest.$ac_objext conftest$ac_exeext
118799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118800 (eval $ac_link) 2>conftest.er1
118801 ac_status=$?
118802 grep -v '^ *+' conftest.er1 >conftest.err
118803 rm -f conftest.er1
118804 cat conftest.err >&5
118805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118806 (exit $ac_status); } &&
118807 { ac_try='test -z "$ac_c_werror_flag"
118808 || test ! -s conftest.err'
118809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118810 (eval $ac_try) 2>&5
118811 ac_status=$?
118812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118813 (exit $ac_status); }; } &&
118814 { ac_try='test -s conftest$ac_exeext'
118815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118816 (eval $ac_try) 2>&5
118817 ac_status=$?
118818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118819 (exit $ac_status); }; }; then
118820 glibcxx_shared_libgcc=yes
118822 echo "$as_me: failed program was:" >&5
118823 sed 's/^/| /' conftest.$ac_ext >&5
118825 glibcxx_shared_libgcc=no
118827 rm -f conftest.err conftest.$ac_objext \
118828 conftest$ac_exeext conftest.$ac_ext
118829 CFLAGS="$ac_save_CFLAGS"
118830 if test $glibcxx_shared_libgcc = no; then
118831 cat > conftest.c <<EOF
118832 int main (void) { return 0; }
118834 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
118835 -shared -shared-libgcc -o conftest.so \
118836 conftest.c -v 2>&1 >/dev/null \
118837 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
118838 rm -f conftest.c conftest.so
118839 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
118840 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
118841 if test x$gcc_no_link = xyes; then
118842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
118843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
118844 { (exit 1); exit 1; }; }
118846 cat >conftest.$ac_ext <<_ACEOF
118847 /* confdefs.h. */
118848 _ACEOF
118849 cat confdefs.h >>conftest.$ac_ext
118850 cat >>conftest.$ac_ext <<_ACEOF
118851 /* end confdefs.h. */
118854 main ()
118856 return 0;
118858 return 0;
118860 _ACEOF
118861 rm -f conftest.$ac_objext conftest$ac_exeext
118862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118863 (eval $ac_link) 2>conftest.er1
118864 ac_status=$?
118865 grep -v '^ *+' conftest.er1 >conftest.err
118866 rm -f conftest.er1
118867 cat conftest.err >&5
118868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118869 (exit $ac_status); } &&
118870 { ac_try='test -z "$ac_c_werror_flag"
118871 || test ! -s conftest.err'
118872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118873 (eval $ac_try) 2>&5
118874 ac_status=$?
118875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118876 (exit $ac_status); }; } &&
118877 { ac_try='test -s conftest$ac_exeext'
118878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118879 (eval $ac_try) 2>&5
118880 ac_status=$?
118881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118882 (exit $ac_status); }; }; then
118883 glibcxx_shared_libgcc=yes
118885 echo "$as_me: failed program was:" >&5
118886 sed 's/^/| /' conftest.$ac_ext >&5
118889 rm -f conftest.err conftest.$ac_objext \
118890 conftest$ac_exeext conftest.$ac_ext
118891 CFLAGS="$ac_save_CFLAGS"
118894 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
118895 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
118897 # For GNU ld, we need at least this version. The format is described in
118898 # GLIBCXX_CHECK_LINKER_FEATURES above.
118899 glibcxx_min_gnu_ld_version=21400
118901 # If no shared libgcc, can't win.
118902 if test $glibcxx_shared_libgcc != yes; then
118903 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
118904 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
118905 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
118906 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
118907 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
118908 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
118909 enable_symvers=no
118910 elif test $with_gnu_ld != yes ; then
118911 # just fail for now
118912 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
118913 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
118914 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
118915 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
118916 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
118917 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
118918 enable_symvers=no
118919 elif test $glibcxx_ld_is_gold = yes ; then
118920 : All versions of gold support symbol versioning.
118921 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
118922 # The right tools, the right setup, but too old. Fallbacks?
118923 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
118924 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
118925 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
118926 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
118927 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
118928 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
118929 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
118930 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
118931 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
118932 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
118933 enable_symvers=no
118937 # Everything parsed; figure out what file to use.
118938 case $enable_symvers in
118940 SYMVER_FILE=config/abi/pre/none.ver
118943 SYMVER_FILE=config/abi/pre/gnu.ver
118945 cat >>confdefs.h <<\_ACEOF
118946 #define _GLIBCXX_SYMVER_GNU 1
118947 _ACEOF
118950 gnu-versioned-namespace)
118951 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
118953 cat >>confdefs.h <<\_ACEOF
118954 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
118955 _ACEOF
118958 darwin)
118959 SYMVER_FILE=config/abi/pre/gnu.ver
118961 cat >>confdefs.h <<\_ACEOF
118962 #define _GLIBCXX_SYMVER_DARWIN 1
118963 _ACEOF
118968 if test x$enable_symvers != xno ; then
118970 cat >>confdefs.h <<\_ACEOF
118971 #define _GLIBCXX_SYMVER 1
118972 _ACEOF
118982 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
118983 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
118985 # Now, set up compatibility support, if any.
118986 # In addition, need this to deal with std::size_t mangling in
118987 # src/compatibility.cc. In a perfect world, could use
118988 # typeid(std::size_t).name()[0] to do direct substitution.
118989 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
118990 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
118991 ac_save_CFLAGS="$CFLAGS"
118992 CFLAGS="-Werror"
118993 cat >conftest.$ac_ext <<_ACEOF
118994 /* confdefs.h. */
118995 _ACEOF
118996 cat confdefs.h >>conftest.$ac_ext
118997 cat >>conftest.$ac_ext <<_ACEOF
118998 /* end confdefs.h. */
119001 main ()
119003 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
119005 return 0;
119007 _ACEOF
119008 rm -f conftest.$ac_objext
119009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119010 (eval $ac_compile) 2>conftest.er1
119011 ac_status=$?
119012 grep -v '^ *+' conftest.er1 >conftest.err
119013 rm -f conftest.er1
119014 cat conftest.err >&5
119015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119016 (exit $ac_status); } &&
119017 { ac_try='test -z "$ac_c_werror_flag"
119018 || test ! -s conftest.err'
119019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119020 (eval $ac_try) 2>&5
119021 ac_status=$?
119022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119023 (exit $ac_status); }; } &&
119024 { ac_try='test -s conftest.$ac_objext'
119025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119026 (eval $ac_try) 2>&5
119027 ac_status=$?
119028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119029 (exit $ac_status); }; }; then
119030 glibcxx_size_t_is_i=yes
119032 echo "$as_me: failed program was:" >&5
119033 sed 's/^/| /' conftest.$ac_ext >&5
119035 glibcxx_size_t_is_i=no
119037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119038 CFLAGS=$ac_save_CFLAGS
119039 if test "$glibcxx_size_t_is_i" = yes; then
119041 cat >>confdefs.h <<\_ACEOF
119042 #define _GLIBCXX_SIZE_T_IS_UINT 1
119043 _ACEOF
119046 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
119047 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
119049 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
119050 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
119051 ac_save_CFLAGS="$CFLAGS"
119052 CFLAGS="-Werror"
119053 cat >conftest.$ac_ext <<_ACEOF
119054 /* confdefs.h. */
119055 _ACEOF
119056 cat confdefs.h >>conftest.$ac_ext
119057 cat >>conftest.$ac_ext <<_ACEOF
119058 /* end confdefs.h. */
119061 main ()
119063 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
119065 return 0;
119067 _ACEOF
119068 rm -f conftest.$ac_objext
119069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119070 (eval $ac_compile) 2>conftest.er1
119071 ac_status=$?
119072 grep -v '^ *+' conftest.er1 >conftest.err
119073 rm -f conftest.er1
119074 cat conftest.err >&5
119075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119076 (exit $ac_status); } &&
119077 { ac_try='test -z "$ac_c_werror_flag"
119078 || test ! -s conftest.err'
119079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119080 (eval $ac_try) 2>&5
119081 ac_status=$?
119082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119083 (exit $ac_status); }; } &&
119084 { ac_try='test -s conftest.$ac_objext'
119085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119086 (eval $ac_try) 2>&5
119087 ac_status=$?
119088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119089 (exit $ac_status); }; }; then
119090 glibcxx_ptrdiff_t_is_i=yes
119092 echo "$as_me: failed program was:" >&5
119093 sed 's/^/| /' conftest.$ac_ext >&5
119095 glibcxx_ptrdiff_t_is_i=no
119097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119098 CFLAGS=$ac_save_CFLAGS
119099 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
119101 cat >>confdefs.h <<\_ACEOF
119102 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
119103 _ACEOF
119106 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
119107 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
119110 # Check whether --enable-visibility or --disable-visibility was given.
119111 if test "${enable_visibility+set}" = set; then
119112 enableval="$enable_visibility"
119114 case "$enableval" in
119115 yes|no) ;;
119116 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
119117 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
119118 { (exit 1); exit 1; }; } ;;
119122 enable_visibility=yes
119126 if test x$enable_visibility = xyes ; then
119127 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
119128 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
119129 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then
119130 echo $ECHO_N "(cached) $ECHO_C" >&6
119133 save_CFLAGS="$CFLAGS"
119134 CFLAGS="$CFLAGS -Werror"
119135 cat >conftest.$ac_ext <<_ACEOF
119136 /* confdefs.h. */
119137 _ACEOF
119138 cat confdefs.h >>conftest.$ac_ext
119139 cat >>conftest.$ac_ext <<_ACEOF
119140 /* end confdefs.h. */
119141 void __attribute__((visibility("hidden"))) foo(void) { }
119143 main ()
119147 return 0;
119149 _ACEOF
119150 rm -f conftest.$ac_objext
119151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119152 (eval $ac_compile) 2>conftest.er1
119153 ac_status=$?
119154 grep -v '^ *+' conftest.er1 >conftest.err
119155 rm -f conftest.er1
119156 cat conftest.err >&5
119157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119158 (exit $ac_status); } &&
119159 { ac_try='test -z "$ac_c_werror_flag"
119160 || test ! -s conftest.err'
119161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119162 (eval $ac_try) 2>&5
119163 ac_status=$?
119164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119165 (exit $ac_status); }; } &&
119166 { ac_try='test -s conftest.$ac_objext'
119167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119168 (eval $ac_try) 2>&5
119169 ac_status=$?
119170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119171 (exit $ac_status); }; }; then
119172 glibcxx_cv_have_attribute_visibility=yes
119174 echo "$as_me: failed program was:" >&5
119175 sed 's/^/| /' conftest.$ac_ext >&5
119177 glibcxx_cv_have_attribute_visibility=no
119179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119180 CFLAGS="$save_CFLAGS"
119182 echo "$as_me:$LINENO: result: $glibcxx_cv_have_attribute_visibility" >&5
119183 echo "${ECHO_T}$glibcxx_cv_have_attribute_visibility" >&6
119184 if test $glibcxx_cv_have_attribute_visibility = no; then
119185 enable_visibility=no
119190 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
119191 echo "$as_me: visibility supported: $enable_visibility" >&6;}
119194 ac_ldbl_compat=no
119195 case "$target" in
119196 powerpc*-*-linux* | \
119197 powerpc*-*-gnu* | \
119198 sparc*-*-linux* | \
119199 s390*-*-linux* | \
119200 alpha*-*-linux*)
119201 cat >conftest.$ac_ext <<_ACEOF
119202 /* confdefs.h. */
119203 _ACEOF
119204 cat confdefs.h >>conftest.$ac_ext
119205 cat >>conftest.$ac_ext <<_ACEOF
119206 /* end confdefs.h. */
119209 main ()
119212 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
119213 #error no need for long double compatibility
119214 #endif
119217 return 0;
119219 _ACEOF
119220 rm -f conftest.$ac_objext
119221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119222 (eval $ac_compile) 2>conftest.er1
119223 ac_status=$?
119224 grep -v '^ *+' conftest.er1 >conftest.err
119225 rm -f conftest.er1
119226 cat conftest.err >&5
119227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119228 (exit $ac_status); } &&
119229 { ac_try='test -z "$ac_c_werror_flag"
119230 || test ! -s conftest.err'
119231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119232 (eval $ac_try) 2>&5
119233 ac_status=$?
119234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119235 (exit $ac_status); }; } &&
119236 { ac_try='test -s conftest.$ac_objext'
119237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119238 (eval $ac_try) 2>&5
119239 ac_status=$?
119240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119241 (exit $ac_status); }; }; then
119242 ac_ldbl_compat=yes
119244 echo "$as_me: failed program was:" >&5
119245 sed 's/^/| /' conftest.$ac_ext >&5
119247 ac_ldbl_compat=no
119249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119250 if test "$ac_ldbl_compat" = yes; then
119252 cat >>confdefs.h <<\_ACEOF
119253 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
119254 _ACEOF
119256 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
119261 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
119263 if $GLIBCXX_IS_NATIVE ; then
119264 # Do checks for resource limit functions.
119266 setrlimit_have_headers=yes
119270 for ac_header in unistd.h sys/time.h sys/resource.h
119272 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
119273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
119274 echo "$as_me:$LINENO: checking for $ac_header" >&5
119275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
119276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
119277 echo $ECHO_N "(cached) $ECHO_C" >&6
119279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
119280 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
119282 # Is the header compilable?
119283 echo "$as_me:$LINENO: checking $ac_header usability" >&5
119284 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
119285 cat >conftest.$ac_ext <<_ACEOF
119286 /* confdefs.h. */
119287 _ACEOF
119288 cat confdefs.h >>conftest.$ac_ext
119289 cat >>conftest.$ac_ext <<_ACEOF
119290 /* end confdefs.h. */
119291 $ac_includes_default
119292 #include <$ac_header>
119293 _ACEOF
119294 rm -f conftest.$ac_objext
119295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119296 (eval $ac_compile) 2>conftest.er1
119297 ac_status=$?
119298 grep -v '^ *+' conftest.er1 >conftest.err
119299 rm -f conftest.er1
119300 cat conftest.err >&5
119301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119302 (exit $ac_status); } &&
119303 { ac_try='test -z "$ac_c_werror_flag"
119304 || test ! -s conftest.err'
119305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119306 (eval $ac_try) 2>&5
119307 ac_status=$?
119308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119309 (exit $ac_status); }; } &&
119310 { ac_try='test -s conftest.$ac_objext'
119311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119312 (eval $ac_try) 2>&5
119313 ac_status=$?
119314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119315 (exit $ac_status); }; }; then
119316 ac_header_compiler=yes
119318 echo "$as_me: failed program was:" >&5
119319 sed 's/^/| /' conftest.$ac_ext >&5
119321 ac_header_compiler=no
119323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119324 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
119325 echo "${ECHO_T}$ac_header_compiler" >&6
119327 # Is the header present?
119328 echo "$as_me:$LINENO: checking $ac_header presence" >&5
119329 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
119330 cat >conftest.$ac_ext <<_ACEOF
119331 /* confdefs.h. */
119332 _ACEOF
119333 cat confdefs.h >>conftest.$ac_ext
119334 cat >>conftest.$ac_ext <<_ACEOF
119335 /* end confdefs.h. */
119336 #include <$ac_header>
119337 _ACEOF
119338 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
119339 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
119340 ac_status=$?
119341 grep -v '^ *+' conftest.er1 >conftest.err
119342 rm -f conftest.er1
119343 cat conftest.err >&5
119344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119345 (exit $ac_status); } >/dev/null; then
119346 if test -s conftest.err; then
119347 ac_cpp_err=$ac_c_preproc_warn_flag
119348 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
119350 ac_cpp_err=
119353 ac_cpp_err=yes
119355 if test -z "$ac_cpp_err"; then
119356 ac_header_preproc=yes
119358 echo "$as_me: failed program was:" >&5
119359 sed 's/^/| /' conftest.$ac_ext >&5
119361 ac_header_preproc=no
119363 rm -f conftest.err conftest.$ac_ext
119364 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
119365 echo "${ECHO_T}$ac_header_preproc" >&6
119367 # So? What about this header?
119368 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
119369 yes:no: )
119370 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
119371 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
119372 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
119373 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
119374 ac_header_preproc=yes
119376 no:yes:* )
119377 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
119378 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
119379 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
119380 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
119381 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
119382 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
119383 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
119384 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
119385 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
119386 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
119387 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
119388 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
119390 cat <<\_ASBOX
119391 ## ----------------------------------------- ##
119392 ## Report this to the package-unused lists. ##
119393 ## ----------------------------------------- ##
119394 _ASBOX
119396 sed "s/^/$as_me: WARNING: /" >&2
119399 echo "$as_me:$LINENO: checking for $ac_header" >&5
119400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
119401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
119402 echo $ECHO_N "(cached) $ECHO_C" >&6
119404 eval "$as_ac_Header=\$ac_header_preproc"
119406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
119407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
119410 if test `eval echo '${'$as_ac_Header'}'` = yes; then
119411 cat >>confdefs.h <<_ACEOF
119412 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
119413 _ACEOF
119416 setrlimit_have_headers=no
119421 # If don't have the headers, then we can't run the tests now, and we
119422 # won't be seeing any of these during testsuite compilation.
119423 if test $setrlimit_have_headers = yes; then
119424 # Can't do these in a loop, else the resulting syntax is wrong.
119426 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
119427 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
119428 cat >conftest.$ac_ext <<_ACEOF
119429 /* confdefs.h. */
119430 _ACEOF
119431 cat confdefs.h >>conftest.$ac_ext
119432 cat >>conftest.$ac_ext <<_ACEOF
119433 /* end confdefs.h. */
119434 #include <unistd.h>
119435 #include <sys/time.h>
119436 #include <sys/resource.h>
119439 main ()
119441 int f = RLIMIT_DATA ;
119443 return 0;
119445 _ACEOF
119446 rm -f conftest.$ac_objext
119447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119448 (eval $ac_compile) 2>conftest.er1
119449 ac_status=$?
119450 grep -v '^ *+' conftest.er1 >conftest.err
119451 rm -f conftest.er1
119452 cat conftest.err >&5
119453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119454 (exit $ac_status); } &&
119455 { ac_try='test -z "$ac_c_werror_flag"
119456 || test ! -s conftest.err'
119457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119458 (eval $ac_try) 2>&5
119459 ac_status=$?
119460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119461 (exit $ac_status); }; } &&
119462 { ac_try='test -s conftest.$ac_objext'
119463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119464 (eval $ac_try) 2>&5
119465 ac_status=$?
119466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119467 (exit $ac_status); }; }; then
119468 glibcxx_mresult=1
119470 echo "$as_me: failed program was:" >&5
119471 sed 's/^/| /' conftest.$ac_ext >&5
119473 glibcxx_mresult=0
119475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119477 cat >>confdefs.h <<_ACEOF
119478 #define HAVE_LIMIT_DATA $glibcxx_mresult
119479 _ACEOF
119481 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119482 echo "$as_me:$LINENO: result: $res" >&5
119483 echo "${ECHO_T}$res" >&6
119486 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
119487 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
119488 cat >conftest.$ac_ext <<_ACEOF
119489 /* confdefs.h. */
119490 _ACEOF
119491 cat confdefs.h >>conftest.$ac_ext
119492 cat >>conftest.$ac_ext <<_ACEOF
119493 /* end confdefs.h. */
119494 #include <unistd.h>
119495 #include <sys/time.h>
119496 #include <sys/resource.h>
119499 main ()
119501 int f = RLIMIT_RSS ;
119503 return 0;
119505 _ACEOF
119506 rm -f conftest.$ac_objext
119507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119508 (eval $ac_compile) 2>conftest.er1
119509 ac_status=$?
119510 grep -v '^ *+' conftest.er1 >conftest.err
119511 rm -f conftest.er1
119512 cat conftest.err >&5
119513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119514 (exit $ac_status); } &&
119515 { ac_try='test -z "$ac_c_werror_flag"
119516 || test ! -s conftest.err'
119517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119518 (eval $ac_try) 2>&5
119519 ac_status=$?
119520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119521 (exit $ac_status); }; } &&
119522 { ac_try='test -s conftest.$ac_objext'
119523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119524 (eval $ac_try) 2>&5
119525 ac_status=$?
119526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119527 (exit $ac_status); }; }; then
119528 glibcxx_mresult=1
119530 echo "$as_me: failed program was:" >&5
119531 sed 's/^/| /' conftest.$ac_ext >&5
119533 glibcxx_mresult=0
119535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119537 cat >>confdefs.h <<_ACEOF
119538 #define HAVE_LIMIT_RSS $glibcxx_mresult
119539 _ACEOF
119541 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119542 echo "$as_me:$LINENO: result: $res" >&5
119543 echo "${ECHO_T}$res" >&6
119546 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
119547 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
119548 cat >conftest.$ac_ext <<_ACEOF
119549 /* confdefs.h. */
119550 _ACEOF
119551 cat confdefs.h >>conftest.$ac_ext
119552 cat >>conftest.$ac_ext <<_ACEOF
119553 /* end confdefs.h. */
119554 #include <unistd.h>
119555 #include <sys/time.h>
119556 #include <sys/resource.h>
119559 main ()
119561 int f = RLIMIT_VMEM ;
119563 return 0;
119565 _ACEOF
119566 rm -f conftest.$ac_objext
119567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119568 (eval $ac_compile) 2>conftest.er1
119569 ac_status=$?
119570 grep -v '^ *+' conftest.er1 >conftest.err
119571 rm -f conftest.er1
119572 cat conftest.err >&5
119573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119574 (exit $ac_status); } &&
119575 { ac_try='test -z "$ac_c_werror_flag"
119576 || test ! -s conftest.err'
119577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119578 (eval $ac_try) 2>&5
119579 ac_status=$?
119580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119581 (exit $ac_status); }; } &&
119582 { ac_try='test -s conftest.$ac_objext'
119583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119584 (eval $ac_try) 2>&5
119585 ac_status=$?
119586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119587 (exit $ac_status); }; }; then
119588 glibcxx_mresult=1
119590 echo "$as_me: failed program was:" >&5
119591 sed 's/^/| /' conftest.$ac_ext >&5
119593 glibcxx_mresult=0
119595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119597 cat >>confdefs.h <<_ACEOF
119598 #define HAVE_LIMIT_VMEM $glibcxx_mresult
119599 _ACEOF
119601 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119602 echo "$as_me:$LINENO: result: $res" >&5
119603 echo "${ECHO_T}$res" >&6
119606 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
119607 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
119608 cat >conftest.$ac_ext <<_ACEOF
119609 /* confdefs.h. */
119610 _ACEOF
119611 cat confdefs.h >>conftest.$ac_ext
119612 cat >>conftest.$ac_ext <<_ACEOF
119613 /* end confdefs.h. */
119614 #include <unistd.h>
119615 #include <sys/time.h>
119616 #include <sys/resource.h>
119619 main ()
119621 int f = RLIMIT_AS ;
119623 return 0;
119625 _ACEOF
119626 rm -f conftest.$ac_objext
119627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119628 (eval $ac_compile) 2>conftest.er1
119629 ac_status=$?
119630 grep -v '^ *+' conftest.er1 >conftest.err
119631 rm -f conftest.er1
119632 cat conftest.err >&5
119633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119634 (exit $ac_status); } &&
119635 { ac_try='test -z "$ac_c_werror_flag"
119636 || test ! -s conftest.err'
119637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119638 (eval $ac_try) 2>&5
119639 ac_status=$?
119640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119641 (exit $ac_status); }; } &&
119642 { ac_try='test -s conftest.$ac_objext'
119643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119644 (eval $ac_try) 2>&5
119645 ac_status=$?
119646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119647 (exit $ac_status); }; }; then
119648 glibcxx_mresult=1
119650 echo "$as_me: failed program was:" >&5
119651 sed 's/^/| /' conftest.$ac_ext >&5
119653 glibcxx_mresult=0
119655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119657 cat >>confdefs.h <<_ACEOF
119658 #define HAVE_LIMIT_AS $glibcxx_mresult
119659 _ACEOF
119661 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119662 echo "$as_me:$LINENO: result: $res" >&5
119663 echo "${ECHO_T}$res" >&6
119666 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
119667 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
119668 cat >conftest.$ac_ext <<_ACEOF
119669 /* confdefs.h. */
119670 _ACEOF
119671 cat confdefs.h >>conftest.$ac_ext
119672 cat >>conftest.$ac_ext <<_ACEOF
119673 /* end confdefs.h. */
119674 #include <unistd.h>
119675 #include <sys/time.h>
119676 #include <sys/resource.h>
119679 main ()
119681 int f = RLIMIT_FSIZE ;
119683 return 0;
119685 _ACEOF
119686 rm -f conftest.$ac_objext
119687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119688 (eval $ac_compile) 2>conftest.er1
119689 ac_status=$?
119690 grep -v '^ *+' conftest.er1 >conftest.err
119691 rm -f conftest.er1
119692 cat conftest.err >&5
119693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119694 (exit $ac_status); } &&
119695 { ac_try='test -z "$ac_c_werror_flag"
119696 || test ! -s conftest.err'
119697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119698 (eval $ac_try) 2>&5
119699 ac_status=$?
119700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119701 (exit $ac_status); }; } &&
119702 { ac_try='test -s conftest.$ac_objext'
119703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119704 (eval $ac_try) 2>&5
119705 ac_status=$?
119706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119707 (exit $ac_status); }; }; then
119708 glibcxx_mresult=1
119710 echo "$as_me: failed program was:" >&5
119711 sed 's/^/| /' conftest.$ac_ext >&5
119713 glibcxx_mresult=0
119715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119717 cat >>confdefs.h <<_ACEOF
119718 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
119719 _ACEOF
119721 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
119722 echo "$as_me:$LINENO: result: $res" >&5
119723 echo "${ECHO_T}$res" >&6
119726 # Check for rlimit, setrlimit.
119727 if test "${glibcxx_cv_setrlimit+set}" = set; then
119728 echo $ECHO_N "(cached) $ECHO_C" >&6
119731 cat >conftest.$ac_ext <<_ACEOF
119732 /* confdefs.h. */
119733 _ACEOF
119734 cat confdefs.h >>conftest.$ac_ext
119735 cat >>conftest.$ac_ext <<_ACEOF
119736 /* end confdefs.h. */
119737 #include <unistd.h>
119738 #include <sys/time.h>
119739 #include <sys/resource.h>
119742 main ()
119744 struct rlimit r;
119745 setrlimit(0, &r);
119747 return 0;
119749 _ACEOF
119750 rm -f conftest.$ac_objext
119751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119752 (eval $ac_compile) 2>conftest.er1
119753 ac_status=$?
119754 grep -v '^ *+' conftest.er1 >conftest.err
119755 rm -f conftest.er1
119756 cat conftest.err >&5
119757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119758 (exit $ac_status); } &&
119759 { ac_try='test -z "$ac_c_werror_flag"
119760 || test ! -s conftest.err'
119761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119762 (eval $ac_try) 2>&5
119763 ac_status=$?
119764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119765 (exit $ac_status); }; } &&
119766 { ac_try='test -s conftest.$ac_objext'
119767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119768 (eval $ac_try) 2>&5
119769 ac_status=$?
119770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119771 (exit $ac_status); }; }; then
119772 glibcxx_cv_setrlimit=yes
119774 echo "$as_me: failed program was:" >&5
119775 sed 's/^/| /' conftest.$ac_ext >&5
119777 glibcxx_cv_setrlimit=no
119779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119785 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
119786 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
119787 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
119788 ac_res_limits=yes
119790 cat >>confdefs.h <<\_ACEOF
119791 #define _GLIBCXX_RES_LIMITS 1
119792 _ACEOF
119795 ac_res_limits=no
119797 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
119798 echo "${ECHO_T}$ac_res_limits" >&6
119801 # Look for setenv, so that extended locale tests can be performed.
119803 echo "$as_me:$LINENO: checking for setenv declaration" >&5
119804 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
119805 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
119806 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
119807 echo $ECHO_N "(cached) $ECHO_C" >&6
119812 ac_ext=cc
119813 ac_cpp='$CXXCPP $CPPFLAGS'
119814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
119818 cat >conftest.$ac_ext <<_ACEOF
119819 /* confdefs.h. */
119820 _ACEOF
119821 cat confdefs.h >>conftest.$ac_ext
119822 cat >>conftest.$ac_ext <<_ACEOF
119823 /* end confdefs.h. */
119824 #include <stdlib.h>
119826 main ()
119828 setenv(0, 0, 0);
119830 return 0;
119832 _ACEOF
119833 rm -f conftest.$ac_objext
119834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119835 (eval $ac_compile) 2>conftest.er1
119836 ac_status=$?
119837 grep -v '^ *+' conftest.er1 >conftest.err
119838 rm -f conftest.er1
119839 cat conftest.err >&5
119840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119841 (exit $ac_status); } &&
119842 { ac_try='test -z "$ac_cxx_werror_flag"
119843 || test ! -s conftest.err'
119844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119845 (eval $ac_try) 2>&5
119846 ac_status=$?
119847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119848 (exit $ac_status); }; } &&
119849 { ac_try='test -s conftest.$ac_objext'
119850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119851 (eval $ac_try) 2>&5
119852 ac_status=$?
119853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119854 (exit $ac_status); }; }; then
119855 glibcxx_cv_func_setenv_use=yes
119857 echo "$as_me: failed program was:" >&5
119858 sed 's/^/| /' conftest.$ac_ext >&5
119860 glibcxx_cv_func_setenv_use=no
119862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119863 ac_ext=c
119864 ac_cpp='$CPP $CPPFLAGS'
119865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
119866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
119867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
119873 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
119874 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
119875 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
119877 for ac_func in setenv
119879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
119880 echo "$as_me:$LINENO: checking for $ac_func" >&5
119881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
119882 if eval "test \"\${$as_ac_var+set}\" = set"; then
119883 echo $ECHO_N "(cached) $ECHO_C" >&6
119885 if test x$gcc_no_link = xyes; then
119886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
119887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
119888 { (exit 1); exit 1; }; }
119890 cat >conftest.$ac_ext <<_ACEOF
119891 /* confdefs.h. */
119892 _ACEOF
119893 cat confdefs.h >>conftest.$ac_ext
119894 cat >>conftest.$ac_ext <<_ACEOF
119895 /* end confdefs.h. */
119896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
119897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
119898 #define $ac_func innocuous_$ac_func
119900 /* System header to define __stub macros and hopefully few prototypes,
119901 which can conflict with char $ac_func (); below.
119902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
119903 <limits.h> exists even on freestanding compilers. */
119905 #ifdef __STDC__
119906 # include <limits.h>
119907 #else
119908 # include <assert.h>
119909 #endif
119911 #undef $ac_func
119913 /* Override any gcc2 internal prototype to avoid an error. */
119914 #ifdef __cplusplus
119915 extern "C"
119917 #endif
119918 /* We use char because int might match the return type of a gcc2
119919 builtin and then its argument prototype would still apply. */
119920 char $ac_func ();
119921 /* The GNU C library defines this for functions which it implements
119922 to always fail with ENOSYS. Some functions are actually named
119923 something starting with __ and the normal name is an alias. */
119924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
119925 choke me
119926 #else
119927 char (*f) () = $ac_func;
119928 #endif
119929 #ifdef __cplusplus
119931 #endif
119934 main ()
119936 return f != $ac_func;
119938 return 0;
119940 _ACEOF
119941 rm -f conftest.$ac_objext conftest$ac_exeext
119942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119943 (eval $ac_link) 2>conftest.er1
119944 ac_status=$?
119945 grep -v '^ *+' conftest.er1 >conftest.err
119946 rm -f conftest.er1
119947 cat conftest.err >&5
119948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119949 (exit $ac_status); } &&
119950 { ac_try='test -z "$ac_c_werror_flag"
119951 || test ! -s conftest.err'
119952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119953 (eval $ac_try) 2>&5
119954 ac_status=$?
119955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119956 (exit $ac_status); }; } &&
119957 { ac_try='test -s conftest$ac_exeext'
119958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119959 (eval $ac_try) 2>&5
119960 ac_status=$?
119961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119962 (exit $ac_status); }; }; then
119963 eval "$as_ac_var=yes"
119965 echo "$as_me: failed program was:" >&5
119966 sed 's/^/| /' conftest.$ac_ext >&5
119968 eval "$as_ac_var=no"
119970 rm -f conftest.err conftest.$ac_objext \
119971 conftest$ac_exeext conftest.$ac_ext
119973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
119974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
119975 if test `eval echo '${'$as_ac_var'}'` = yes; then
119976 cat >>confdefs.h <<_ACEOF
119977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
119978 _ACEOF
119987 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
119988 test $enable_symvers != no; then
119989 case "$host" in
119990 *-*-cygwin*)
119991 enable_abi_check=no ;;
119993 enable_abi_check=yes ;;
119996 # Only build this as native, since automake does not understand
119997 # CXX_FOR_BUILD.
119998 enable_abi_check=no
120001 # Export file names for ABI checking.
120002 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
120006 # Propagate the target-specific source directories through the build chain.
120007 ATOMICITY_SRCDIR=config/${atomicity_dir}
120008 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
120009 ATOMIC_FLAGS=${atomic_flags}
120010 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
120011 OS_INC_SRCDIR=config/${os_include_dir}
120012 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
120013 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
120023 # Determine cross-compile flags and AM_CONDITIONALs.
120024 #AC_SUBST(GLIBCXX_IS_NATIVE)
120025 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
120026 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
120027 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
120030 if test $is_hosted = yes; then
120031 GLIBCXX_HOSTED_TRUE=
120032 GLIBCXX_HOSTED_FALSE='#'
120034 GLIBCXX_HOSTED_TRUE='#'
120035 GLIBCXX_HOSTED_FALSE=
120041 if test $enable_libstdcxx_pch = yes; then
120042 GLIBCXX_BUILD_PCH_TRUE=
120043 GLIBCXX_BUILD_PCH_FALSE='#'
120045 GLIBCXX_BUILD_PCH_TRUE='#'
120046 GLIBCXX_BUILD_PCH_FALSE=
120052 if test $enable_cheaders = c; then
120053 GLIBCXX_C_HEADERS_C_TRUE=
120054 GLIBCXX_C_HEADERS_C_FALSE='#'
120056 GLIBCXX_C_HEADERS_C_TRUE='#'
120057 GLIBCXX_C_HEADERS_C_FALSE=
120063 if test $enable_cheaders = c_std; then
120064 GLIBCXX_C_HEADERS_C_STD_TRUE=
120065 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
120067 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
120068 GLIBCXX_C_HEADERS_C_STD_FALSE=
120074 if test $enable_cheaders = c_global; then
120075 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
120076 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
120078 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
120079 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
120085 if test $c_compatibility = yes; then
120086 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
120087 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
120089 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
120090 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
120096 if test $c_extra = yes; then
120097 GLIBCXX_C_HEADERS_EXTRA_TRUE=
120098 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
120100 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
120101 GLIBCXX_C_HEADERS_EXTRA_FALSE=
120107 if test $enable_libstdcxx_debug = yes; then
120108 GLIBCXX_BUILD_DEBUG_TRUE=
120109 GLIBCXX_BUILD_DEBUG_FALSE='#'
120111 GLIBCXX_BUILD_DEBUG_TRUE='#'
120112 GLIBCXX_BUILD_DEBUG_FALSE=
120118 if test $enable_parallel = yes; then
120119 ENABLE_PARALLEL_TRUE=
120120 ENABLE_PARALLEL_FALSE='#'
120122 ENABLE_PARALLEL_TRUE='#'
120123 ENABLE_PARALLEL_FALSE=
120129 if test $enable_symvers != no; then
120130 ENABLE_SYMVERS_TRUE=
120131 ENABLE_SYMVERS_FALSE='#'
120133 ENABLE_SYMVERS_TRUE='#'
120134 ENABLE_SYMVERS_FALSE=
120140 if test $enable_symvers = gnu; then
120141 ENABLE_SYMVERS_GNU_TRUE=
120142 ENABLE_SYMVERS_GNU_FALSE='#'
120144 ENABLE_SYMVERS_GNU_TRUE='#'
120145 ENABLE_SYMVERS_GNU_FALSE=
120151 if test $enable_symvers = gnu-versioned-namespace; then
120152 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
120153 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
120155 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
120156 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
120162 if test $enable_symvers = darwin; then
120163 ENABLE_SYMVERS_DARWIN_TRUE=
120164 ENABLE_SYMVERS_DARWIN_FALSE='#'
120166 ENABLE_SYMVERS_DARWIN_TRUE='#'
120167 ENABLE_SYMVERS_DARWIN_FALSE=
120173 if test $enable_visibility = yes; then
120174 ENABLE_VISIBILITY_TRUE=
120175 ENABLE_VISIBILITY_FALSE='#'
120177 ENABLE_VISIBILITY_TRUE='#'
120178 ENABLE_VISIBILITY_FALSE=
120184 if test $ac_ldbl_compat = yes; then
120185 GLIBCXX_LDBL_COMPAT_TRUE=
120186 GLIBCXX_LDBL_COMPAT_FALSE='#'
120188 GLIBCXX_LDBL_COMPAT_TRUE='#'
120189 GLIBCXX_LDBL_COMPAT_FALSE=
120195 cat >confcache <<\_ACEOF
120196 # This file is a shell script that caches the results of configure
120197 # tests run on this system so they can be shared between configure
120198 # scripts and configure runs, see configure's option --config-cache.
120199 # It is not useful on other systems. If it contains results you don't
120200 # want to keep, you may remove or edit it.
120202 # config.status only pays attention to the cache file if you give it
120203 # the --recheck option to rerun configure.
120205 # `ac_cv_env_foo' variables (set or unset) will be overridden when
120206 # loading this file, other *unset* `ac_cv_foo' will be assigned the
120207 # following values.
120209 _ACEOF
120211 # The following way of writing the cache mishandles newlines in values,
120212 # but we know of no workaround that is simple, portable, and efficient.
120213 # So, don't put newlines in cache variables' values.
120214 # Ultrix sh set writes to stderr and can't be redirected directly,
120215 # and sets the high bit in the cache file unless we assign to the vars.
120217 (set) 2>&1 |
120218 case `(ac_space=' '; set | grep ac_space) 2>&1` in
120219 *ac_space=\ *)
120220 # `set' does not quote correctly, so add quotes (double-quote
120221 # substitution turns \\\\ into \\, and sed turns \\ into \).
120222 sed -n \
120223 "s/'/'\\\\''/g;
120224 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
120227 # `set' quotes correctly as required by POSIX, so do not add quotes.
120228 sed -n \
120229 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
120231 esac;
120233 sed '
120234 t clear
120235 : clear
120236 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
120237 t end
120238 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
120239 : end' >>confcache
120240 if diff $cache_file confcache >/dev/null 2>&1; then :; else
120241 if test -w $cache_file; then
120242 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
120243 cat confcache >$cache_file
120245 echo "not updating unwritable cache $cache_file"
120248 rm -f confcache
120250 if test ${multilib} = yes; then
120251 multilib_arg="--enable-multilib"
120253 multilib_arg=
120256 # Export all the install information.
120258 glibcxx_toolexecdir=no
120259 glibcxx_toolexeclibdir=no
120260 glibcxx_prefixdir=$prefix
120262 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
120263 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
120265 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
120266 if test "${with_gxx_include_dir+set}" = set; then
120267 withval="$with_gxx_include_dir"
120268 case "$withval" in
120269 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
120270 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
120271 { (exit 1); exit 1; }; } ;;
120272 no) gxx_include_dir=no ;;
120273 *) gxx_include_dir=$withval ;;
120276 gxx_include_dir=no
120278 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
120279 echo "${ECHO_T}$gxx_include_dir" >&6
120281 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
120282 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
120283 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
120284 if test "${enable_version_specific_runtime_libs+set}" = set; then
120285 enableval="$enable_version_specific_runtime_libs"
120286 case "$enableval" in
120287 yes) version_specific_libs=yes ;;
120288 no) version_specific_libs=no ;;
120289 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
120290 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
120291 { (exit 1); exit 1; }; };;
120294 version_specific_libs=no
120296 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
120297 echo "${ECHO_T}$version_specific_libs" >&6
120299 # Default case for install directory for include files.
120300 if test $version_specific_libs = no && test $gxx_include_dir = no; then
120301 gxx_include_dir='include/c++/${gcc_version}'
120302 if test -n "$with_cross_host" &&
120303 test x"$with_cross_host" != x"no"; then
120304 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
120306 gxx_include_dir='${prefix}/'"$gxx_include_dir"
120310 # Version-specific runtime libs processing.
120311 if test $version_specific_libs = yes; then
120312 # Need the gcc compiler version to know where to install libraries
120313 # and header files if --enable-version-specific-runtime-libs option
120314 # is selected. FIXME: these variables are misnamed, there are
120315 # no executables installed in _toolexecdir or _toolexeclibdir.
120316 if test x"$gxx_include_dir" = x"no"; then
120317 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
120319 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
120320 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
120323 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
120324 # Install a library built with a cross compiler in tooldir, not libdir.
120325 if test x"$glibcxx_toolexecdir" = x"no"; then
120326 if test -n "$with_cross_host" &&
120327 test x"$with_cross_host" != x"no"; then
120328 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
120329 glibcxx_toolexeclibdir='${toolexecdir}/lib'
120331 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
120332 glibcxx_toolexeclibdir='${libdir}'
120334 multi_os_directory=`$CXX -print-multi-os-directory`
120335 case $multi_os_directory in
120336 .) ;; # Avoid trailing /.
120337 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
120341 echo "$as_me:$LINENO: checking for install location" >&5
120342 echo $ECHO_N "checking for install location... $ECHO_C" >&6
120343 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
120344 echo "${ECHO_T}$gxx_include_dir" >&6
120352 # Export all the include and flag information to Makefiles.
120354 # Used for every C++ compile we perform.
120355 GLIBCXX_INCLUDES="\
120356 -I$glibcxx_builddir/include/$host_alias \
120357 -I$glibcxx_builddir/include \
120358 -I$glibcxx_srcdir/libsupc++"
120360 # For Canadian crosses, pick this up too.
120361 if test $CANADIAN = yes; then
120362 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
120365 # Stuff in the actual top level. Currently only used by libsupc++ to
120366 # get unwind* headers from the gcc dir.
120367 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
120368 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
120370 # Now, export this to all the little Makefiles....
120375 # Optimization flags that are probably a good idea for thrill-seekers. Just
120376 # uncomment the lines below and make, everything else is ready to go...
120377 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
120378 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
120381 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
120385 if test "$enable_shared" = yes; then
120386 LIBSUPCXX_PICFLAGS="-prefer-pic"
120388 LIBSUPCXX_PICFLAGS=
120392 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
120394 ac_config_files="$ac_config_files scripts/testsuite_flags"
120397 ac_config_commands="$ac_config_commands default"
120400 cat >confcache <<\_ACEOF
120401 # This file is a shell script that caches the results of configure
120402 # tests run on this system so they can be shared between configure
120403 # scripts and configure runs, see configure's option --config-cache.
120404 # It is not useful on other systems. If it contains results you don't
120405 # want to keep, you may remove or edit it.
120407 # config.status only pays attention to the cache file if you give it
120408 # the --recheck option to rerun configure.
120410 # `ac_cv_env_foo' variables (set or unset) will be overridden when
120411 # loading this file, other *unset* `ac_cv_foo' will be assigned the
120412 # following values.
120414 _ACEOF
120416 # The following way of writing the cache mishandles newlines in values,
120417 # but we know of no workaround that is simple, portable, and efficient.
120418 # So, don't put newlines in cache variables' values.
120419 # Ultrix sh set writes to stderr and can't be redirected directly,
120420 # and sets the high bit in the cache file unless we assign to the vars.
120422 (set) 2>&1 |
120423 case `(ac_space=' '; set | grep ac_space) 2>&1` in
120424 *ac_space=\ *)
120425 # `set' does not quote correctly, so add quotes (double-quote
120426 # substitution turns \\\\ into \\, and sed turns \\ into \).
120427 sed -n \
120428 "s/'/'\\\\''/g;
120429 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
120432 # `set' quotes correctly as required by POSIX, so do not add quotes.
120433 sed -n \
120434 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
120436 esac;
120438 sed '
120439 t clear
120440 : clear
120441 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
120442 t end
120443 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
120444 : end' >>confcache
120445 if diff $cache_file confcache >/dev/null 2>&1; then :; else
120446 if test -w $cache_file; then
120447 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
120448 cat confcache >$cache_file
120450 echo "not updating unwritable cache $cache_file"
120453 rm -f confcache
120455 test "x$prefix" = xNONE && prefix=$ac_default_prefix
120456 # Let make expand exec_prefix.
120457 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
120459 # VPATH may cause trouble with some makes, so we remove $(srcdir),
120460 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
120461 # trailing colons and then remove the whole line if VPATH becomes empty
120462 # (actually we leave an empty line to preserve line numbers).
120463 if test "x$srcdir" = x.; then
120464 ac_vpsub='/^[ ]*VPATH[ ]*=/{
120465 s/:*\$(srcdir):*/:/;
120466 s/:*\${srcdir}:*/:/;
120467 s/:*@srcdir@:*/:/;
120468 s/^\([^=]*=[ ]*\):*/\1/;
120469 s/:*$//;
120470 s/^[^=]*=[ ]*$//;
120474 DEFS=-DHAVE_CONFIG_H
120476 ac_libobjs=
120477 ac_ltlibobjs=
120478 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
120479 # 1. Remove the extension, and $U if already installed.
120480 ac_i=`echo "$ac_i" |
120481 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
120482 # 2. Add them.
120483 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
120484 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
120486 LIBOBJS=$ac_libobjs
120488 LTLIBOBJS=$ac_ltlibobjs
120491 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
120492 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
120493 Usually this means the macro was only invoked conditionally." >&5
120494 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
120495 Usually this means the macro was only invoked conditionally." >&2;}
120496 { (exit 1); exit 1; }; }
120498 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
120499 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
120500 Usually this means the macro was only invoked conditionally." >&5
120501 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
120502 Usually this means the macro was only invoked conditionally." >&2;}
120503 { (exit 1); exit 1; }; }
120505 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
120506 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
120507 Usually this means the macro was only invoked conditionally." >&5
120508 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
120509 Usually this means the macro was only invoked conditionally." >&2;}
120510 { (exit 1); exit 1; }; }
120512 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
120513 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
120514 Usually this means the macro was only invoked conditionally." >&5
120515 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
120516 Usually this means the macro was only invoked conditionally." >&2;}
120517 { (exit 1); exit 1; }; }
120519 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
120520 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
120521 Usually this means the macro was only invoked conditionally." >&5
120522 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
120523 Usually this means the macro was only invoked conditionally." >&2;}
120524 { (exit 1); exit 1; }; }
120526 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
120527 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
120528 Usually this means the macro was only invoked conditionally." >&5
120529 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
120530 Usually this means the macro was only invoked conditionally." >&2;}
120531 { (exit 1); exit 1; }; }
120533 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
120534 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
120535 Usually this means the macro was only invoked conditionally." >&5
120536 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
120537 Usually this means the macro was only invoked conditionally." >&2;}
120538 { (exit 1); exit 1; }; }
120540 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
120541 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
120542 Usually this means the macro was only invoked conditionally." >&5
120543 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
120544 Usually this means the macro was only invoked conditionally." >&2;}
120545 { (exit 1); exit 1; }; }
120547 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
120548 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
120549 Usually this means the macro was only invoked conditionally." >&5
120550 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
120551 Usually this means the macro was only invoked conditionally." >&2;}
120552 { (exit 1); exit 1; }; }
120554 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
120555 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
120556 Usually this means the macro was only invoked conditionally." >&5
120557 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
120558 Usually this means the macro was only invoked conditionally." >&2;}
120559 { (exit 1); exit 1; }; }
120561 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
120562 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
120563 Usually this means the macro was only invoked conditionally." >&5
120564 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
120565 Usually this means the macro was only invoked conditionally." >&2;}
120566 { (exit 1); exit 1; }; }
120568 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
120569 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
120570 Usually this means the macro was only invoked conditionally." >&5
120571 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
120572 Usually this means the macro was only invoked conditionally." >&2;}
120573 { (exit 1); exit 1; }; }
120575 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
120576 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
120577 Usually this means the macro was only invoked conditionally." >&5
120578 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
120579 Usually this means the macro was only invoked conditionally." >&2;}
120580 { (exit 1); exit 1; }; }
120582 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
120583 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
120584 Usually this means the macro was only invoked conditionally." >&5
120585 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
120586 Usually this means the macro was only invoked conditionally." >&2;}
120587 { (exit 1); exit 1; }; }
120589 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
120590 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
120591 Usually this means the macro was only invoked conditionally." >&5
120592 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
120593 Usually this means the macro was only invoked conditionally." >&2;}
120594 { (exit 1); exit 1; }; }
120596 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
120597 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
120598 Usually this means the macro was only invoked conditionally." >&5
120599 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
120600 Usually this means the macro was only invoked conditionally." >&2;}
120601 { (exit 1); exit 1; }; }
120604 : ${CONFIG_STATUS=./config.status}
120605 ac_clean_files_save=$ac_clean_files
120606 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
120607 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
120608 echo "$as_me: creating $CONFIG_STATUS" >&6;}
120609 cat >$CONFIG_STATUS <<_ACEOF
120610 #! $SHELL
120611 # Generated by $as_me.
120612 # Run this file to recreate the current configuration.
120613 # Compiler output produced by configure, useful for debugging
120614 # configure, is in config.log if it exists.
120616 debug=false
120617 ac_cs_recheck=false
120618 ac_cs_silent=false
120619 SHELL=\${CONFIG_SHELL-$SHELL}
120620 _ACEOF
120622 cat >>$CONFIG_STATUS <<\_ACEOF
120623 ## --------------------- ##
120624 ## M4sh Initialization. ##
120625 ## --------------------- ##
120627 # Be Bourne compatible
120628 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
120629 emulate sh
120630 NULLCMD=:
120631 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
120632 # is contrary to our usage. Disable this feature.
120633 alias -g '${1+"$@"}'='"$@"'
120634 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
120635 set -o posix
120637 DUALCASE=1; export DUALCASE # for MKS sh
120639 # Support unset when possible.
120640 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
120641 as_unset=unset
120643 as_unset=false
120647 # Work around bugs in pre-3.0 UWIN ksh.
120648 $as_unset ENV MAIL MAILPATH
120649 PS1='$ '
120650 PS2='> '
120651 PS4='+ '
120653 # NLS nuisances.
120654 for as_var in \
120655 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
120656 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
120657 LC_TELEPHONE LC_TIME
120659 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
120660 eval $as_var=C; export $as_var
120662 $as_unset $as_var
120666 # Required to use basename.
120667 if expr a : '\(a\)' >/dev/null 2>&1; then
120668 as_expr=expr
120670 as_expr=false
120673 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
120674 as_basename=basename
120676 as_basename=false
120680 # Name of the executable.
120681 as_me=`$as_basename "$0" ||
120682 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
120683 X"$0" : 'X\(//\)$' \| \
120684 X"$0" : 'X\(/\)$' \| \
120685 . : '\(.\)' 2>/dev/null ||
120686 echo X/"$0" |
120687 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
120688 /^X\/\(\/\/\)$/{ s//\1/; q; }
120689 /^X\/\(\/\).*/{ s//\1/; q; }
120690 s/.*/./; q'`
120693 # PATH needs CR, and LINENO needs CR and PATH.
120694 # Avoid depending upon Character Ranges.
120695 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
120696 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
120697 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
120698 as_cr_digits='0123456789'
120699 as_cr_alnum=$as_cr_Letters$as_cr_digits
120701 # The user is always right.
120702 if test "${PATH_SEPARATOR+set}" != set; then
120703 echo "#! /bin/sh" >conf$$.sh
120704 echo "exit 0" >>conf$$.sh
120705 chmod +x conf$$.sh
120706 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
120707 PATH_SEPARATOR=';'
120709 PATH_SEPARATOR=:
120711 rm -f conf$$.sh
120715 as_lineno_1=$LINENO
120716 as_lineno_2=$LINENO
120717 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
120718 test "x$as_lineno_1" != "x$as_lineno_2" &&
120719 test "x$as_lineno_3" = "x$as_lineno_2" || {
120720 # Find who we are. Look in the path if we contain no path at all
120721 # relative or not.
120722 case $0 in
120723 *[\\/]* ) as_myself=$0 ;;
120724 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
120725 for as_dir in $PATH
120727 IFS=$as_save_IFS
120728 test -z "$as_dir" && as_dir=.
120729 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
120734 # We did not find ourselves, most probably we were run as `sh COMMAND'
120735 # in which case we are not to be found in the path.
120736 if test "x$as_myself" = x; then
120737 as_myself=$0
120739 if test ! -f "$as_myself"; then
120740 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
120741 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
120742 { (exit 1); exit 1; }; }
120744 case $CONFIG_SHELL in
120746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
120747 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
120749 IFS=$as_save_IFS
120750 test -z "$as_dir" && as_dir=.
120751 for as_base in sh bash ksh sh5; do
120752 case $as_dir in
120754 if ("$as_dir/$as_base" -c '
120755 as_lineno_1=$LINENO
120756 as_lineno_2=$LINENO
120757 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
120758 test "x$as_lineno_1" != "x$as_lineno_2" &&
120759 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
120760 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
120761 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
120762 CONFIG_SHELL=$as_dir/$as_base
120763 export CONFIG_SHELL
120764 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
120772 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
120773 # uniformly replaced by the line number. The first 'sed' inserts a
120774 # line-number line before each line; the second 'sed' does the real
120775 # work. The second script uses 'N' to pair each line-number line
120776 # with the numbered line, and appends trailing '-' during
120777 # substitution so that $LINENO is not a special case at line end.
120778 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
120779 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
120780 sed '=' <$as_myself |
120781 sed '
120783 s,$,-,
120784 : loop
120785 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
120786 t loop
120787 s,-$,,
120788 s,^['$as_cr_digits']*\n,,
120789 ' >$as_me.lineno &&
120790 chmod +x $as_me.lineno ||
120791 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
120792 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
120793 { (exit 1); exit 1; }; }
120795 # Don't try to exec as it changes $[0], causing all sort of problems
120796 # (the dirname of $[0] is not the place where we might find the
120797 # original and so on. Autoconf is especially sensible to this).
120798 . ./$as_me.lineno
120799 # Exit status is that of the last command.
120804 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
120805 *c*,-n*) ECHO_N= ECHO_C='
120806 ' ECHO_T=' ' ;;
120807 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
120808 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
120811 if expr a : '\(a\)' >/dev/null 2>&1; then
120812 as_expr=expr
120814 as_expr=false
120817 rm -f conf$$ conf$$.exe conf$$.file
120818 echo >conf$$.file
120819 if ln -s conf$$.file conf$$ 2>/dev/null; then
120820 # We could just check for DJGPP; but this test a) works b) is more generic
120821 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
120822 if test -f conf$$.exe; then
120823 # Don't use ln at all; we don't have any links
120824 as_ln_s='cp -p'
120826 as_ln_s='ln -s'
120828 elif ln conf$$.file conf$$ 2>/dev/null; then
120829 as_ln_s=ln
120831 as_ln_s='cp -p'
120833 rm -f conf$$ conf$$.exe conf$$.file
120835 if mkdir -p . 2>/dev/null; then
120836 as_mkdir_p=:
120838 test -d ./-p && rmdir ./-p
120839 as_mkdir_p=false
120842 as_executable_p="test -f"
120844 # Sed expression to map a string onto a valid CPP name.
120845 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
120847 # Sed expression to map a string onto a valid variable name.
120848 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
120851 # IFS
120852 # We need space, tab and new line, in precisely that order.
120853 as_nl='
120855 IFS=" $as_nl"
120857 # CDPATH.
120858 $as_unset CDPATH
120860 exec 6>&1
120862 # Open the log real soon, to keep \$[0] and so on meaningful, and to
120863 # report actual input values of CONFIG_FILES etc. instead of their
120864 # values after options handling. Logging --version etc. is OK.
120865 exec 5>>config.log
120868 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
120869 ## Running $as_me. ##
120870 _ASBOX
120871 } >&5
120872 cat >&5 <<_CSEOF
120874 This file was extended by package-unused $as_me version-unused, which was
120875 generated by GNU Autoconf 2.59. Invocation command line was
120877 CONFIG_FILES = $CONFIG_FILES
120878 CONFIG_HEADERS = $CONFIG_HEADERS
120879 CONFIG_LINKS = $CONFIG_LINKS
120880 CONFIG_COMMANDS = $CONFIG_COMMANDS
120881 $ $0 $@
120883 _CSEOF
120884 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
120885 echo >&5
120886 _ACEOF
120888 # Files that config.status was made for.
120889 if test -n "$ac_config_files"; then
120890 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
120893 if test -n "$ac_config_headers"; then
120894 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
120897 if test -n "$ac_config_links"; then
120898 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
120901 if test -n "$ac_config_commands"; then
120902 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
120905 cat >>$CONFIG_STATUS <<\_ACEOF
120907 ac_cs_usage="\
120908 \`$as_me' instantiates files from templates according to the
120909 current configuration.
120911 Usage: $0 [OPTIONS] [FILE]...
120913 -h, --help print this help, then exit
120914 -V, --version print version number, then exit
120915 -q, --quiet do not print progress messages
120916 -d, --debug don't remove temporary files
120917 --recheck update $as_me by reconfiguring in the same conditions
120918 --file=FILE[:TEMPLATE]
120919 instantiate the configuration file FILE
120920 --header=FILE[:TEMPLATE]
120921 instantiate the configuration header FILE
120923 Configuration files:
120924 $config_files
120926 Configuration headers:
120927 $config_headers
120929 Configuration commands:
120930 $config_commands
120932 Report bugs to <bug-autoconf@gnu.org>."
120933 _ACEOF
120935 cat >>$CONFIG_STATUS <<_ACEOF
120936 ac_cs_version="\\
120937 package-unused config.status version-unused
120938 configured by $0, generated by GNU Autoconf 2.59,
120939 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
120941 Copyright (C) 2003 Free Software Foundation, Inc.
120942 This config.status script is free software; the Free Software Foundation
120943 gives unlimited permission to copy, distribute and modify it."
120944 srcdir=$srcdir
120945 INSTALL="$INSTALL"
120946 _ACEOF
120948 cat >>$CONFIG_STATUS <<\_ACEOF
120949 # If no file are specified by the user, then we need to provide default
120950 # value. By we need to know if files were specified by the user.
120951 ac_need_defaults=:
120952 while test $# != 0
120954 case $1 in
120955 --*=*)
120956 ac_option=`expr "x$1" : 'x\([^=]*\)='`
120957 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
120958 ac_shift=:
120961 ac_option=$1
120962 ac_optarg=$2
120963 ac_shift=shift
120965 *) # This is not an option, so the user has probably given explicit
120966 # arguments.
120967 ac_option=$1
120968 ac_need_defaults=false;;
120971 case $ac_option in
120972 # Handling of the options.
120973 _ACEOF
120974 cat >>$CONFIG_STATUS <<\_ACEOF
120975 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
120976 ac_cs_recheck=: ;;
120977 --version | --vers* | -V )
120978 echo "$ac_cs_version"; exit 0 ;;
120979 --he | --h)
120980 # Conflict between --help and --header
120981 { { echo "$as_me:$LINENO: error: ambiguous option: $1
120982 Try \`$0 --help' for more information." >&5
120983 echo "$as_me: error: ambiguous option: $1
120984 Try \`$0 --help' for more information." >&2;}
120985 { (exit 1); exit 1; }; };;
120986 --help | --hel | -h )
120987 echo "$ac_cs_usage"; exit 0 ;;
120988 --debug | --d* | -d )
120989 debug=: ;;
120990 --file | --fil | --fi | --f )
120991 $ac_shift
120992 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
120993 ac_need_defaults=false;;
120994 --header | --heade | --head | --hea )
120995 $ac_shift
120996 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
120997 ac_need_defaults=false;;
120998 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
120999 | -silent | --silent | --silen | --sile | --sil | --si | --s)
121000 ac_cs_silent=: ;;
121002 # This is an error.
121003 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
121004 Try \`$0 --help' for more information." >&5
121005 echo "$as_me: error: unrecognized option: $1
121006 Try \`$0 --help' for more information." >&2;}
121007 { (exit 1); exit 1; }; } ;;
121009 *) ac_config_targets="$ac_config_targets $1" ;;
121012 shift
121015 ac_configure_extra_args=
121017 if $ac_cs_silent; then
121018 exec 6>/dev/null
121019 ac_configure_extra_args="$ac_configure_extra_args --silent"
121022 _ACEOF
121023 cat >>$CONFIG_STATUS <<_ACEOF
121024 if \$ac_cs_recheck; then
121025 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
121026 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
121029 _ACEOF
121031 cat >>$CONFIG_STATUS <<_ACEOF
121033 # INIT-COMMANDS section.
121037 srcdir="$srcdir"
121038 host="$host"
121039 target="$target"
121040 with_multisubdir="$with_multisubdir"
121041 with_multisrctop="$with_multisrctop"
121042 with_target_subdir="$with_target_subdir"
121043 ac_configure_args="${multilib_arg} ${ac_configure_args}"
121044 multi_basedir="$multi_basedir"
121045 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
121046 CC="$CC"
121049 # The HP-UX ksh and POSIX shell print the target directory to stdout
121050 # if CDPATH is set.
121051 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
121053 sed_quote_subst='$sed_quote_subst'
121054 double_quote_subst='$double_quote_subst'
121055 delay_variable_subst='$delay_variable_subst'
121056 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
121057 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
121058 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
121059 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
121060 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
121061 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
121062 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
121063 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
121064 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
121065 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
121066 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
121067 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
121068 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
121069 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
121070 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
121071 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
121072 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
121073 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
121074 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
121075 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
121076 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
121077 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
121078 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
121079 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
121080 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
121081 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
121082 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
121083 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121084 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
121085 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
121086 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
121087 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
121088 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
121089 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
121090 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121091 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121092 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121093 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
121094 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
121095 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
121096 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
121097 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
121098 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
121099 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
121100 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
121101 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
121102 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
121103 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
121104 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
121105 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
121106 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
121107 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
121108 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
121109 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
121110 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
121111 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121112 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121113 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
121114 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
121115 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
121116 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
121117 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
121118 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121119 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121120 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121121 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121122 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121123 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121124 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
121125 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
121126 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
121127 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
121128 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
121129 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
121130 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
121131 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
121132 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
121133 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
121134 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
121135 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
121136 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
121137 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
121138 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
121139 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121140 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
121141 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
121142 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121143 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
121144 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
121145 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
121146 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
121147 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
121148 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
121149 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
121150 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
121151 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
121152 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
121153 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
121154 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121155 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121156 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
121157 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
121158 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
121159 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
121160 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
121161 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
121162 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
121163 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
121164 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
121165 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
121166 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
121167 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
121168 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
121169 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
121170 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
121171 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
121172 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121173 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121174 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121175 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121176 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121177 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121178 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121179 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121180 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121181 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121182 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121183 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121184 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121185 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121186 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121187 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121188 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121189 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121190 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121191 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121192 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121193 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121194 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121195 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121196 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121197 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121198 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121199 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121200 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121201 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121202 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121203 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121204 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121205 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121206 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121207 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121208 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121209 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121210 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121211 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121212 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121213 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121214 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121215 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121216 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121217 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
121219 LTCC='$LTCC'
121220 LTCFLAGS='$LTCFLAGS'
121221 compiler='$compiler_DEFAULT'
121223 # Quote evaled strings.
121224 for var in SED \
121225 GREP \
121226 EGREP \
121227 FGREP \
121230 LN_S \
121231 lt_SP2NL \
121232 lt_NL2SP \
121233 reload_flag \
121234 deplibs_check_method \
121235 file_magic_cmd \
121237 AR_FLAGS \
121238 STRIP \
121239 RANLIB \
121241 CFLAGS \
121242 compiler \
121243 lt_cv_sys_global_symbol_pipe \
121244 lt_cv_sys_global_symbol_to_cdecl \
121245 lt_cv_sys_global_symbol_to_c_name_address \
121246 SHELL \
121247 ECHO \
121248 lt_prog_compiler_no_builtin_flag \
121249 lt_prog_compiler_wl \
121250 lt_prog_compiler_pic \
121251 lt_prog_compiler_static \
121252 lt_cv_prog_compiler_c_o \
121253 need_locks \
121254 shrext_cmds \
121255 export_dynamic_flag_spec \
121256 whole_archive_flag_spec \
121257 compiler_needs_object \
121258 with_gnu_ld \
121259 allow_undefined_flag \
121260 no_undefined_flag \
121261 hardcode_libdir_flag_spec \
121262 hardcode_libdir_flag_spec_ld \
121263 hardcode_libdir_separator \
121264 fix_srcfile_path \
121265 exclude_expsyms \
121266 include_expsyms \
121267 file_list_spec \
121268 variables_saved_for_relink \
121269 libname_spec \
121270 library_names_spec \
121271 soname_spec \
121272 finish_eval \
121273 old_striplib \
121274 striplib \
121275 predep_objects \
121276 postdep_objects \
121277 predeps \
121278 postdeps \
121279 compiler_lib_search_path \
121280 LD_CXX \
121281 compiler_CXX \
121282 lt_prog_compiler_no_builtin_flag_CXX \
121283 lt_prog_compiler_wl_CXX \
121284 lt_prog_compiler_pic_CXX \
121285 lt_prog_compiler_static_CXX \
121286 lt_cv_prog_compiler_c_o_CXX \
121287 export_dynamic_flag_spec_CXX \
121288 whole_archive_flag_spec_CXX \
121289 compiler_needs_object_CXX \
121290 with_gnu_ld_CXX \
121291 allow_undefined_flag_CXX \
121292 no_undefined_flag_CXX \
121293 hardcode_libdir_flag_spec_CXX \
121294 hardcode_libdir_flag_spec_ld_CXX \
121295 hardcode_libdir_separator_CXX \
121296 fix_srcfile_path_CXX \
121297 exclude_expsyms_CXX \
121298 include_expsyms_CXX \
121299 file_list_spec_CXX \
121300 predep_objects_CXX \
121301 postdep_objects_CXX \
121302 predeps_CXX \
121303 postdeps_CXX \
121304 compiler_lib_search_path_CXX; do
121305 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
121306 *[\\\\\\\`\\"\\\$]*)
121307 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
121310 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
121315 # Double-quote double-evaled strings.
121316 for var in reload_cmds \
121317 old_postinstall_cmds \
121318 old_postuninstall_cmds \
121319 old_archive_cmds \
121320 extract_expsyms_cmds \
121321 old_archive_from_new_cmds \
121322 old_archive_from_expsyms_cmds \
121323 archive_cmds \
121324 archive_expsym_cmds \
121325 module_cmds \
121326 module_expsym_cmds \
121327 export_symbols_cmds \
121328 prelink_cmds \
121329 postinstall_cmds \
121330 postuninstall_cmds \
121331 finish_cmds \
121332 sys_lib_search_path_spec \
121333 sys_lib_dlsearch_path_spec \
121334 old_archive_cmds_CXX \
121335 old_archive_from_new_cmds_CXX \
121336 old_archive_from_expsyms_cmds_CXX \
121337 archive_cmds_CXX \
121338 archive_expsym_cmds_CXX \
121339 module_cmds_CXX \
121340 module_expsym_cmds_CXX \
121341 export_symbols_cmds_CXX \
121342 prelink_cmds_CXX; do
121343 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
121344 *[\\\\\\\`\\"\\\$]*)
121345 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
121348 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
121353 # Fix-up fallback echo if it was mangled by the above quoting rules.
121354 case \$lt_ECHO in
121355 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
121359 ac_aux_dir='$ac_aux_dir'
121360 xsi_shell='$xsi_shell'
121361 lt_shell_append='$lt_shell_append'
121363 # See if we are running on zsh, and set the options which allow our
121364 # commands through without removal of \ escapes INIT.
121365 if test -n "\${ZSH_VERSION+set}" ; then
121366 setopt NO_GLOB_SUBST
121370 PACKAGE='$PACKAGE'
121371 VERSION='$VERSION'
121372 TIMESTAMP='$TIMESTAMP'
121373 RM='$RM'
121374 ofile='$ofile'
121381 GCC="$GCC"
121382 CC="$CC"
121383 acx_cv_header_stdint="$acx_cv_header_stdint"
121384 acx_cv_type_int8_t="$acx_cv_type_int8_t"
121385 acx_cv_type_int16_t="$acx_cv_type_int16_t"
121386 acx_cv_type_int32_t="$acx_cv_type_int32_t"
121387 acx_cv_type_int64_t="$acx_cv_type_int64_t"
121388 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
121389 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
121390 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
121391 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
121392 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
121393 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
121394 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
121395 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
121396 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
121399 # Variables needed in config.status (file generation) which aren't already
121400 # passed by autoconf.
121401 SUBDIRS="$SUBDIRS"
121404 _ACEOF
121408 cat >>$CONFIG_STATUS <<\_ACEOF
121409 for ac_config_target in $ac_config_targets
121411 case "$ac_config_target" in
121412 # Handling of arguments.
121413 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
121414 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
121415 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
121416 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
121417 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
121418 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
121419 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
121420 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
121421 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
121422 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
121423 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
121424 "include/gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
121425 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
121426 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
121427 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
121428 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
121429 { (exit 1); exit 1; }; };;
121433 # If the user did not use the arguments to specify the items to instantiate,
121434 # then the envvar interface is used. Set only those that are not.
121435 # We use the long form for the default assignment because of an extremely
121436 # bizarre bug on SunOS 4.1.3.
121437 if $ac_need_defaults; then
121438 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
121439 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
121440 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
121443 # Have a temporary directory for convenience. Make it in the build tree
121444 # simply because there is no reason to put it here, and in addition,
121445 # creating and moving files from /tmp can sometimes cause problems.
121446 # Create a temporary directory, and hook for its removal unless debugging.
121447 $debug ||
121449 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
121450 trap '{ (exit 1); exit 1; }' 1 2 13 15
121453 # Create a (secure) tmp directory for tmp files.
121456 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
121457 test -n "$tmp" && test -d "$tmp"
121460 tmp=./confstat$$-$RANDOM
121461 (umask 077 && mkdir $tmp)
121464 echo "$me: cannot create a temporary directory in ." >&2
121465 { (exit 1); exit 1; }
121468 _ACEOF
121470 cat >>$CONFIG_STATUS <<_ACEOF
121473 # CONFIG_FILES section.
121476 # No need to generate the scripts if there are no CONFIG_FILES.
121477 # This happens for instance when ./config.status config.h
121478 if test -n "\$CONFIG_FILES"; then
121479 # Protect against being on the right side of a sed subst in config.status.
121480 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
121481 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
121482 s,@SHELL@,$SHELL,;t t
121483 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
121484 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
121485 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
121486 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
121487 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
121488 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
121489 s,@exec_prefix@,$exec_prefix,;t t
121490 s,@prefix@,$prefix,;t t
121491 s,@program_transform_name@,$program_transform_name,;t t
121492 s,@bindir@,$bindir,;t t
121493 s,@sbindir@,$sbindir,;t t
121494 s,@libexecdir@,$libexecdir,;t t
121495 s,@datadir@,$datadir,;t t
121496 s,@sysconfdir@,$sysconfdir,;t t
121497 s,@sharedstatedir@,$sharedstatedir,;t t
121498 s,@localstatedir@,$localstatedir,;t t
121499 s,@libdir@,$libdir,;t t
121500 s,@includedir@,$includedir,;t t
121501 s,@oldincludedir@,$oldincludedir,;t t
121502 s,@infodir@,$infodir,;t t
121503 s,@mandir@,$mandir,;t t
121504 s,@build_alias@,$build_alias,;t t
121505 s,@host_alias@,$host_alias,;t t
121506 s,@target_alias@,$target_alias,;t t
121507 s,@DEFS@,$DEFS,;t t
121508 s,@ECHO_C@,$ECHO_C,;t t
121509 s,@ECHO_N@,$ECHO_N,;t t
121510 s,@ECHO_T@,$ECHO_T,;t t
121511 s,@LIBS@,$LIBS,;t t
121512 s,@libtool_VERSION@,$libtool_VERSION,;t t
121513 s,@multi_basedir@,$multi_basedir,;t t
121514 s,@build@,$build,;t t
121515 s,@build_cpu@,$build_cpu,;t t
121516 s,@build_vendor@,$build_vendor,;t t
121517 s,@build_os@,$build_os,;t t
121518 s,@host@,$host,;t t
121519 s,@host_cpu@,$host_cpu,;t t
121520 s,@host_vendor@,$host_vendor,;t t
121521 s,@host_os@,$host_os,;t t
121522 s,@target@,$target,;t t
121523 s,@target_cpu@,$target_cpu,;t t
121524 s,@target_vendor@,$target_vendor,;t t
121525 s,@target_os@,$target_os,;t t
121526 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
121527 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
121528 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
121529 s,@CYGPATH_W@,$CYGPATH_W,;t t
121530 s,@PACKAGE@,$PACKAGE,;t t
121531 s,@VERSION@,$VERSION,;t t
121532 s,@ACLOCAL@,$ACLOCAL,;t t
121533 s,@AUTOCONF@,$AUTOCONF,;t t
121534 s,@AUTOMAKE@,$AUTOMAKE,;t t
121535 s,@AUTOHEADER@,$AUTOHEADER,;t t
121536 s,@MAKEINFO@,$MAKEINFO,;t t
121537 s,@install_sh@,$install_sh,;t t
121538 s,@STRIP@,$STRIP,;t t
121539 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
121540 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
121541 s,@mkdir_p@,$mkdir_p,;t t
121542 s,@AWK@,$AWK,;t t
121543 s,@SET_MAKE@,$SET_MAKE,;t t
121544 s,@am__leading_dot@,$am__leading_dot,;t t
121545 s,@AMTAR@,$AMTAR,;t t
121546 s,@am__tar@,$am__tar,;t t
121547 s,@am__untar@,$am__untar,;t t
121548 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
121549 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
121550 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
121551 s,@CC@,$CC,;t t
121552 s,@ac_ct_CC@,$ac_ct_CC,;t t
121553 s,@EXEEXT@,$EXEEXT,;t t
121554 s,@OBJEXT@,$OBJEXT,;t t
121555 s,@CXX@,$CXX,;t t
121556 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
121557 s,@CFLAGS@,$CFLAGS,;t t
121558 s,@CXXFLAGS@,$CXXFLAGS,;t t
121559 s,@LN_S@,$LN_S,;t t
121560 s,@AS@,$AS,;t t
121561 s,@ac_ct_AS@,$ac_ct_AS,;t t
121562 s,@AR@,$AR,;t t
121563 s,@ac_ct_AR@,$ac_ct_AR,;t t
121564 s,@RANLIB@,$RANLIB,;t t
121565 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
121566 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
121567 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
121568 s,@MAINT@,$MAINT,;t t
121569 s,@CPP@,$CPP,;t t
121570 s,@CPPFLAGS@,$CPPFLAGS,;t t
121571 s,@EGREP@,$EGREP,;t t
121572 s,@LIBTOOL@,$LIBTOOL,;t t
121573 s,@SED@,$SED,;t t
121574 s,@FGREP@,$FGREP,;t t
121575 s,@GREP@,$GREP,;t t
121576 s,@LD@,$LD,;t t
121577 s,@DUMPBIN@,$DUMPBIN,;t t
121578 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
121579 s,@NM@,$NM,;t t
121580 s,@lt_ECHO@,$lt_ECHO,;t t
121581 s,@LDFLAGS@,$LDFLAGS,;t t
121582 s,@CXXCPP@,$CXXCPP,;t t
121583 s,@enable_shared@,$enable_shared,;t t
121584 s,@enable_static@,$enable_static,;t t
121585 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
121586 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
121587 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
121588 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
121589 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
121590 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
121591 s,@WERROR@,$WERROR,;t t
121592 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
121593 s,@CSTDIO_H@,$CSTDIO_H,;t t
121594 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
121595 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
121596 s,@check_msgfmt@,$check_msgfmt,;t t
121597 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
121598 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
121599 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
121600 s,@USE_NLS@,$USE_NLS,;t t
121601 s,@CLOCALE_H@,$CLOCALE_H,;t t
121602 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
121603 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
121604 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
121605 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
121606 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
121607 s,@CMONEY_CC@,$CMONEY_CC,;t t
121608 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
121609 s,@CTIME_H@,$CTIME_H,;t t
121610 s,@CTIME_CC@,$CTIME_CC,;t t
121611 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
121612 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
121613 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
121614 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
121615 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
121616 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
121617 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
121618 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
121619 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
121620 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
121621 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
121622 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
121623 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
121624 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
121625 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
121626 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
121627 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
121628 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
121629 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
121630 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
121631 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
121632 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
121633 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
121634 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
121635 s,@LIBICONV@,$LIBICONV,;t t
121636 s,@LTLIBICONV@,$LTLIBICONV,;t t
121637 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
121638 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
121639 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
121640 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
121641 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
121642 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
121643 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
121644 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
121645 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
121646 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
121647 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
121648 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
121649 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
121650 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
121651 s,@baseline_dir@,$baseline_dir,;t t
121652 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
121653 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
121654 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
121655 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
121656 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
121657 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
121658 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
121659 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
121660 s,@gxx_include_dir@,$gxx_include_dir,;t t
121661 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
121662 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
121663 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
121664 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
121665 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
121666 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
121667 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
121668 s,@LIBOBJS@,$LIBOBJS,;t t
121669 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
121672 _ACEOF
121674 cat >>$CONFIG_STATUS <<\_ACEOF
121675 # Split the substitutions into bite-sized pieces for seds with
121676 # small command number limits, like on Digital OSF/1 and HP-UX.
121677 ac_max_sed_lines=48
121678 ac_sed_frag=1 # Number of current file.
121679 ac_beg=1 # First line for current file.
121680 ac_end=$ac_max_sed_lines # Line after last line for current file.
121681 ac_more_lines=:
121682 ac_sed_cmds=
121683 while $ac_more_lines; do
121684 if test $ac_beg -gt 1; then
121685 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
121687 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
121689 if test ! -s $tmp/subs.frag; then
121690 ac_more_lines=false
121692 # The purpose of the label and of the branching condition is to
121693 # speed up the sed processing (if there are no `@' at all, there
121694 # is no need to browse any of the substitutions).
121695 # These are the two extra sed commands mentioned above.
121696 (echo ':t
121697 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
121698 if test -z "$ac_sed_cmds"; then
121699 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
121701 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
121703 ac_sed_frag=`expr $ac_sed_frag + 1`
121704 ac_beg=$ac_end
121705 ac_end=`expr $ac_end + $ac_max_sed_lines`
121708 if test -z "$ac_sed_cmds"; then
121709 ac_sed_cmds=cat
121711 fi # test -n "$CONFIG_FILES"
121713 _ACEOF
121714 cat >>$CONFIG_STATUS <<\_ACEOF
121715 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
121716 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
121717 case $ac_file in
121718 - | *:- | *:-:* ) # input from stdin
121719 cat >$tmp/stdin
121720 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
121721 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
121722 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
121723 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
121724 * ) ac_file_in=$ac_file.in ;;
121727 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
121728 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
121729 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
121730 X"$ac_file" : 'X\(//\)[^/]' \| \
121731 X"$ac_file" : 'X\(//\)$' \| \
121732 X"$ac_file" : 'X\(/\)' \| \
121733 . : '\(.\)' 2>/dev/null ||
121734 echo X"$ac_file" |
121735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
121736 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
121737 /^X\(\/\/\)$/{ s//\1/; q; }
121738 /^X\(\/\).*/{ s//\1/; q; }
121739 s/.*/./; q'`
121740 { if $as_mkdir_p; then
121741 mkdir -p "$ac_dir"
121743 as_dir="$ac_dir"
121744 as_dirs=
121745 while test ! -d "$as_dir"; do
121746 as_dirs="$as_dir $as_dirs"
121747 as_dir=`(dirname "$as_dir") 2>/dev/null ||
121748 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
121749 X"$as_dir" : 'X\(//\)[^/]' \| \
121750 X"$as_dir" : 'X\(//\)$' \| \
121751 X"$as_dir" : 'X\(/\)' \| \
121752 . : '\(.\)' 2>/dev/null ||
121753 echo X"$as_dir" |
121754 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
121755 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
121756 /^X\(\/\/\)$/{ s//\1/; q; }
121757 /^X\(\/\).*/{ s//\1/; q; }
121758 s/.*/./; q'`
121760 test ! -n "$as_dirs" || mkdir $as_dirs
121761 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
121762 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
121763 { (exit 1); exit 1; }; }; }
121765 ac_builddir=.
121767 if test "$ac_dir" != .; then
121768 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
121769 # A "../" for each directory in $ac_dir_suffix.
121770 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
121772 ac_dir_suffix= ac_top_builddir=
121775 case $srcdir in
121776 .) # No --srcdir option. We are building in place.
121777 ac_srcdir=.
121778 if test -z "$ac_top_builddir"; then
121779 ac_top_srcdir=.
121781 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
121782 fi ;;
121783 [\\/]* | ?:[\\/]* ) # Absolute path.
121784 ac_srcdir=$srcdir$ac_dir_suffix;
121785 ac_top_srcdir=$srcdir ;;
121786 *) # Relative path.
121787 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
121788 ac_top_srcdir=$ac_top_builddir$srcdir ;;
121791 # Do not use `cd foo && pwd` to compute absolute paths, because
121792 # the directories may not exist.
121793 case `pwd` in
121794 .) ac_abs_builddir="$ac_dir";;
121796 case "$ac_dir" in
121797 .) ac_abs_builddir=`pwd`;;
121798 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
121799 *) ac_abs_builddir=`pwd`/"$ac_dir";;
121800 esac;;
121802 case $ac_abs_builddir in
121803 .) ac_abs_top_builddir=${ac_top_builddir}.;;
121805 case ${ac_top_builddir}. in
121806 .) ac_abs_top_builddir=$ac_abs_builddir;;
121807 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
121808 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
121809 esac;;
121811 case $ac_abs_builddir in
121812 .) ac_abs_srcdir=$ac_srcdir;;
121814 case $ac_srcdir in
121815 .) ac_abs_srcdir=$ac_abs_builddir;;
121816 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
121817 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
121818 esac;;
121820 case $ac_abs_builddir in
121821 .) ac_abs_top_srcdir=$ac_top_srcdir;;
121823 case $ac_top_srcdir in
121824 .) ac_abs_top_srcdir=$ac_abs_builddir;;
121825 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
121826 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
121827 esac;;
121831 case $INSTALL in
121832 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
121833 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
121836 if test x"$ac_file" != x-; then
121837 { echo "$as_me:$LINENO: creating $ac_file" >&5
121838 echo "$as_me: creating $ac_file" >&6;}
121839 rm -f "$ac_file"
121841 # Let's still pretend it is `configure' which instantiates (i.e., don't
121842 # use $as_me), people would be surprised to read:
121843 # /* config.h. Generated by config.status. */
121844 if test x"$ac_file" = x-; then
121845 configure_input=
121847 configure_input="$ac_file. "
121849 configure_input=$configure_input"Generated from `echo $ac_file_in |
121850 sed 's,.*/,,'` by configure."
121852 # First look for the input files in the build tree, otherwise in the
121853 # src tree.
121854 ac_file_inputs=`IFS=:
121855 for f in $ac_file_in; do
121856 case $f in
121857 -) echo $tmp/stdin ;;
121858 [\\/$]*)
121859 # Absolute (can't be DOS-style, as IFS=:)
121860 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
121861 echo "$as_me: error: cannot find input file: $f" >&2;}
121862 { (exit 1); exit 1; }; }
121863 echo "$f";;
121864 *) # Relative
121865 if test -f "$f"; then
121866 # Build tree
121867 echo "$f"
121868 elif test -f "$srcdir/$f"; then
121869 # Source tree
121870 echo "$srcdir/$f"
121872 # /dev/null tree
121873 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
121874 echo "$as_me: error: cannot find input file: $f" >&2;}
121875 { (exit 1); exit 1; }; }
121878 done` || { (exit 1); exit 1; }
121879 _ACEOF
121880 cat >>$CONFIG_STATUS <<_ACEOF
121881 sed "$ac_vpsub
121882 $extrasub
121883 _ACEOF
121884 cat >>$CONFIG_STATUS <<\_ACEOF
121886 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
121887 s,@configure_input@,$configure_input,;t t
121888 s,@srcdir@,$ac_srcdir,;t t
121889 s,@abs_srcdir@,$ac_abs_srcdir,;t t
121890 s,@top_srcdir@,$ac_top_srcdir,;t t
121891 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
121892 s,@builddir@,$ac_builddir,;t t
121893 s,@abs_builddir@,$ac_abs_builddir,;t t
121894 s,@top_builddir@,$ac_top_builddir,;t t
121895 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
121896 s,@INSTALL@,$ac_INSTALL,;t t
121897 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
121898 rm -f $tmp/stdin
121899 if test x"$ac_file" != x-; then
121900 mv $tmp/out $ac_file
121902 cat $tmp/out
121903 rm -f $tmp/out
121906 # Run the commands associated with the file.
121907 case $ac_file in
121908 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
121911 _ACEOF
121912 cat >>$CONFIG_STATUS <<\_ACEOF
121915 # CONFIG_HEADER section.
121918 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
121919 # NAME is the cpp macro being defined and VALUE is the value it is being given.
121921 # ac_d sets the value in "#define NAME VALUE" lines.
121922 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
121923 ac_dB='[ ].*$,\1#\2'
121924 ac_dC=' '
121925 ac_dD=',;t'
121926 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
121927 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
121928 ac_uB='$,\1#\2define\3'
121929 ac_uC=' '
121930 ac_uD=',;t'
121932 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
121933 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
121934 case $ac_file in
121935 - | *:- | *:-:* ) # input from stdin
121936 cat >$tmp/stdin
121937 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
121938 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
121939 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
121940 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
121941 * ) ac_file_in=$ac_file.in ;;
121944 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
121945 echo "$as_me: creating $ac_file" >&6;}
121947 # First look for the input files in the build tree, otherwise in the
121948 # src tree.
121949 ac_file_inputs=`IFS=:
121950 for f in $ac_file_in; do
121951 case $f in
121952 -) echo $tmp/stdin ;;
121953 [\\/$]*)
121954 # Absolute (can't be DOS-style, as IFS=:)
121955 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
121956 echo "$as_me: error: cannot find input file: $f" >&2;}
121957 { (exit 1); exit 1; }; }
121958 # Do quote $f, to prevent DOS paths from being IFS'd.
121959 echo "$f";;
121960 *) # Relative
121961 if test -f "$f"; then
121962 # Build tree
121963 echo "$f"
121964 elif test -f "$srcdir/$f"; then
121965 # Source tree
121966 echo "$srcdir/$f"
121968 # /dev/null tree
121969 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
121970 echo "$as_me: error: cannot find input file: $f" >&2;}
121971 { (exit 1); exit 1; }; }
121974 done` || { (exit 1); exit 1; }
121975 # Remove the trailing spaces.
121976 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
121978 _ACEOF
121980 # Transform confdefs.h into two sed scripts, `conftest.defines' and
121981 # `conftest.undefs', that substitutes the proper values into
121982 # config.h.in to produce config.h. The first handles `#define'
121983 # templates, and the second `#undef' templates.
121984 # And first: Protect against being on the right side of a sed subst in
121985 # config.status. Protect against being in an unquoted here document
121986 # in config.status.
121987 rm -f conftest.defines conftest.undefs
121988 # Using a here document instead of a string reduces the quoting nightmare.
121989 # Putting comments in sed scripts is not portable.
121991 # `end' is used to avoid that the second main sed command (meant for
121992 # 0-ary CPP macros) applies to n-ary macro definitions.
121993 # See the Autoconf documentation for `clear'.
121994 cat >confdef2sed.sed <<\_ACEOF
121995 s/[\\&,]/\\&/g
121996 s,[\\$`],\\&,g
121997 t clear
121998 : clear
121999 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
122000 t end
122001 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
122002 : end
122003 _ACEOF
122004 # If some macros were called several times there might be several times
122005 # the same #defines, which is useless. Nevertheless, we may not want to
122006 # sort them, since we want the *last* AC-DEFINE to be honored.
122007 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
122008 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
122009 rm -f confdef2sed.sed
122011 # This sed command replaces #undef with comments. This is necessary, for
122012 # example, in the case of _POSIX_SOURCE, which is predefined and required
122013 # on some systems where configure will not decide to define it.
122014 cat >>conftest.undefs <<\_ACEOF
122015 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
122016 _ACEOF
122018 # Break up conftest.defines because some shells have a limit on the size
122019 # of here documents, and old seds have small limits too (100 cmds).
122020 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
122021 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
122022 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
122023 echo ' :' >>$CONFIG_STATUS
122024 rm -f conftest.tail
122025 while grep . conftest.defines >/dev/null
122027 # Write a limited-size here document to $tmp/defines.sed.
122028 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
122029 # Speed up: don't consider the non `#define' lines.
122030 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
122031 # Work around the forget-to-reset-the-flag bug.
122032 echo 't clr' >>$CONFIG_STATUS
122033 echo ': clr' >>$CONFIG_STATUS
122034 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
122035 echo 'CEOF
122036 sed -f $tmp/defines.sed $tmp/in >$tmp/out
122037 rm -f $tmp/in
122038 mv $tmp/out $tmp/in
122039 ' >>$CONFIG_STATUS
122040 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
122041 rm -f conftest.defines
122042 mv conftest.tail conftest.defines
122044 rm -f conftest.defines
122045 echo ' fi # grep' >>$CONFIG_STATUS
122046 echo >>$CONFIG_STATUS
122048 # Break up conftest.undefs because some shells have a limit on the size
122049 # of here documents, and old seds have small limits too (100 cmds).
122050 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
122051 rm -f conftest.tail
122052 while grep . conftest.undefs >/dev/null
122054 # Write a limited-size here document to $tmp/undefs.sed.
122055 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
122056 # Speed up: don't consider the non `#undef'
122057 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
122058 # Work around the forget-to-reset-the-flag bug.
122059 echo 't clr' >>$CONFIG_STATUS
122060 echo ': clr' >>$CONFIG_STATUS
122061 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
122062 echo 'CEOF
122063 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
122064 rm -f $tmp/in
122065 mv $tmp/out $tmp/in
122066 ' >>$CONFIG_STATUS
122067 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
122068 rm -f conftest.undefs
122069 mv conftest.tail conftest.undefs
122071 rm -f conftest.undefs
122073 cat >>$CONFIG_STATUS <<\_ACEOF
122074 # Let's still pretend it is `configure' which instantiates (i.e., don't
122075 # use $as_me), people would be surprised to read:
122076 # /* config.h. Generated by config.status. */
122077 if test x"$ac_file" = x-; then
122078 echo "/* Generated by configure. */" >$tmp/config.h
122080 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
122082 cat $tmp/in >>$tmp/config.h
122083 rm -f $tmp/in
122084 if test x"$ac_file" != x-; then
122085 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
122086 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
122087 echo "$as_me: $ac_file is unchanged" >&6;}
122089 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
122090 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122091 X"$ac_file" : 'X\(//\)[^/]' \| \
122092 X"$ac_file" : 'X\(//\)$' \| \
122093 X"$ac_file" : 'X\(/\)' \| \
122094 . : '\(.\)' 2>/dev/null ||
122095 echo X"$ac_file" |
122096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122097 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122098 /^X\(\/\/\)$/{ s//\1/; q; }
122099 /^X\(\/\).*/{ s//\1/; q; }
122100 s/.*/./; q'`
122101 { if $as_mkdir_p; then
122102 mkdir -p "$ac_dir"
122104 as_dir="$ac_dir"
122105 as_dirs=
122106 while test ! -d "$as_dir"; do
122107 as_dirs="$as_dir $as_dirs"
122108 as_dir=`(dirname "$as_dir") 2>/dev/null ||
122109 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122110 X"$as_dir" : 'X\(//\)[^/]' \| \
122111 X"$as_dir" : 'X\(//\)$' \| \
122112 X"$as_dir" : 'X\(/\)' \| \
122113 . : '\(.\)' 2>/dev/null ||
122114 echo X"$as_dir" |
122115 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122116 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122117 /^X\(\/\/\)$/{ s//\1/; q; }
122118 /^X\(\/\).*/{ s//\1/; q; }
122119 s/.*/./; q'`
122121 test ! -n "$as_dirs" || mkdir $as_dirs
122122 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
122123 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
122124 { (exit 1); exit 1; }; }; }
122126 rm -f $ac_file
122127 mv $tmp/config.h $ac_file
122130 cat $tmp/config.h
122131 rm -f $tmp/config.h
122133 # Compute $ac_file's index in $config_headers.
122134 _am_stamp_count=1
122135 for _am_header in $config_headers :; do
122136 case $_am_header in
122137 $ac_file | $ac_file:* )
122138 break ;;
122140 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
122143 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
122144 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122145 X$ac_file : 'X\(//\)[^/]' \| \
122146 X$ac_file : 'X\(//\)$' \| \
122147 X$ac_file : 'X\(/\)' \| \
122148 . : '\(.\)' 2>/dev/null ||
122149 echo X$ac_file |
122150 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122151 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122152 /^X\(\/\/\)$/{ s//\1/; q; }
122153 /^X\(\/\).*/{ s//\1/; q; }
122154 s/.*/./; q'`/stamp-h$_am_stamp_count
122156 _ACEOF
122157 cat >>$CONFIG_STATUS <<\_ACEOF
122160 # CONFIG_COMMANDS section.
122162 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
122163 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
122164 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
122165 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
122166 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122167 X"$ac_dest" : 'X\(//\)[^/]' \| \
122168 X"$ac_dest" : 'X\(//\)$' \| \
122169 X"$ac_dest" : 'X\(/\)' \| \
122170 . : '\(.\)' 2>/dev/null ||
122171 echo X"$ac_dest" |
122172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122173 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122174 /^X\(\/\/\)$/{ s//\1/; q; }
122175 /^X\(\/\).*/{ s//\1/; q; }
122176 s/.*/./; q'`
122177 { if $as_mkdir_p; then
122178 mkdir -p "$ac_dir"
122180 as_dir="$ac_dir"
122181 as_dirs=
122182 while test ! -d "$as_dir"; do
122183 as_dirs="$as_dir $as_dirs"
122184 as_dir=`(dirname "$as_dir") 2>/dev/null ||
122185 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122186 X"$as_dir" : 'X\(//\)[^/]' \| \
122187 X"$as_dir" : 'X\(//\)$' \| \
122188 X"$as_dir" : 'X\(/\)' \| \
122189 . : '\(.\)' 2>/dev/null ||
122190 echo X"$as_dir" |
122191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122192 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122193 /^X\(\/\/\)$/{ s//\1/; q; }
122194 /^X\(\/\).*/{ s//\1/; q; }
122195 s/.*/./; q'`
122197 test ! -n "$as_dirs" || mkdir $as_dirs
122198 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
122199 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
122200 { (exit 1); exit 1; }; }; }
122202 ac_builddir=.
122204 if test "$ac_dir" != .; then
122205 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
122206 # A "../" for each directory in $ac_dir_suffix.
122207 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
122209 ac_dir_suffix= ac_top_builddir=
122212 case $srcdir in
122213 .) # No --srcdir option. We are building in place.
122214 ac_srcdir=.
122215 if test -z "$ac_top_builddir"; then
122216 ac_top_srcdir=.
122218 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
122219 fi ;;
122220 [\\/]* | ?:[\\/]* ) # Absolute path.
122221 ac_srcdir=$srcdir$ac_dir_suffix;
122222 ac_top_srcdir=$srcdir ;;
122223 *) # Relative path.
122224 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
122225 ac_top_srcdir=$ac_top_builddir$srcdir ;;
122228 # Do not use `cd foo && pwd` to compute absolute paths, because
122229 # the directories may not exist.
122230 case `pwd` in
122231 .) ac_abs_builddir="$ac_dir";;
122233 case "$ac_dir" in
122234 .) ac_abs_builddir=`pwd`;;
122235 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
122236 *) ac_abs_builddir=`pwd`/"$ac_dir";;
122237 esac;;
122239 case $ac_abs_builddir in
122240 .) ac_abs_top_builddir=${ac_top_builddir}.;;
122242 case ${ac_top_builddir}. in
122243 .) ac_abs_top_builddir=$ac_abs_builddir;;
122244 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
122245 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
122246 esac;;
122248 case $ac_abs_builddir in
122249 .) ac_abs_srcdir=$ac_srcdir;;
122251 case $ac_srcdir in
122252 .) ac_abs_srcdir=$ac_abs_builddir;;
122253 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
122254 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
122255 esac;;
122257 case $ac_abs_builddir in
122258 .) ac_abs_top_srcdir=$ac_top_srcdir;;
122260 case $ac_top_srcdir in
122261 .) ac_abs_top_srcdir=$ac_abs_builddir;;
122262 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
122263 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
122264 esac;;
122268 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
122269 echo "$as_me: executing $ac_dest commands" >&6;}
122270 case $ac_dest in
122271 default-1 )
122272 # Only add multilib support code if we just rebuilt the top-level
122273 # Makefile.
122274 case " $CONFIG_FILES " in
122275 *" Makefile "*)
122276 ac_file=Makefile . ${multi_basedir}/config-ml.in
122278 esac ;;
122279 libtool )
122281 # See if we are running on zsh, and set the options which allow our
122282 # commands through without removal of \ escapes.
122283 if test -n "${ZSH_VERSION+set}" ; then
122284 setopt NO_GLOB_SUBST
122287 cfgfile="${ofile}T"
122288 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
122289 $RM "$cfgfile"
122291 cat <<_LT_EOF >> "$cfgfile"
122292 #! $SHELL
122294 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
122295 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
122296 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
122297 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
122299 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
122300 # 2006, 2007 Free Software Foundation, Inc.
122302 # This file is part of GNU Libtool:
122303 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
122305 # This program is free software; you can redistribute it and/or modify
122306 # it under the terms of the GNU General Public License as published by
122307 # the Free Software Foundation; either version 2 of the License, or
122308 # (at your option) any later version.
122310 # This program is distributed in the hope that it will be useful, but
122311 # WITHOUT ANY WARRANTY; without even the implied warranty of
122312 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
122313 # General Public License for more details.
122315 # You should have received a copy of the GNU General Public License
122316 # along with this program; if not, a copy can be downloaded from
122317 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
122318 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
122319 # MA 02110-1301, USA.
122321 # As a special exception to the GNU General Public License, if you
122322 # distribute this file as part of a program that contains a
122323 # configuration script generated by Autoconf, you may include it under
122324 # the same distribution terms that you use for the rest of that program.
122327 # The names of the tagged configurations supported by this script.
122328 available_tags="CXX "
122330 # ### BEGIN LIBTOOL CONFIG
122332 # Which release of libtool.m4 was used?
122333 macro_version=$macro_version
122334 macro_revision=$macro_revision
122336 # Whether or not to build shared libraries.
122337 build_libtool_libs=$enable_shared
122339 # Whether or not to build static libraries.
122340 build_old_libs=$enable_static
122342 # What type of objects to build.
122343 pic_mode=$pic_mode
122345 # Whether or not to optimize for fast installation.
122346 fast_install=$enable_fast_install
122348 # The host system.
122349 host_alias=$host_alias
122350 host=$host
122351 host_os=$host_os
122353 # The build system.
122354 build_alias=$build_alias
122355 build=$build
122356 build_os=$build_os
122358 # A sed program that does not truncate output.
122359 SED=$lt_SED
122361 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
122362 Xsed="\$SED -e 1s/^X//"
122364 # A grep program that handles long lines.
122365 GREP=$lt_GREP
122367 # An ERE matcher.
122368 EGREP=$lt_EGREP
122370 # A literal string matcher.
122371 FGREP=$lt_FGREP
122373 # A BSD- or MS-compatible name lister.
122374 NM=$lt_NM
122376 # Whether we need soft or hard links.
122377 LN_S=$lt_LN_S
122379 # What is the maximum length of a command?
122380 max_cmd_len=$max_cmd_len
122382 # Object file suffix (normally "o").
122383 objext=$ac_objext
122385 # Executable file suffix (normally "").
122386 exeext=$exeext
122388 # whether the shell understands "unset".
122389 lt_unset=$lt_unset
122391 # turn spaces into newlines.
122392 SP2NL=$lt_lt_SP2NL
122394 # turn newlines into spaces.
122395 NL2SP=$lt_lt_NL2SP
122397 # How to create reloadable object files.
122398 reload_flag=$lt_reload_flag
122399 reload_cmds=$lt_reload_cmds
122401 # Method to check whether dependent libraries are shared objects.
122402 deplibs_check_method=$lt_deplibs_check_method
122404 # Command to use when deplibs_check_method == "file_magic".
122405 file_magic_cmd=$lt_file_magic_cmd
122407 # The archiver.
122408 AR=$lt_AR
122409 AR_FLAGS=$lt_AR_FLAGS
122411 # A symbol stripping program.
122412 STRIP=$lt_STRIP
122414 # Commands used to install an old-style archive.
122415 RANLIB=$lt_RANLIB
122416 old_postinstall_cmds=$lt_old_postinstall_cmds
122417 old_postuninstall_cmds=$lt_old_postuninstall_cmds
122419 # A C compiler.
122420 LTCC=$lt_CC
122422 # LTCC compiler flags.
122423 LTCFLAGS=$lt_CFLAGS
122425 # Take the output of nm and produce a listing of raw symbols and C names.
122426 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
122428 # Transform the output of nm in a proper C declaration.
122429 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
122431 # Transform the output of nm in a C name address pair.
122432 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
122434 # The name of the directory that contains temporary libtool files.
122435 objdir=$objdir
122437 # Shell to use when invoking shell scripts.
122438 SHELL=$lt_SHELL
122440 # An echo program that does not interpret backslashes.
122441 ECHO=$lt_ECHO
122443 # Used to examine libraries when file_magic_cmd begins with "file".
122444 MAGIC_CMD=$MAGIC_CMD
122446 # Must we lock files when doing compilation?
122447 need_locks=$lt_need_locks
122449 # Old archive suffix (normally "a").
122450 libext=$libext
122452 # Shared library suffix (normally ".so").
122453 shrext_cmds=$lt_shrext_cmds
122455 # The commands to extract the exported symbol list from a shared archive.
122456 extract_expsyms_cmds=$lt_extract_expsyms_cmds
122458 # Variables whose values should be saved in libtool wrapper scripts and
122459 # restored at link time.
122460 variables_saved_for_relink=$lt_variables_saved_for_relink
122462 # Do we need the "lib" prefix for modules?
122463 need_lib_prefix=$need_lib_prefix
122465 # Do we need a version for libraries?
122466 need_version=$need_version
122468 # Library versioning type.
122469 version_type=$version_type
122471 # Shared library runtime path variable.
122472 runpath_var=$runpath_var
122474 # Shared library path variable.
122475 shlibpath_var=$shlibpath_var
122477 # Is shlibpath searched before the hard-coded library search path?
122478 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
122480 # Format of library name prefix.
122481 libname_spec=$lt_libname_spec
122483 # List of archive names. First name is the real one, the rest are links.
122484 # The last name is the one that the linker finds with -lNAME
122485 library_names_spec=$lt_library_names_spec
122487 # The coded name of the library, if different from the real name.
122488 soname_spec=$lt_soname_spec
122490 # Command to use after installation of a shared archive.
122491 postinstall_cmds=$lt_postinstall_cmds
122493 # Command to use after uninstallation of a shared archive.
122494 postuninstall_cmds=$lt_postuninstall_cmds
122496 # Commands used to finish a libtool library installation in a directory.
122497 finish_cmds=$lt_finish_cmds
122499 # As "finish_cmds", except a single script fragment to be evaled but
122500 # not shown.
122501 finish_eval=$lt_finish_eval
122503 # Whether we should hardcode library paths into libraries.
122504 hardcode_into_libs=$hardcode_into_libs
122506 # Compile-time system search path for libraries.
122507 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
122509 # Run-time system search path for libraries.
122510 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
122512 # Whether dlopen is supported.
122513 dlopen_support=$enable_dlopen
122515 # Whether dlopen of programs is supported.
122516 dlopen_self=$enable_dlopen_self
122518 # Whether dlopen of statically linked programs is supported.
122519 dlopen_self_static=$enable_dlopen_self_static
122521 # Commands to strip libraries.
122522 old_striplib=$lt_old_striplib
122523 striplib=$lt_striplib
122526 # The linker used to build libraries.
122527 LD=$lt_LD
122529 # Commands used to build an old-style archive.
122530 old_archive_cmds=$lt_old_archive_cmds
122532 # A language specific compiler.
122533 CC=$lt_compiler
122535 # Is the compiler the GNU compiler?
122536 with_gcc=$GCC
122538 # Compiler flag to turn off builtin functions.
122539 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
122541 # How to pass a linker flag through the compiler.
122542 wl=$lt_lt_prog_compiler_wl
122544 # Additional compiler flags for building library objects.
122545 pic_flag=$lt_lt_prog_compiler_pic
122547 # Compiler flag to prevent dynamic linking.
122548 link_static_flag=$lt_lt_prog_compiler_static
122550 # Does compiler simultaneously support -c and -o options?
122551 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
122553 # Whether or not to add -lc for building shared libraries.
122554 build_libtool_need_lc=$archive_cmds_need_lc
122556 # Whether or not to disallow shared libs when runtime libs are static.
122557 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
122559 # Compiler flag to allow reflexive dlopens.
122560 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
122562 # Compiler flag to generate shared objects directly from archives.
122563 whole_archive_flag_spec=$lt_whole_archive_flag_spec
122565 # Whether the compiler copes with passing no objects directly.
122566 compiler_needs_object=$lt_compiler_needs_object
122568 # Create an old-style archive from a shared archive.
122569 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
122571 # Create a temporary old-style archive to link instead of a shared archive.
122572 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
122574 # Commands used to build a shared archive.
122575 archive_cmds=$lt_archive_cmds
122576 archive_expsym_cmds=$lt_archive_expsym_cmds
122578 # Commands used to build a loadable module if different from building
122579 # a shared archive.
122580 module_cmds=$lt_module_cmds
122581 module_expsym_cmds=$lt_module_expsym_cmds
122583 # Whether we are building with GNU ld or not.
122584 with_gnu_ld=$lt_with_gnu_ld
122586 # Flag that allows shared libraries with undefined symbols to be built.
122587 allow_undefined_flag=$lt_allow_undefined_flag
122589 # Flag that enforces no undefined symbols.
122590 no_undefined_flag=$lt_no_undefined_flag
122592 # Flag to hardcode \$libdir into a binary during linking.
122593 # This must work even if \$libdir does not exist
122594 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
122596 # If ld is used when linking, flag to hardcode \$libdir into a binary
122597 # during linking. This must work even if \$libdir does not exist.
122598 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
122600 # Whether we need a single "-rpath" flag with a separated argument.
122601 hardcode_libdir_separator=$lt_hardcode_libdir_separator
122603 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
122604 # DIR into the resulting binary.
122605 hardcode_direct=$hardcode_direct
122607 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
122608 # DIR into the resulting binary and the resulting library dependency is
122609 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
122610 # library is relocated.
122611 hardcode_direct_absolute=$hardcode_direct_absolute
122613 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
122614 # into the resulting binary.
122615 hardcode_minus_L=$hardcode_minus_L
122617 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
122618 # into the resulting binary.
122619 hardcode_shlibpath_var=$hardcode_shlibpath_var
122621 # Set to "yes" if building a shared library automatically hardcodes DIR
122622 # into the library and all subsequent libraries and executables linked
122623 # against it.
122624 hardcode_automatic=$hardcode_automatic
122626 # Set to yes if linker adds runtime paths of dependent libraries
122627 # to runtime path list.
122628 inherit_rpath=$inherit_rpath
122630 # Whether libtool must link a program against all its dependency libraries.
122631 link_all_deplibs=$link_all_deplibs
122633 # Fix the shell variable \$srcfile for the compiler.
122634 fix_srcfile_path=$lt_fix_srcfile_path
122636 # Set to "yes" if exported symbols are required.
122637 always_export_symbols=$always_export_symbols
122639 # The commands to list exported symbols.
122640 export_symbols_cmds=$lt_export_symbols_cmds
122642 # Symbols that should not be listed in the preloaded symbols.
122643 exclude_expsyms=$lt_exclude_expsyms
122645 # Symbols that must always be exported.
122646 include_expsyms=$lt_include_expsyms
122648 # Commands necessary for linking programs (against libraries) with templates.
122649 prelink_cmds=$lt_prelink_cmds
122651 # Specify filename containing input files.
122652 file_list_spec=$lt_file_list_spec
122654 # How to hardcode a shared library path into an executable.
122655 hardcode_action=$hardcode_action
122657 # Dependencies to place before and after the objects being linked to
122658 # create a shared library.
122659 predep_objects=$lt_predep_objects
122660 postdep_objects=$lt_postdep_objects
122661 predeps=$lt_predeps
122662 postdeps=$lt_postdeps
122664 # The library search path used internally by the compiler when linking
122665 # a shared library.
122666 compiler_lib_search_path=$lt_compiler_lib_search_path
122668 # ### END LIBTOOL CONFIG
122670 _LT_EOF
122672 case $host_os in
122673 aix3*)
122674 cat <<\_LT_EOF >> "$cfgfile"
122675 # AIX sometimes has problems with the GCC collect2 program. For some
122676 # reason, if we set the COLLECT_NAMES environment variable, the problems
122677 # vanish in a puff of smoke.
122678 if test "X${COLLECT_NAMES+set}" != Xset; then
122679 COLLECT_NAMES=
122680 export COLLECT_NAMES
122682 _LT_EOF
122687 ltmain="$ac_aux_dir/ltmain.sh"
122690 # We use sed instead of cat because bash on DJGPP gets confused if
122691 # if finds mixed CR/LF and LF-only lines. Since sed operates in
122692 # text mode, it properly converts lines to CR/LF. This bash problem
122693 # is reportedly fixed, but why not run on old versions too?
122694 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
122695 || (rm -f "$cfgfile"; exit 1)
122697 case $xsi_shell in
122699 cat << \_LT_EOF >> "$cfgfile"
122700 # func_dirname file append nondir_replacement
122701 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
122702 # otherwise set result to NONDIR_REPLACEMENT.
122703 func_dirname ()
122705 case ${1} in
122706 */*) func_dirname_result="${1%/*}${2}" ;;
122707 * ) func_dirname_result="${3}" ;;
122711 # func_basename file
122712 func_basename ()
122714 func_basename_result="${1##*/}"
122717 # func_stripname prefix suffix name
122718 # strip PREFIX and SUFFIX off of NAME.
122719 # PREFIX and SUFFIX must not contain globbing or regex special
122720 # characters, hashes, percent signs, but SUFFIX may contain a leading
122721 # dot (in which case that matches only a dot).
122722 func_stripname ()
122724 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
122725 # positional parameters, so assign one to ordinary parameter first.
122726 func_stripname_result=${3}
122727 func_stripname_result=${func_stripname_result#"${1}"}
122728 func_stripname_result=${func_stripname_result%"${2}"}
122731 # func_opt_split
122732 func_opt_split ()
122734 func_opt_split_opt=${1%%=*}
122735 func_opt_split_arg=${1#*=}
122738 # func_lo2o object
122739 func_lo2o ()
122741 case ${1} in
122742 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
122743 *) func_lo2o_result=${1} ;;
122746 _LT_EOF
122748 *) # Bourne compatible functions.
122749 cat << \_LT_EOF >> "$cfgfile"
122750 # func_dirname file append nondir_replacement
122751 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
122752 # otherwise set result to NONDIR_REPLACEMENT.
122753 func_dirname ()
122755 # Extract subdirectory from the argument.
122756 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
122757 if test "X$func_dirname_result" = "X${1}"; then
122758 func_dirname_result="${3}"
122760 func_dirname_result="$func_dirname_result${2}"
122764 # func_basename file
122765 func_basename ()
122767 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
122770 # func_stripname prefix suffix name
122771 # strip PREFIX and SUFFIX off of NAME.
122772 # PREFIX and SUFFIX must not contain globbing or regex special
122773 # characters, hashes, percent signs, but SUFFIX may contain a leading
122774 # dot (in which case that matches only a dot).
122775 # func_strip_suffix prefix name
122776 func_stripname ()
122778 case ${2} in
122779 .*) func_stripname_result=`$ECHO "X${3}" \
122780 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
122781 *) func_stripname_result=`$ECHO "X${3}" \
122782 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
122786 # sed scripts:
122787 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
122788 my_sed_long_arg='1s/^-[^=]*=//'
122790 # func_opt_split
122791 func_opt_split ()
122793 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
122794 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
122797 # func_lo2o object
122798 func_lo2o ()
122800 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
122802 _LT_EOF
122805 case $lt_shell_append in
122807 cat << \_LT_EOF >> "$cfgfile"
122809 # func_append var value
122810 # Append VALUE to the end of shell variable VAR.
122811 func_append ()
122813 eval "$1+=\$2"
122815 _LT_EOF
122818 cat << \_LT_EOF >> "$cfgfile"
122820 # func_append var value
122821 # Append VALUE to the end of shell variable VAR.
122822 func_append ()
122824 eval "$1=\$$1\$2"
122826 _LT_EOF
122831 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
122832 || (rm -f "$cfgfile"; exit 1)
122834 mv -f "$cfgfile" "$ofile" ||
122835 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
122836 chmod +x "$ofile"
122839 cat <<_LT_EOF >> "$ofile"
122841 # ### BEGIN LIBTOOL TAG CONFIG: CXX
122843 # The linker used to build libraries.
122844 LD=$lt_LD_CXX
122846 # Commands used to build an old-style archive.
122847 old_archive_cmds=$lt_old_archive_cmds_CXX
122849 # A language specific compiler.
122850 CC=$lt_compiler_CXX
122852 # Is the compiler the GNU compiler?
122853 with_gcc=$GCC_CXX
122855 # Compiler flag to turn off builtin functions.
122856 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
122858 # How to pass a linker flag through the compiler.
122859 wl=$lt_lt_prog_compiler_wl_CXX
122861 # Additional compiler flags for building library objects.
122862 pic_flag=$lt_lt_prog_compiler_pic_CXX
122864 # Compiler flag to prevent dynamic linking.
122865 link_static_flag=$lt_lt_prog_compiler_static_CXX
122867 # Does compiler simultaneously support -c and -o options?
122868 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
122870 # Whether or not to add -lc for building shared libraries.
122871 build_libtool_need_lc=$archive_cmds_need_lc_CXX
122873 # Whether or not to disallow shared libs when runtime libs are static.
122874 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
122876 # Compiler flag to allow reflexive dlopens.
122877 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
122879 # Compiler flag to generate shared objects directly from archives.
122880 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
122882 # Whether the compiler copes with passing no objects directly.
122883 compiler_needs_object=$lt_compiler_needs_object_CXX
122885 # Create an old-style archive from a shared archive.
122886 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
122888 # Create a temporary old-style archive to link instead of a shared archive.
122889 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
122891 # Commands used to build a shared archive.
122892 archive_cmds=$lt_archive_cmds_CXX
122893 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
122895 # Commands used to build a loadable module if different from building
122896 # a shared archive.
122897 module_cmds=$lt_module_cmds_CXX
122898 module_expsym_cmds=$lt_module_expsym_cmds_CXX
122900 # Whether we are building with GNU ld or not.
122901 with_gnu_ld=$lt_with_gnu_ld_CXX
122903 # Flag that allows shared libraries with undefined symbols to be built.
122904 allow_undefined_flag=$lt_allow_undefined_flag_CXX
122906 # Flag that enforces no undefined symbols.
122907 no_undefined_flag=$lt_no_undefined_flag_CXX
122909 # Flag to hardcode \$libdir into a binary during linking.
122910 # This must work even if \$libdir does not exist
122911 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
122913 # If ld is used when linking, flag to hardcode \$libdir into a binary
122914 # during linking. This must work even if \$libdir does not exist.
122915 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
122917 # Whether we need a single "-rpath" flag with a separated argument.
122918 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
122920 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
122921 # DIR into the resulting binary.
122922 hardcode_direct=$hardcode_direct_CXX
122924 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
122925 # DIR into the resulting binary and the resulting library dependency is
122926 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
122927 # library is relocated.
122928 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
122930 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
122931 # into the resulting binary.
122932 hardcode_minus_L=$hardcode_minus_L_CXX
122934 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
122935 # into the resulting binary.
122936 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
122938 # Set to "yes" if building a shared library automatically hardcodes DIR
122939 # into the library and all subsequent libraries and executables linked
122940 # against it.
122941 hardcode_automatic=$hardcode_automatic_CXX
122943 # Set to yes if linker adds runtime paths of dependent libraries
122944 # to runtime path list.
122945 inherit_rpath=$inherit_rpath_CXX
122947 # Whether libtool must link a program against all its dependency libraries.
122948 link_all_deplibs=$link_all_deplibs_CXX
122950 # Fix the shell variable \$srcfile for the compiler.
122951 fix_srcfile_path=$lt_fix_srcfile_path_CXX
122953 # Set to "yes" if exported symbols are required.
122954 always_export_symbols=$always_export_symbols_CXX
122956 # The commands to list exported symbols.
122957 export_symbols_cmds=$lt_export_symbols_cmds_CXX
122959 # Symbols that should not be listed in the preloaded symbols.
122960 exclude_expsyms=$lt_exclude_expsyms_CXX
122962 # Symbols that must always be exported.
122963 include_expsyms=$lt_include_expsyms_CXX
122965 # Commands necessary for linking programs (against libraries) with templates.
122966 prelink_cmds=$lt_prelink_cmds_CXX
122968 # Specify filename containing input files.
122969 file_list_spec=$lt_file_list_spec_CXX
122971 # How to hardcode a shared library path into an executable.
122972 hardcode_action=$hardcode_action_CXX
122974 # Dependencies to place before and after the objects being linked to
122975 # create a shared library.
122976 predep_objects=$lt_predep_objects_CXX
122977 postdep_objects=$lt_postdep_objects_CXX
122978 predeps=$lt_predeps_CXX
122979 postdeps=$lt_postdeps_CXX
122981 # The library search path used internally by the compiler when linking
122982 # a shared library.
122983 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
122985 # ### END LIBTOOL TAG CONFIG: CXX
122986 _LT_EOF
122989 include/gstdint.h )
122990 if test "$GCC" = yes; then
122991 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
122993 echo "/* generated for $CC */" > tmp-stdint.h
122996 sed 's/^ *//' >> tmp-stdint.h <<EOF
122998 #ifndef GCC_GENERATED_STDINT_H
122999 #define GCC_GENERATED_STDINT_H 1
123001 #include <sys/types.h>
123004 if test "$acx_cv_header_stdint" != stdint.h; then
123005 echo "#include <stddef.h>" >> tmp-stdint.h
123007 if test "$acx_cv_header_stdint" != stddef.h; then
123008 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
123011 sed 's/^ *//' >> tmp-stdint.h <<EOF
123012 /* glibc uses these symbols as guards to prevent redefinitions. */
123013 #ifdef __int8_t_defined
123014 #define _INT8_T
123015 #define _INT16_T
123016 #define _INT32_T
123017 #endif
123018 #ifdef __uint32_t_defined
123019 #define _UINT32_T
123020 #endif
123024 # ----------------- done header, emit basic int types -------------
123025 if test "$acx_cv_header_stdint" = stddef.h; then
123026 sed 's/^ *//' >> tmp-stdint.h <<EOF
123028 #ifndef _UINT8_T
123029 #define _UINT8_T
123030 #ifndef __uint8_t_defined
123031 #define __uint8_t_defined
123032 typedef unsigned $acx_cv_type_int8_t uint8_t;
123033 #endif
123034 #endif
123036 #ifndef _UINT16_T
123037 #define _UINT16_T
123038 #ifndef __uint16_t_defined
123039 #define __uint16_t_defined
123040 typedef unsigned $acx_cv_type_int16_t uint16_t;
123041 #endif
123042 #endif
123044 #ifndef _UINT32_T
123045 #define _UINT32_T
123046 #ifndef __uint32_t_defined
123047 #define __uint32_t_defined
123048 typedef unsigned $acx_cv_type_int32_t uint32_t;
123049 #endif
123050 #endif
123052 #ifndef _INT8_T
123053 #define _INT8_T
123054 #ifndef __int8_t_defined
123055 #define __int8_t_defined
123056 typedef $acx_cv_type_int8_t int8_t;
123057 #endif
123058 #endif
123060 #ifndef _INT16_T
123061 #define _INT16_T
123062 #ifndef __int16_t_defined
123063 #define __int16_t_defined
123064 typedef $acx_cv_type_int16_t int16_t;
123065 #endif
123066 #endif
123068 #ifndef _INT32_T
123069 #define _INT32_T
123070 #ifndef __int32_t_defined
123071 #define __int32_t_defined
123072 typedef $acx_cv_type_int32_t int32_t;
123073 #endif
123074 #endif
123076 elif test "$ac_cv_type_u_int32_t" = yes; then
123077 sed 's/^ *//' >> tmp-stdint.h <<EOF
123079 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
123080 #ifndef _INT8_T
123081 #define _INT8_T
123082 #endif
123083 #ifndef _INT16_T
123084 #define _INT16_T
123085 #endif
123086 #ifndef _INT32_T
123087 #define _INT32_T
123088 #endif
123090 #ifndef _UINT8_T
123091 #define _UINT8_T
123092 #ifndef __uint8_t_defined
123093 #define __uint8_t_defined
123094 typedef u_int8_t uint8_t;
123095 #endif
123096 #endif
123098 #ifndef _UINT16_T
123099 #define _UINT16_T
123100 #ifndef __uint16_t_defined
123101 #define __uint16_t_defined
123102 typedef u_int16_t uint16_t;
123103 #endif
123104 #endif
123106 #ifndef _UINT32_T
123107 #define _UINT32_T
123108 #ifndef __uint32_t_defined
123109 #define __uint32_t_defined
123110 typedef u_int32_t uint32_t;
123111 #endif
123112 #endif
123115 sed 's/^ *//' >> tmp-stdint.h <<EOF
123117 /* Some systems have guard macros to prevent redefinitions, define them. */
123118 #ifndef _INT8_T
123119 #define _INT8_T
123120 #endif
123121 #ifndef _INT16_T
123122 #define _INT16_T
123123 #endif
123124 #ifndef _INT32_T
123125 #define _INT32_T
123126 #endif
123127 #ifndef _UINT8_T
123128 #define _UINT8_T
123129 #endif
123130 #ifndef _UINT16_T
123131 #define _UINT16_T
123132 #endif
123133 #ifndef _UINT32_T
123134 #define _UINT32_T
123135 #endif
123139 # ------------- done basic int types, emit int64_t types ------------
123140 if test "$ac_cv_type_uint64_t" = yes; then
123141 sed 's/^ *//' >> tmp-stdint.h <<EOF
123143 /* system headers have good uint64_t and int64_t */
123144 #ifndef _INT64_T
123145 #define _INT64_T
123146 #endif
123147 #ifndef _UINT64_T
123148 #define _UINT64_T
123149 #endif
123151 elif test "$ac_cv_type_u_int64_t" = yes; then
123152 sed 's/^ *//' >> tmp-stdint.h <<EOF
123154 /* system headers have an u_int64_t (and int64_t) */
123155 #ifndef _INT64_T
123156 #define _INT64_T
123157 #endif
123158 #ifndef _UINT64_T
123159 #define _UINT64_T
123160 #ifndef __uint64_t_defined
123161 #define __uint64_t_defined
123162 typedef u_int64_t uint64_t;
123163 #endif
123164 #endif
123166 elif test -n "$acx_cv_type_int64_t"; then
123167 sed 's/^ *//' >> tmp-stdint.h <<EOF
123169 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
123170 #ifndef _INT64_T
123171 #define _INT64_T
123172 typedef $acx_cv_type_int64_t int64_t;
123173 #endif
123174 #ifndef _UINT64_T
123175 #define _UINT64_T
123176 #ifndef __uint64_t_defined
123177 #define __uint64_t_defined
123178 typedef unsigned $acx_cv_type_int64_t uint64_t;
123179 #endif
123180 #endif
123183 sed 's/^ *//' >> tmp-stdint.h <<EOF
123185 /* some common heuristics for int64_t, using compiler-specific tests */
123186 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
123187 #ifndef _INT64_T
123188 #define _INT64_T
123189 #ifndef __int64_t_defined
123190 typedef long long int64_t;
123191 #endif
123192 #endif
123193 #ifndef _UINT64_T
123194 #define _UINT64_T
123195 typedef unsigned long long uint64_t;
123196 #endif
123198 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
123199 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
123200 does not implement __extension__. But that compiler doesn't define
123201 __GNUC_MINOR__. */
123202 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
123203 # define __extension__
123204 # endif
123206 # ifndef _INT64_T
123207 # define _INT64_T
123208 __extension__ typedef long long int64_t;
123209 # endif
123210 # ifndef _UINT64_T
123211 # define _UINT64_T
123212 __extension__ typedef unsigned long long uint64_t;
123213 # endif
123215 #elif !defined __STRICT_ANSI__
123216 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
123218 # ifndef _INT64_T
123219 # define _INT64_T
123220 typedef __int64 int64_t;
123221 # endif
123222 # ifndef _UINT64_T
123223 # define _UINT64_T
123224 typedef unsigned __int64 uint64_t;
123225 # endif
123226 # endif /* compiler */
123228 #endif /* ANSI version */
123232 # ------------- done int64_t types, emit intptr types ------------
123233 if test "$ac_cv_type_uintptr_t" != yes; then
123234 sed 's/^ *//' >> tmp-stdint.h <<EOF
123236 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
123237 #ifndef __uintptr_t_defined
123238 typedef u$acx_cv_type_intptr_t uintptr_t;
123239 #endif
123240 #ifndef __intptr_t_defined
123241 typedef $acx_cv_type_intptr_t intptr_t;
123242 #endif
123246 # ------------- done intptr types, emit int_least types ------------
123247 if test "$ac_cv_type_int_least32_t" != yes; then
123248 sed 's/^ *//' >> tmp-stdint.h <<EOF
123250 /* Define int_least types */
123251 typedef int8_t int_least8_t;
123252 typedef int16_t int_least16_t;
123253 typedef int32_t int_least32_t;
123254 #ifdef _INT64_T
123255 typedef int64_t int_least64_t;
123256 #endif
123258 typedef uint8_t uint_least8_t;
123259 typedef uint16_t uint_least16_t;
123260 typedef uint32_t uint_least32_t;
123261 #ifdef _UINT64_T
123262 typedef uint64_t uint_least64_t;
123263 #endif
123267 # ------------- done intptr types, emit int_fast types ------------
123268 if test "$ac_cv_type_int_fast32_t" != yes; then
123269 sed 's/^ *//' >> tmp-stdint.h <<EOF
123271 /* Define int_fast types. short is often slow */
123272 typedef int8_t int_fast8_t;
123273 typedef int int_fast16_t;
123274 typedef int32_t int_fast32_t;
123275 #ifdef _INT64_T
123276 typedef int64_t int_fast64_t;
123277 #endif
123279 typedef uint8_t uint_fast8_t;
123280 typedef unsigned int uint_fast16_t;
123281 typedef uint32_t uint_fast32_t;
123282 #ifdef _UINT64_T
123283 typedef uint64_t uint_fast64_t;
123284 #endif
123288 if test "$ac_cv_type_uintmax_t" != yes; then
123289 sed 's/^ *//' >> tmp-stdint.h <<EOF
123291 /* Define intmax based on what we found */
123292 #ifdef _INT64_T
123293 typedef int64_t intmax_t;
123294 #else
123295 typedef long intmax_t;
123296 #endif
123297 #ifdef _UINT64_T
123298 typedef uint64_t uintmax_t;
123299 #else
123300 typedef unsigned long uintmax_t;
123301 #endif
123305 sed 's/^ *//' >> tmp-stdint.h <<EOF
123307 #endif /* GCC_GENERATED_STDINT_H */
123310 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
123311 rm -f tmp-stdint.h
123313 mv -f tmp-stdint.h include/gstdint.h
123317 default ) if test -n "$CONFIG_FILES"; then
123318 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
123319 # that multilib installs will end up installed in the correct place.
123320 # The testsuite needs it for multilib-aware ABI baseline files.
123321 # To work around this not being passed down from config-ml.in ->
123322 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
123323 # append it here. Only modify Makefiles that have just been created.
123325 # Also, get rid of this simulated-VPATH thing that automake does.
123326 cat > vpsed << \_EOF
123327 s!`test -f '$<' || echo '$(srcdir)/'`!!
123329 for i in $SUBDIRS; do
123330 case $CONFIG_FILES in
123331 *${i}/Makefile*)
123332 #echo "Adding MULTISUBDIR to $i/Makefile"
123333 sed -f vpsed $i/Makefile > tmp
123334 grep '^MULTISUBDIR =' Makefile >> tmp
123335 mv tmp $i/Makefile
123339 rm vpsed
123341 (cd include && ${MAKE-make})
123345 _ACEOF
123347 cat >>$CONFIG_STATUS <<\_ACEOF
123349 { (exit 0); exit 0; }
123350 _ACEOF
123351 chmod +x $CONFIG_STATUS
123352 ac_clean_files=$ac_clean_files_save
123355 # configure is writing to config.log, and then calls config.status.
123356 # config.status does its own redirection, appending to config.log.
123357 # Unfortunately, on DOS this fails, as config.log is still kept open
123358 # by configure, so config.status won't be able to write to it; its
123359 # output is simply discarded. So we exec the FD to /dev/null,
123360 # effectively closing config.log, so it can be properly (re)opened and
123361 # appended to by config.status. When coming back to configure, we
123362 # need to make the FD available again.
123363 if test "$no_create" != yes; then
123364 ac_cs_success=:
123365 ac_config_status_args=
123366 test "$silent" = yes &&
123367 ac_config_status_args="$ac_config_status_args --quiet"
123368 exec 5>/dev/null
123369 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
123370 exec 5>>config.log
123371 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
123372 # would make configure fail if this is the last instruction.
123373 $ac_cs_success || { (exit 1); exit 1; }